686 lines
No EOL
1.3 MiB
686 lines
No EOL
1.3 MiB
/******/ (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__) {
|
||
|
||
eval("'use strict';\n\n__webpack_require__(1);\n\n__webpack_require__(7);\n\n__webpack_require__(106);//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvaW5kZXguanM/YzY0NSJdLCJuYW1lcyI6WyJyZXF1aXJlIl0sIm1hcHBpbmdzIjoiOztBQUFBOztBQUVBOztBQURBLG1CQUFBQSxDQUFRLEdBQVIiLCJmaWxlIjoiMC5qcyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCAnLi92ZW5kb3JzJztcbnJlcXVpcmUoJy4vc3R5bGUvaW5kZXguc2NzcycpO1xuaW1wb3J0ICcuL21haW4nO1xuXG5cblxuLy8gV0VCUEFDSyBGT09URVIgLy9cbi8vIC4vc3JjL2FwcC9zdGVwd2F5L2luZGV4LmpzIl0sInNvdXJjZVJvb3QiOiIifQ==");
|
||
|
||
/***/ },
|
||
/* 1 */
|
||
/***/ function(module, exports, __webpack_require__) {
|
||
|
||
eval("'use strict';\n\n__webpack_require__(2);\n\n__webpack_require__(3);\n\n__webpack_require__(5);\n\n__webpack_require__(6);//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvdmVuZG9ycy5qcz8xMDYyIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUE7O0FBQ0E7O0FBQ0E7O0FBQ0EiLCJmaWxlIjoiMS5qcyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCAnYXBpLWNoZWNrJzsgLy8gTk9URTogYWx3YXlzIGltcG9ydGVkIGJlZm9yZSBhbmd1bGFyLWZvcm1seSFcbmltcG9ydCAnYW5ndWxhci1mb3JtbHknO1xuaW1wb3J0ICdhbmd1bGFyLWZvcm1seS10ZW1wbGF0ZXMtYm9vdHN0cmFwJztcbmltcG9ydCAnYW5ndWxhci13aXphcmQnO1xuXG5cblxuLy8gV0VCUEFDSyBGT09URVIgLy9cbi8vIC4vc3JjL2FwcC9zdGVwd2F5L3ZlbmRvcnMuanMiXSwic291cmNlUm9vdCI6IiJ9");
|
||
|
||
/***/ },
|
||
/* 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 suffix: '',\n\t docsBaseUrl: ''\n\t },\n\t verbose: config.verbose || false,\n\t disabled: config.disabled || false\n\t },\n\t utils: apiCheckUtil\n\t };\n\n\t each(additionalProperties, function (wrapper, name) {\n\t return apiCheck[name] = wrapper;\n\t });\n\n\t var disabled = apiCheck.disabled || module.exports.globalConfig.disabled;\n\t each(checkers.getCheckers(disabled), function (checker, name) {\n\t return apiCheck[name] = checker;\n\t });\n\t each(extraCheckers, function (checker, name) {\n\t return apiCheck[name] = checker;\n\t });\n\n\t return apiCheck;\n\n\t /**\n\t * This is the instance function. Other things are attached to this see additional properties above.\n\t * @param {Array} api - the checkers to check with\n\t * @param {Array} args - the args to check\n\t * @param {Object} output - output options\n\t * @returns {Object} - if this has a failed = true property, then it failed\n\t */\n\t function apiCheck(api, args, output) {\n\t /* eslint complexity:[2, 8] */\n\t if (apiCheck.config.disabled || module.exports.globalConfig.disabled) {\n\t return {\n\t apiTypes: {}, argTypes: {},\n\t passed: true, message: '',\n\t failed: false\n\t }; // empty version of what is normally returned\n\t }\n\t checkApiCheckApi(arguments);\n\t if (!Array.isArray(api)) {\n\t api = [api];\n\t args = [args];\n\t } else {\n\t // turn arguments into an array\n\t args = Array.prototype.slice.call(args);\n\t }\n\t var messages = checkEnoughArgs(api, args);\n\t if (!messages.length) {\n\t // this is where we actually go perform the checks.\n\t messages = checkApiWithArgs(api, args);\n\t }\n\n\t var returnObject = getTypes(api, args);\n\t returnObject.args = args;\n\t if (messages.length) {\n\t returnObject.message = apiCheck.getErrorMessage(api, args, messages, output);\n\t returnObject.failed = true;\n\t returnObject.passed = false;\n\t } else {\n\t returnObject.message = '';\n\t returnObject.failed = false;\n\t returnObject.passed = true;\n\t }\n\t return returnObject;\n\t }\n\n\t /**\n\t * checkApiCheckApi, should be read like: check apiCheck api. As in, check the api for apiCheck :-)\n\t * @param {Array} checkApiArgs - args provided to apiCheck function\n\t */\n\t function checkApiCheckApi(checkApiArgs) {\n\t var api = checkApiArgs[0];\n\t var args = checkApiArgs[1];\n\t var isArrayOrArgs = Array.isArray(args) || args && typeof args === 'object' && typeof args.length === 'number';\n\n\t if (Array.isArray(api) && !isArrayOrArgs) {\n\t throw new Error(getErrorMessage(api, [args], ['If an array is provided for the api, an array must be provided for the args as well.'], { prefix: 'apiCheck' }));\n\t }\n\t // dog fooding here\n\t var errors = checkApiWithArgs(apiCheckApis.checkApiCheckApi, checkApiArgs);\n\t if (errors.length) {\n\t var message = apiCheck.getErrorMessage(apiCheckApis.checkApiCheckApi, checkApiArgs, errors, {\n\t prefix: 'apiCheck'\n\t });\n\t apiCheck.handleErrorMessage(message, true);\n\t }\n\t }\n\n\t function getApiCheck(shouldThrow) {\n\t return function apiCheckWrapper(api, args, output) {\n\t var result = apiCheck(api, args, output);\n\t apiCheck.handleErrorMessage(result.message, shouldThrow);\n\t return result; // wont get here if an error is thrown\n\t };\n\t }\n\n\t function handleErrorMessage(message, shouldThrow) {\n\t if (shouldThrow && message) {\n\t throw new Error(message);\n\t } else if (message) {\n\t /* eslint no-console:0 */\n\t console.warn(message);\n\t }\n\t }\n\n\t function getErrorMessage(api, args) {\n\t var messages = arguments.length <= 2 || arguments[2] === undefined ? [] : arguments[2];\n\t var output = arguments.length <= 3 || arguments[3] === undefined ? {} : arguments[3];\n\n\t var gOut = apiCheck.config.output || {};\n\t var prefix = getPrefix();\n\t var suffix = getSuffix();\n\t var url = getUrl();\n\t var message = 'apiCheck failed! ' + messages.join(', ');\n\t var passedAndShouldHavePassed = '\\n\\n' + buildMessageFromApiAndArgs(api, args);\n\t return (prefix + ' ' + message + ' ' + suffix + ' ' + (url || '') + passedAndShouldHavePassed).trim();\n\n\t function getPrefix() {\n\t var p = output.onlyPrefix;\n\t if (!p) {\n\t p = ((gOut.prefix || '') + ' ' + (output.prefix || '')).trim();\n\t }\n\t return p;\n\t }\n\n\t function getSuffix() {\n\t var s = output.onlySuffix;\n\t if (!s) {\n\t s = ((output.suffix || '') + ' ' + (gOut.suffix || '')).trim();\n\t }\n\t return s;\n\t }\n\n\t function getUrl() {\n\t var u = output.url;\n\t if (!u) {\n\t u = gOut.docsBaseUrl && output.urlSuffix && ('' + gOut.docsBaseUrl + output.urlSuffix).trim();\n\t }\n\t return u;\n\t }\n\t }\n\n\t function buildMessageFromApiAndArgs(api, args) {\n\t var _getTypes = getTypes(api, args);\n\n\t var apiTypes = _getTypes.apiTypes;\n\t var argTypes = _getTypes.argTypes;\n\n\t var copy = Array.prototype.slice.call(args || []);\n\t var replacedItems = [];\n\t replaceFunctionWithName(copy);\n\t var passedArgs = getObjectString(copy);\n\t argTypes = getObjectString(argTypes);\n\t apiTypes = getObjectString(apiTypes);\n\n\t return generateMessage();\n\n\t // functions\n\n\t function replaceFunctionWithName(obj) {\n\t each(obj, function (val, name) {\n\t /* eslint complexity:[2, 6] */\n\t if (replacedItems.indexOf(val) === -1) {\n\t // avoid recursive problems\n\t replacedItems.push(val);\n\t if (typeof val === 'object') {\n\t replaceFunctionWithName(obj);\n\t } else if (typeof val === 'function') {\n\t obj[name] = val.displayName || val.name || 'anonymous function';\n\t }\n\t }\n\t });\n\t }\n\n\t function getObjectString(types) {\n\t if (!types || !types.length) {\n\t return 'nothing';\n\t } else if (types && types.length === 1) {\n\t types = types[0];\n\t }\n\t return stringify(types, null, 2);\n\t }\n\n\t function generateMessage() {\n\t var n = '\\n';\n\t var useS = true;\n\t if (args && args.length === 1) {\n\t if (typeof args[0] === 'object' && args[0] !== null) {\n\t useS = !!Object.keys(args[0]).length;\n\t } else {\n\t useS = false;\n\t }\n\t }\n\t var types = 'type' + (useS ? 's' : '');\n\t var newLine = n + n;\n\t return 'You passed:' + n + passedArgs + newLine + ('With the ' + types + ':' + n + argTypes + newLine) + ('The API calls for:' + n + apiTypes);\n\t }\n\t }\n\n\t function getTypes(api, args) {\n\t api = arrayify(api);\n\t args = arrayify(args);\n\t var apiTypes = api.map(function (checker, index) {\n\t var specified = module.exports.globalConfig.hasOwnProperty('verbose');\n\t return getCheckerDisplay(checker, {\n\t terse: specified ? !module.exports.globalConfig.verbose : !apiCheck.config.verbose,\n\t obj: args[index],\n\t addHelpers: true\n\t });\n\t });\n\t var argTypes = args.map(function (arg) {\n\t return getArgDisplay(arg, []);\n\t });\n\t return { argTypes: argTypes, apiTypes: apiTypes };\n\t }\n\t}\n\n\t// STATELESS FUNCTIONS\n\n\t/**\n\t * This is where the magic happens for actually checking the arguments with the api.\n\t * @param {Array} api - checkers\n\t * @param {Array} args - and arguments object\n\t * @returns {Array} - the error messages\n\t */\n\tfunction checkApiWithArgs(api, args) {\n\t /* eslint complexity:[2, 7] */\n\t var messages = [];\n\t var failed = false;\n\t var checkerIndex = 0;\n\t var argIndex = 0;\n\t var arg = undefined,\n\t checker = undefined,\n\t res = undefined,\n\t lastChecker = undefined,\n\t argName = undefined,\n\t argFailed = undefined,\n\t skipPreviousChecker = undefined;\n\t /* jshint -W084 */\n\t while ((checker = api[checkerIndex++]) && argIndex < args.length) {\n\t arg = args[argIndex++];\n\t argName = 'Argument ' + argIndex + (checker.isOptional ? ' (optional)' : '');\n\t res = checker(arg, 'value', argName);\n\t argFailed = isError(res);\n\t lastChecker = checkerIndex >= api.length;\n\t skipPreviousChecker = checkerIndex > 1 && api[checkerIndex - 1].isOptional;\n\t if (argFailed && lastChecker || argFailed && !lastChecker && !checker.isOptional && !skipPreviousChecker) {\n\t failed = true;\n\t messages.push(getCheckerErrorMessage(res, checker, arg));\n\t } else if (argFailed && checker.isOptional) {\n\t argIndex--;\n\t } else {\n\t messages.push(t(argName) + ' passed');\n\t }\n\t }\n\t return failed ? messages : [];\n\t}\n\n\tcheckerTypeType.type = 'function with __apiCheckData property and `${function.type}` property';\n\tfunction checkerTypeType(checkerType, name, location) {\n\t var apiCheckDataChecker = checkers.shape({\n\t type: checkers.string,\n\t optional: checkers.bool\n\t });\n\t var asFunc = checkers.func.withProperties({ __apiCheckData: apiCheckDataChecker });\n\t var asShape = checkers.shape({ __apiCheckData: apiCheckDataChecker });\n\t var wrongShape = checkers.oneOfType([asFunc, asShape])(checkerType, name, location);\n\t if (isError(wrongShape)) {\n\t return wrongShape;\n\t }\n\t if (typeof checkerType !== 'function' && !checkerType.hasOwnProperty(checkerType.__apiCheckData.type)) {\n\t return getError(name, location, checkerTypeType.type);\n\t }\n\t}\n\n\tfunction getCheckerErrorMessage(res, checker, val) {\n\t var checkerHelp = getCheckerHelp(checker, val);\n\t checkerHelp = checkerHelp ? ' - ' + checkerHelp : '';\n\t return res.message + checkerHelp;\n\t}\n\n\tfunction getCheckerHelp(_ref, val) {\n\t var help = _ref.help;\n\n\t if (!help) {\n\t return '';\n\t }\n\t if (typeof help === 'function') {\n\t help = help(val);\n\t }\n\t return help;\n\t}\n\n\tfunction checkEnoughArgs(api, args) {\n\t var requiredArgs = api.filter(function (a) {\n\t return !a.isOptional;\n\t });\n\t if (args.length < requiredArgs.length) {\n\t return ['Not enough arguments specified. Requires `' + requiredArgs.length + '`, you passed `' + args.length + '`'];\n\t } else {\n\t return [];\n\t }\n\t}\n\n\tfunction getArgDisplay(arg, gottenArgs) {\n\t /* eslint complexity:[2, 7] */\n\t var cName = arg && arg.constructor && arg.constructor.name;\n\t var type = typeOf(arg);\n\t if (type === 'function') {\n\t if (hasKeys()) {\n\t var properties = stringify(getDisplayIfNotGotten());\n\t return cName + ' (with properties: ' + properties + ')';\n\t }\n\t return cName;\n\t }\n\n\t if (arg === null) {\n\t return 'null';\n\t }\n\n\t if (type !== 'array' && type !== 'object') {\n\t return type;\n\t }\n\n\t if (hasKeys()) {\n\t return getDisplayIfNotGotten();\n\t }\n\n\t return cName;\n\n\t // utility functions\n\t function hasKeys() {\n\t return arg && Object.keys(arg).length;\n\t }\n\n\t function getDisplayIfNotGotten() {\n\t if (gottenArgs.indexOf(arg) !== -1) {\n\t return '[Circular]';\n\t }\n\t gottenArgs.push(arg);\n\t return getDisplay(arg, gottenArgs);\n\t }\n\t}\n\n\tfunction getDisplay(obj, gottenArgs) {\n\t var argDisplay = {};\n\t each(obj, function (v, k) {\n\t return argDisplay[k] = getArgDisplay(v, gottenArgs);\n\t });\n\t return argDisplay;\n\t}\n\n\tfunction getApiCheckApis() {\n\t var os = checkers.string.optional;\n\n\t var checkerFnChecker = checkers.func.withProperties({\n\t type: checkers.oneOfType([checkers.string, checkerTypeType]).optional,\n\t displayName: checkers.string.optional,\n\t shortType: checkers.string.optional,\n\t notOptional: checkers.bool.optional,\n\t notRequired: checkers.bool.optional\n\t });\n\n\t var getApiCheckInstanceCheckers = [checkers.shape({\n\t output: checkers.shape({\n\t prefix: checkers.string.optional,\n\t suffix: checkers.string.optional,\n\t docsBaseUrl: checkers.string.optional\n\t }).strict.optional,\n\t verbose: checkers.bool.optional,\n\t disabled: checkers.bool.optional\n\t }).strict.optional, checkers.objectOf(checkerFnChecker).optional];\n\n\t var checkApiCheckApi = [checkers.typeOrArrayOf(checkerFnChecker), checkers.any.optional, checkers.shape({\n\t prefix: os, suffix: os, urlSuffix: os, // appended case\n\t onlyPrefix: os, onlySuffix: os, url: os // override case\n\t }).strict.optional];\n\n\t return {\n\t checkerFnChecker: checkerFnChecker,\n\t getApiCheckInstanceCheckers: getApiCheckInstanceCheckers,\n\t checkApiCheckApi: checkApiCheckApi\n\t };\n\t}\n\n/***/ },\n/* 2 */\n/***/ function(module, exports) {\n\n\tmodule.exports = stringify;\n\n\tfunction getSerialize (fn, decycle) {\n\t var seen = [], keys = [];\n\t decycle = decycle || function(key, value) {\n\t return '[Circular ' + getPath(value, seen, keys) + ']'\n\t };\n\t return function(key, value) {\n\t var ret = value;\n\t if (typeof value === 'object' && value) {\n\t if (seen.indexOf(value) !== -1)\n\t ret = decycle(key, value);\n\t else {\n\t seen.push(value);\n\t keys.push(key);\n\t }\n\t }\n\t if (fn) ret = fn(key, ret);\n\t return ret;\n\t }\n\t}\n\n\tfunction getPath (value, seen, keys) {\n\t var index = seen.indexOf(value);\n\t var path = [ keys[index] ];\n\t for (index--; index >= 0; index--) {\n\t if (seen[index][ path[0] ] === value) {\n\t value = seen[index];\n\t path.unshift(keys[index]);\n\t }\n\t }\n\t return '~' + path.join('.');\n\t}\n\n\tfunction stringify(obj, fn, spaces, decycle) {\n\t return JSON.stringify(obj, getSerialize(fn, decycle), spaces);\n\t}\n\n\tstringify.getSerialize = getSerialize;\n\n\n/***/ },\n/* 3 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\n\tfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n\tvar stringify = __webpack_require__(2);\n\tvar checkerHelpers = {\n\t addOptional: addOptional, getRequiredVersion: getRequiredVersion, setupChecker: setupChecker, addNullable: addNullable\n\t};\n\n\tmodule.exports = {\n\t each: each, copy: copy, typeOf: typeOf, arrayify: arrayify, getCheckerDisplay: getCheckerDisplay,\n\t isError: isError, list: list, getError: getError, nAtL: nAtL, t: t, undef: undef, checkerHelpers: checkerHelpers,\n\t noop: noop\n\t};\n\n\tfunction copy(obj) {\n\t var type = typeOf(obj);\n\t var daCopy = undefined;\n\t if (type === 'array') {\n\t daCopy = [];\n\t } else if (type === 'object') {\n\t daCopy = {};\n\t } else {\n\t return obj;\n\t }\n\t each(obj, function (val, key) {\n\t daCopy[key] = val; // cannot single-line this because we don't want to abort the each\n\t });\n\t return daCopy;\n\t}\n\n\tfunction typeOf(obj) {\n\t if (Array.isArray(obj)) {\n\t return 'array';\n\t } else if (obj instanceof RegExp) {\n\t return 'object';\n\t } else {\n\t return typeof obj;\n\t }\n\t}\n\n\tfunction getCheckerDisplay(checker, options) {\n\t /* eslint complexity:[2, 7] */\n\t var display = undefined;\n\t var short = options && options.short;\n\t if (short && checker.shortType) {\n\t display = checker.shortType;\n\t } else if (!short && typeof checker.type === 'object' || checker.type === 'function') {\n\t display = getCheckerType(checker, options);\n\t } else {\n\t display = getCheckerType(checker, options) || checker.displayName || checker.name;\n\t }\n\t return display;\n\t}\n\n\tfunction getCheckerType(_ref, options) {\n\t var type = _ref.type;\n\n\t if (typeof type === 'function') {\n\t var __apiCheckData = type.__apiCheckData;\n\t var typeTypes = type(options);\n\t type = _defineProperty({\n\t __apiCheckData: __apiCheckData\n\t }, __apiCheckData.type, typeTypes);\n\t }\n\t return type;\n\t}\n\n\tfunction arrayify(obj) {\n\t if (!obj) {\n\t return [];\n\t } else if (Array.isArray(obj)) {\n\t return obj;\n\t } else {\n\t return [obj];\n\t }\n\t}\n\n\tfunction each(obj, iterator, context) {\n\t if (Array.isArray(obj)) {\n\t return eachArry(obj, iterator, context);\n\t } else {\n\t return eachObj(obj, iterator, context);\n\t }\n\t}\n\n\tfunction eachObj(obj, iterator, context) {\n\t var ret = undefined;\n\t var hasOwn = Object.prototype.hasOwnProperty;\n\t /* eslint prefer-const:0 */ // some weird eslint bug?\n\t for (var key in obj) {\n\t if (hasOwn.call(obj, key)) {\n\t ret = iterator.call(context, obj[key], key, obj);\n\t if (ret === false) {\n\t return ret;\n\t }\n\t }\n\t }\n\t return true;\n\t}\n\n\tfunction eachArry(obj, iterator, context) {\n\t var ret = undefined;\n\t var length = obj.length;\n\t for (var i = 0; i < length; i++) {\n\t ret = iterator.call(context, obj[i], i, obj);\n\t if (ret === false) {\n\t return ret;\n\t }\n\t }\n\t return true;\n\t}\n\n\tfunction isError(obj) {\n\t return obj instanceof Error;\n\t}\n\n\tfunction list(arry, join, finalJoin) {\n\t arry = arrayify(arry);\n\t var copy = arry.slice();\n\t var last = copy.pop();\n\t if (copy.length === 1) {\n\t join = ' ';\n\t }\n\t return copy.join(join) + ('' + (copy.length ? join + finalJoin : '') + last);\n\t}\n\n\tfunction getError(name, location, checkerType) {\n\t if (typeof checkerType === 'function') {\n\t checkerType = checkerType({ short: true });\n\t }\n\t var stringType = typeof checkerType !== 'object' ? checkerType : stringify(checkerType);\n\t return new Error(nAtL(name, location) + ' must be ' + t(stringType));\n\t}\n\n\tfunction nAtL(name, location) {\n\t var tName = t(name || 'value');\n\t var tLocation = !location ? '' : ' at ' + t(location);\n\t return '' + tName + tLocation;\n\t}\n\n\tfunction t(thing) {\n\t return '`' + thing + '`';\n\t}\n\n\tfunction undef(thing) {\n\t return typeof thing === 'undefined';\n\t}\n\n\t/**\n\t * This will set up the checker with all of the defaults that most checkers want like required by default and an\n\t * optional version\n\t *\n\t * @param {Function} checker - the checker to setup with properties\n\t * @param {Object} properties - properties to add to the checker\n\t * @param {boolean} disabled - when set to true, this will set the checker to a no-op function\n\t * @returns {Function} checker - the setup checker\n\t */\n\tfunction setupChecker(checker, properties, disabled) {\n\t /* eslint complexity:[2, 9] */\n\t if (disabled) {\n\t // swap out the checker for its own copy of noop\n\t checker = getNoop();\n\t checker.isNoop = true;\n\t }\n\n\t if (typeof checker.type === 'string') {\n\t checker.shortType = checker.type;\n\t }\n\n\t // assign all properties given\n\t each(properties, function (prop, name) {\n\t return checker[name] = prop;\n\t });\n\n\t if (!checker.displayName) {\n\t checker.displayName = 'apiCheck ' + t(checker.shortType || checker.type || checker.name) + ' type checker';\n\t }\n\n\t if (!checker.notRequired) {\n\t checker = getRequiredVersion(checker, disabled);\n\t }\n\n\t if (!checker.notNullable) {\n\t addNullable(checker, disabled);\n\t }\n\n\t if (!checker.notOptional) {\n\t addOptional(checker, disabled);\n\t }\n\n\t return checker;\n\t}\n\n\tfunction getRequiredVersion(checker, disabled) {\n\t var requiredChecker = disabled ? getNoop() : function requiredChecker(val, name, location, obj) {\n\t if (undef(val) && !checker.isOptional) {\n\t var tLocation = location ? ' in ' + t(location) : '';\n\t var type = getCheckerDisplay(checker, { short: true });\n\t var stringType = typeof type !== 'object' ? type : stringify(type);\n\t return new Error('Required ' + t(name) + ' not specified' + tLocation + '. Must be ' + t(stringType));\n\t } else {\n\t return checker(val, name, location, obj);\n\t }\n\t };\n\t copyProps(checker, requiredChecker);\n\t requiredChecker.originalChecker = checker;\n\t return requiredChecker;\n\t}\n\n\tfunction addOptional(checker, disabled) {\n\t var optionalCheck = disabled ? getNoop() : function optionalCheck(val, name, location, obj) {\n\t if (!undef(val)) {\n\t return checker(val, name, location, obj);\n\t }\n\t };\n\t // inherit all properties on the original checker\n\t copyProps(checker, optionalCheck);\n\n\t optionalCheck.isOptional = true;\n\t optionalCheck.displayName = checker.displayName + ' (optional)';\n\t optionalCheck.originalChecker = checker;\n\n\t // the magic line that allows you to add .optional to the end of the checkers\n\t checker.optional = optionalCheck;\n\n\t fixType(checker, checker.optional);\n\t}\n\n\tfunction addNullable(checker, disabled) {\n\t var nullableCheck = disabled ? getNoop() : function nullableCheck(val, name, location, obj) {\n\t if (val !== null) {\n\t return checker(val, name, location, obj);\n\t }\n\t };\n\t // inherit all properties on the original checker\n\t copyProps(checker, nullableCheck);\n\n\t nullableCheck.isNullable = true;\n\t nullableCheck.displayName = checker.displayName + ' (nullable)';\n\t nullableCheck.originalChecker = checker;\n\n\t // the magic line that allows you to add .nullable to the end of the checkers\n\t checker.nullable = nullableCheck;\n\n\t fixType(checker, checker.nullable);\n\t if (!checker.notOptional) {\n\t addOptional(checker.nullable, disabled);\n\t }\n\t}\n\n\tfunction fixType(checker, checkerCopy) {\n\t // fix type, because it's not a straight copy...\n\t // the reason is we need to specify type.__apiCheckData.optional as true for the terse/verbose option.\n\t // we also want to add \"(optional)\" to the types with a string\n\t if (typeof checkerCopy.type === 'object') {\n\t checkerCopy.type = copy(checkerCopy.type); // make our own copy of this\n\t } else if (typeof checkerCopy.type === 'function') {\n\t checkerCopy.type = function () {\n\t return checker.type.apply(checker, arguments);\n\t };\n\t } else {\n\t checkerCopy.type += ' (optional)';\n\t return;\n\t }\n\t checkerCopy.type.__apiCheckData = copy(checker.type.__apiCheckData) || {}; // and this\n\t checkerCopy.type.__apiCheckData.optional = true;\n\t}\n\n\t// UTILS\n\n\tfunction copyProps(src, dest) {\n\t each(Object.keys(src), function (key) {\n\t return dest[key] = src[key];\n\t });\n\t}\n\n\tfunction noop() {}\n\n\tfunction getNoop() {\n\t /* eslint no-shadow:0 */\n\t /* istanbul ignore next */\n\t return function noop() {};\n\t}\n\n/***/ },\n/* 4 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\n\tvar stringify = __webpack_require__(2);\n\n\tvar _require = __webpack_require__(3);\n\n\tvar typeOf = _require.typeOf;\n\tvar each = _require.each;\n\tvar copy = _require.copy;\n\tvar getCheckerDisplay = _require.getCheckerDisplay;\n\tvar isError = _require.isError;\n\tvar arrayify = _require.arrayify;\n\tvar list = _require.list;\n\tvar getError = _require.getError;\n\tvar nAtL = _require.nAtL;\n\tvar t = _require.t;\n\tvar checkerHelpers = _require.checkerHelpers;\n\tvar undef = _require.undef;\n\tvar setupChecker = checkerHelpers.setupChecker;\n\n\tvar checkers = module.exports = getCheckers();\n\tmodule.exports.getCheckers = getCheckers;\n\n\tfunction getCheckers(disabled) {\n\t return {\n\t array: typeOfCheckGetter('Array'),\n\t bool: typeOfCheckGetter('Boolean'),\n\t number: typeOfCheckGetter('Number'),\n\t string: typeOfCheckGetter('String'),\n\t func: funcCheckGetter(),\n\t object: objectCheckGetter(),\n\n\t emptyObject: emptyObjectCheckGetter(),\n\n\t instanceOf: instanceCheckGetter,\n\t oneOf: oneOfCheckGetter,\n\t oneOfType: oneOfTypeCheckGetter,\n\n\t arrayOf: arrayOfCheckGetter,\n\t objectOf: objectOfCheckGetter,\n\t typeOrArrayOf: typeOrArrayOfCheckGetter,\n\n\t range: rangeCheckGetter,\n\t lessThan: lessThanCheckGetter,\n\t greaterThan: greaterThanCheckGetter,\n\n\t shape: getShapeCheckGetter(),\n\t args: argumentsCheckerGetter(),\n\n\t any: anyCheckGetter(),\n\t 'null': nullCheckGetter()\n\n\t };\n\n\t function typeOfCheckGetter(type) {\n\t var lType = type.toLowerCase();\n\t return setupChecker(function typeOfCheckerDefinition(val, name, location) {\n\t if (typeOf(val) !== lType) {\n\t return getError(name, location, type);\n\t }\n\t }, { type: type }, disabled);\n\t }\n\n\t function funcCheckGetter() {\n\t var type = 'Function';\n\t var functionChecker = setupChecker(function functionCheckerDefinition(val, name, location) {\n\t if (typeOf(val) !== 'function') {\n\t return getError(name, location, type);\n\t }\n\t }, { type: type }, disabled);\n\n\t functionChecker.withProperties = function getWithPropertiesChecker(properties) {\n\t var apiError = checkers.objectOf(checkers.func)(properties, 'properties', 'apiCheck.func.withProperties');\n\t if (isError(apiError)) {\n\t throw apiError;\n\t }\n\t var shapeChecker = checkers.shape(properties, true);\n\t shapeChecker.type.__apiCheckData.type = 'func.withProperties';\n\n\t return setupChecker(function functionWithPropertiesChecker(val, name, location) {\n\t var notFunction = checkers.func(val, name, location);\n\t if (isError(notFunction)) {\n\t return notFunction;\n\t }\n\t return shapeChecker(val, name, location);\n\t }, { type: shapeChecker.type, shortType: 'func.withProperties' }, disabled);\n\t };\n\t return functionChecker;\n\t }\n\n\t function objectCheckGetter() {\n\t var type = 'Object';\n\t var nullType = 'Object (null ok)';\n\t var objectNullOkChecker = setupChecker(function objectNullOkCheckerDefinition(val, name, location) {\n\t if (typeOf(val) !== 'object') {\n\t return getError(name, location, nullType);\n\t }\n\t }, { type: nullType }, disabled);\n\n\t var objectChecker = setupChecker(function objectCheckerDefinition(val, name, location) {\n\t if (val === null || isError(objectNullOkChecker(val, name, location))) {\n\t return getError(name, location, objectChecker.type);\n\t }\n\t }, { type: type, nullOk: objectNullOkChecker }, disabled);\n\n\t return objectChecker;\n\t }\n\n\t function instanceCheckGetter(classToCheck) {\n\t return setupChecker(function instanceCheckerDefinition(val, name, location) {\n\t if (!(val instanceof classToCheck)) {\n\t return getError(name, location, classToCheck.name);\n\t }\n\t }, { type: classToCheck.name }, disabled);\n\t }\n\n\t function oneOfCheckGetter(enums) {\n\t var type = {\n\t __apiCheckData: { optional: false, type: 'enum' },\n\t 'enum': enums\n\t };\n\t var shortType = 'oneOf[' + enums.map(function (enm) {\n\t return stringify(enm);\n\t }).join(', ') + ']';\n\t return setupChecker(function oneOfCheckerDefinition(val, name, location) {\n\t if (!enums.some(function (enm) {\n\t return enm === val;\n\t })) {\n\t return getError(name, location, shortType);\n\t }\n\t }, { type: type, shortType: shortType }, disabled);\n\t }\n\n\t function oneOfTypeCheckGetter(typeCheckers) {\n\t var checkersDisplay = typeCheckers.map(function (checker) {\n\t return getCheckerDisplay(checker, { short: true });\n\t });\n\t var shortType = 'oneOfType[' + checkersDisplay.join(', ') + ']';\n\t function type(options) {\n\t if (options && options.short) {\n\t return shortType;\n\t }\n\t return typeCheckers.map(function (checker) {\n\t return getCheckerDisplay(checker, options);\n\t });\n\t }\n\t type.__apiCheckData = { optional: false, type: 'oneOfType' };\n\t return setupChecker(function oneOfTypeCheckerDefinition(val, name, location) {\n\t if (!typeCheckers.some(function (checker) {\n\t return !isError(checker(val, name, location));\n\t })) {\n\t return getError(name, location, shortType);\n\t }\n\t }, { type: type, shortType: shortType }, disabled);\n\t }\n\n\t function arrayOfCheckGetter(checker) {\n\t var shortCheckerDisplay = getCheckerDisplay(checker, { short: true });\n\t var shortType = 'arrayOf[' + shortCheckerDisplay + ']';\n\n\t function type(options) {\n\t if (options && options.short) {\n\t return shortType;\n\t }\n\t return getCheckerDisplay(checker, options);\n\t }\n\t type.__apiCheckData = { optional: false, type: 'arrayOf' };\n\n\t return setupChecker(function arrayOfCheckerDefinition(val, name, location) {\n\t if (isError(checkers.array(val)) || !val.every(function (item) {\n\t return !isError(checker(item));\n\t })) {\n\t return getError(name, location, shortType);\n\t }\n\t }, { type: type, shortType: shortType }, disabled);\n\t }\n\n\t function objectOfCheckGetter(checker) {\n\t var checkerDisplay = getCheckerDisplay(checker, { short: true });\n\t var shortType = 'objectOf[' + checkerDisplay + ']';\n\n\t function type(options) {\n\t if (options && options.short) {\n\t return shortType;\n\t }\n\t return getCheckerDisplay(checker, options);\n\t }\n\t type.__apiCheckData = { optional: false, type: 'objectOf' };\n\n\t return setupChecker(function objectOfCheckerDefinition(val, name, location) {\n\t var notObject = checkers.object(val, name, location);\n\t if (isError(notObject)) {\n\t return notObject;\n\t }\n\t var allTypesSuccess = each(val, function (item, key) {\n\t if (isError(checker(item, key, name))) {\n\t return false;\n\t }\n\t });\n\t if (!allTypesSuccess) {\n\t return getError(name, location, shortType);\n\t }\n\t }, { type: type, shortType: shortType }, disabled);\n\t }\n\n\t function typeOrArrayOfCheckGetter(checker) {\n\t var checkerDisplay = getCheckerDisplay(checker, { short: true });\n\t var shortType = 'typeOrArrayOf[' + checkerDisplay + ']';\n\n\t function type(options) {\n\t if (options && options.short) {\n\t return shortType;\n\t }\n\t return getCheckerDisplay(checker, options);\n\t }\n\n\t type.__apiCheckData = { optional: false, type: 'typeOrArrayOf' };\n\t return setupChecker(function typeOrArrayOfDefinition(val, name, location, obj) {\n\t if (isError(checkers.oneOfType([checker, checkers.arrayOf(checker)])(val, name, location, obj))) {\n\t return getError(name, location, shortType);\n\t }\n\t }, { type: type, shortType: shortType }, disabled);\n\t }\n\n\t function getShapeCheckGetter() {\n\t function shapeCheckGetter(shape, nonObject) {\n\t var shapeTypes = {};\n\t each(shape, function (checker, prop) {\n\t shapeTypes[prop] = getCheckerDisplay(checker);\n\t });\n\t function type() {\n\t var options = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];\n\n\t var ret = {};\n\t var terse = options.terse;\n\t var obj = options.obj;\n\t var addHelpers = options.addHelpers;\n\n\t var parentRequired = options.required;\n\t each(shape, function (checker, prop) {\n\t /* eslint complexity:[2, 6] */\n\t var specified = obj && obj.hasOwnProperty(prop);\n\t var required = undef(parentRequired) ? !checker.isOptional : parentRequired;\n\t if (!terse || (specified || !checker.isOptional)) {\n\t ret[prop] = getCheckerDisplay(checker, { terse: terse, obj: obj && obj[prop], required: required, addHelpers: addHelpers });\n\t }\n\t if (addHelpers) {\n\t modifyTypeDisplayToHelpOut(ret, prop, specified, checker, required);\n\t }\n\t });\n\t return ret;\n\n\t function modifyTypeDisplayToHelpOut(theRet, prop, specified, checker, required) {\n\t if (!specified && required && !checker.isOptional) {\n\t var item = 'ITEM';\n\t if (checker.type && checker.type.__apiCheckData) {\n\t item = checker.type.__apiCheckData.type.toUpperCase();\n\t }\n\t addHelper('missing', 'MISSING THIS ' + item, ' <-- YOU ARE MISSING THIS');\n\t } else if (specified) {\n\t var error = checker(obj[prop], prop, null, obj);\n\t if (isError(error)) {\n\t addHelper('error', 'THIS IS THE PROBLEM: ' + error.message, ' <-- THIS IS THE PROBLEM: ' + error.message);\n\t }\n\t }\n\n\t function addHelper(property, objectMessage, stringMessage) {\n\t if (typeof theRet[prop] === 'string') {\n\t theRet[prop] += stringMessage;\n\t } else {\n\t theRet[prop].__apiCheckData[property] = objectMessage;\n\t }\n\t }\n\t }\n\t }\n\n\t type.__apiCheckData = { strict: false, optional: false, type: 'shape' };\n\t var shapeChecker = setupChecker(function shapeCheckerDefinition(val, name, location) {\n\t /* eslint complexity:[2, 6] */\n\t var isObject = !nonObject && checkers.object(val, name, location);\n\t if (isError(isObject)) {\n\t return isObject;\n\t }\n\t var shapePropError = undefined;\n\t location = location ? location + (name ? '/' : '') : '';\n\t name = name || '';\n\t each(shape, function (checker, prop) {\n\t if (val.hasOwnProperty(prop) || !checker.isOptional) {\n\t shapePropError = checker(val[prop], prop, '' + location + name, val);\n\t return !isError(shapePropError);\n\t }\n\t });\n\t if (isError(shapePropError)) {\n\t return shapePropError;\n\t }\n\t }, { type: type, shortType: 'shape' }, disabled);\n\n\t function strictType() {\n\t return type.apply(undefined, arguments);\n\t }\n\n\t strictType.__apiCheckData = copy(shapeChecker.type.__apiCheckData);\n\t strictType.__apiCheckData.strict = true;\n\t shapeChecker.strict = setupChecker(function strictShapeCheckerDefinition(val, name, location) {\n\t var shapeError = shapeChecker(val, name, location);\n\t if (isError(shapeError)) {\n\t return shapeError;\n\t }\n\t var allowedProperties = Object.keys(shape);\n\t var extraProps = Object.keys(val).filter(function (prop) {\n\t return allowedProperties.indexOf(prop) === -1;\n\t });\n\t if (extraProps.length) {\n\t return new Error(nAtL(name, location) + ' cannot have extra properties: ' + t(extraProps.join('`, `')) + '.' + ('It is limited to ' + t(allowedProperties.join('`, `'))));\n\t }\n\t }, { type: strictType, shortType: 'strict shape' }, disabled);\n\n\t return shapeChecker;\n\t }\n\n\t shapeCheckGetter.ifNot = function ifNot(otherProps, propChecker) {\n\t if (!Array.isArray(otherProps)) {\n\t otherProps = [otherProps];\n\t }\n\t var description = undefined;\n\t if (otherProps.length === 1) {\n\t description = 'specified only if ' + otherProps[0] + ' is not specified';\n\t } else {\n\t description = 'specified only if none of the following are specified: [' + list(otherProps, ', ', 'and ') + ']';\n\t }\n\t var shortType = 'ifNot[' + otherProps.join(', ') + ']';\n\t var type = getTypeForShapeChild(propChecker, description, shortType);\n\t return setupChecker(function ifNotChecker(prop, propName, location, obj) {\n\t var propExists = obj && obj.hasOwnProperty(propName);\n\t var otherPropsExist = otherProps.some(function (otherProp) {\n\t return obj && obj.hasOwnProperty(otherProp);\n\t });\n\t if (propExists === otherPropsExist) {\n\t return getError(propName, location, type);\n\t } else if (propExists) {\n\t return propChecker(prop, propName, location, obj);\n\t }\n\t }, { notRequired: true, type: type, shortType: shortType }, disabled);\n\t };\n\n\t shapeCheckGetter.onlyIf = function onlyIf(otherProps, propChecker) {\n\t otherProps = arrayify(otherProps);\n\t var description = undefined;\n\t if (otherProps.length === 1) {\n\t description = 'specified only if ' + otherProps[0] + ' is also specified';\n\t } else {\n\t description = 'specified only if all of the following are specified: [' + list(otherProps, ', ', 'and ') + ']';\n\t }\n\t var shortType = 'onlyIf[' + otherProps.join(', ') + ']';\n\t var type = getTypeForShapeChild(propChecker, description, shortType);\n\t return setupChecker(function onlyIfCheckerDefinition(prop, propName, location, obj) {\n\t var othersPresent = otherProps.every(function (property) {\n\t return obj.hasOwnProperty(property);\n\t });\n\t if (!othersPresent) {\n\t return getError(propName, location, type);\n\t } else {\n\t return propChecker(prop, propName, location, obj);\n\t }\n\t }, { type: type, shortType: shortType }, disabled);\n\t };\n\n\t shapeCheckGetter.requiredIfNot = function shapeRequiredIfNot(otherProps, propChecker) {\n\t if (!Array.isArray(otherProps)) {\n\t otherProps = [otherProps];\n\t }\n\t return getRequiredIfNotChecker(false, otherProps, propChecker);\n\t };\n\n\t shapeCheckGetter.requiredIfNot.all = function shapeRequiredIfNotAll(otherProps, propChecker) {\n\t if (!Array.isArray(otherProps)) {\n\t throw new Error('requiredIfNot.all must be passed an array');\n\t }\n\t return getRequiredIfNotChecker(true, otherProps, propChecker);\n\t };\n\n\t function getRequiredIfNotChecker(all, otherProps, propChecker) {\n\t var props = t(otherProps.join(', '));\n\t var ifProps = 'if ' + (all ? 'all of' : 'at least one of');\n\t var description = 'specified ' + ifProps + ' these are not specified: ' + props + ' (otherwise it\\'s optional)';\n\t var shortType = 'requiredIfNot' + (all ? '.all' : '') + '[' + otherProps.join(', ') + '}]';\n\t var type = getTypeForShapeChild(propChecker, description, shortType);\n\t return setupChecker(function shapeRequiredIfNotDefinition(prop, propName, location, obj) {\n\t var propExists = obj && obj.hasOwnProperty(propName);\n\t var iteration = all ? 'every' : 'some';\n\t var otherPropsExist = otherProps[iteration](function (otherProp) {\n\t return obj && obj.hasOwnProperty(otherProp);\n\t });\n\t if (!otherPropsExist && !propExists) {\n\t return getError(propName, location, type);\n\t } else if (propExists) {\n\t return propChecker(prop, propName, location, obj);\n\t }\n\t }, { type: type, notRequired: true }, disabled);\n\t }\n\n\t return shapeCheckGetter;\n\n\t function getTypeForShapeChild(propChecker, description, shortType) {\n\t function type(options) {\n\t if (options && options.short) {\n\t return shortType;\n\t }\n\t return getCheckerDisplay(propChecker);\n\t }\n\t type.__apiCheckData = { optional: false, type: 'ifNot', description: description };\n\t return type;\n\t }\n\t }\n\n\t function argumentsCheckerGetter() {\n\t var type = 'function arguments';\n\t return setupChecker(function argsCheckerDefinition(val, name, location) {\n\t if (Array.isArray(val) || isError(checkers.object(val)) || isError(checkers.number(val.length))) {\n\t return getError(name, location, type);\n\t }\n\t }, { type: type }, disabled);\n\t }\n\n\t function anyCheckGetter() {\n\t return setupChecker(function anyCheckerDefinition() {\n\t // don't do anything\n\t }, { type: 'any' }, disabled);\n\t }\n\n\t function nullCheckGetter() {\n\t var type = 'null';\n\t return setupChecker(function nullChecker(val, name, location) {\n\t if (val !== null) {\n\t return getError(name, location, type);\n\t }\n\t }, { type: type }, disabled);\n\t }\n\n\t function rangeCheckGetter(min, max) {\n\t var type = 'Range (' + min + ' - ' + max + ')';\n\t return setupChecker(function rangeChecker(val, name, location) {\n\t if (typeof val !== 'number' || val < min || val > max) {\n\t return getError(name, location, type);\n\t }\n\t }, { type: type }, disabled);\n\t }\n\n\t function lessThanCheckGetter(min) {\n\t var type = 'lessThan[' + min + ']';\n\t return setupChecker(function lessThanChecker(val, name, location) {\n\t if (typeof val !== 'number' || val > min) {\n\t return getError(name, location, type);\n\t }\n\t }, { type: type }, disabled);\n\t }\n\n\t function greaterThanCheckGetter(max) {\n\t var type = 'greaterThan[' + max + ']';\n\t return setupChecker(function greaterThanChecker(val, name, location) {\n\t if (typeof val !== 'number' || val < max) {\n\t return getError(name, location, type);\n\t }\n\t }, { type: type }, disabled);\n\t }\n\n\t function emptyObjectCheckGetter() {\n\t var type = 'empty object';\n\t return setupChecker(function emptyObjectChecker(val, name, location) {\n\t if (typeOf(val) !== 'object' || val === null || Object.keys(val).length) {\n\t return getError(name, location, type);\n\t }\n\t }, { type: type }, disabled);\n\t }\n\t}\n\n/***/ }\n/******/ ])\n});\n;//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9+L2FwaS1jaGVjay9kaXN0L2FwaS1jaGVjay5qcz83ZWE5Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLENBQUM7QUFDRCxvQ0FBb0M7QUFDcEM7QUFDQTs7QUFFQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0EsdUJBQXVCO0FBQ3ZCO0FBQ0E7QUFDQTs7QUFFQTtBQUNBOztBQUVBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBOzs7QUFHQTtBQUNBOztBQUVBO0FBQ0E7O0FBRUE7QUFDQTs7QUFFQTtBQUNBO0FBQ0EsVUFBVTtBQUNWO0FBQ0E7QUFDQTtBQUNBOztBQUVBOztBQUVBO0FBQ0E7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WNoZWNrL2Rpc3QvYXBpLWNoZWNrLmpzXG4vLyBtb2R1bGUgaWQgPSAyXG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJzb3VyY2VSb290IjoiIn0=");
|
||
|
||
/***/ },
|
||
/* 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\", formlyValidationMessages);\n\tngModule.factory(\"formlyUtil\", formlyUtil);\n\tngModule.factory(\"formlyWarn\", formlyWarn);\n\n\tngModule.directive(\"formlyCustomValidation\", formlyCustomValidation);\n\tngModule.directive(\"formlyField\", formlyField);\n\tngModule.directive(\"formlyFocus\", formlyFocus);\n\tngModule.directive(\"formlyForm\", formlyForm);\n\n\tngModule.run(formlyNgModelAttrsManipulator);\n\tngModule.run(formlyCustomTags);\n\n/***/ },\n/* 2 */\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 apiCheckFactory = _interopRequire(__webpack_require__(16));\n\n\tvar apiCheck = apiCheckFactory({\n\t output: {\n\t prefix: \"angular-formly:\",\n\t docsBaseUrl: __webpack_require__(3)\n\t }\n\t});\n\n\tfunction shapeRequiredIfNot(otherProps, propChecker) {\n\t if (!angular.isArray(otherProps)) {\n\t otherProps = [otherProps];\n\t }\n\t var type = \"specified if these are not specified: `\" + otherProps.join(\", \") + \"` (otherwise it's optional)\";\n\t function shapeRequiredIfNotDefinition(prop, propName, location, obj) {\n\t var propExists = obj && obj.hasOwnProperty(propName);\n\t var otherPropsExist = otherProps.some(function (otherProp) {\n\t return obj && obj.hasOwnProperty(otherProp);\n\t });\n\t if (!otherPropsExist && !propExists) {\n\t return apiCheck.utils.getError(propName, location, type);\n\t } else if (propExists) {\n\t return propChecker(prop, propName, location, obj);\n\t }\n\t }\n\t shapeRequiredIfNotDefinition.type = type;\n\t return apiCheck.utils.checkerHelpers.setupChecker(shapeRequiredIfNotDefinition);\n\t}\n\n\tvar formlyExpression = apiCheck.oneOfType([apiCheck.string, apiCheck.func]);\n\tvar specifyWrapperType = apiCheck.oneOfType([apiCheck.oneOf([null]), apiCheck.typeOrArrayOf(apiCheck.string)]);\n\n\tvar apiCheckProperty = apiCheck.objectOf(apiCheck.func);\n\n\tvar apiCheckInstanceProperty = apiCheck.shape.onlyIf(\"apiCheck\", apiCheck.func.withProperties({\n\t warn: apiCheck.func,\n\t \"throw\": apiCheck.func,\n\t shape: apiCheck.func\n\t}));\n\n\tvar apiCheckFunctionProperty = apiCheck.shape.onlyIf(\"apiCheck\", apiCheck.oneOf([\"throw\", \"warn\"]));\n\n\tvar formlyWrapperType = apiCheck.shape({\n\t name: shapeRequiredIfNot(\"types\", apiCheck.string).optional,\n\t template: apiCheck.shape.ifNot(\"templateUrl\", apiCheck.string).optional,\n\t templateUrl: apiCheck.shape.ifNot(\"template\", apiCheck.string).optional,\n\t types: apiCheck.typeOrArrayOf(apiCheck.string).optional,\n\t overwriteOk: apiCheck.bool.optional,\n\t validateOptions: apiCheck.func.optional,\n\t apiCheck: apiCheckProperty.optional,\n\t apiCheckInstance: apiCheckInstanceProperty.optional,\n\t apiCheckFunction: apiCheckFunctionProperty.optional,\n\t apiCheckOptions: apiCheck.object.optional\n\t}).strict;\n\n\tvar expressionProperties = apiCheck.objectOf(apiCheck.oneOfType([formlyExpression, apiCheck.shape({\n\t expression: formlyExpression,\n\t message: formlyExpression.optional\n\t}).strict]));\n\n\tvar modelChecker = apiCheck.oneOfType([apiCheck.oneOf([\"formState\"]), apiCheck.object]);\n\n\tvar fieldOptionsApiShape = {\n\t $$hashKey: apiCheck.any.optional,\n\t type: apiCheck.shape.ifNot([\"template\", \"templateUrl\"], apiCheck.string).optional,\n\t template: apiCheck.shape.ifNot([\"type\", \"templateUrl\"], apiCheck.oneOfType([apiCheck.string, apiCheck.func])).optional,\n\t templateUrl: apiCheck.shape.ifNot([\"type\", \"template\"], apiCheck.oneOfType([apiCheck.string, apiCheck.func])).optional,\n\t key: apiCheck.oneOfType([apiCheck.string, apiCheck.number]).optional,\n\t model: modelChecker.optional,\n\t className: apiCheck.string.optional,\n\t id: apiCheck.string.optional,\n\t expressionProperties: expressionProperties.optional,\n\t data: apiCheck.object.optional,\n\t templateOptions: apiCheck.object.optional,\n\t wrapper: specifyWrapperType.optional,\n\t modelOptions: apiCheck.shape({\n\t updateOn: apiCheck.string.optional,\n\t debounce: apiCheck.oneOfType([apiCheck.objectOf(apiCheck.number), apiCheck.number]).optional,\n\t allowInvalid: apiCheck.bool.optional,\n\t getterSetter: apiCheck.bool.optional,\n\t timezone: apiCheck.string.optional\n\t }).optional,\n\t watcher: apiCheck.typeOrArrayOf(apiCheck.shape({\n\t expression: formlyExpression.optional,\n\t listener: formlyExpression\n\t })).optional,\n\t validators: apiCheck.objectOf(apiCheck.oneOfType([formlyExpression, apiCheck.shape({\n\t expression: formlyExpression,\n\t message: formlyExpression.optional\n\t }).strict])).optional,\n\t noFormControl: apiCheck.bool.optional,\n\t hide: apiCheck.bool.optional,\n\t hideExpression: formlyExpression.optional,\n\t ngModelAttrs: apiCheck.objectOf(apiCheck.shape({\n\t expression: apiCheck.shape.ifNot([\"value\", \"attribute\", \"bound\"], apiCheck.any).optional,\n\t value: apiCheck.shape.ifNot(\"expression\", apiCheck.any).optional,\n\t attribute: apiCheck.shape.ifNot(\"expression\", apiCheck.any).optional,\n\t bound: apiCheck.shape.ifNot(\"expression\", apiCheck.any).optional\n\t }).strict).optional,\n\t elementAttributes: apiCheck.objectOf(apiCheck.string).optional,\n\t optionsTypes: apiCheck.typeOrArrayOf(apiCheck.string).optional,\n\t link: apiCheck.func.optional,\n\t controller: apiCheck.oneOfType([apiCheck.string, apiCheck.func, apiCheck.array]).optional,\n\t validation: apiCheck.shape({\n\t show: apiCheck.oneOfType([apiCheck.bool, apiCheck.oneOf([null])]).optional,\n\t messages: apiCheck.objectOf(formlyExpression).optional,\n\t errorExistsAndShouldBeVisible: apiCheck.bool.optional\n\t }).optional,\n\t formControl: apiCheck.object.optional,\n\t value: apiCheck.func.optional,\n\t runExpressions: apiCheck.func.optional,\n\t resetModel: apiCheck.func.optional,\n\t updateInitialValue: apiCheck.func.optional,\n\t initialValue: apiCheck.any.optional,\n\t defaultValue: apiCheck.any.optional\n\t};\n\n\tvar formlyFieldOptions = apiCheck.shape(fieldOptionsApiShape).strict;\n\n\tvar formOptionsApi = apiCheck.shape({\n\t formState: apiCheck.object.optional,\n\t resetModel: apiCheck.func.optional,\n\t updateInitialValue: apiCheck.func.optional,\n\t removeChromeAutoComplete: apiCheck.bool.optional\n\t}).strict;\n\n\tvar fieldGroup = apiCheck.shape({\n\t $$hashKey: apiCheck.any.optional,\n\t // danger. Nested field groups wont get api-checked...\n\t fieldGroup: apiCheck.arrayOf(apiCheck.oneOfType([formlyFieldOptions, apiCheck.object])),\n\t className: apiCheck.string.optional,\n\t options: formOptionsApi.optional,\n\t hide: apiCheck.bool.optional,\n\t hideExpression: formlyExpression.optional,\n\t model: modelChecker.optional,\n\t form: apiCheck.object.optional,\n\t elementAttributes: apiCheck.objectOf(apiCheck.string).optional\n\t}).strict;\n\n\tvar typeOptionsDefaultOptions = angular.copy(fieldOptionsApiShape);\n\ttypeOptionsDefaultOptions.key = apiCheck.string.optional;\n\n\tvar formlyTypeOptions = apiCheck.shape({\n\t name: apiCheck.string,\n\t template: apiCheck.shape.ifNot(\"templateUrl\", apiCheck.oneOfType([apiCheck.string, apiCheck.func])).optional,\n\t templateUrl: apiCheck.shape.ifNot(\"template\", apiCheck.oneOfType([apiCheck.string, apiCheck.func])).optional,\n\t controller: apiCheck.oneOfType([apiCheck.func, apiCheck.string, apiCheck.array]).optional,\n\t link: apiCheck.func.optional,\n\t defaultOptions: apiCheck.oneOfType([apiCheck.func, apiCheck.shape(typeOptionsDefaultOptions)]).optional,\n\t \"extends\": apiCheck.string.optional,\n\t wrapper: specifyWrapperType.optional,\n\t data: apiCheck.object.optional,\n\t validateOptions: apiCheck.func.optional,\n\t apiCheck: apiCheckProperty.optional,\n\t apiCheckInstance: apiCheckInstanceProperty.optional,\n\t apiCheckFunction: apiCheckFunctionProperty.optional,\n\t apiCheckOptions: apiCheck.object.optional,\n\t overwriteOk: apiCheck.bool.optional\n\t}).strict;\n\tangular.extend(apiCheck, {\n\t formlyTypeOptions: formlyTypeOptions, formlyFieldOptions: formlyFieldOptions, formlyExpression: formlyExpression, formlyWrapperType: formlyWrapperType, fieldGroup: fieldGroup, formOptionsApi: formOptionsApi\n\t});\n\n\tmodule.exports = apiCheck;\n\n/***/ },\n/* 3 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\n\tmodule.exports = \"https://github.com/formly-js/angular-formly/blob/\" + (\"6.8.2\") + \"/other/ERRORS_AND_WARNINGS.md#\";\n\n/***/ },\n/* 4 */\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\tmodule.exports = formlyUsability;\n\n\t// @ngInject\n\tfunction formlyUsability(formlyApiCheck, formlyErrorAndWarningsUrlPrefix) {\n\t var _this = this;\n\n\t angular.extend(this, {\n\t getFormlyError: getFormlyError,\n\t getFieldError: getFieldError,\n\t checkWrapper: checkWrapper,\n\t checkWrapperTemplate: checkWrapperTemplate,\n\t $get: function () {\n\t return _this;\n\t }\n\t });\n\n\t function getFieldError(errorInfoSlug, message, field) {\n\t if (arguments.length < 3) {\n\t field = message;\n\t message = errorInfoSlug;\n\t errorInfoSlug = null;\n\t }\n\t return new Error(getErrorMessage(errorInfoSlug, message) + (\" Field definition: \" + angular.toJson(field)));\n\t }\n\n\t function getFormlyError(errorInfoSlug, message) {\n\t if (!message) {\n\t message = errorInfoSlug;\n\t errorInfoSlug = null;\n\t }\n\t return new Error(getErrorMessage(errorInfoSlug, message));\n\t }\n\n\t function getErrorMessage(errorInfoSlug, message) {\n\t var url = \"\";\n\t if (errorInfoSlug !== null) {\n\t url = \"\" + formlyErrorAndWarningsUrlPrefix + \"\" + errorInfoSlug;\n\t }\n\t return \"Formly Error: \" + message + \". \" + url;\n\t }\n\n\t function checkWrapper(wrapper) {\n\t formlyApiCheck[\"throw\"](formlyApiCheck.formlyWrapperType, wrapper, {\n\t prefix: \"formlyConfig.setWrapper\",\n\t urlSuffix: \"setwrapper-validation-failed\"\n\t });\n\t }\n\n\t function checkWrapperTemplate(template, additionalInfo) {\n\t var formlyTransclude = \"<formly-transclude></formly-transclude>\";\n\t if (template.indexOf(formlyTransclude) === -1) {\n\t throw getFormlyError(\"Template wrapper templates must use \\\"\" + formlyTransclude + \"\\\" somewhere in them. \" + (\"This one does not have \\\"<formly-transclude></formly-transclude>\\\" in it: \" + template) + \"\\n\" + (\"Additional information: \" + JSON.stringify(additionalInfo)));\n\t }\n\t }\n\t}\n\tformlyUsability.$inject = [\"formlyApiCheck\", \"formlyErrorAndWarningsUrlPrefix\"];\n\n/***/ },\n/* 5 */\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 utils = _interopRequire(__webpack_require__(18));\n\n\tmodule.exports = formlyConfig;\n\n\t// @ngInject\n\tfunction formlyConfig(formlyUsabilityProvider, formlyApiCheck) {\n\t var _this2 = this;\n\n\t var typeMap = {};\n\t var templateWrappersMap = {};\n\t var defaultWrapperName = \"default\";\n\t var _this = this;\n\t var getError = formlyUsabilityProvider.getFormlyError;\n\n\t angular.extend(this, {\n\t setType: setType,\n\t getType: getType,\n\t setWrapper: setWrapper,\n\t getWrapper: getWrapper,\n\t getWrapperByType: getWrapperByType,\n\t removeWrapperByName: removeWrapperByName,\n\t removeWrappersForType: removeWrappersForType,\n\t disableWarnings: false,\n\t extras: {\n\t disableNgModelAttrsManipulator: false,\n\t ngModelAttrsManipulatorPreferUnbound: false,\n\t removeChromeAutoComplete: false,\n\t defaultHideDirective: \"ng-if\",\n\t getFieldId: null\n\t },\n\t templateManipulators: {\n\t preWrapper: [],\n\t postWrapper: []\n\t },\n\t $get: function () {\n\t return _this2;\n\t }\n\t });\n\n\t function setType(options) {\n\t if (angular.isArray(options)) {\n\t angular.forEach(options, setType);\n\t } else if (angular.isObject(options)) {\n\t checkType(options);\n\t if (options[\"extends\"]) {\n\t extendTypeOptions(options);\n\t }\n\t typeMap[options.name] = options;\n\t } else {\n\t throw getError(\"You must provide an object or array for setType. You provided: \" + JSON.stringify(arguments));\n\t }\n\t }\n\n\t function checkType(options) {\n\t formlyApiCheck[\"throw\"](formlyApiCheck.formlyTypeOptions, options, {\n\t prefix: \"formlyConfig.setType\",\n\t url: \"settype-validation-failed\"\n\t });\n\t if (!options.overwriteOk) {\n\t checkOverwrite(options.name, typeMap, options, \"types\");\n\t } else {\n\t options.overwriteOk = undefined;\n\t }\n\t }\n\n\t function extendTypeOptions(options) {\n\t var extendsType = getType(options[\"extends\"], true, options);\n\t extendTypeControllerFunction(options, extendsType);\n\t extendTypeLinkFunction(options, extendsType);\n\t extendTypeValidateOptionsFunction(options, extendsType);\n\t extendTypeDefaultOptions(options, extendsType);\n\t utils.reverseDeepMerge(options, extendsType);\n\t extendTemplate(options, extendsType);\n\t }\n\n\t function extendTemplate(options, extendsType) {\n\t if (options.template && extendsType.templateUrl) {\n\t delete options.templateUrl;\n\t } else if (options.templateUrl && extendsType.template) {\n\t delete options.template;\n\t }\n\t }\n\n\t function extendTypeControllerFunction(options, extendsType) {\n\t var extendsCtrl = extendsType.controller;\n\t if (!angular.isDefined(extendsCtrl)) {\n\t return;\n\t }\n\t var optionsCtrl = options.controller;\n\t if (angular.isDefined(optionsCtrl)) {\n\t options.controller = function ($scope, $controller) {\n\t $controller(extendsCtrl, { $scope: $scope });\n\t $controller(optionsCtrl, { $scope: $scope });\n\t };\n\t options.controller.$inject = [\"$scope\", \"$controller\"];\n\t } else {\n\t options.controller = extendsCtrl;\n\t }\n\t }\n\n\t function extendTypeLinkFunction(options, extendsType) {\n\t var extendsFn = extendsType.link;\n\t if (!angular.isDefined(extendsFn)) {\n\t return;\n\t }\n\t var optionsFn = options.link;\n\t if (angular.isDefined(optionsFn)) {\n\t options.link = function () {\n\t extendsFn.apply(undefined, arguments);\n\t optionsFn.apply(undefined, arguments);\n\t };\n\t } else {\n\t options.link = extendsFn;\n\t }\n\t }\n\n\t function extendTypeValidateOptionsFunction(options, extendsType) {\n\t var extendsFn = extendsType.validateOptions;\n\t if (!angular.isDefined(extendsFn)) {\n\t return;\n\t }\n\t var optionsFn = options.validateOptions;\n\t var originalDefaultOptions = options.defaultOptions;\n\t if (angular.isDefined(optionsFn)) {\n\t options.validateOptions = function (options) {\n\t optionsFn(options);\n\t var mergedOptions = angular.copy(options);\n\t var defaultOptions = originalDefaultOptions;\n\t if (defaultOptions) {\n\t if (angular.isFunction(defaultOptions)) {\n\t defaultOptions = defaultOptions(mergedOptions);\n\t }\n\t utils.reverseDeepMerge(mergedOptions, defaultOptions);\n\t }\n\t extendsFn(mergedOptions);\n\t };\n\t } else {\n\t options.validateOptions = extendsFn;\n\t }\n\t }\n\n\t function extendTypeDefaultOptions(options, extendsType) {\n\t var extendsDO = extendsType.defaultOptions;\n\t if (!angular.isDefined(extendsDO)) {\n\t return;\n\t }\n\t var optionsDO = options.defaultOptions;\n\t var optionsDOIsFn = angular.isFunction(optionsDO);\n\t var extendsDOIsFn = angular.isFunction(extendsDO);\n\t if (extendsDOIsFn) {\n\t options.defaultOptions = function defaultOptions(options) {\n\t var extendsDefaultOptions = extendsDO(options);\n\t var mergedDefaultOptions = {};\n\t utils.reverseDeepMerge(mergedDefaultOptions, options, extendsDefaultOptions);\n\t var extenderOptionsDefaultOptions = optionsDO;\n\t if (optionsDOIsFn) {\n\t extenderOptionsDefaultOptions = extenderOptionsDefaultOptions(mergedDefaultOptions);\n\t }\n\t utils.reverseDeepMerge(extendsDefaultOptions, extenderOptionsDefaultOptions);\n\t return extendsDefaultOptions;\n\t };\n\t } else if (optionsDOIsFn) {\n\t options.defaultOptions = function defaultOptions(options) {\n\t var newDefaultOptions = {};\n\t utils.reverseDeepMerge(newDefaultOptions, options, extendsDO);\n\t return optionsDO(newDefaultOptions);\n\t };\n\t }\n\t }\n\n\t function getType(name, throwError, errorContext) {\n\t if (!name) {\n\t return undefined;\n\t }\n\t var type = typeMap[name];\n\t if (!type && throwError === true) {\n\t throw getError(\"There is no type by the name of \\\"\" + name + \"\\\": \" + JSON.stringify(errorContext));\n\t } else {\n\t return type;\n\t }\n\t }\n\n\t function setWrapper(_x, _x2) {\n\t var _again = true;\n\n\t _function: while (_again) {\n\t _again = false;\n\t var options = _x,\n\t name = _x2;\n\n\t if (angular.isArray(options)) {\n\t return options.map(function (wrapperOptions) {\n\t return setWrapper(wrapperOptions);\n\t });\n\t } else if (angular.isObject(options)) {\n\t options.types = getOptionsTypes(options);\n\t options.name = getOptionsName(options, name);\n\t checkWrapperAPI(options);\n\t templateWrappersMap[options.name] = options;\n\t return options;\n\t } else if (angular.isString(options)) {\n\t _x = {\n\t template: options,\n\t name: name\n\t };\n\t _again = true;\n\t continue _function;\n\t }\n\t }\n\t }\n\n\t function getOptionsTypes(options) {\n\t if (angular.isString(options.types)) {\n\t return [options.types];\n\t }\n\t if (!angular.isDefined(options.types)) {\n\t return [];\n\t } else {\n\t return options.types;\n\t }\n\t }\n\n\t function getOptionsName(options, name) {\n\t return options.name || name || options.types.join(\" \") || defaultWrapperName;\n\t }\n\n\t function checkWrapperAPI(options) {\n\t formlyUsabilityProvider.checkWrapper(options);\n\t if (options.template) {\n\t formlyUsabilityProvider.checkWrapperTemplate(options.template, options);\n\t }\n\t if (!options.overwriteOk) {\n\t checkOverwrite(options.name, templateWrappersMap, options, \"templateWrappers\");\n\t } else {\n\t delete options.overwriteOk;\n\t }\n\t checkWrapperTypes(options);\n\t }\n\n\t function checkWrapperTypes(options) {\n\t var shouldThrow = !angular.isArray(options.types) || !options.types.every(angular.isString);\n\t if (shouldThrow) {\n\t throw getError(\"Attempted to create a template wrapper with types that is not a string or an array of strings\");\n\t }\n\t }\n\n\t function checkOverwrite(property, object, newValue, objectName) {\n\t if (object.hasOwnProperty(property)) {\n\t warn([\"Attempting to overwrite \" + property + \" on \" + objectName + \" which is currently\", \"\" + JSON.stringify(object[property]) + \" with \" + JSON.stringify(newValue), \"To supress this warning, specify the property \\\"overwriteOk: true\\\"\"].join(\" \"));\n\t }\n\t }\n\n\t function getWrapper(name) {\n\t return templateWrappersMap[name || defaultWrapperName];\n\t }\n\n\t function getWrapperByType(type) {\n\t /* jshint maxcomplexity:6 */\n\t var wrappers = [];\n\t for (var name in templateWrappersMap) {\n\t if (templateWrappersMap.hasOwnProperty(name)) {\n\t if (templateWrappersMap[name].types && templateWrappersMap[name].types.indexOf(type) !== -1) {\n\t wrappers.push(templateWrappersMap[name]);\n\t }\n\t }\n\t }\n\t return wrappers;\n\t }\n\n\t function removeWrapperByName(name) {\n\t var wrapper = templateWrappersMap[name];\n\t delete templateWrappersMap[name];\n\t return wrapper;\n\t }\n\n\t function removeWrappersForType(type) {\n\t var wrappers = getWrapperByType(type);\n\t if (!wrappers) {\n\t return;\n\t }\n\t if (!angular.isArray(wrappers)) {\n\t return removeWrapperByName(wrappers.name);\n\t } else {\n\t wrappers.forEach(function (wrapper) {\n\t return removeWrapperByName(wrapper.name);\n\t });\n\t return wrappers;\n\t }\n\t }\n\n\t function warn() {\n\t if (!_this.disableWarnings) {\n\t console.warn.apply(console, arguments);\n\t }\n\t }\n\t}\n\tformlyConfig.$inject = [\"formlyUsabilityProvider\", \"formlyApiCheck\"];\n\n/***/ },\n/* 6 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\n\tmodule.exports = formlyValidationMessages;\n\n\t// @ngInject\n\tfunction formlyValidationMessages() {\n\n\t var validationMessages = {\n\t addTemplateOptionValueMessage: addTemplateOptionValueMessage,\n\t addStringMessage: addStringMessage,\n\t messages: {}\n\t };\n\n\t return validationMessages;\n\n\t function addTemplateOptionValueMessage(name, prop, prefix, suffix, alternate) {\n\t validationMessages.messages[name] = templateOptionValue(prop, prefix, suffix, alternate);\n\t }\n\n\t function addStringMessage(name, string) {\n\t validationMessages.messages[name] = function () {\n\t return string;\n\t };\n\t }\n\n\t function templateOptionValue(prop, prefix, suffix, alternate) {\n\t return function getValidationMessage(viewValue, modelValue, scope) {\n\t if (scope.options.templateOptions[prop]) {\n\t return \"\" + prefix + \" \" + scope.options.templateOptions[prop] + \" \" + suffix;\n\t } else {\n\t return alternate;\n\t }\n\t };\n\t }\n\t}\n\n/***/ },\n/* 7 */\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 utils = _interopRequire(__webpack_require__(18));\n\n\tmodule.exports = formlyUtil;\n\n\t// @ngInject\n\tfunction formlyUtil() {\n\t return utils;\n\t}\n\n/***/ },\n/* 8 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\n\tvar _toConsumableArray = function (arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) arr2[i] = arr[i]; return arr2; } else { return Array.from(arr); } };\n\n\tmodule.exports = formlyWarn;\n\n\t// @ngInject\n\tfunction formlyWarn(formlyConfig, formlyErrorAndWarningsUrlPrefix, $log) {\n\t return function warn() {\n\t if (!formlyConfig.disableWarnings) {\n\t var args = Array.prototype.slice.call(arguments);\n\t var warnInfoSlug = args.shift();\n\t args.unshift(\"Formly Warning:\");\n\t args.push(\"\" + formlyErrorAndWarningsUrlPrefix + \"\" + warnInfoSlug);\n\t $log.warn.apply($log, _toConsumableArray(args));\n\t }\n\t };\n\t}\n\tformlyWarn.$inject = [\"formlyConfig\", \"formlyErrorAndWarningsUrlPrefix\", \"$log\"];\n\n/***/ },\n/* 9 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\n\tmodule.exports = formlyCustomValidation;\n\n\t// @ngInject\n\tfunction formlyCustomValidation(formlyUtil, $q) {\n\t return {\n\t restrict: \"A\",\n\t require: \"ngModel\",\n\t link: function formlyCustomValidationLink(scope, el, attrs, ctrl) {\n\t var opts = scope.options;\n\t if (opts.validators) {\n\t checkValidators(opts.validators);\n\t }\n\t opts.validation.messages = opts.validation.messages || {};\n\t angular.forEach(opts.validation.messages, function (message, key) {\n\t opts.validation.messages[key] = function () {\n\t return formlyUtil.formlyEval(scope, message, ctrl.$modelValue, ctrl.$viewValue);\n\t };\n\t });\n\n\t var useNewValidatorsApi = ctrl.hasOwnProperty(\"$validators\") && !attrs.hasOwnProperty(\"useParsers\");\n\t angular.forEach(opts.validators, function addValidatorToPipeline(validator, name) {\n\t var message = validator.message;\n\t if (message) {\n\t opts.validation.messages[name] = function () {\n\t return formlyUtil.formlyEval(scope, message, ctrl.$modelValue, ctrl.$viewValue);\n\t };\n\t }\n\t validator = angular.isObject(validator) ? validator.expression : validator;\n\t var isPossiblyAsync = !angular.isString(validator);\n\t if (useNewValidatorsApi) {\n\t setupWithValidators();\n\t } else {\n\t setupWithParsers();\n\t }\n\n\t function setupWithValidators() {\n\t var validatorCollection = isPossiblyAsync ? \"$asyncValidators\" : \"$validators\";\n\t ctrl[validatorCollection][name] = function evalValidity(modelValue, viewValue) {\n\t var value = formlyUtil.formlyEval(scope, validator, modelValue, viewValue);\n\t if (isPossiblyAsync) {\n\t return isPromiseLike(value) ? value : value ? $q.when(value) : $q.reject(value);\n\t } else {\n\t return value;\n\t }\n\t };\n\t }\n\n\t function setupWithParsers() {\n\t var inFlightValidator = undefined;\n\t ctrl.$parsers.unshift(function evalValidityOfParser(viewValue) {\n\t var isValid = formlyUtil.formlyEval(scope, validator, ctrl.$modelValue, viewValue);\n\t if (isPromiseLike(isValid)) {\n\t ctrl.$pending = ctrl.$pending || {};\n\t ctrl.$pending[name] = true;\n\t inFlightValidator = isValid;\n\t isValid.then(function () {\n\t if (inFlightValidator === isValid) {\n\t ctrl.$setValidity(name, true);\n\t }\n\t })[\"catch\"](function () {\n\t if (inFlightValidator === isValid) {\n\t ctrl.$setValidity(name, false);\n\t }\n\t })[\"finally\"](function () {\n\t if (Object.keys(ctrl.$pending).length === 1) {\n\t delete ctrl.$pending;\n\t } else {\n\t delete ctrl.$pending[name];\n\t }\n\t });\n\t } else {\n\t ctrl.$setValidity(name, isValid);\n\t }\n\t return viewValue;\n\t });\n\t }\n\t });\n\t }\n\t };\n\n\t function isPromiseLike(obj) {\n\t return obj && angular.isFunction(obj.then);\n\t }\n\n\t function checkValidators(validators) {\n\t var allowedProperties = [\"expression\", \"message\"];\n\t var validatorsWithExtraProps = {};\n\t angular.forEach(validators, function (validator, name) {\n\t if (angular.isString(validator)) {\n\t return;\n\t }\n\t var extraProps = [];\n\t angular.forEach(validator, function (v, key) {\n\t if (allowedProperties.indexOf(key) === -1) {\n\t extraProps.push(key);\n\t }\n\t });\n\t if (extraProps.length) {\n\t validatorsWithExtraProps[name] = extraProps;\n\t }\n\t });\n\t if (Object.keys(validatorsWithExtraProps).length) {\n\t throw new Error([\"Validators are only allowed to be functions or objects that have \" + allowedProperties.join(\", \") + \".\", \"You provided some extra properties: \" + JSON.stringify(validatorsWithExtraProps)].join(\" \"));\n\t }\n\t }\n\t}\n\tformlyCustomValidation.$inject = [\"formlyUtil\", \"$q\"];\n\n/***/ },\n/* 10 */\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\tmodule.exports = formlyField;\n\n\t/**\n\t * @ngdoc directive\n\t * @name formlyField\n\t * @restrict AE\n\t */\n\t// @ngInject\n\tfunction formlyField($http, $q, $compile, $templateCache, formlyConfig, formlyValidationMessages, formlyApiCheck, formlyUtil, formlyUsability, formlyWarn) {\n\t var arrayify = formlyUtil.arrayify;\n\n\t FormlyFieldController.$inject = [\"$scope\", \"$timeout\", \"$parse\", \"$controller\"];\n\t return {\n\t restrict: \"AE\",\n\t transclude: true,\n\t scope: {\n\t options: \"=\",\n\t model: \"=\",\n\t formId: \"@\", // TODO remove formId in a breaking release\n\t index: \"=?\",\n\t fields: \"=?\",\n\t formState: \"=?\",\n\t form: \"=?\" // TODO require form in a breaking release\n\t },\n\t controller: FormlyFieldController,\n\t link: fieldLink\n\t };\n\n\t // @ngInject\n\t function FormlyFieldController($scope, $timeout, $parse, $controller) {\n\t /* jshint maxstatements:31 */\n\t if ($scope.options.fieldGroup) {\n\t setupFieldGroup();\n\t return;\n\t }\n\n\t var fieldType = getFieldType($scope.options);\n\t simplifyLife($scope.options);\n\t mergeFieldOptionsWithTypeDefaults($scope.options, fieldType);\n\t extendOptionsWithDefaults($scope.options, $scope.index);\n\t checkApi($scope.options);\n\t // set field id to link labels and fields\n\n\t // initalization\n\t setFieldId();\n\t setDefaultValue();\n\t setInitialValue();\n\t runExpressions();\n\t addModelWatcher($scope, $scope.options);\n\t addValidationMessages($scope.options);\n\t invokeControllers($scope, $scope.options, fieldType);\n\n\t // function definitions\n\t function runExpressions() {\n\t // must run on next tick to make sure that the current value is correct.\n\t $timeout(function runExpressionsOnNextTick() {\n\t var field = $scope.options;\n\t var currentValue = valueGetterSetter();\n\t angular.forEach(field.expressionProperties, function runExpression(expression, prop) {\n\t var setter = $parse(prop).assign;\n\t var promise = $q.when(formlyUtil.formlyEval($scope, expression, currentValue));\n\t promise.then(function setFieldValue(value) {\n\t setter(field, value);\n\t });\n\t });\n\t });\n\t }\n\n\t function valueGetterSetter(newVal) {\n\t if (!$scope.model || !$scope.options.key) {\n\t return;\n\t }\n\t if (angular.isDefined(newVal)) {\n\t $scope.model[$scope.options.key] = newVal;\n\t }\n\t return $scope.model[$scope.options.key];\n\t }\n\n\t function simplifyLife(options) {\n\t // add a few empty objects (if they don't already exist) so you don't have to undefined check everywhere\n\t formlyUtil.reverseDeepMerge(options, {\n\t data: {},\n\t templateOptions: {},\n\t validation: {}\n\t });\n\t // create $scope.to so template authors can reference to instead of $scope.options.templateOptions\n\t $scope.to = $scope.options.templateOptions;\n\t }\n\n\t function setFieldId() {\n\t if (angular.isFunction(formlyConfig.extras.getFieldId)) {\n\t $scope.id = formlyConfig.extras.getFieldId($scope.options, $scope.model, $scope);\n\t } else {\n\t var formName = $scope.form && $scope.form.$name || $scope.formId;\n\t $scope.id = formlyUtil.getFieldId(formName, $scope.options, $scope.index);\n\t }\n\t $scope.options.id = $scope.id;\n\t }\n\n\t function setDefaultValue() {\n\t if (angular.isDefined($scope.options.defaultValue) && !angular.isDefined($scope.model[$scope.options.key])) {\n\t $scope.model[$scope.options.key] = $scope.options.defaultValue;\n\t }\n\t }\n\n\t function setInitialValue() {\n\t $scope.options.initialValue = $scope.model && $scope.model[$scope.options.key];\n\t }\n\n\t function mergeFieldOptionsWithTypeDefaults(options, type) {\n\t if (type) {\n\t mergeOptions(options, type.defaultOptions);\n\t }\n\t var properOrder = arrayify(options.optionsTypes).reverse(); // so the right things are overridden\n\t angular.forEach(properOrder, function (typeName) {\n\t mergeOptions(options, formlyConfig.getType(typeName, true, options).defaultOptions);\n\t });\n\t }\n\n\t function mergeOptions(options, extraOptions) {\n\t if (extraOptions) {\n\t if (angular.isFunction(extraOptions)) {\n\t extraOptions = extraOptions(options);\n\t }\n\t formlyUtil.reverseDeepMerge(options, extraOptions);\n\t }\n\t }\n\n\t function extendOptionsWithDefaults(options, index) {\n\t var key = options.key || index || 0;\n\t angular.extend(options, {\n\t // attach the key in case the formly-field directive is used directly\n\t key: key,\n\t value: valueGetterSetter,\n\t runExpressions: runExpressions,\n\t resetModel: resetModel,\n\t updateInitialValue: updateInitialValue\n\t });\n\t }\n\n\t // initialization functions\n\t function addModelWatcher(scope, options) {\n\t if (options.model) {\n\t scope.$watch(\"options.model\", runExpressions, true);\n\t }\n\t }\n\n\t function resetModel() {\n\t $scope.model[$scope.options.key] = $scope.options.initialValue;\n\t if ($scope.options.formControl) {\n\t $scope.options.formControl.$setViewValue($scope.model[$scope.options.key]);\n\t $scope.options.formControl.$render();\n\t $scope.options.formControl.$setUntouched();\n\t $scope.options.formControl.$setPristine();\n\t }\n\t }\n\n\t function updateInitialValue() {\n\t $scope.options.initialValue = $scope.model[$scope.options.key];\n\t }\n\n\t function addValidationMessages(options) {\n\t options.validation.messages = options.validation.messages || {};\n\t angular.forEach(formlyValidationMessages.messages, function createFunctionForMessage(expression, name) {\n\t if (!options.validation.messages[name]) {\n\t options.validation.messages[name] = function evaluateMessage(viewValue, modelValue, scope) {\n\t return formlyUtil.formlyEval(scope, expression, modelValue, viewValue);\n\t };\n\t }\n\t });\n\t }\n\n\t function invokeControllers(scope) {\n\t var options = arguments[1] === undefined ? {} : arguments[1];\n\t var type = arguments[2] === undefined ? {} : arguments[2];\n\n\t angular.forEach([type.controller, options.controller], function (controller) {\n\t if (controller) {\n\t $controller(controller, { $scope: scope });\n\t }\n\t });\n\t }\n\n\t function setupFieldGroup() {\n\t $scope.options.options = $scope.options.options || {};\n\t $scope.options.options.formState = $scope.formState;\n\t }\n\t }\n\n\t // link function\n\t function fieldLink(scope, el) {\n\t if (scope.options.fieldGroup) {\n\t setFieldGroupTemplate();\n\t return;\n\t }\n\n\t addAttributes();\n\t addClasses();\n\n\t var type = getFieldType(scope.options);\n\t var args = arguments;\n\t var thusly = this;\n\t getFieldTemplate(scope.options).then(runManipulators(formlyConfig.templateManipulators.preWrapper)).then(transcludeInWrappers(scope.options)).then(runManipulators(formlyConfig.templateManipulators.postWrapper)).then(setElementTemplate).then(watchFormControl).then(callLinkFunctions)[\"catch\"](function (error) {\n\t formlyWarn(\"there-was-a-problem-setting-the-template-for-this-field\", \"There was a problem setting the template for this field \", scope.options, error);\n\t });\n\n\t function setFieldGroupTemplate() {\n\t checkFieldGroupApi(scope.options);\n\t el.addClass(\"formly-field-group\");\n\t var extraAttributes = \"\";\n\t if (scope.options.elementAttributes) {\n\t extraAttributes = Object.keys(scope.options.elementAttributes).map(function (key) {\n\t return \"\" + key + \"=\\\"\" + scope.options.elementAttributes[key] + \"\\\"\";\n\t }).join(\" \");\n\t }\n\t setElementTemplate(\"\\n <formly-form model=\\\"model\\\"\\n fields=\\\"options.fieldGroup\\\"\\n options=\\\"options.options\\\"\\n form=\\\"options.form\\\"\\n class=\\\"\" + scope.options.className + \"\\\"\\n \" + extraAttributes + \"\\n is-field-group>\\n </formly-form>\\n \");\n\t }\n\n\t function addAttributes() {\n\t if (scope.options.elementAttributes) {\n\t el.attr(scope.options.elementAttributes);\n\t }\n\t }\n\n\t function addClasses() {\n\t if (scope.options.className) {\n\t el.addClass(scope.options.className);\n\t }\n\t if (scope.options.type) {\n\t el.addClass(\"formly-field-\" + scope.options.type);\n\t }\n\t }\n\n\t function setElementTemplate(templateString) {\n\t el.html(asHtml(templateString));\n\t $compile(el.contents())(scope);\n\t return templateString;\n\t }\n\n\t function watchFormControl(templateString) {\n\t var stopWatchingField = angular.noop;\n\t var stopWatchingShowError = angular.noop;\n\t if (scope.options.noFormControl) {\n\t return;\n\t }\n\t var templateEl = angular.element(\"<div>\" + templateString + \"</div>\");\n\t var ngModelNode = templateEl[0].querySelector(\"[ng-model],[data-ng-model]\");\n\t if (ngModelNode && ngModelNode.getAttribute(\"name\")) {\n\t watchFieldNameOrExistence(ngModelNode.getAttribute(\"name\"));\n\t }\n\n\t function watchFieldNameOrExistence(name) {\n\t var nameExpressionRegex = /\\{\\{(.*?)}}/;\n\t var nameExpression = nameExpressionRegex.exec(name);\n\t if (nameExpression) {\n\t watchFieldName(nameExpression[1]);\n\t } else {\n\t watchFieldExistence(name);\n\t }\n\t }\n\n\t function watchFieldName(expression) {\n\t scope.$watch(expression, function oneFieldNameChange(name) {\n\t if (name) {\n\t stopWatchingField();\n\t watchFieldExistence(name);\n\t }\n\t });\n\t }\n\n\t function watchFieldExistence(name) {\n\t stopWatchingField = scope.$watch(\"form[\\\"\" + name + \"\\\"]\", function formControlChange(formControl) {\n\t if (formControl) {\n\t scope.fc = formControl; // shortcut for template authors\n\t scope.options.formControl = formControl;\n\t stopWatchingShowError();\n\t addShowMessagesWatcher();\n\t }\n\t });\n\t }\n\n\t function addShowMessagesWatcher() {\n\t stopWatchingShowError = scope.$watch(function watchShowValidationChange() {\n\t var customExpression = formlyConfig.extras.errorExistsAndShouldBeVisibleExpression;\n\t var options = scope.options;\n\t var fc = scope.fc;\n\n\t if (!fc.$invalid) {\n\t return false;\n\t } else if (typeof options.validation.show === \"boolean\") {\n\t return options.validation.show;\n\t } else if (customExpression) {\n\t return formlyUtil.formlyEval(scope, customExpression, fc.$modelValue, fc.$viewValue);\n\t } else {\n\t var noTouchedButDirty = angular.isUndefined(fc.$touched) && fc.$dirty;\n\t return scope.fc.$touched || noTouchedButDirty;\n\t }\n\t }, function onShowValidationChange(show) {\n\t scope.options.validation.errorExistsAndShouldBeVisible = show;\n\t scope.showError = show; // shortcut for template authors\n\t });\n\t }\n\t }\n\n\t function callLinkFunctions() {\n\t if (type && type.link) {\n\t type.link.apply(thusly, args);\n\t }\n\t if (scope.options.link) {\n\t scope.options.link.apply(thusly, args);\n\t }\n\t }\n\n\t function runManipulators(manipulators) {\n\t return function runManipulatorsOnTemplate(template) {\n\t var chain = $q.when(template);\n\t angular.forEach(manipulators, function (manipulator) {\n\t chain = chain.then(function (template) {\n\t return $q.when(manipulator(template, scope.options, scope)).then(function (newTemplate) {\n\t return angular.isString(newTemplate) ? newTemplate : asHtml(newTemplate);\n\t });\n\t });\n\t });\n\t return chain;\n\t };\n\t }\n\t }\n\n\t // stateless util functions\n\t function asHtml(el) {\n\t var wrapper = angular.element(\"<a></a>\");\n\t return wrapper.append(el).html();\n\t }\n\n\t function getFieldType(options) {\n\t return options.type && formlyConfig.getType(options.type);\n\t }\n\n\t function getFieldTemplate(options) {\n\t function fromOptionsOrType(key, type) {\n\t if (angular.isDefined(options[key])) {\n\t return options[key];\n\t } else if (type && angular.isDefined(type[key])) {\n\t return type[key];\n\t }\n\t }\n\n\t var type = formlyConfig.getType(options.type, true, options);\n\t var template = fromOptionsOrType(\"template\", type);\n\t var templateUrl = fromOptionsOrType(\"templateUrl\", type);\n\t if (angular.isUndefined(template) && !templateUrl) {\n\t throw formlyUsability.getFieldError(\"type-type-has-no-template\", \"Type '\" + options.type + \"' has not template. On element:\", options);\n\t }\n\n\t return getTemplate(templateUrl || template, angular.isUndefined(template), options);\n\t }\n\n\t function getTemplate(template, isUrl, options) {\n\t var templatePromise = undefined;\n\t if (angular.isFunction(template)) {\n\t templatePromise = $q.when(template(options));\n\t } else {\n\t templatePromise = $q.when(template);\n\t }\n\n\t if (!isUrl) {\n\t return templatePromise;\n\t } else {\n\t var _ret = (function () {\n\t var httpOptions = { cache: $templateCache };\n\t return {\n\t v: templatePromise.then(function (url) {\n\t return $http.get(url, httpOptions);\n\t }).then(function (response) {\n\t return response.data;\n\t })[\"catch\"](function handleErrorGettingATemplate(error) {\n\t formlyWarn(\"problem-loading-template-for-templateurl\", \"Problem loading template for \" + template, error);\n\t })\n\t };\n\t })();\n\n\t if (typeof _ret === \"object\") {\n\t return _ret.v;\n\t }\n\t }\n\t }\n\n\t function transcludeInWrappers(options) {\n\t var wrapper = getWrapperOption(options);\n\n\t return function transcludeTemplate(template) {\n\t if (!wrapper.length) {\n\t return $q.when(template);\n\t }\n\n\t wrapper.forEach(function (wrapper) {\n\t formlyUsability.checkWrapper(wrapper, options);\n\t wrapper.validateOptions && wrapper.validateOptions(options);\n\t runApiCheck(wrapper, options);\n\t });\n\t var promises = wrapper.map(function (w) {\n\t return getTemplate(w.template || w.templateUrl, !w.template);\n\t });\n\t return $q.all(promises).then(function (wrappersTemplates) {\n\t wrappersTemplates.forEach(function (wrapperTemplate, index) {\n\t formlyUsability.checkWrapperTemplate(wrapperTemplate, wrapper[index]);\n\t });\n\t wrappersTemplates.reverse(); // wrapper 0 is wrapped in wrapper 1 and so on...\n\t var totalWrapper = wrappersTemplates.shift();\n\t wrappersTemplates.forEach(function (wrapperTemplate) {\n\t totalWrapper = doTransclusion(totalWrapper, wrapperTemplate);\n\t });\n\t return doTransclusion(totalWrapper, template);\n\t });\n\t };\n\t }\n\n\t function doTransclusion(wrapper, template) {\n\t var superWrapper = angular.element(\"<a></a>\"); // this allows people not have to have a single root in wrappers\n\t superWrapper.append(wrapper);\n\t var transcludeEl = superWrapper.find(\"formly-transclude\");\n\t if (!transcludeEl.length) {\n\t //try it using our custom find function\n\t transcludeEl = formlyUtil.findByNodeName(superWrapper, \"formly-transclude\");\n\t }\n\t transcludeEl.replaceWith(template);\n\t return superWrapper.html();\n\t }\n\n\t function getWrapperOption(options) {\n\t var wrapper = options.wrapper;\n\t // explicit null means no wrapper\n\t if (wrapper === null) {\n\t return [];\n\t }\n\n\t // nothing specified means use the default wrapper for the type\n\t if (!wrapper) {\n\t // get all wrappers that specify they apply to this type\n\t wrapper = arrayify(formlyConfig.getWrapperByType(options.type));\n\t } else {\n\t wrapper = arrayify(wrapper).map(formlyConfig.getWrapper);\n\t }\n\n\t // get all wrappers for that this type specified that it uses.\n\t var type = formlyConfig.getType(options.type, true, options);\n\t if (type && type.wrapper) {\n\t var typeWrappers = arrayify(type.wrapper).map(formlyConfig.getWrapper);\n\t wrapper = wrapper.concat(typeWrappers);\n\t }\n\n\t // add the default wrapper last\n\t var defaultWrapper = formlyConfig.getWrapper();\n\t if (defaultWrapper) {\n\t wrapper.push(defaultWrapper);\n\t }\n\t return wrapper;\n\t }\n\n\t function checkApi(options) {\n\t formlyApiCheck[\"throw\"](formlyApiCheck.formlyFieldOptions, options, {\n\t prefix: \"formly-field directive\",\n\t url: \"formly-field-directive-validation-failed\"\n\t });\n\t // validate with the type\n\t var type = options.type && formlyConfig.getType(options.type);\n\t if (type) {\n\t if (type.validateOptions) {\n\t type.validateOptions(options);\n\t }\n\t runApiCheck(type, options);\n\t }\n\t }\n\n\t function checkFieldGroupApi(options) {\n\t formlyApiCheck[\"throw\"](formlyApiCheck.fieldGroup, options, {\n\t prefix: \"formly-field directive\",\n\t url: \"formly-field-directive-validation-failed\"\n\t });\n\t }\n\n\t function runApiCheck(_ref, options) {\n\t var apiCheck = _ref.apiCheck;\n\t var apiCheckInstance = _ref.apiCheckInstance;\n\t var apiCheckFunction = _ref.apiCheckFunction;\n\t var apiCheckOptions = _ref.apiCheckOptions;\n\n\t if (!apiCheck) {\n\t return;\n\t }\n\t var instance = apiCheckInstance || formlyApiCheck;\n\t var fn = apiCheckFunction || \"warn\";\n\t var shape = instance.shape(apiCheck);\n\t instance[fn](shape, options, apiCheckOptions || {\n\t prefix: \"formly-field \" + name,\n\t url: formlyApiCheck.config.output.docsBaseUrl + \"formly-field-type-apicheck-failed\"\n\t });\n\t }\n\t}\n\tformlyField.$inject = [\"$http\", \"$q\", \"$compile\", \"$templateCache\", \"formlyConfig\", \"formlyValidationMessages\", \"formlyApiCheck\", \"formlyUtil\", \"formlyUsability\", \"formlyWarn\"];\n\n/***/ },\n/* 11 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\n\tmodule.exports = formlyFocus;\n\n\t// @ngInject\n\tfunction formlyFocus($timeout, $document) {\n\t /* jshint -W052 */\n\t return {\n\t restrict: \"A\",\n\t link: function formlyFocusLink(scope, element, attrs) {\n\t var previousEl = null;\n\t var el = element[0];\n\t var doc = $document[0];\n\t attrs.$observe(\"formlyFocus\", function respondToFocusExpressionChange(value) {\n\t if (value === \"true\") {\n\t $timeout(function setElementFocus() {\n\t previousEl = doc.activeElement;\n\t el.focus();\n\t }, ~ ~attrs.focusWait);\n\t } else if (value === \"false\") {\n\t if (doc.activeElement === el) {\n\t el.blur();\n\t if (attrs.hasOwnProperty(\"refocus\") && previousEl) {\n\t previousEl.focus();\n\t }\n\t }\n\t }\n\t });\n\t }\n\t };\n\t}\n\tformlyFocus.$inject = [\"$timeout\", \"$document\"];\n\n/***/ },\n/* 12 */\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 _toConsumableArray = function (arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) arr2[i] = arr[i]; return arr2; } else { return Array.from(arr); } };\n\n\tvar _slice = Array.prototype.slice;\n\n\tvar angular = _interopRequire(__webpack_require__(15));\n\n\tmodule.exports = formlyForm;\n\n\t/**\n\t * @ngdoc directive\n\t * @name formlyForm\n\t * @restrict E\n\t */\n\t// @ngInject\n\tfunction formlyForm(formlyUsability, $parse, formlyApiCheck, formlyConfig) {\n\t var currentFormId = 1;\n\t return {\n\t restrict: \"E\",\n\t template: function formlyFormGetTemplate(el, attrs) {\n\t /* jshint -W033 */ // this because jshint is broken I guess...\n\t var rootEl = getRootEl();\n\t var fieldRootEl = getFieldRootEl();\n\t var formId = \"formly_\" + currentFormId++;\n\t var parentFormAttributes = \"\";\n\t if (attrs.hasOwnProperty(\"isFieldGroup\") && el.parent().parent().hasClass(\"formly\")) {\n\t parentFormAttributes = copyAttributes(el.parent().parent()[0].attributes);\n\t }\n\t return \"\\n <\" + rootEl + \" class=\\\"formly\\\"\\n name=\\\"\" + getFormName() + \"\\\"\\n role=\\\"form\\\" \" + parentFormAttributes + \">\\n <\" + fieldRootEl + \" formly-field\\n ng-repeat=\\\"field in fields \" + getTrackBy() + \"\\\"\\n \" + getHideDirective() + \"=\\\"!field.hide\\\"\\n class=\\\"formly-field\\\"\\n options=\\\"field\\\"\\n model=\\\"field.model || model\\\"\\n fields=\\\"fields\\\"\\n form=\\\"theFormlyForm\\\"\\n form-id=\\\"\" + getFormName() + \"\\\"\\n form-state=\\\"options.formState\\\"\\n index=\\\"$index\\\">\\n </\" + fieldRootEl + \">\\n <div ng-transclude></div>\\n </\" + rootEl + \">\\n \";\n\n\t function getRootEl() {\n\t return attrs.rootEl || \"ng-form\";\n\t }\n\n\t function getFieldRootEl() {\n\t return attrs.fieldRootEl || \"div\";\n\t }\n\n\t function getHideDirective() {\n\t return attrs.hideDirective || formlyConfig.extras.defaultHideDirective || \"ng-if\";\n\t }\n\n\t function getTrackBy() {\n\t if (!attrs.trackBy) {\n\t return \"\";\n\t } else {\n\t return \"track by \" + attrs.trackBy;\n\t }\n\t }\n\n\t function getFormName() {\n\t var formName = formId;\n\t var bindName = attrs.bindName;\n\t if (bindName) {\n\t if (angular.version.minor < 3) {\n\t throw formlyUsability.getFormlyError(\"bind-name attribute on formly-form not allowed in > angular 1.3\");\n\t }\n\t // we can do a one-time binding here because we know we're in 1.3.x territory\n\t formName = \"{{::'formly_' + \" + bindName + \"}}\";\n\t }\n\t return formName;\n\t }\n\n\t function copyAttributes(attributes) {\n\t var excluded = [\"model\", \"form\", \"fields\", \"options\", \"name\", \"role\", \"class\"];\n\t var arrayAttrs = [];\n\t angular.forEach(attributes, function (_ref) {\n\t var nodeName = _ref.nodeName;\n\t var nodeValue = _ref.nodeValue;\n\n\t if (nodeName !== \"undefined\" && excluded.indexOf(nodeName) === -1) {\n\t arrayAttrs.push(\"\" + toKebabCase(nodeName) + \"=\\\"\" + nodeValue + \"\\\"\");\n\t }\n\t });\n\t return arrayAttrs.join(\" \");\n\t }\n\n\t function toKebabCase(string) {\n\t if (string) {\n\t return string.replace(/([A-Z])/g, function ($1) {\n\t return \"-\" + $1.toLowerCase();\n\t });\n\t } else {\n\t return \"\";\n\t }\n\t }\n\t },\n\t replace: true,\n\t transclude: true,\n\t scope: {\n\t fields: \"=\",\n\t model: \"=\",\n\t form: \"=?\",\n\t options: \"=?\"\n\t },\n\t controller: /* @ngInject */[\"$scope\", \"formlyUtil\", function FormlyFormController($scope, formlyUtil) {\n\t setupOptions();\n\t $scope.model = $scope.model || {};\n\t $scope.fields = $scope.fields || [];\n\n\t angular.forEach($scope.fields, initModel); // initializes the model property if set to 'formState'\n\t angular.forEach($scope.fields, attachKey); // attaches a key based on the index if a key isn't specified\n\t angular.forEach($scope.fields, setupWatchers); // setup watchers for all fields\n\n\t // watch the model and evaluate watch expressions that depend on it.\n\t $scope.$watch(\"model\", onModelOrFormStateChange, true);\n\t if ($scope.options.formState) {\n\t $scope.$watch(\"options.formState\", onModelOrFormStateChange, true);\n\t }\n\n\t function onModelOrFormStateChange() {\n\t angular.forEach($scope.fields, function runFieldExpressionProperties(field, index) {\n\t /*jshint -W030 */\n\t var model = field.model || $scope.model;\n\t field.runExpressions && field.runExpressions(model);\n\t if (field.hideExpression) {\n\t // can't use hide with expressionProperties reliably\n\t var val = model[field.key];\n\t // this makes it closer to what a regular expressionProperty would be\n\t var extraLocals = {\n\t options: field,\n\t index: index,\n\t formState: $scope.options.formState,\n\t formId: $scope.formId\n\t };\n\t field.hide = formlyUtil.formlyEval($scope, field.hideExpression, val, val, extraLocals);\n\t }\n\t });\n\t }\n\n\t function setupOptions() {\n\t formlyApiCheck[\"throw\"]([formlyApiCheck.formOptionsApi.optional], [$scope.options], { prefix: \"formly-form options check\" });\n\t $scope.options = $scope.options || {};\n\t $scope.options.formState = $scope.options.formState || {};\n\n\t angular.extend($scope.options, {\n\t updateInitialValue: updateInitialValue,\n\t resetModel: resetModel\n\t });\n\t }\n\n\t function updateInitialValue() {\n\t angular.forEach($scope.fields, function (field) {\n\t if (isFieldGroup(field)) {\n\t field.options.updateInitialValue();\n\t } else {\n\t field.updateInitialValue();\n\t }\n\t });\n\t }\n\n\t function resetModel() {\n\t angular.forEach($scope.fields, function (field) {\n\t if (isFieldGroup(field)) {\n\t field.options.resetModel();\n\t } else {\n\t field.resetModel();\n\t }\n\t });\n\t }\n\n\t function initModel(field) {\n\t if (field.model && field.model === \"formState\") {\n\t field.model = $scope.options.formState;\n\t }\n\t }\n\n\t function attachKey(field, index) {\n\t if (!isFieldGroup(field)) {\n\t field.key = field.key || index || 0;\n\t }\n\t }\n\n\t function setupWatchers(field, index) {\n\t if (isFieldGroup(field) || !angular.isDefined(field.watcher)) {\n\t return;\n\t }\n\t var watchers = field.watcher;\n\t if (!angular.isArray(watchers)) {\n\t watchers = [watchers];\n\t }\n\t angular.forEach(watchers, function setupWatcher(watcher) {\n\t if (!angular.isDefined(watcher.listener)) {\n\t throw formlyUsability.getFieldError(\"all-field-watchers-must-have-a-listener\", \"All field watchers must have a listener\", field);\n\t }\n\t var watchExpression = getWatchExpression(watcher, field, index);\n\t var watchListener = getWatchListener(watcher, field, index);\n\n\t var type = watcher.type || \"$watch\";\n\t watcher.stopWatching = $scope[type](watchExpression, watchListener, watcher.watchDeep);\n\t });\n\t }\n\n\t function getWatchExpression(watcher, field, index) {\n\t var watchExpression = watcher.expression || \"model['\" + field.key + \"']\";\n\t if (angular.isFunction(watchExpression)) {\n\t // wrap the field's watch expression so we can call it with the field as the first arg\n\t // and the stop function as the last arg as a helper\n\t var originalExpression = watchExpression;\n\t watchExpression = function formlyWatchExpression() {\n\t var args = modifyArgs.apply(undefined, [watcher, index].concat(_slice.call(arguments)));\n\t return originalExpression.apply(undefined, _toConsumableArray(args));\n\t };\n\t watchExpression.displayName = \"Formly Watch Expression for field for \" + field.key;\n\t }\n\t return watchExpression;\n\t }\n\n\t function getWatchListener(watcher, field, index) {\n\t var watchListener = watcher.listener;\n\t if (angular.isFunction(watchListener)) {\n\t // wrap the field's watch listener so we can call it with the field as the first arg\n\t // and the stop function as the last arg as a helper\n\t var originalListener = watchListener;\n\t watchListener = function formlyWatchListener() {\n\t var args = modifyArgs.apply(undefined, [watcher, index].concat(_slice.call(arguments)));\n\t return originalListener.apply(undefined, _toConsumableArray(args));\n\t };\n\t watchListener.displayName = \"Formly Watch Listener for field for \" + field.key;\n\t }\n\t return watchListener;\n\t }\n\n\t function modifyArgs(watcher, index) {\n\t for (var _len = arguments.length, originalArgs = Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {\n\t originalArgs[_key - 2] = arguments[_key];\n\t }\n\n\t return [$scope.fields[index]].concat(originalArgs, [watcher.stopWatching]);\n\t }\n\n\t function isFieldGroup(field) {\n\t return field && !!field.fieldGroup;\n\t }\n\t }],\n\t link: function link(scope, el, attrs) {\n\t var formId = attrs.name;\n\t scope.formId = formId;\n\t scope.theFormlyForm = scope[formId];\n\t if (attrs.form) {\n\t $parse(attrs.form).assign(scope.$parent, scope[formId]);\n\t }\n\n\t // chrome autocomplete lameness\n\t // see https://code.google.com/p/chromium/issues/detail?id=468153#c14\n\t // ლ(ಠ益ಠლ) (╯°□°)╯︵ ┻━┻ (◞‸◟;)\n\t var global = formlyConfig.extras.removeChromeAutoComplete === true;\n\t var offInstance = scope.options && scope.options.removeChromeAutoComplete === false;\n\t var onInstance = scope.options && scope.options.removeChromeAutoComplete === true;\n\t if (global && !offInstance || onInstance) {\n\t var input = document.createElement(\"input\");\n\t input.setAttribute(\"autocomplete\", \"address-level4\");\n\t input.setAttribute(\"hidden\", true);\n\t el[0].appendChild(input);\n\t }\n\t }\n\t };\n\t}\n\tformlyForm.$inject = [\"formlyUsability\", \"$parse\", \"formlyApiCheck\", \"formlyConfig\"];\n\n/***/ },\n/* 13 */\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\tmodule.exports = addFormlyNgModelAttrsManipulator;\n\n\t// @ngInject\n\tfunction addFormlyNgModelAttrsManipulator(formlyConfig) {\n\t if (formlyConfig.extras.disableNgModelAttrsManipulator) {\n\t return;\n\t }\n\t formlyConfig.templateManipulators.preWrapper.push(ngModelAttrsManipulator);\n\n\t function ngModelAttrsManipulator(template, options, scope) {\n\t /* jshint maxcomplexity:6 */\n\t var el = document.createElement(\"div\");\n\t var data = options.data;\n\t if (data.skipNgModelAttrsManipulator === true) {\n\t return template;\n\t }\n\t el.innerHTML = template;\n\t var modelNodes = el.querySelectorAll(\"[ng-model], [data-ng-model]\");\n\t if (!modelNodes || !modelNodes.length) {\n\t return template;\n\t }\n\n\t addIfNotPresent(modelNodes, \"id\", scope.id);\n\t addIfNotPresent(modelNodes, \"name\", scope.id);\n\n\t addValidation();\n\t addModelOptions();\n\t addTemplateOptionsAttrs();\n\n\t return el.innerHTML;\n\n\t function addValidation() {\n\t if (angular.isDefined(options.validators) || angular.isDefined(options.validation.messages)) {\n\t addIfNotPresent(modelNodes, \"formly-custom-validation\", \"\");\n\t }\n\t }\n\n\t function addModelOptions() {\n\t if (angular.isDefined(options.modelOptions)) {\n\t addIfNotPresent(modelNodes, \"ng-model-options\", \"options.modelOptions\");\n\t if (options.modelOptions.getterSetter) {\n\t angular.forEach(modelNodes, function (node) {\n\t node.setAttribute(\"ng-model\", \"options.value\");\n\t });\n\t }\n\t }\n\t }\n\n\t function addTemplateOptionsAttrs() {\n\t if (!options.templateOptions && !options.expressionProperties) {\n\t // no need to run these if there are no templateOptions or expressionProperties\n\t return;\n\t }\n\t var to = options.templateOptions || {};\n\t var ep = options.expressionProperties || {};\n\n\t var ngModelAttributes = getBuiltInAttributes();\n\n\t // extend with the user's specifications winning\n\t angular.extend(ngModelAttributes, options.ngModelAttrs);\n\n\t // Feel free to make this more simple :-)\n\t angular.forEach(ngModelAttributes, function (val, name) {\n\t /* jshint maxcomplexity:14 */\n\t var attrVal = undefined;\n\t var attrName = undefined;\n\t var ref = \"options.templateOptions['\" + name + \"']\";\n\t var toVal = to[name];\n\t var epVal = getEpValue(ep, name);\n\n\t var inTo = angular.isDefined(toVal);\n\t var inEp = angular.isDefined(epVal);\n\t if (val.value) {\n\t // I realize this looks backwards, but it's right, trust me...\n\t attrName = val.value;\n\t attrVal = name;\n\t } else if (val.expression && inTo) {\n\t attrName = val.expression;\n\t if (angular.isString(to[name])) {\n\t attrVal = \"$eval(\" + ref + \")\";\n\t } else if (angular.isFunction(to[name])) {\n\t attrVal = \"\" + ref + \"(model[options.key], options, this, $event)\";\n\t } else {\n\t throw new Error(\"options.templateOptions.\" + name + \" must be a string or function: \" + JSON.stringify(options));\n\t }\n\t } else if (val.bound && inEp) {\n\t attrName = val.bound;\n\t attrVal = ref;\n\t } else if ((val.attribute || val.boolean) && inEp) {\n\t attrName = val.attribute || val.boolean;\n\t attrVal = \"{{\" + ref + \"}}\";\n\t } else if (val.attribute && inTo) {\n\t attrName = val.attribute;\n\t attrVal = toVal;\n\t } else if (val.boolean) {\n\t if (inTo && !inEp && toVal) {\n\t attrName = val.boolean;\n\t attrVal = true;\n\t } else {}\n\t } else if (val.bound && inTo) {\n\t attrName = val.bound;\n\t attrVal = ref;\n\t }\n\n\t if (angular.isDefined(attrName) && angular.isDefined(attrVal)) {\n\t addIfNotPresent(modelNodes, attrName, attrVal);\n\t }\n\t });\n\t }\n\t }\n\n\t // Utility functions\n\t function getBuiltInAttributes() {\n\t var ngModelAttributes = {\n\t focus: {\n\t attribute: \"formly-focus\"\n\t }\n\t };\n\t var boundOnly = [];\n\t var bothBooleanAndBound = [\"required\", \"disabled\"];\n\t var bothAttributeAndBound = [\"pattern\", \"minlength\"];\n\t var expressionOnly = [\"change\", \"keydown\", \"keyup\", \"keypress\", \"click\", \"focus\", \"blur\"];\n\t var attributeOnly = [\"placeholder\", \"min\", \"max\", \"tabindex\", \"type\"];\n\t if (formlyConfig.extras.ngModelAttrsManipulatorPreferUnbound) {\n\t bothAttributeAndBound.push(\"maxlength\");\n\t } else {\n\t boundOnly.push(\"maxlength\");\n\t }\n\n\t angular.forEach(boundOnly, function (item) {\n\t ngModelAttributes[item] = { bound: \"ng-\" + item };\n\t });\n\n\t angular.forEach(bothBooleanAndBound, function (item) {\n\t ngModelAttributes[item] = { boolean: item, bound: \"ng-\" + item };\n\t });\n\n\t angular.forEach(bothAttributeAndBound, function (item) {\n\t ngModelAttributes[item] = { attribute: item, bound: \"ng-\" + item };\n\t });\n\n\t angular.forEach(expressionOnly, function (item) {\n\t var propName = \"on\" + item.substr(0, 1).toUpperCase() + item.substr(1);\n\t ngModelAttributes[propName] = { expression: \"ng-\" + item };\n\t });\n\n\t angular.forEach(attributeOnly, function (item) {\n\t ngModelAttributes[item] = { attribute: item };\n\t });\n\t return ngModelAttributes;\n\t }\n\n\t function getEpValue(ep, name) {\n\t return ep[\"templateOptions.\" + name] || ep[\"templateOptions['\" + name + \"']\"] || ep[\"templateOptions[\\\"\" + name + \"\\\"]\"];\n\t }\n\n\t function addIfNotPresent(nodes, attr, val) {\n\t angular.forEach(nodes, function (node) {\n\t if (!node.getAttribute(attr)) {\n\t node.setAttribute(attr, val);\n\t }\n\t });\n\t }\n\t}\n\taddFormlyNgModelAttrsManipulator.$inject = [\"formlyConfig\"];\n\n\t// jshint -W035\n\t// empty to illustrate that a boolean will not be added via val.bound\n\t// if you want it added via val.bound, then put it in expressionProperties\n\n/***/ },\n/* 14 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\n\tmodule.exports = addCustomTags;\n\n\t// @ngInject\n\tfunction addCustomTags($document) {\n\t if ($document && $document.get) {\n\t (function () {\n\t //IE8 check ->\n\t // http://stackoverflow.com/questions/10964966/detect-ie-version-prior-to-v9-in-javascript/10965203#10965203\n\t var document = $document.get(0);\n\t var div = document.createElement(\"div\");\n\t div.innerHTML = \"<!--[if lt IE 9]><i></i><![endif]-->\";\n\t var isIeLessThan9 = div.getElementsByTagName(\"i\").length === 1;\n\n\t if (isIeLessThan9) {\n\t //add the custom elements that we need for formly\n\t var customElements = [\"formly-field\", \"formly-form\", \"formly-custom-validation\", \"formly-focus\", \"formly-transpose\"];\n\t angular.forEach(customElements, function (el) {\n\t document.createElement(el);\n\t });\n\t }\n\t })();\n\t }\n\t}\n\taddCustomTags.$inject = [\"$document\"];\n\n/***/ },\n/* 15 */\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\t// some versions of angular don't export the angular module properly,\n\t// so we get it from window in this case.\n\n\tvar angular = _interopRequire(__webpack_require__(17));\n\n\tif (!angular.version) {\n\t angular = window.angular;\n\t}\n\tmodule.exports = angular;\n\n/***/ },\n/* 16 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tmodule.exports = __WEBPACK_EXTERNAL_MODULE_16__;\n\n/***/ },\n/* 17 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tmodule.exports = __WEBPACK_EXTERNAL_MODULE_17__;\n\n/***/ },\n/* 18 */\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\tmodule.exports = { formlyEval: formlyEval, getFieldId: getFieldId, reverseDeepMerge: reverseDeepMerge, findByNodeName: findByNodeName, arrayify: arrayify, extendFunction: extendFunction };\n\n\tfunction formlyEval(scope, expression, $modelValue, $viewValue, extraLocals) {\n\t if (angular.isFunction(expression)) {\n\t return expression($viewValue, $modelValue, scope, extraLocals);\n\t } else {\n\t return scope.$eval(expression, angular.extend({ $viewValue: $viewValue, $modelValue: $modelValue }, extraLocals));\n\t }\n\t}\n\n\tfunction getFieldId(formId, options, index) {\n\t if (options.id) {\n\t return options.id;\n\t }\n\t var type = options.type;\n\t if (!type && options.template) {\n\t type = \"template\";\n\t } else if (!type && options.templateUrl) {\n\t type = \"templateUrl\";\n\t }\n\n\t return [formId, type, options.key, index].join(\"_\");\n\t}\n\n\tfunction reverseDeepMerge(dest) {\n\t angular.forEach(arguments, function (src, index) {\n\t if (!index) {\n\t return;\n\t }\n\t angular.forEach(src, function (val, prop) {\n\t if (!angular.isDefined(dest[prop])) {\n\t dest[prop] = angular.copy(val);\n\t } else if (objAndSameType(dest[prop], val)) {\n\t reverseDeepMerge(dest[prop], val);\n\t }\n\t });\n\t });\n\t}\n\n\tfunction objAndSameType(obj1, obj2) {\n\t return angular.isObject(obj1) && angular.isObject(obj2) && Object.getPrototypeOf(obj1) === Object.getPrototypeOf(obj2);\n\t}\n\n\t//recurse down a node tree to find a node with matching nodeName, for custom tags jQuery.find doesn't work in IE8\n\tfunction findByNodeName(el, nodeName) {\n\t if (!el.prop) {\n\t // not a jQuery or jqLite object -> wrap it\n\t el = angular.element(el);\n\t }\n\n\t if (el.prop(\"nodeName\") === nodeName.toUpperCase()) {\n\t return el;\n\t }\n\n\t var c = el.children();\n\t for (var i = 0; c && i < c.length; i++) {\n\t var node = findByNodeName(c[i], nodeName);\n\t if (node) {\n\t return node;\n\t }\n\t }\n\t}\n\n\tfunction arrayify(obj) {\n\t if (obj && !angular.isArray(obj)) {\n\t obj = [obj];\n\t } else if (!obj) {\n\t obj = [];\n\t }\n\t return obj;\n\t}\n\n\tfunction extendFunction() {\n\t for (var _len = arguments.length, fns = Array(_len), _key = 0; _key < _len; _key++) {\n\t fns[_key] = arguments[_key];\n\t }\n\n\t return function extendedFunction() {\n\t var args = arguments;\n\t fns.forEach(function (fn) {\n\t return fn.apply(null, args);\n\t });\n\t };\n\t}\n\n/***/ }\n/******/ ])\n});\n;//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9+L2FuZ3VsYXItZm9ybWx5L2Rpc3QvZm9ybWx5LmpzPzUxZmEiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsQ0FBQztBQUNELG9DQUFvQztBQUNwQztBQUNBOztBQUVBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQSx1QkFBdUI7QUFDdkI7QUFDQTtBQUNBOztBQUVBO0FBQ0E7O0FBRUE7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7OztBQUdBO0FBQ0E7O0FBRUE7QUFDQTs7QUFFQTtBQUNBOztBQUVBO0FBQ0E7QUFDQSxVQUFVO0FBQ1Y7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7O0FBRUEsdUNBQXVDLHFEQUFxRDs7QUFFNUY7O0FBRUE7O0FBRUEsT0FBTztBQUNQO0FBQ0E7O0FBRUE7O0FBRUEsdUNBQXVDLHFEQUFxRDs7QUFFNUY7O0FBRUE7O0FBRUE7O0FBRUE7O0FBRUE7O0FBRUE7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gICAgaWYgKGluRmxpZ2h0VmFsaWRhdG9yID09PSBpc1ZhbGlkKSB7XG5cdCAgICAgICAgICAgICAgICAgIGN0cmwuJHNldFZhbGlkaXR5KG5hbWUsIHRydWUpO1xuXHQgICAgICAgICAgICAgICAgfVxuXHQgICAgICAgICAgICAgIH0pW1wiY2F0Y2hcIl0oZnVuY3Rpb24gKCkge1xuXHQgICAgICAgICAgICAgICAgaWYgKGluRmxpZ2h0VmFsaWRhdG9yID09PSBpc1ZhbGlkKSB7XG5cdCAgICAgICAgICAgICAgICAgIGN0cmwuJHNldFZhbGlkaXR5KG5hbWUsIGZhbHNlKTtcblx0ICAgICAgICAgICAgICAgIH1cblx0ICAgICAgICAgICAgICB9KVtcImZpbmFsbHlcIl0oZnVuY3Rpb24gKCkge1xuXHQgICAgICAgICAgICAgICAgaWYgKE9iamVjdC5rZXlzKGN0cmwuJHBlbmRpbmcpLmxlbmd0aCA9PT0gMSkge1xuXHQgICAgICAgICAgICAgICAgICBkZWxldGUgY3RybC4kcGVuZGluZztcblx0ICAgICAgICAgICAgICAgIH0gZWxzZSB7XG5cdCAgICAgICAgICAgICAgICAgIGRlbGV0ZSBjdHJsLiRwZW5kaW5nW25hbWVdO1xuXHQgICAgICAgICAgICAgICAgfVxuXHQgICAgICAgICAgICAgIH0pO1xuXHQgICAgICAgICAgICB9IGVsc2Uge1xuXHQgICAgICAgICAgICAgIGN0cmwuJHNldFZhbGlkaXR5KG5hbWUsIGlzVmFsaWQpO1xuXHQgICAgICAgICAgICB9XG5cdCAgICAgICAgICAgIHJldHVybiB2aWV3VmFsdWU7XG5cdCAgICAgICAgICB9KTtcblx0ICAgICAgICB9XG5cdCAgICAgIH0pO1xuXHQgICAgfVxuXHQgIH07XG5cblx0ICBmdW5jdGlvbiBpc1Byb21pc2VMaWtlKG9iaikge1xuXHQgICAgcmV0dXJuIG9iaiAmJiBhbmd1bGFyLmlzRnVuY3Rpb24ob2JqLnRoZW4pO1xuXHQgIH1cblxuXHQgIG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5cdCAgICB9KTtcblx0ICB9O1xuXHR9XG5cbi8qKiovIH1cbi8qKioqKiovIF0pXG59KTtcbjtcblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL34vYW5ndWxhci1mb3JtbHkvZGlzdC9mb3JtbHkuanNcbi8vIG1vZHVsZSBpZCA9IDNcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sInNvdXJjZVJvb3QiOiIifQ==");
|
||
|
||
/***/ },
|
||
/* 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 $scope.multiCheckbox.checked[index] = modelValue.indexOf(v[valueProp]) !== -1;\n\t });\n\t })();\n\t }\n\t\n\t function checkValidity(expressionValue) {\n\t var valid = angular.isArray($scope.model[opts.key]) && $scope.model[opts.key].length > 0 && expressionValue;\n\t\n\t $scope.fc.$setValidity('required', valid);\n\t }\n\t\n\t function setModel() {\n\t $scope.model[opts.key] = [];\n\t angular.forEach($scope.multiCheckbox.checked, function (checkbox, index) {\n\t if (checkbox) {\n\t $scope.model[opts.key].push(to.options[index][to.valueProp || 'value']);\n\t }\n\t });\n\t\n\t // Must make sure we mark as touched because only the last checkbox due to a bug in angular.\n\t $scope.fc.$setTouched();\n\t checkValidity(true);\n\t }\n\t\n\t if (opts.expressionProperties && opts.expressionProperties.required) {\n\t $scope.$watch($scope.options.expressionProperties.required, function (newValue) {\n\t checkValidity(newValue);\n\t });\n\t }\n\t\n\t if ($scope.to.required) {\n\t var unwatchFormControl = $scope.$watch('fc', function (newValue) {\n\t if (!newValue) {\n\t return;\n\t }\n\t checkValidity(true);\n\t unwatchFormControl;\n\t });\n\t }\n\t }]\n\t });\n\t }\n\t addCheckboxType.$inject = [\"formlyConfigProvider\", \"formlyBootstrapApiCheck\"];\n\t};\n\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 2 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tmodule.exports = __WEBPACK_EXTERNAL_MODULE_2__;\n\n/***/ },\n/* 3 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tmodule.exports = __WEBPACK_EXTERNAL_MODULE_3__;\n\n/***/ },\n/* 4 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// some versions of angular don't export the angular module properly,\n\t// so we get it from window in this case.\n\t'use strict';\n\t\n\tvar angular = __webpack_require__(8);\n\tif (!angular.version) {\n\t angular = window.angular;\n\t}\n\tmodule.exports = angular;\n\n/***/ },\n/* 5 */\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(addWrappers);\n\t\n\t function addWrappers(formlyConfigProvider, formlyBootstrapApiCheck) {\n\t var c = formlyBootstrapApiCheck;\n\t formlyConfigProvider.setWrapper([{\n\t name: 'bootstrapLabel',\n\t template: __webpack_require__(17),\n\t apiCheck: {\n\t templateOptions: c.shape({\n\t label: c.string,\n\t required: c.bool.optional\n\t })\n\t },\n\t apiCheckInstance: c\n\t }, { name: 'bootstrapHasError', template: __webpack_require__(18) }]);\n\t }\n\t addWrappers.$inject = [\"formlyConfigProvider\", \"formlyBootstrapApiCheck\"];\n\t};\n\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 6 */\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 __webpack_require__(10)(ngModule);\n\t __webpack_require__(1)(ngModule);\n\t __webpack_require__(12)(ngModule);\n\t __webpack_require__(9)(ngModule);\n\t __webpack_require__(13)(ngModule);\n\t __webpack_require__(14)(ngModule);\n\t};\n\t\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 7 */\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\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\t\n\tvar _addons = __webpack_require__(15);\n\t\n\tvar _addons2 = _interopRequireDefault(_addons);\n\t\n\tvar _description = __webpack_require__(16);\n\t\n\tvar _description2 = _interopRequireDefault(_description);\n\t\n\texports['default'] = function (ngModule) {\n\t (0, _addons2['default'])(ngModule);\n\t (0, _description2['default'])(ngModule);\n\t};\n\t\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 8 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tmodule.exports = __WEBPACK_EXTERNAL_MODULE_8__;\n\n/***/ },\n/* 9 */\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(addRadioType);\n\t\n\t function addRadioType(formlyConfigProvider, formlyBootstrapApiCheck) {\n\t var c = formlyBootstrapApiCheck;\n\t formlyConfigProvider.setType({\n\t name: 'radio',\n\t template: __webpack_require__(19),\n\t wrapper: ['bootstrapLabel', 'bootstrapHasError'],\n\t defaultOptions: {\n\t noFormControl: false\n\t },\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 apiCheckInstance: c\n\t });\n\t }\n\t addRadioType.$inject = [\"formlyConfigProvider\", \"formlyBootstrapApiCheck\"];\n\t};\n\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 10 */\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: 'checkbox',\n\t template: __webpack_require__(20),\n\t wrapper: ['bootstrapHasError'],\n\t apiCheck: {\n\t templateOptions: c.shape({\n\t label: c.string\n\t })\n\t },\n\t apiCheckInstance: c\n\t });\n\t }\n\t addCheckboxType.$inject = [\"formlyConfigProvider\", \"formlyBootstrapApiCheck\"];\n\t};\n\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 11 */\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\tvar ngModuleName = 'formlyBootstrap';\n\tvar angular = __webpack_require__(4);\n\tvar ngModule = angular.module(ngModuleName, [__webpack_require__(2)]);\n\tngModule.constant('formlyBootstrapApiCheck', __webpack_require__(3)({\n\t output: {\n\t prefix: 'angular-formly-bootstrap'\n\t }\n\t}));\n\tngModule.constant('formlyBootstrapVersion', (\"4.3.2\"));\n\t\n\t__webpack_require__(5)(ngModule);\n\t__webpack_require__(6)(ngModule);\n\t__webpack_require__(7)(ngModule);\n\t\n\texports['default'] = ngModuleName;\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 12 */\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(addInputType);\n\t\n\t function addInputType(formlyConfigProvider) {\n\t formlyConfigProvider.setType({\n\t name: 'input',\n\t template: '<input class=\"form-control\" ng-model=\"model[options.key]\">',\n\t wrapper: ['bootstrapLabel', 'bootstrapHasError']\n\t });\n\t }\n\t addInputType.$inject = [\"formlyConfigProvider\"];\n\t};\n\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 13 */\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\tfunction _defineProperty(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); }\n\t\n\texports['default'] = function (ngModule) {\n\t ngModule.config(addSelectType);\n\t\n\t var template = '<select class=\"form-control\" ng-model=\"model[options.key]\"></select>';\n\t\n\t function addSelectType(formlyConfigProvider, formlyBootstrapApiCheck) {\n\t var c = formlyBootstrapApiCheck;\n\t formlyConfigProvider.setType({\n\t name: 'select',\n\t template: template,\n\t wrapper: ['bootstrapLabel', 'bootstrapHasError'],\n\t defaultOptions: function defaultOptions(options) {\n\t /* jshint maxlen:195 */\n\t var ngOptions = options.templateOptions.ngOptions || 'option[to.valueProp || \\'value\\'] as option[to.labelProp || \\'name\\'] group by option[to.groupProp || \\'group\\'] for option in to.options';\n\t return {\n\t ngModelAttrs: _defineProperty({}, ngOptions, {\n\t value: 'ng-options'\n\t })\n\t };\n\t },\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 groupProp: c.string.optional\n\t })\n\t },\n\t apiCheckInstance: c\n\t });\n\t }\n\t addSelectType.$inject = [\"formlyConfigProvider\", \"formlyBootstrapApiCheck\"];\n\t};\n\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 14 */\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(addTextareaType);\n\t\n\t function addTextareaType(formlyConfigProvider, formlyBootstrapApiCheck) {\n\t var c = formlyBootstrapApiCheck;\n\t formlyConfigProvider.setType({\n\t name: 'textarea',\n\t template: '<textarea class=\"form-control\" ng-model=\"model[options.key]\"></textarea>',\n\t wrapper: ['bootstrapLabel', 'bootstrapHasError'],\n\t defaultOptions: {\n\t ngModelAttrs: {\n\t rows: { attribute: 'rows' },\n\t cols: { attribute: 'cols' }\n\t }\n\t },\n\t apiCheck: {\n\t templateOptions: c.shape({\n\t rows: c.number.optional,\n\t cols: c.number.optional\n\t })\n\t },\n\t apiCheckInstance: c\n\t });\n\t }\n\t addTextareaType.$inject = [\"formlyConfigProvider\", \"formlyBootstrapApiCheck\"];\n\t};\n\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 15 */\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.run(addAddonsManipulator);\n\t\n\t function addAddonsManipulator(formlyConfig, formlyBootstrapApiCheck) {\n\t var addonTemplate = __webpack_require__(22);\n\t var addonChecker = formlyBootstrapApiCheck.shape({\n\t 'class': formlyBootstrapApiCheck.string.optional,\n\t text: formlyBootstrapApiCheck.string.optional,\n\t onClick: formlyBootstrapApiCheck.func.optional\n\t }).strict.optional;\n\t var api = formlyBootstrapApiCheck.shape({\n\t templateOptions: formlyBootstrapApiCheck.shape({\n\t addonLeft: addonChecker,\n\t addonRight: addonChecker\n\t })\n\t });\n\t formlyConfig.templateManipulators.preWrapper.push(function (template, options) {\n\t if (!options.templateOptions.addonLeft && !options.templateOptions.addonRight) {\n\t return template;\n\t }\n\t formlyBootstrapApiCheck.warn([api], [options]);\n\t return addonTemplate.replace('<formly-transclude></formly-transclude>', template);\n\t });\n\t }\n\t addAddonsManipulator.$inject = [\"formlyConfig\", \"formlyBootstrapApiCheck\"];\n\t};\n\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 16 */\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.run(addDescriptionManipulator);\n\t\n\t function addDescriptionManipulator(formlyConfig) {\n\t formlyConfig.templateManipulators.preWrapper.push(function ariaDescribedBy(template, options, scope) {\n\t if (angular.isDefined(options.templateOptions.description)) {\n\t var el = document.createElement('div');\n\t el.appendChild(angular.element(template)[0]);\n\t el.appendChild(angular.element('<p id=\"' + scope.id + '_description\"' + 'class=\"help-block\"' + 'ng-if=\"to.description\">' + '{{to.description}}' + '</p>')[0]);\n\t var modelEls = angular.element(el.querySelectorAll('[ng-model]'));\n\t if (modelEls) {\n\t modelEls.attr('aria-describedby', scope.id + '_description');\n\t }\n\t return el.innerHTML;\n\t } else {\n\t return template;\n\t }\n\t });\n\t }\n\t addDescriptionManipulator.$inject = [\"formlyConfig\"];\n\t};\n\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 17 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tmodule.exports = \"<div>\\n <label for=\\\"{{id}}\\\" class=\\\"control-label\\\">\\n {{to.label}}\\n {{to.required ? '*' : ''}}\\n </label>\\n <formly-transclude></formly-transclude>\\n</div>\\n\"\n\n/***/ },\n/* 18 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tmodule.exports = \"<div class=\\\"form-group\\\" ng-class=\\\"{'has-error': showError}\\\">\\n <formly-transclude></formly-transclude>\\n</div>\\n\"\n\n/***/ },\n/* 19 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tmodule.exports = \"<div class=\\\"radio-group\\\">\\n <div ng-repeat=\\\"(key, option) in to.options\\\" class=\\\"radio\\\">\\n <label>\\n <input type=\\\"radio\\\"\\n id=\\\"{{id + '_'+ $index}}\\\"\\n tabindex=\\\"0\\\"\\n ng-value=\\\"option[to.valueProp || 'value']\\\"\\n ng-model=\\\"model[options.key]\\\">\\n {{option[to.labelProp || 'name']}}\\n </label>\\n </div>\\n</div>\\n\"\n\n/***/ },\n/* 20 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tmodule.exports = \"<div class=\\\"checkbox\\\">\\n\\t<label>\\n\\t\\t<input type=\\\"checkbox\\\"\\n class=\\\"formly-field-checkbox\\\"\\n\\t\\t ng-model=\\\"model[options.key]\\\">\\n\\t\\t{{to.label}}\\n\\t\\t{{to.required ? '*' : ''}}\\n\\t</label>\\n</div>\\n\"\n\n/***/ },\n/* 21 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tmodule.exports = \"<div class=\\\"radio-group\\\">\\n <div ng-repeat=\\\"(key, option) in to.options\\\" class=\\\"checkbox\\\">\\n <label>\\n <input type=\\\"checkbox\\\"\\n id=\\\"{{id + '_'+ $index}}\\\"\\n ng-model=\\\"multiCheckbox.checked[$index]\\\"\\n ng-change=\\\"multiCheckbox.change()\\\">\\n {{option[to.labelProp || 'name']}}\\n </label>\\n </div>\\n</div>\\n\"\n\n/***/ },\n/* 22 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tmodule.exports = \"<div ng-class=\\\"{'input-group': to.addonLeft || to.addonRight}\\\">\\n <div class=\\\"input-group-addon\\\"\\n ng-if=\\\"to.addonLeft\\\"\\n ng-style=\\\"{cursor: to.addonLeft.onClick ? 'pointer' : 'inherit'}\\\"\\n ng-click=\\\"to.addonLeft.onClick(options, this)\\\">\\n <i class=\\\"{{to.addonLeft.class}}\\\" ng-if=\\\"to.addonLeft.class\\\"></i>\\n <span ng-if=\\\"to.addonLeft.text\\\">{{to.addonLeft.text}}</span>\\n </div>\\n <formly-transclude></formly-transclude>\\n <div class=\\\"input-group-addon\\\"\\n ng-if=\\\"to.addonRight\\\"\\n ng-style=\\\"{cursor: to.addonRight.onClick ? 'pointer' : 'inherit'}\\\"\\n ng-click=\\\"to.addonRight.onClick(options, this)\\\">\\n <i class=\\\"{{to.addonRight.class}}\\\" ng-if=\\\"to.addonRight.class\\\"></i>\\n <span ng-if=\\\"to.addonRight.text\\\">{{to.addonRight.text}}</span>\\n </div>\\n</div>\\n\"\n\n/***/ }\n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J7Y3Vyc29yOiB0by5hZGRvblJpZ2h0Lm9uQ2xpY2sgPyAncG9pbnRlcicgOiAnaW5oZXJpdCd9XFxcIlxcbiAgICAgICAgIG5nLWNsaWNrPVxcXCJ0by5hZGRvblJpZ2h0Lm9uQ2xpY2sob3B0aW9ucywgdGhpcylcXFwiPlxcbiAgICAgICAgPGkgY2xhc3M9XFxcInt7dG8uYWRkb25SaWdodC5jbGFzc319XFxcIiBuZy1pZj1cXFwidG8uYWRkb25SaWdodC5jbGFzc1xcXCI+PC9pPlxcbiAgICAgICAgPHNwYW4gbmctaWY9XFxcInRvLmFkZG9uUmlnaHQudGV4dFxcXCI+e3t0by5hZGRvblJpZ2h0LnRleHR9fTwvc3Bhbj5cXG4gICAgPC9kaXY+XFxuPC9kaXY+XFxuXCJcblxuLyoqKi8gfVxuLyoqKioqKi8gXSlcbn0pO1xuO1xuLy8jIHNvdXJjZU1hcHBpbmdVUkw9YW5ndWxhci1mb3JtbHktdGVtcGxhdGVzLWJvb3RzdHJhcC5qcy5tYXBcblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL34vYW5ndWxhci1mb3JtbHktdGVtcGxhdGVzLWJvb3RzdHJhcC9kaXN0L2FuZ3VsYXItZm9ybWx5LXRlbXBsYXRlcy1ib290c3RyYXAuanNcbi8vIG1vZHVsZSBpZCA9IDVcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sInNvdXJjZVJvb3QiOiIifQ==");
|
||
|
||
/***/ },
|
||
/* 6 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("/**\r\n * Easy to use Wizard library for Angular JS\r\n * @version v0.10.0 - 2016-12-22 * @link https://github.com/mgonto/angular-wizard\r\n * @author Martin Gontovnikas <martin@gon.to>\r\n * @license MIT License, http://www.opensource.org/licenses/MIT\r\n */\r\nangular.module('templates-angularwizard', ['step.html', 'wizard.html']);\r\n\r\nangular.module(\"step.html\", []).run([\"$templateCache\", function($templateCache) {\r\n $templateCache.put(\"step.html\",\r\n \"<section ng-show=\\\"selected\\\" ng-class=\\\"{current: selected, done: completed}\\\" class=\\\"step\\\" ng-transclude>\\n\" +\r\n \"</section>\");\r\n}]);\r\n\r\nangular.module(\"wizard.html\", []).run([\"$templateCache\", function($templateCache) {\r\n $templateCache.put(\"wizard.html\",\r\n \"<div>\\n\" +\r\n \" <div class=\\\"steps\\\" ng-if=\\\"indicatorsPosition === 'bottom'\\\" ng-transclude></div>\\n\" +\r\n \" <ul class=\\\"steps-indicator steps-{{getEnabledSteps().length}}\\\" ng-if=\\\"!hideIndicators\\\">\\n\" +\r\n \" <li ng-class=\\\"{default: !step.completed && !step.selected, current: step.selected && !step.completed, done: step.completed && !step.selected, editing: step.selected && step.completed}\\\" ng-repeat=\\\"step in getEnabledSteps()\\\">\\n\" +\r\n \" <a ng-click=\\\"goTo(step)\\\">{{step.title || step.wzTitle}}</a>\\n\" +\r\n \" </li>\\n\" +\r\n \" </ul>\\n\" +\r\n \" <div class=\\\"steps\\\" ng-if=\\\"indicatorsPosition === 'top'\\\" ng-transclude></div>\\n\" +\r\n \"</div>\\n\" +\r\n \"\");\r\n}]);\r\n\r\nangular.module('mgo-angular-wizard', ['templates-angularwizard']);\r\n\r\nangular.module('mgo-angular-wizard').directive('wzStep', function() {\n return {\n restrict: 'EA',\n replace: true,\n transclude: true,\n scope: {\n wzTitle: '@',\n canenter : '=',\n canexit : '=',\n disabled: '@?wzDisabled',\n description: '@',\n wzData: '=',\n wzOrder: '@?'\n },\n require: '^wizard',\n templateUrl: function(element, attributes) {\n return attributes.template || \"step.html\";\n },\n link: function ($scope, $element, $attrs, wizard) {\n $attrs.$observe('wzTitle', function (value) {\n $scope.title = $scope.wzTitle;\n });\n $scope.title = $scope.wzTitle;\n wizard.addStep($scope);\n $scope.$on('$destroy', function(){\n wizard.removeStep($scope);\n });\n }\n };\n});\n\r\n//wizard directive\nangular.module('mgo-angular-wizard').directive('wizard', function() {\n return {\n restrict: 'EA',\n replace: true,\n transclude: true,\n scope: {\n currentStep: '=',\n onFinish: '&',\n hideIndicators: '=',\n editMode: '=',\n name: '@',\n indicatorsPosition: '@?'\n },\n templateUrl: function(element, attributes) {\n return attributes.template || \"wizard.html\";\n },\n\n //controller for wizard directive, treat this just like an angular controller\n controller: ['$scope', '$element', '$log', 'WizardHandler', '$q', '$timeout', function ($scope, $element, $log, WizardHandler, $q, $timeout) {\n //setting default step position if none declared.\n if ($scope.indicatorsPosition == undefined) {\n $scope.indicatorsPosition = 'bottom';\n }\n //this variable allows directive to load without having to pass any step validation\n var firstRun = true;\n //creating instance of wizard, passing this as second argument allows access to functions attached to this via Service\n WizardHandler.addWizard($scope.name || WizardHandler.defaultName, this);\n\n $scope.$on('$destroy', function() {\n WizardHandler.removeWizard($scope.name || WizardHandler.defaultName);\n });\n\n //steps array where all the scopes of each step are added\n $scope.steps = [];\n\n var stepIdx = function(step) {\n var idx = 0;\n var res = -1;\n angular.forEach($scope.getEnabledSteps(), function(currStep) {\n if (currStep === step) {\n res = idx;\n }\n idx++;\n });\n return res;\n };\n\n var stepByTitle = function(titleToFind) {\n var foundStep = null;\n angular.forEach($scope.getEnabledSteps(), function(step) {\n if (step.wzTitle === titleToFind) {\n foundStep = step;\n }\n });\n return foundStep;\n };\n\n //access to context object for step validation\n $scope.context = {};\n\n //watching changes to currentStep\n $scope.$watch('currentStep', function(step) {\n //checking to make sure currentStep is truthy value\n if (!step) return;\n //setting stepTitle equal to current step title or default title\n var stepTitle = $scope.selectedStep.wzTitle;\n if ($scope.selectedStep && stepTitle !== $scope.currentStep) {\n //invoking goTo() with step title as argument\n $scope.goTo(stepByTitle($scope.currentStep));\n }\n });\n\n //watching steps array length and editMode value, if edit module is undefined or null the nothing is done\n //if edit mode is truthy, then all steps are marked as completed\n $scope.$watch('[editMode, steps.length]', function() {\n var editMode = $scope.editMode;\n if (angular.isUndefined(editMode) || (editMode === null)) return;\n\n //Set completed for all steps to the value of editMode\n angular.forEach($scope.steps, function (step) {\n step.completed = editMode;\n });\n\n //If editMode is false, set ONLY ENABLED steps with index lower then completedIndex to completed\n if (!editMode) {\n var completedStepsIndex = $scope.currentStepNumber() - 1;\n angular.forEach($scope.getEnabledSteps(), function(step, stepIndex) {\n if(stepIndex < completedStepsIndex) {\n step.completed = true;\n }\n });\n }\n }, true);\n\n //called each time step directive is loaded\n this.addStep = function(step) {\n var wzOrder = (step.wzOrder >= 0 && !$scope.steps[step.wzOrder]) ? step.wzOrder : $scope.steps.length;\n //adding the scope of directive onto step array\n $scope.steps[wzOrder] = step;\n //if this step is the new first then goTo it\n if ($scope.getEnabledSteps()[0] === step) {\n //goTo first step\n $scope.goTo($scope.getEnabledSteps()[0]);\n }\n };\n \n //called each time step directive is destroyed\n this.removeStep = function (step) {\n var index = $scope.steps.indexOf(step);\n if (index > 0) {\n $scope.steps.splice(index, 1);\n }\n };\n\n this.context = $scope.context;\n\n $scope.getStepNumber = function(step) {\n return stepIdx(step) + 1;\n };\n\n $scope.goTo = function(step) {\n //if this is the first time the wizard is loading it bi-passes step validation\n if(firstRun){\n //deselect all steps so you can set fresh below\n unselectAll();\n $scope.selectedStep = step;\n //making sure current step is not undefined\n if (!angular.isUndefined($scope.currentStep)) {\n $scope.currentStep = step.wzTitle;\n }\n //setting selected step to argument passed into goTo()\n step.selected = true;\n //emit event upwards with data on goTo() invoktion\n $scope.$emit('wizard:stepChanged', {step: step, index: stepIdx(step)});\n //setting variable to false so all other step changes must pass validation\n firstRun = false;\n } else {\n //createing variables to capture current state that goTo() was invoked from and allow booleans\n var thisStep;\n //getting data for step you are transitioning out of\n if($scope.currentStepNumber() > 0){\n thisStep = $scope.currentStepNumber() - 1;\n } else if ($scope.currentStepNumber() === 0){\n thisStep = 0;\n }\n //$log.log('steps[thisStep] Data: ', $scope.getEnabledSteps()[thisStep].canexit);\n $q.all([canExitStep($scope.getEnabledSteps()[thisStep], step), canEnterStep(step)]).then(function(data) {\n if(data[0] && data[1]){\n //deselect all steps so you can set fresh below\n unselectAll();\n\n //$log.log('value for canExit argument: ', $scope.currentStep.canexit);\n $scope.selectedStep = step;\n //making sure current step is not undefined\n if(!angular.isUndefined($scope.currentStep)){\n $scope.currentStep = step.wzTitle;\n }\n //setting selected step to argument passed into goTo()\n step.selected = true;\n //emit event upwards with data on goTo() invoktion\n $scope.$emit('wizard:stepChanged', {step: step, index: stepIdx(step)});\n //$log.log('current step number: ', $scope.currentStepNumber());\n }\n });\n }\n };\n\n function canEnterStep(step) {\n var defer,\n canEnter;\n //If no validation function is provided, allow the user to enter the step\n if(step.canenter === undefined){\n return true;\n }\n //If canenter is a boolean value instead of a function, return the value\n if(typeof step.canenter === 'boolean'){\n return step.canenter;\n }\n //Check to see if the canenter function is a promise which needs to be returned\n canEnter = step.canenter($scope.context);\n if(angular.isFunction(canEnter.then)){\n defer = $q.defer();\n canEnter.then(function(response){\n defer.resolve(response);\n });\n return defer.promise;\n } else {\n return canEnter === true;\n }\n }\n\n function canExitStep(step, stepTo) {\n var defer,\n canExit;\n //Exiting the step should be allowed if no validation function was provided or if the user is moving backwards\n if(typeof(step.canexit) === 'undefined' || $scope.getStepNumber(stepTo) < $scope.currentStepNumber()){\n return true;\n }\n //If canexit is a boolean value instead of a function, return the value\n if(typeof step.canexit === 'boolean'){\n return step.canexit;\n }\n //Check to see if the canexit function is a promise which needs to be returned\n canExit = step.canexit($scope.context);\n if(angular.isFunction(canExit.then)){\n defer = $q.defer();\n canExit.then(function(response){\n defer.resolve(response);\n });\n return defer.promise;\n } else {\n return canExit === true;\n }\n }\n\n $scope.currentStepNumber = function() {\n //retreive current step number\n return stepIdx($scope.selectedStep) + 1;\n };\n\n $scope.getEnabledSteps = function() {\n return $scope.steps.filter(function(step){\n return step && step.disabled !== 'true';\n });\n };\n\n //unSelect All Steps\n function unselectAll() {\n //traverse steps array and set each \"selected\" property to false\n angular.forEach($scope.getEnabledSteps(), function (step) {\n step.selected = false;\n });\n //set selectedStep variable to null\n $scope.selectedStep = null;\n }\n\n //ALL METHODS ATTACHED TO this ARE ACCESSIBLE VIA WizardHandler.wizard().methodName()\n\n this.currentStepTitle = function(){\n return $scope.selectedStep.wzTitle;\n };\n\n this.currentStepDescription = function(){\n return $scope.selectedStep.description;\n };\n\n this.currentStep = function(){\n return $scope.selectedStep;\n };\n\n this.totalStepCount = function() {\n return $scope.getEnabledSteps().length;\n };\n\n //Access to enabled steps from outside\n this.getEnabledSteps = function(){\n return $scope.getEnabledSteps();\n };\n\n //Access to current step number from outside\n this.currentStepNumber = function(){\n return $scope.currentStepNumber();\n };\n //method used for next button within step\n this.next = function(callback) {\n var enabledSteps = $scope.getEnabledSteps();\n //setting variable equal to step you were on when next() was invoked\n var index = stepIdx($scope.selectedStep);\n //checking to see if callback is a function\n if(angular.isFunction(callback)){\n if(callback()){\n if (index === enabledSteps.length - 1) {\n this.finish();\n } else {\n //invoking goTo() with step number next in line\n $scope.goTo(enabledSteps[index + 1]);\n }\n } else {\n return;\n }\n }\n if (!callback) {\n //completed property set on scope which is used to add class/remove class from progress bar\n $scope.selectedStep.completed = true;\n }\n //checking to see if this is the last step. If it is next behaves the same as finish()\n if (index === enabledSteps.length - 1) {\n this.finish();\n } else {\n //invoking goTo() with step number next in line\n $scope.goTo(enabledSteps[index + 1]);\n }\n\n };\n\n //used to traverse to any step, step number placed as argument\n this.goTo = function(step) {\n //wrapped inside $timeout so newly enabled steps are included.\n $timeout(function() {\n var enabledSteps = $scope.getEnabledSteps();\n var stepTo;\n //checking that step is a Number\n if (angular.isNumber(step)) {\n stepTo = enabledSteps[step];\n } else {\n //finding the step associated with the title entered as goTo argument\n stepTo = stepByTitle(step);\n }\n //going to step\n $scope.goTo(stepTo);\n });\n };\n\n //calls finish() which calls onFinish() which is declared on an attribute and linked to controller via wizard directive.\n this.finish = function() {\n if ($scope.onFinish) {\n $scope.onFinish();\n }\n };\n \n this.previous = function() {\n //getting index of current step\n var index = stepIdx($scope.selectedStep);\n //ensuring you aren't trying to go back from the first step\n if (index === 0) {\n throw new Error(\"Can't go back. It's already in step 0\");\n } else {\n //go back one step from current step\n $scope.goTo($scope.getEnabledSteps()[index - 1]);\n }\n };\n\n //cancel is alias for previous.\n this.cancel = function() {\n //getting index of current step\n var index = stepIdx($scope.selectedStep);\n //ensuring you aren't trying to go back from the first step\n if (index === 0) {\n throw new Error(\"Can't go back. It's already in step 0\");\n } else {\n //go back one step from current step\n $scope.goTo($scope.getEnabledSteps()[0]);\n }\n };\n\n //reset\n this.reset = function(){\n //traverse steps array and set each \"completed\" property to false\n angular.forEach($scope.getEnabledSteps(), function (step) {\n step.completed = false;\n });\n //go to first step\n this.goTo(0);\n };\n }]\n };\n});\r\nfunction wizardButtonDirective(action) {\n angular.module('mgo-angular-wizard')\n .directive(action, function() {\n return {\n restrict: 'A',\n replace: false,\n require: '^wizard',\n link: function($scope, $element, $attrs, wizard) {\n\n $element.on(\"click\", function(e) {\n e.preventDefault();\n $scope.$apply(function() {\n $scope.$eval($attrs[action]);\n wizard[action.replace(\"wz\", \"\").toLowerCase()]();\n });\n });\n }\n };\n });\n}\n\nwizardButtonDirective('wzNext');\nwizardButtonDirective('wzPrevious');\nwizardButtonDirective('wzFinish');\nwizardButtonDirective('wzCancel');\nwizardButtonDirective('wzReset');\n\r\nangular.module('mgo-angular-wizard').factory('WizardHandler', function() {\n var service = {};\n \n var wizards = {};\n \n service.defaultName = \"defaultWizard\";\n \n service.addWizard = function(name, wizard) {\n wizards[name] = wizard;\n };\n \n service.removeWizard = function(name) {\n delete wizards[name];\n };\n \n service.wizard = function(name) {\n var nameToUse = name;\n if (!name) {\n nameToUse = service.defaultName;\n }\n \n return wizards[nameToUse];\n };\n \n return service;\n});\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9+L2FuZ3VsYXItd2l6YXJkL2Rpc3QvYW5ndWxhci13aXphcmQuanM/MzZiZSJdLCJuYW1lcyI6W10sIm1hcHBpbmd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ZW1wbGF0ZVVybDogZnVuY3Rpb24oZWxlbWVudCwgYXR0cmlidXRlcykge1xuICAgICAgICAgIHJldHVybiBhdHRyaWJ1dGVzLnRlbXBsYXRlIHx8IFwic3RlcC5odG1sXCI7XG4gICAgICAgIH0sXG4gICAgICAgIGxpbms6IGZ1bmN0aW9uICgkc2NvcGUsICRlbGVtZW50LCAkYXR0cnMsIHdpemFyZCkge1xuICAgICAgICAgICAgJGF0dHJzLiRvYnNlcnZlKCd3elRpdGxlJywgZnVuY3Rpb24gKHZhbHVlKSB7XG4gICAgICAgICAgICAgICAgJHNjb3BlLnRpdGxlID0gJHNjb3BlLnd6VGl0bGU7XG4gICAgICAgICAgICB9KTtcbiAgICAgICAgICAgICRzY29wZS50aXRsZSA9ICRzY29wZS53elRpdGxlO1xuICAgICAgICAgICAgd2l6YXJkLmFkZFN0ZXAoJHNjb3BlKTtcbiAgICAgICAgICAgICRzY29wZS4kb24oJyRkZXN0cm95JywgZnVuY3Rpb24oKXtcbiAgICAgICAgICAgICAgICB3aXphcmQucmVtb3ZlU3RlcCgkc2NvcGUpO1xuICAgICAgICAgICAgfSk7XG4gICAgICAgIH1cbiAgICB9O1xufSk7XG5cclxuLy93aXphcmQgZGlyZWN0aXZlXG5hbmd1bGFyLm1vZHVsZSgnbWdvLWFuZ3VsYXItd2l6YXJkJykuZGlyZWN0aXZlKCd3aXphcmQnLCBmdW5jdGlvbigpIHtcbiAgICByZXR1cm4ge1xuICAgICAgICByZXN0cmljdDogJ0VBJyxcbiAgICAgICAgcmVwbGFjZTogdHJ1ZSxcbiAgICAgICAgdHJhbnNjbHVkZTogdHJ1ZSxcbiAgICAgICAgc2NvcGU6IHtcbiAgICAgICAgICAgIGN1cnJlbnRTdGVwOiAnPScsXG4gICAgICAgICAgICBvbkZpbmlzaDogJyYnLFxuICAgICAgICAgICAgaGlkZUluZGljYXRvcnM6ICc9JyxcbiAgICAgICAgICAgIGVkaXRNb2RlOiAnPScsXG4gICAgICAgICAgICBuYW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50IGFsbG93cyBhY2Nlc3MgdG8gZnVuY3Rpb25zIGF0dGFjaGVkIHRvIHRoaXMgdmlhIFNlcnZpY2VcbiAgICAgICAgICAgIFdpemFyZEhhbmRsZXIuYWRkV2l6YXJkKCRzY29wZS5uYW1lIHx8IFdpemFyZEhhbmRsZXIuZGVmYXVsdE5hbWUsIHRoaXMpO1xuXG4gICAgICAgICAgICAkc2NvcGUuJG9uKCckZGVzdHJveScsIGZ1bmN0aW9uKCkge1xuICAgICAgICAgICAgICAgIFdpemFyZEhhbmRsZXIucmVtb3ZlV2l6YXJkKCRzY29wZS5uYW1lIHx8IFdpemFyZEhhbmRsZXIuZGVmYXVsdE5hbWUpO1xuICAgICAgICAgICAgfSk7XG5cbiAgICAgICAgICAgIC8vc3RlcHMgYXJyYXkgd2hlcmUgYWxsIHRoZSBzY29wZXMgb2YgZWFjaCBzdGVwIGFyZSBhZGRlZFxuICAgICAgICAgICAgJHNjb3BlLnN0ZXBzID0gW107XG5cbiAgICAgICAgICAgIHZhciBzdGVwSWR4ID0gZnVuY3Rpb24oc3RlcCkge1xuICAgICAgICAgICAgICAgIHZhciBpZHggPSAwO1xuICAgICAgICAgICAgICAgIHZhciByZXMgPSAtMTtcbiAgICAgICAgICAgICAgICBhbmd1bGFyLmZvckVhY2goJHNjb3BlLmdldEVuYWJsZWRTdGVwcygpLCBmdW5jdGlvbihjdXJyU3RlcCkge1xuICAgICAgICAgICAgICAgICAgaWYgKGN1cnJTdGVwID09PSBzdGVwKSB7XG4gICAgICAgICAgICAgICAgICAgIHJlcyA9IGlkeDtcbiAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgIGlkeCsrO1xuICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgICAgIHJldHVybiByZXM7XG4gICAgICAgICAgICB9O1xuXG4gICAgICAgICAgICB2YXIgc3RlcEJ5VGl0bGUgPSBmdW5jdGlvbih0aXRsZVRvRmluZCkge1xuICAgICAgICAgICAgICB2YXIgZm91bmRTdGVwID0gbnVsbDtcbiAgICAgICAgICAgICAgYW5ndWxhci5mb3JFYWNoKCRzY29wZS5nZXRFbmFibGVkU3RlcHMoKSwgZnVuY3Rpb24oc3RlcCkge1xuICAgICAgICAgICAgICAgIGlmIChzdGVwLnd6VGl0bGUgPT09IHRpdGxlVG9GaW5kKSB7XG4gICAgICAgICAgICAgICAgICBmb3VuZFN0ZXAgPSBzdGVwO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAgIHJldHVybiBmb3VuZFN0ZXA7XG4gICAgICAgICAgICB9O1xuXG4gICAgICAgICAgICAvL2FjY2VzcyB0byBjb250ZXh0IG9iamVjdCBmb3Igc3RlcCB2YWxpZGF0aW9uXG4gICAgICAgICAgICAkc2NvcGUuY29udGV4dCA9IHt9O1xuXG4gICAgICAgICAgICAvL3dhdGNoaW5nIGNoYW5nZXMgdG8gY3VycmVudFN0ZXBcbiAgICAgICAgICAgICRzY29wZS4kd2F0Y2goJ2N1cnJlbnRTdGVwJywgZnVuY3Rpb24oc3RlcCkge1xuICAgICAgICAgICAgICAgIC8vY2hlY2tpbmcgdG8gbWFrZSBzdXJlIGN1cnJlbnRTdGVwIGlzIHRydXRoeSB2YWx1ZVxuICAgICAgICAgICAgICAgIGlmICghc3RlcCkgcmV0dXJuO1xuICAgICAgICAgICAgICAgIC8vc2V0dGluZyBzdGVwVGl0bGUgZXF1YWwgdG8gY3VycmVudCBzdGVwIHRpdGxlIG9yIGRlZmF1bHQgdGl0bGVcbiAgICAgICAgICAgICAgICB2YXIgc3RlcFRpdGxlID0gJHNjb3BlLnNlbGVjdGVkU3RlcC53elRpdGxlO1xuICAgICAgICAgICAgICAgIGlmICgkc2NvcGUuc2VsZWN0ZWRTdGVwICYmIHN0ZXBUaXRsZSAhPT0gJHNjb3BlLmN1cnJlbnRTdGVwKSB7XG4gICAgICAgICAgICAgICAgICAgIC8vaW52b2tpbmcgZ29UbygpIHdpdGggc3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AgICAgICBpZiAoJHNjb3BlLmdldEVuYWJsZWRTdGVwcygpWzBdID09PSBzdGVwKSB7XG4gICAgICAgICAgICAgICAgICAgIC8vZ29UbyBmaXJzdCBzdGVwXG4gICAgICAgICAgICAgICAgICAgICRzY29wZS5nb1RvKCRzY29wZS5nZXRFbmFibGVkU3RlcHMoKVswXSk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfTtcbiAgICAgICAgICAgIFxuICAgICAgICAgICAgLy9jYWxsZWQgZWFjaCB0aW1lIHN0ZXAgZGlyZWN0aXZlIGlzIGRlc3Ryb3llZFxuICAgICAgICAgICAgdGhpcy5yZW1vdmVTdGVwID0gZnVuY3Rpb24gKHN0ZXApIHtcbiAgICAgICAgICAgICAgICB2YXIgaW5kZXggPSAkc2NvcGUuc3RlcHMuaW5kZXhPZihzdGVwKTtcbiAgICAgICAgICAgICAgICBpZiAoaW5kZXggPiAwKSB7XG4gICAgICAgICAgICAgICAgICAgICRzY29wZS5zdGVwcy5zcGxpY2UoaW5kZXgsIDEpO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH07XG5cbiAgICAgICAgICAgIHRoaXMuY29udGV4dCA9ICRzY29wZS5jb250ZXh0O1xuXG4gICAgICAgICAgICAkc2NvcGUuZ2V0U3RlcE51bWJlciA9IGZ1bmN0aW9uKHN0ZXApIHtcbiAgICAgICAgICAgICAgICByZXR1cm4gc3RlcElkeChzdGVwKSArIDE7XG4gICAgICAgICAgICB9O1xuXG4gICAgICAgICAgICAkc2NvcGUuZ29UbyA9IGZ1bmN0aW9uKHN0ZXApIHtcbiAgICAgICAgICAgICAgICAvL2lmIHRoaXMgaXMgdGhlIGZpcnN0IHRpbWUgdGhlIHdpemFyZCBpcyBsb2FkaW5nIGl0IGJpLXBhc3NlcyBzdGVwIHZhbGlkYXRpb25cbiAgICAgICAgICAgICAgICBpZihmaXJzdFJ1bil7XG4gICAgICAgICAgICAgICAgICAgIC8vZGVzZWxlY3QgYWxsIHN0ZXBzIHNvIHlvdSBjYW4gc2V0IGZyZXNoIGJlbG93XG4gICAgICAgICAgICAgICAgICAgIHVuc2VsZWN0QWxsKCk7XG4gICAgICAgICAgICAgICAgICAgICRzY29wZS5zZWxlY3RlZFN0ZXAgPSBzdGVwO1xuICAgICAgICAgICAgICAgICAgICAvL21ha2luZyBzdXJlIGN1cnJlbnQgc3RlcCBpcyBub3QgdW5kZWZpbmVkXG4gICAgICAgICAgICAgICAgICAgIGlmICghYW5ndWxhci5pc1VuZGVmaW5lZCgkc2NvcGUuY3VycmVudFN0ZXApKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAkc2NvcGUuY3VycmVudFN0ZXAgPSBzdGVwLnd6VGl0bGU7XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgLy9zZXR0aW5nIHNlbGVjdGVkIHN0ZXAgdG8gYXJndW1lbnQgcGFzc2VkIGludG8gZ29UbygpXG4gICAgICAgICAgICAgICAgICAgIHN0ZXAuc2VsZWN0ZWQgPSB0cnVlO1xuICAgICAgICAgICAgICAgICAgICAvL2VtaXQgZXZlbnQgdXB3YXJkcyB3aXRoIGRhdGEgb24gZ29UbygpIGludm9rdGlvblxuICAgICAgICAgICAgICAgICAgICAkc2NvcGUuJGVtaXQoJ3dpemFyZDpzdGVwQ2hhbmdlZCcsIHtzdGVwOiBzdGVwLCBpbmRleDogc3RlcElkeChzdGVwKX0pO1xuICAgICAgICAgICAgICAgICAgICAvL3NldHRpbmcgdmFyaWFibGUgdG8gZmFsc2Ugc28gYWxsIG90aGVyIHN0ZXAgY2hhbmdlcyBtdXN0IHBhc3MgdmFsaWRhdGlvblxuICAgICAgICAgICAgICAgICAgICBmaXJzdFJ1biA9IGZhbHNlO1xuICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgIC8vY3JlYXRlaW5nIHZhcmlhYmxlcyB0byBjYXB0dXJlIGN1cnJlbnQgc3RhdGUgdGhhdCBnb1RvKCkgd2FzIGludm9rZWQgZnJvbSBhbmQgYWxsb3cgYm9vbGVhbnNcbiAgICAgICAgICAgICAgICAgICAgdmFyIHRoaXNTdGVwO1xuICAgICAgICAgICAgICAgICAgICAvL2dldHRpbmcgZGF0YSBmb3Igc3RlcCB5b3UgYXJlIHRyYW5zaXRpb25pbmcgb3V0IG9mXG4gICAgICAgICAgICAgICAgICAgIGlmKCRzY29wZS5jdXJyZW50U3RlcE51bWJlcigpID4gMCl7XG4gICAgICAgICAgICAgICAgICAgICAgICB0aGlzU3RlcCA9ICRzY29wZS5jdXJyZW50U3RlcE51bWJlcigpIC0gMTtcbiAgICAgICAgICAgICAgICAgICAgfSBlbHNlIGlmICgkc2NvcGUuY3VycmVudFN0ZXBOdW1iZXIoKSA9PT0gMCl7XG4gICAgICAgICAgICAgICAgICAgICAgICB0aGlzU3RlcCA9IDA7XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgLy8kbG9nLmxvZygnc3RlcHNbdGhpc1N0ZXBdIERhdGE6ICcsICRzY29wZS5nZXRFbmFibGVkU3RlcHMoKVt0aGlzU3RlcF0uY2FuZXhpdCk7XG4gICAgICAgICAgICAgICAgICAgICRxLmFsbChbY2FuRXhpdFN0ZXAoJHNjb3BlLmdldEVuYWJsZWRTdGVwcygpW3RoaXNTdGVwXSwgc3RlcCksIGNhbkVudGVyU3RlcChzdGVwKV0pLnRoZW4oZnVuY3Rpb24oZGF0YSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgaWYoZGF0YVswXSAmJiBkYXRhWzFdKXtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAvL2Rlc2VsZWN0IGFsbCBzdGVwcyBzbyB5b3UgY2FuIHNldCBmcmVzaCBiZWxvd1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHVuc2VsZWN0QWxsKCk7XG5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAvLyRsb2cubG9nKCd2YWx1ZSBmb3IgY2FuRXhpdCBhcmd1bWVudDogJywgJHNjb3BlLmN1cnJlbnRTdGVwLmNhbmV4aXQpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICRzY29wZS5zZWxlY3RlZFN0ZXAgPSBzdGVwO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8vbWFraW5nIHN1cmUgY3VycmVudCBzdGVwIGlzIG5vdCB1bmRlZmluZWRcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZighYW5ndWxhci5pc1VuZGVmaW5lZCgkc2NvcGUuY3VycmVudFN0ZXApKXtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgJHNjb3BlLmN1cnJlbnRTdGVwID0gc3RlcC53elRpdGxlO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAvL3NldHRpbmcgc2VsZWN0ZWQgc3RlcCB0byBhcmd1bWVudCBwYXNzZWQgaW50byBnb1RvKClcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBzdGVwLnNlbGVjdGVkID0gdHJ1ZTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAvL2VtaXQgZXZlbnQgdXB3YXJkcyB3aXRoIGRhdGEgb24gZ29UbygpIGludm9rdGlvblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICRzY29wZS4kZW1pdCgnd2l6YXJkOnN0ZXBDaGFuZ2VkJywge3N0ZXA6IHN0ZXAsIGluZGV4OiBzdGVwSWR4KHN0ZXApfSk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgLy8kbG9nLmxvZygnY3VycmVudCBzdGVwIG51bWJlcjogJywgJHNjb3BlLmN1cnJlbnRTdGVwTnVtYmVyKCkpO1xuICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9O1xuXG4gICAgICAgICAgICBmdW5jdGlvbiBjYW5FbnRlclN0ZXAoc3RlcCkge1xuICAgICAgICAgICAgICAgIHZhciBkZWZlcixcbiAgICAgICAgICAgICAgICAgICAgY2FuRW50ZXI7XG4gICAgICAgICAgICAgICAgLy9JZiBubyB2YWxpZGF0aW9uIGZ1bmN0aW9uIGlzIHByb3ZpZGVkLCBhbGxvdyB0aGUgdXNlciB0byBlbnRlciB0aGUgc3RlcFxuICAgICAgICAgICAgICAgIGlmKHN0ZXAuY2FuZW50ZXIgPT09IHVuZGVmaW5lZCl7XG4gICAgICAgICAgICAgICAgICAgIHJldHVybiB0cnVlO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAvL0lmIGNhbmVudGVyIGlzIGEgYm9vbGVhbiB2YWx1ZSBpbnN0ZWFkIG9mIGEgZnVuY3Rpb24sIHJldHVybiB0aGUgdmFsdWVcbiAgICAgICAgICAgICAgICBpZih0eXBlb2Ygc3RlcC5jYW5lbnRlciA9PT0gJ2Jvb2xlYW4nKXtcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHN0ZXAuY2FuZW50ZXI7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIC8vQ2hlY2sgdG8gc2VlIGlmIHRoZSBjYW5lbnRlciBmdW5jdGlvbiBpcyBhIHByb21pc2Ugd2hpY2ggbmVlZHMgdG8gYmUgcmV0dXJuZWRcbiAgICAgICAgICAgICAgICBjYW5FbnRlciA9IHN0ZXAuY2FuZW50ZXIoJHNjb3BlLmNvbnRleHQpO1xuICAgICAgICAgICAgICAgIGlmKGFuZ3VsYXIuaXNGdW5jdGlvbihjYW5FbnRlci50aGVuKSl7XG4gICAgICAgICAgICAgICAgICAgIGRlZmVyID0gJHEuZGVmZXIoKTtcbiAgICAgICAgICAgICAgICAgICAgY2FuRW50ZXIudGhlbihmdW5jdGlvbihyZXNwb25zZSl7XG4gICAgICAgICAgICAgICAgICAgICAgICBkZWZlci5yZXNvbHZlKHJlc3BvbnNlKTtcbiAgICAgICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAgICAgICAgIHJldHVybiBkZWZlci5wcm9taXNlO1xuICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgIHJldHVybiBjYW5FbnRlciA9PT0gdHJ1ZTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIGZ1bmN0aW9uIGNhbkV4aXRTdGVwKHN0ZXAsIHN0ZXBUbykge1xuICAgICAgICAgICAgICAgIHZhciBkZWZlcixcbiAgICAgICAgICAgICAgICAgICAgY2FuRXhpdDtcbiAgICAgICAgICAgICAgICAvL0V4aXRpbmcgdGhlIHN0ZXAgc2hvdWxkIGJlIGFsbG93ZWQgaWYgbm8gdmFsaWRhdGlvbiBmdW5jdGlvbiB3YXMgcHJvdmlkZWQgb3IgaWYgdGhlIHVzZXIgaXMgbW92aW5nIGJhY2t3YXJkc1xuICAgICAgICAgICAgICAgIGlmKHR5cGVvZihzdGVwLmNhbmV4aXQpID09PSAndW5kZWZpbmVkJyB8fCAkc2NvcGUuZ2V0U3RlcE51bWJlcihzdGVwVG8pIDwgJHNjb3BlLmN1cnJlbnRTdGVwTnVtYmVyKCkpe1xuICAgICAgICAgICAgICAgICAgICByZXR1cm4gdHJ1ZTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgLy9JZiBjYW5leGl0IGlzIGEgYm9vbGVhbiB2YWx1ZSBpbnN0ZWFkIG9mIGEgZnVuY3Rpb24sIHJldHVybiB0aGUgdmFsdWVcbiAgICAgICAgICAgICAgICBpZih0eXBlb2Ygc3RlcC5jYW5leGl0ID09PSAnYm9vbGVhbicpe1xuICAgICAgICAgICAgICAgICAgICByZXR1cm4gc3RlcC5jYW5leGl0O1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAvL0NoZWNrIHRvIHNlZSBpZiB0aGUgY2FuZXhpdCBmdW5jdGlvbiBpcyBhIHByb21pc2Ugd2hpY2ggbmVlZHMgdG8gYmUgcmV0dXJuZWRcbiAgICAgICAgICAgICAgICBjYW5FeGl0ID0gc3RlcC5jYW5leGl0KCRzY29wZS5jb250ZXh0KTtcbiAgICAgICAgICAgICAgICBpZihhbmd1bGFyLmlzRnVuY3Rpb24oY2FuRXhpdC50aGVuKSl7XG4gICAgICAgICAgICAgICAgICAgIGRlZmVyID0gJHEuZGVmZXIoKTtcbiAgICAgICAgICAgICAgICAgICAgY2FuRXhpdC50aGVuKGZ1bmN0aW9uKHJlc3BvbnNlKXtcbiAgICAgICAgICAgICAgICAgICAgICAgIGRlZmVyLnJlc29sdmUocmVzcG9uc2UpO1xuICAgICAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGRlZmVyLnByb21pc2U7XG4gICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIGNhbkV4aXQgPT09IHRydWU7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAkc2NvcGUuY3VycmVudFN0ZXBOdW1iZXIgPSBmdW5jdGlvbigpIHtcbiAgICAgICAgICAgICAgICAvL3JldHJlaXZlIGN1cnJlbnQgc3RlcCBudW1iZXJcbiAgICAgICAgICAgICAgICByZXR1cm4gc3RlcElkeCgkc2NvcGUuc2VsZWN0ZWRTdGVwKSArIDE7XG4gICAgICAgICAgICB9O1xuXG4gICAgICAgICAgICAkc2NvcGUuZ2V0RW5hYmxlZFN0ZXBzID0gZnVuY3Rpb24oKSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuICRzY29wZS5zdGVwcy5maWx0ZXIoZnVuY3Rpb24oc3RlcCl7XG4gICAgICAgICAgICAgICAgICAgIHJldHVybiBzdGVwICYmIHN0ZXAuZGlzYWJsZWQgIT09ICd0cnVlJztcbiAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgIH07XG5cbiAgICAgICAgICAgIC8vdW5TZ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mN0aW9uXG4gICAgICAgICAgICAgICAgaWYoYW5ndWxhci5pc0Z1bmN0aW9uKGNhbGxiYWNrKSl7XG4gICAgICAgICAgICAgICAgICAgaWYoY2FsbGJhY2soKSl7XG4gICAgICAgICAgICAgICAgICAgICAgICBpZiAoaW5kZXggPT09IGVuYWJsZWRTdGVwcy5sZW5ndGggLSAxKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy5maW5pc2goKTtcbiAgICAgICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgLy9pbnZva2luZyBnb1RvKCkgd2l0aCBzdGVwIG51bWJlciBuZXh0IGluIGxpbmVcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAkc2NvcGUuZ29UbyhlbmFibGVkU3RlcHNbaW5kZXggKyAxXSk7XG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybjtcbiAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIGlmICghY2FsbGJhY2spIHtcbiAgICAgICAgICAgICAgICAgICAgLy9jb21wbGV0ZWQgcHJvcGVydHkgc2V0IG9uIHNjb3BlIHdoaWNoIGlzIHVzZWQgdG8gYWRkIGNsYXNzL3JlbW92ZSBjbGFzcyBmcm9tIHByb2dyZXNzIGJhclxuICAgICAgICAgICAgICAgICAgICAkc2NvcGUuc2VsZWN0ZWRTdGVwLmNvbXBsZXRlZCA9IHRydWU7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIC8vY2hlY2tpbmcgdG8gc2VlIGlmIHRoaXMgaXMgdGhlIGxhc3Qgc3RlcC4gIElmIGl0IGlzIG5leHQgYmVoYXZlcyB0aGUgc2FtZSBhcyBmaW5pc2goKVxuICAgICAgICAgICAgICAgIGlmIChpbmRleCA9PT0gZW5hYmxlZFN0ZXBzLmxlbmd0aCAtIDEpIHtcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5maW5pc2goKTtcbiAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICAvL2ludm9raW5nIGdvVG8oKSB3aXRoIHN0ZXAgbnVtYmVyIG5leHQgaW4gbGluZVxuICAgICAgICAgICAgICAgICAgICAkc2NvcGUuZ29UbyhlbmFibGVkU3RlcHNbaW5kZXggKyAxXSk7XG4gICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICB9O1xuXG4gICAgICAgICAgICAvL3VzZWQgdG8gdHJhdmVyc2UgdG8gYW55IHN0ZXAsIHN0ZXAgbnVtYmVyIHBsYWNlZCBhcyBhcmd1bWVudFxuICAgICAgICAgICAgdGhpcy5nb1RvID0gZnVuY3Rpb24oc3RlcCkge1xuICAgICAgICAgICAgICAgIC8vd3JhcHBlZCBpbnNpZGUgJHRpbWVvdXQgc28gbmV3bHkgZW5hYmxlZCBzdGVwcyBhcmUgaW5jbHVkZWQuXG4gICAgICAgICAgICAgICAgJHRpbWVvdXQoZnVuY3Rpb24oKSB7XG4gICAgICAgICAgICAgICAgICAgIHZhciBlbmFibGVkU3RlcHMgPSAkc2NvcGUuZ2V0RW5hYmxlZFN0ZXBzKCk7XG4gICAgICAgICAgICAgICAgICAgIHZhciBzdGVwVG87XG4gICAgICAgICAgICAgICAgICAgIC8vY2hlY2tpbmcgdGhhdCBzdGVwIGlzIGEgTnVtYmVyXG4gICAgICAgICAgICAgICAgICAgIGlmIChhbmd1bGFyLmlzTnVtYmVyKHN0ZXApKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBzdGVwVG8gPSBlbmFibGVkU3RlcHNbc3RlcF07XG4gICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAvL2ZpbmRpbmcgdGhlIHN0ZXAgYXNzb2NpYXRlZCB3aXRoIHRoZSB0aXRsZSBlbnRlcmVkIGFzIGdvVG8gYXJndW1lbnRcbiAgICAgICAgICAgICAgICAgICAgICAgIHN0ZXBUbyA9IHN0ZXBCeVRpdGxlKHN0ZXApO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIC8vZ29pbmcgdG8gc3RlcFxuICAgICAgICAgICAgICAgICAgICAkc2NvcGUuZ29UbyhzdGVwVG8pO1xuICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgfTtcblxuICAgICAgICAgICAgLy9jYWxscyBmaW5pc2goKSB3aGljaCBjYWxscyBvbkZpbmlzaCgpIHdoaWNoIGlzIGRlY2xhcmVkIG9uIGFuIGF0dHJpYnV0ZSBhbmQgbGlua2VkIHRvIGNvbnRyb2xsZXIgdmlhIHdpemFyZCBkaXJlY3RpdmUuXG4gICAgICAgICAgICB0aGlzLmZpbmlzaCA9IGZ1bmN0aW9uKCkge1xuICAgICAgICAgICAgICAgIGlmICgkc2NvcGUub25GaW5pc2gpIHtcbiAgICAgICAgICAgICAgICAgICAgJHNjb3BlLm9uRmluaXNoKCk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfTtcbiAgICAgICAgICAgIFxuICAgICAgICAgICAgdGhpcy5wcmV2aW91cyA9IGZ1bmN0aW9uKCkge1xuICAgICAgICAgICAgICAgIC8vZ2V0dGluZyBpbmRleCBvZiBjdXJyZW50IHN0ZXBcbiAgICAgICAgICAgICAgICB2YXIgaW5kZXggPSBzdGVwSWR4KCRzY29wZS5zZWxlY3RlZFN0ZXApO1xuICAgICAgICAgICAgICAgIC8vZW5zdXJpbmcgeW91IGFyZW4ndCB0cnlpbmcgdG8gZ28gYmFjayBmcm9tIHRoZSBmaXJzdCBzdGVwXG4gICAgICAgICAgICAgICAgaWYgKGluZGV4ID09PSAwKSB7XG4gICAgICAgICAgICAgICAgICAgIHRocm93IG5ldyBFcnJvcihcIkNhbid0IGdvIGJhY2suIEl0J3MgYWxyZWFkeSBpbiBzdGVwIDBcIik7XG4gICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgLy9nbyBiYWNrIG9uZSBzdGVwIGZyb20gY3VycmVudCBzdGVwXG4gICAgICAgICAgICAgICAgICAgICRzY29wZS5nb1RvKCRzY29wZS5nZXRFbmFibGVkU3RlcHMoKVtpbmRleCAtIDFdKTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9O1xuXG4gICAgICAgICAgICAvL2NhbmNlbCBpcyBhbGlhcyBmb3IgcHJldmlvdXMuXG4gICAgICAgICAgICB0aGlzLmNhbmNlbCA9IGZ1bmN0aW9uKCkge1xuICAgICAgICAgICAgICAgIC8vZ2V0dGluZyBpbmRleCBvZiBjdXJyZW50IHN0ZXBcbiAgICAgICAgICAgICAgICB2YXIgaW5kZXggPSBzdGVwSWR4KCRzY29wZS5zZWxlY3RlZFN0ZXApO1xuICAgICAgICAgICAgICAgIC8vZW5zdXJpbmcgeW91IGFyZW4ndCB0cnlpbmcgdG8gZ28gYmFjayBmcm9tIHRoZSBmaXJzdCBzdGVwXG4gICAgICAgICAgICAgICAgaWYgKGluZGV4ID09PSAwKSB7XG4gICAgICAgICAgICAgICAgICAgIHRocm93IG5ldyBFcnJvcihcIkNhbid0IGdvIGJhY2suIEl0J3MgYWxyZWFkeSBpbiBzdGVwIDBcIik7XG4gICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgLy9nbyBiYWNrIG9uZSBzdGVwIGZyb20gY3VycmVudCBzdGVwXG4gICAgICAgICAgICAgICAgICAgICRzY29wZS5nb1RvKCRzY29wZS5nZXRFbmFibGVkU3RlcHMoKVswXSk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfTtcblxuICAgICAgICAgICAgLy9yZXNldFxuICAgICAgICAgICAgdGhpcy5yZXNldCA9IGZ1bmN0aW9uKCl7XG4gICAgICAgICAgICAgICAgLy90cmF2ZXJzZSBzdGVwcyBhcnJheSBhbmQgc2V0IGVhY2ggXCJjb21wbGV0ZWRcIiBwcm9wZXJ0eSB0byBmYWxzZVxuICAgICAgICAgICAgICAgIGFuZ3VsYXIuZm9yRWFjaCgkc2NvcGUuZ2V0RW5hYmxlZFN0ZXBzKCksIGZ1bmN0aW9uIChzdGVwKSB7XG4gICAgICAgICAgICAgICAgICAgIHN0ZXAuY29tcGxldGVkID0gZmFsc2U7XG4gICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAgICAgLy9nbyB0byBmaXJzdCBzdGVwXG4gICAgICAgICAgICAgICAgdGhpcy5nb1RvKDApO1xuICAgICAgICAgICAgfTtcbiAgICAgICAgfV1cbiAgICB9O1xufSk7XHJcbmZ1bmN0aW9uIHdpemFyZEJ1dHRvbkRpcmVjdGl2ZShhY3Rpb24pIHtcbiAgICBhbmd1bGFyLm1vZHVsZSgnbWdvLWFuZ3VsYXItd2l6YXJkJylcbiAgICAgICAgLmRpcmVjdGl2ZShhY3Rpb24sIGZ1bmN0aW9uKCkge1xuICAgICAgICAgICAgcmV0dXJuIHtcbiAgICAgICAgICAgICAgICByZXN0cmljdDogJ0EnLFxuICAgICAgICAgICAgICAgIHJlcGxhY2U6IGZhbHNlLFxuICAgICAgICAgICAgICAgIHJlcXVpcmU6ICded2l6YXJkJyxcbiAgICAgICAgICAgICAgICBsaW5rOiBmdW5jdGlvbigkc2NvcGUsICRlbGVtZW50LCAkYXR0cnMsIHdpemFyZCkge1xuXG4gICAgICAgICAgICAgICAgICAgICRlbGVtZW50Lm9uKFwiY2xpY2tcIiwgZnVuY3Rpb24oZSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgZS5wcmV2ZW50RGVmYXVsdCgpO1xuICAgICAgICAgICAgICAgICAgICAgICAgJHNjb3BlLiRhcHBseShmdW5jdGlvbigpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAkc2NvcGUuJGV2YWwoJGF0dHJzW2FjdGlvbl0pO1xuICAgICAgICAgICAgICAgICAgICAgIC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ZpY2UuZGVmYXVsdE5hbWU7XG4gICAgICAgfVxuICAgICAgIFxuICAgICAgIHJldHVybiB3aXphcmRzW25hbWVUb1VzZV07XG4gICB9O1xuICAgXG4gICByZXR1cm4gc2VydmljZTtcbn0pO1xuXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9+L2FuZ3VsYXItd2l6YXJkL2Rpc3QvYW5ndWxhci13aXphcmQuanNcbi8vIG1vZHVsZSBpZCA9IDZcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sInNvdXJjZVJvb3QiOiIifQ==");
|
||
|
||
/***/ },
|
||
/* 7 */
|
||
/***/ function(module, exports, __webpack_require__) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _easyFormGenerator = __webpack_require__(8);\n\nvar _easyFormGenerator2 = _interopRequireDefault(_easyFormGenerator);\n\nvar _formly = __webpack_require__(10);\n\nvar _formly2 = _interopRequireDefault(_formly);\n\nvar _translate = __webpack_require__(12);\n\nvar _translate2 = _interopRequireDefault(_translate);\n\nvar _core = __webpack_require__(20);\n\nvar _core2 = _interopRequireDefault(_core);\n\nvar _stepwayMain = __webpack_require__(21);\n\nvar _stepwayMain2 = _interopRequireDefault(_stepwayMain);\n\nvar _stepwayWizard = __webpack_require__(49);\n\nvar _stepwayWizard2 = _interopRequireDefault(_stepwayWizard);\n\nvar _stepwayEditControlModal = __webpack_require__(59);\n\nvar _stepwayEditControlModal2 = _interopRequireDefault(_stepwayEditControlModal);\n\nvar _modalProxy = __webpack_require__(101);\n\nvar _modalProxy2 = _interopRequireDefault(_modalProxy);\n\nvar _formlyProxy = __webpack_require__(103);\n\nvar _formlyProxy2 = _interopRequireDefault(_formlyProxy);\n\nvar _selectOptionManage = __webpack_require__(105);\n\nvar _selectOptionManage2 = _interopRequireDefault(_selectOptionManage);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar STEP_WAY_MODULE_NAME = 'eda.easyformGen.stepway';\nvar STEP_WAY_MODULES_INJECT = [_core2.default.name, _translate2.default.name, _stepwayMain2.default.name, _stepwayWizard2.default.name, _stepwayEditControlModal2.default.name, _modalProxy2.default.name, _formlyProxy2.default.name, _selectOptionManage2.default.name];\n\nvar mainModule = angular.module(STEP_WAY_MODULE_NAME, STEP_WAY_MODULES_INJECT).value(_easyFormGenerator.EASY_FORM_VERSION_NAME, _easyFormGenerator.EASY_FORM_VERSION_VALUE).config(_formly2.default).config(_easyFormGenerator2.default);\n\nexports.default = mainModule;//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvbWFpbi5qcz9mOGJlIl0sIm5hbWVzIjpbIlNURVBfV0FZX01PRFVMRV9OQU1FIiwiU1RFUF9XQVlfTU9EVUxFU19JTkpFQ1QiLCJuYW1lIiwibWFpbk1vZHVsZSIsImFuZ3VsYXIiLCJtb2R1bGUiLCJ2YWx1ZSIsImNvbmZpZyJdLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBQUE7Ozs7QUFHQTs7OztBQUNBOzs7O0FBRUE7Ozs7QUFFQTs7OztBQUNBOzs7O0FBQ0E7Ozs7QUFDQTs7OztBQUNBOzs7O0FBQ0E7Ozs7OztBQUVBLElBQU1BLHVCQUF1Qix5QkFBN0I7QUFDQSxJQUFNQywwQkFBMEIsQ0FDOUIsZUFBMEJDLElBREksRUFFOUIsb0JBQWdCQSxJQUZjLEVBRzlCLHNCQUEwQkEsSUFISSxFQUk5Qix3QkFBNEJBLElBSkUsRUFLOUIsa0NBQTJCQSxJQUxHLEVBTTlCLHFCQUFnQ0EsSUFORixFQU85QixzQkFBaUNBLElBUEgsRUFROUIsNkJBQXlDQSxJQVJYLENBQWhDOztBQVdBLElBQU1DLGFBQWFDLFFBQ0FDLE1BREEsQ0FDT0ws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IFNURVBfV0FZX01PRFVMRVNfSU5KRUNUKVxuICAgICAgICAgICAgICAgICAgLnZhbHVlKEVBU1lfRk9STV9WRVJTSU9OX05BTUUsIEVBU1lfRk9STV9WRVJTSU9OX1ZBTFVFKVxuICAgICAgICAgICAgICAgICAgLmNvbmZpZyhmb3JtbHlDb25maWcpXG4gICAgICAgICAgICAgICAgICAuY29uZmlnKGVhc3lGb3JtU3RlcFdheUNvbmZpZyk7XG5cbmV4cG9ydCBkZWZhdWx0IG1haW5Nb2R1bGU7XG5cblxuXG4vLyBXRUJQQUNLIEZPT1RFUiAvL1xuLy8gLi9zcmMvYXBwL3N0ZXB3YXkvbWFpbi5qcyJdLCJzb3VyY2VSb290IjoiIn0=");
|
||
|
||
/***/ },
|
||
/* 8 */
|
||
/***/ function(module, exports, __webpack_require__) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.EASY_FORM_VERSION_VALUE = exports.EASY_FORM_VERSION_NAME = undefined;\n\nvar _easyFormConfig = __webpack_require__(9);\n\nvar _easyFormConfig2 = _interopRequireDefault(_easyFormConfig);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar EASY_FORM_VERSION_NAME = 'easyFormGenVersion';\nvar EASY_FORM_VERSION_VALUE = _easyFormConfig2.default.stepway.version;\nvar ACTIVE_MODAL_ANIMATION = true;\n\nfunction easyFromConfig(easyFormSteWayConfigProvider) {\n //enable/disable easy form modal animation\n easyFormSteWayConfigProvider.setModalAnimation(ACTIVE_MODAL_ANIMATION);\n}\n\neasyFromConfig.$inject = ['easyFormSteWayConfigProvider'];\n\nexports.default = easyFromConfig;\nexports.EASY_FORM_VERSION_NAME = EASY_FORM_VERSION_NAME;\nexports.EASY_FORM_VERSION_VALUE = EASY_FORM_VERSION_VALUE;//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6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9NT0RBTF9BTklNQVRJT04gID0gdHJ1ZTtcblxuZnVuY3Rpb24gZWFzeUZyb21Db25maWcoZWFzeUZvcm1TdGVXYXlDb25maWdQcm92aWRlcil7XG4gIC8vZW5hYmxlL2Rpc2FibGUgZWFzeSBmb3JtIG1vZGFsIGFuaW1hdGlvblxuICBlYXN5Rm9ybVN0ZVdheUNvbmZpZ1Byb3ZpZGVyLnNldE1vZGFsQW5pbWF0aW9uKEFDVElWRV9NT0RBTF9BTklNQVRJT04pO1xufVxuXG5lYXN5RnJvbUNvbmZpZy4kaW5qZWN0ID0gWydlYXN5Rm9ybVN0ZVdheUNvbmZpZ1Byb3ZpZGVyJ107XG5cbmV4cG9ydCBkZWZhdWx0IGVhc3lGcm9tQ29uZmlnO1xuZXhwb3J0IHtFQVNZX0ZPUk1fVkVSU0lPTl9OQU1FLCBFQVNZX0ZPUk1fVkVSU0lPTl9WQUxVRX07XG5cblxuXG4vLyBXRUJQQUNLIEZPT1RFUiAvL1xuLy8gLi9zcmMvYXBwL3N0ZXB3YXkvY29uZmlnL2Vhc3lGb3JtR2VuZXJhdG9yL2Vhc3lGb3JtR2VuZXJhdG9yLmNvbmZpZy5qcyJdLCJzb3VyY2VSb290IjoiIn0=");
|
||
|
||
/***/ },
|
||
/* 9 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("module.exports = {\n\t\"stepway\": {\n\t\t\"version\": \"2.1.4\"\n\t},\n\t\"dragdropway\": {\n\t\t\"version\": \"2.1.4\"\n\t},\n\t\"formviewer\": {\n\t\t\"version\": \"2.1.4\"\n\t}\n};//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2Vhc3lGb3JtQ29uZmlnLmpzb24/MzFjYSJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQSxFQUFFO0FBQ0Y7QUFDQTtBQUNBLEVBQUU7QUFDRjtBQUNBO0FBQ0E7QUFDQSIsImZpbGUiOiI5LmpzIiwic291cmNlc0NvbnRlbnQiOlsibW9kdWxlLmV4cG9ydHMgPSB7XG5cdFwic3RlcHdheVwiOiB7XG5cdFx0XCJ2ZXJzaW9uXCI6IFwiMi4xLjRcIlxuXHR9LFxuXHRcImRyYWdkcm9wd2F5XCI6IHtcblx0XHRcInZlcnNpb25cIjogXCIyLjEuNFwiXG5cdH0sXG5cdFwiZm9ybXZpZXdlclwiOiB7XG5cdFx0XCJ2ZXJzaW9uXCI6IFwiMi4xLjRcIlxuXHR9XG59O1xuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vc3JjL2FwcC9lYXN5Rm9ybUNvbmZpZy5qc29uXG4vLyBtb2R1bGUgaWQgPSA5XG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJzb3VyY2VSb290IjoiIn0=");
|
||
|
||
/***/ },
|
||
/* 10 */
|
||
/***/ function(module, exports, __webpack_require__) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _formlyConfig = __webpack_require__(11);\n\nfunction formlyConfig(formlyConfigProvider) {\n formlyConfigProvider.setType({\n name: 'richEditor',\n template: _formlyConfig.richTextTemplate.template,\n wrapper: ['bootstrapLabel', 'bootstrapHasError']\n });\n\n formlyConfigProvider.setType({\n name: 'blank',\n template: _formlyConfig.blankTemplate.template\n });\n\n formlyConfigProvider.setType({\n name: 'header',\n template: _formlyConfig.headerTemplate.template\n });\n\n formlyConfigProvider.setType({\n name: 'subTitle',\n template: _formlyConfig.subTitleTemplate.template\n });\n\n formlyConfigProvider.setType({\n name: 'basicSelect',\n template: _formlyConfig.basicSelectTemplate.template,\n wrapper: ['bootstrapLabel', 'bootstrapHasError']\n });\n\n formlyConfigProvider.setType({\n name: 'groupedSelect',\n template: _formlyConfig.groupedSelectTemplate.template,\n wrapper: ['bootstrapLabel', 'bootstrapHasError']\n });\n\n // implement from : http://jsbin.com/koredu/edit?js,output\n // formlyConfigProvider.setType({\n // name: 'upload',\n // extends: 'input',\n // wrapper: ['bootstrapLabel', 'bootstrapHasError'],\n // link: function(scope, el, attrs) {\n // el.on(\"change\", function(changeEvent) {\n // var file = changeEvent.target.files[0];\n // if (file) {\n // // console.log('scope.id', scope.id);\n // var fd = new FormData();\n // // use key on backEnd\n // fd.append('uploadFile', file);\n // scope.$emit('fileToUpload', fd);\n // var fileProp = {};\n // for (var properties in file) {\n // if (!angular.isFunction(file[properties])) {\n // fileProp[properties] = file[properties];\n // }\n // }\n // scope.fc.$setViewValue(fileProp);\n // } else {\n // scope.fc.$setViewValue(undefined);\n // }\n // });\n // el.on(\"focusout\", (focusoutEvent) => {\n // // dont run validation , user still opening pop up file dialog\n // if ($window.document.activeElement.id === scope.id) {\n // // so we set it untouched\n // scope.$apply(function(scope) {\n // scope.fc.$setUntouched();\n // });\n // } else {\n // // element losing focus so we trigger validation\n // scope.fc.$validate();\n // }\n // });\n // },\n // defaultOptions: {\n // templateOptions: {\n // type: 'file',\n // required: true\n // }\n // }\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 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: _formlyConfig.datepickerTemplate.template,\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 $scope.datepicker = {};\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 $scope.datepicker.opened = false;\n $scope.datepicker.open = function ($event) {\n $event.preventDefault();\n $event.stopPropagation();\n $scope.datepicker.opened = !$scope.datepicker.opened;\n };\n }]\n });\n\n /**\n * wrappers to show validation errors\n * without having to rewrite formly types\n */\n formlyConfigProvider.setWrapper([{\n template: _formlyConfig.validationTemplate.template\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\nformlyConfig.$inject = ['formlyConfigProvider'];\n\nexports.default = formlyConfig;//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvY29uZmlnL2Zvcm1seS9mb3JtbHkuY29uZmlnLmpzP2M1ZDciXSwibmFtZXMiOlsiZm9ybWx5Q29uZmlnIiwiZm9ybWx5Q29uZmlnUHJvdmlkZXIiLCJzZXRUeXBlIiwibmFtZSIsInRlbXBsYXRlIiwid3JhcHBlciIsImF0dHJpYnV0ZXMiLCJiaW5kaW5ncyIsIm5nTW9kZWxBdHRycyIsImFuZ3VsYXIiLCJmb3JFYWNoIiwiYXR0ciIsImNhbWVsaXplIiwiYXR0cmlidXRlIiwiYmluZGluZyIsImJvdW5kIiwiZGVmYXVsdE9wdGlvbnMiLCJ0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pb24gY2FtZWxpemUoc3RyaW5nKSB7XG4gICAgc3RyaW5nID0gc3RyaW5nLnJlcGxhY2UoL1tcXC1fXFxzXSsoLik/L2csIGZ1bmN0aW9uKG1hdGNoLCBjaHIpIHtcbiAgICAgIHJldHVybiBjaHIgPyBjaHIudG9VcHBlckNhc2UoKSA6ICcnO1xuICAgIH0pO1xuICAgIC8vIEVuc3VyZSAxc3QgY2hhciBpcyBhbHdheXMgbG93ZXJjYXNlXG4gICAgcmV0dXJuIHN0cmluZy5yZXBsYWNlKC9eKFtBLVpdKS8sIGZ1bmN0aW9uKG1hdGNoLCBjaHIpIHtcbiAgICAgIHJldHVybiBjaHIgPyBjaHIudG9Mb3dlckNhc2UoKSA6ICcnO1xuICAgIH0pO1xuICB9XG59XG5cbmZvcm1seUNvbmZpZy4kaW5qZWN0ID0gWydmb3JtbHlDb25maWdQcm92aWRlciddO1xuXG5leHBvcnQgZGVmYXVsdCBmb3JtbHlDb25maWc7XG5cblxuXG4vLyBXRUJQQUNLIEZPT1RFUiAvL1xuLy8gLi9zcmMvYXBwL3N0ZXB3YXkvY29uZmlnL2Zvcm1seS9mb3JtbHkuY29uZmlnLmpzIl0sInNvdXJjZVJvb3QiOiIifQ==");
|
||
|
||
/***/ },
|
||
/* 11 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n// tips: use some plugin like atom-typescript to highlight html templates inside backticks\nvar richTextTemplate = exports.richTextTemplate = {\n template: \"\\n <text-angular\\n name=\\\"{{id}}\\\"\\n class=\\\"richTextAngular\\\"\\n ng-model=\\\"model[options.key || index]\\\">\\n </text-angular>\\n \"\n};\n\n/* eslint-disable quotes */\nvar blankTemplate = exports.blankTemplate = {\n template: \"<div></div>\"\n};\n/* eslint-enable quotes */\n\nvar headerTemplate = exports.headerTemplate = {\n template: \"\\n <div class=\\\"row\\\">\\n <div class=\\\"\\\">\\n <h2 class=\\\"text-center\\\">\\n {{ options.templateOptions.placeholder }}\\n </h2>\\n <hr/>\\n </div>\\n </div>\\n \"\n};\n\nvar subTitleTemplate = exports.subTitleTemplate = {\n template: \"\\n <div class=\\\"row\\\">\\n <div class=\\\"\\\">\\n <h4 class=\\\"text-center\\\">\\n {{ options.templateOptions.placeholder }}\\n </h4>\\n <hr/>\\n </div>\\n </div>\\n \"\n};\n\nvar basicSelectTemplate = exports.basicSelectTemplate = {\n template: \"\\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\\n class=\\\"nya-bs-option\\\"\\n nya-bs-option=\\\"option in options.templateOptions.options\\\">\\n <a>\\n {{option.name}}\\n </a>\\n </li>\\n </ol>\\n \"\n};\n\nvar groupedSelectTemplate = exports.groupedSelectTemplate = {\n template: \"\\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 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\\\">\\n {{$group}}\\n </span>\\n <a>\\n <span>\\n {{option.name}}\\n </span>\\n <span class=\\\"glyphicon glyphicon-ok check-mark\\\"></span>\\n </a>\\n </li>\\n </ol>\\n \"\n};\n\nvar datepickerTemplate = exports.datepickerTemplate = {\n template: \"\\n <p class=\\\"input-group\\\">\\n <span class=\\\"input-group-btn\\\">\\n <button\\n type=\\\"button\\\"\\n class=\\\"btn btn-default\\\"\\n ng-click=\\\"datepicker.open($event)\\\">\\n <i class=\\\"glyphicon glyphicon-calendar\\\"></i>\\n </button>\\n </span>\\n <input\\n 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};\n\nvar validationTemplate = exports.validationTemplate = {\n template: \"\\n <div\\n class=\\\"formly-template-wrapper form-group\\\"\\n ng-class=\\\"{'has-error': options.validation.errorExistsAndShouldBeVisible}\\\">\\n <formly-transclude></formly-transclude>\\n <div\\n class=\\\"validation\\\"\\n ng-if=\\\"options.validation.errorExistsAndShouldBeVisible\\\"\\n ng-messages=\\\"options.formControl.$error\\\">\\n <div ng-messages-include=\\\"validation.html\\\"></div>\\n <div\\n ng-message=\\\"{{::name}}\\\"\\n ng-repeat=\\\"(name, message) in ::options.validation.messages\\\">\\n {{message(options.formControl.$viewValue, options.formControl.$modelValue, this)}}\\n </div>\\n </div>\\n </div>\\n \"\n};//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvY29uZmlnL2Zvcm1seS9mb3JtbHkuY29uZmlnLnRlbXBsYXRlcy5qcz9iYmVhIl0sIm5hbWVzIjpbInJpY2hUZXh0VGVtcGxhdGUiLCJ0ZW1wbGF0ZSIsImJsYW5rVGVtcGxhdGUiLCJoZWFkZXJUZW1wbGF0ZSIsInN1YlRpdGxlVGVtcGxhdGUiLCJiYXNpY1NlbGVjdFRlbXBsYXRlIiwiZ3JvdXBlZFNlbGVjdFRlbXBsYXRlIiwiZGF0ZXBpY2tlclRlbXBsYXRlIiwidmFsaWRhdGlvblRlbXBsYXRlIl0sIm1hcHBpbmdzIjoiOzs7OztBQUFBO0FBQ08sSUFBTUEsOENBQW1CO0FBQzlCQztBQUQ4QixDQUF6Qjs7QUFVUDtBQUNPLElBQU1DLHdDQUFnQjtBQUMzQkQ7QU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xlfVwiPlxuICAgICAgPGZvcm1seS10cmFuc2NsdWRlPjwvZm9ybWx5LXRyYW5zY2x1ZGU+XG4gICAgICA8ZGl2XG4gICAgICAgIGNsYXNzPVwidmFsaWRhdGlvblwiXG4gICAgICAgIG5nLWlmPVwib3B0aW9ucy52YWxpZGF0aW9uLmVycm9yRXhpc3RzQW5kU2hvdWxkQmVWaXNpYmxlXCJcbiAgICAgICAgbmctbWVzc2FnZXM9XCJvcHRpb25zLmZvcm1Db250cm9sLiRlcnJvclwiPlxuICAgICAgICA8ZGl2IG5nLW1lc3NhZ2VzLWluY2x1ZGU9XCJ2YWxpZGF0aW9uLmh0bWxcIj48L2Rpdj5cbiAgICAgICAgPGRpdlxuICAgICAgICAgIG5nLW1lc3NhZ2U9XCJ7ezo6bmFtZX19XCJcbiAgICAgICAgICBuZy1yZXBlYXQ9XCIobmFtZSwgbWVzc2FnZSkgaW4gOjpvcHRpb25zLnZhbGlkYXRpb24ubWVzc2FnZXNcIj5cbiAgICAgICAgICB7e21lc3NhZ2Uob3B0aW9ucy5mb3JtQ29udHJvbC4kdmlld1ZhbHVlLCBvcHRpb25zLmZvcm1Db250cm9sLiRtb2RlbFZhbHVlLCB0aGlzKX19XG4gICAgICAgIDwvZGl2PlxuICAgICAgPC9kaXY+XG4gICAgPC9kaXY+XG4gIGBcbn07XG5cblxuXG4vLyBXRUJQQUNLIEZPT1RFUiAvL1xuLy8gLi9zcmMvYXBwL3N0ZXB3YXkvY29uZmlnL2Zvcm1seS9mb3JtbHkuY29uZmlnLnRlbXBsYXRlcy5qcyJdLCJzb3VyY2VSb290IjoiIn0=");
|
||
|
||
/***/ },
|
||
/* 12 */
|
||
/***/ function(module, exports, __webpack_require__) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.TRANSLATE_MODULE = exports.TRANSLATE_CONFIG = undefined;\n\nvar _localEn = __webpack_require__(13);\n\nvar _localEn2 = _interopRequireDefault(_localEn);\n\nvar _localFr = __webpack_require__(14);\n\nvar _localFr2 = _interopRequireDefault(_localFr);\n\nvar _localEs = __webpack_require__(15);\n\nvar _localEs2 = _interopRequireDefault(_localEs);\n\nvar _localDe = __webpack_require__(16);\n\nvar _localDe2 = _interopRequireDefault(_localDe);\n\nvar _localTr = __webpack_require__(17);\n\nvar _localTr2 = _interopRequireDefault(_localTr);\n\nvar _localJp = __webpack_require__(18);\n\nvar _localJp2 = _interopRequireDefault(_localJp);\n\nvar _localPtBr = __webpack_require__(19);\n\nvar _localPtBr2 = _interopRequireDefault(_localPtBr);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar TRANSLATE_CONFIG = exports.TRANSLATE_CONFIG = 'easyFormTranslateConfig';\n\nfunction translateConfig($translateProvider) {\n $translateProvider.translations('en', _localEn2.default);\n $translateProvider.translations('fr', _localFr2.default);\n $translateProvider.translations('es', _localEs2.default);\n $translateProvider.translations('de', _localDe2.default);\n $translateProvider.translations('tr', _localTr2.default);\n $translateProvider.translations('jp', _localJp2.default);\n $translateProvider.translations('pt-br', _localPtBr2.default);\n}\ntranslateConfig.$inject = ['$translateProvider'];\n\nvar TRANSLATE_MODULE = exports.TRANSLATE_MODULE = 'eda.easyFormGenerator.translate';\nexports.default = angular.module(TRANSLATE_MODULE, []).config(translateConfig);//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvY29uZmlnL3RyYW5zbGF0ZS90cmFuc2xhdGUuY29uZmlnLmpzPzhjYTYiXSwibmFtZXMiOlsiVFJBTlNMQVRFX0NPTkZJRyIsInRyYW5zbGF0ZUNvbmZpZyIsIiR0cmFuc2xhdGVQcm92aWRlciIsInRyYW5zbGF0aW9ucyIsIiRpbmplY3QiLCJUUkFOU0xBVEVfTU9EVUxFIiwiYW5ndWxhciIsIm1vZHVsZSIsImNvbmZpZyJ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AgICAgLmNvbmZpZyh0cmFuc2xhdGVDb25maWcpO1xuXG5cblxuLy8gV0VCUEFDSyBGT09URVIgLy9cbi8vIC4vc3JjL2FwcC9zdGVwd2F5L2NvbmZpZy90cmFuc2xhdGUvdHJhbnNsYXRlLmNvbmZpZy5qcyJdLCJzb3VyY2VSb290IjoiIn0=");
|
||
|
||
/***/ },
|
||
/* 13 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("module.exports = {\n\t\"SAY_HI\": \"Hello\",\n\t\"EDIT_TAB\": \"Edit/Create\",\n\t\"PREVIEW_TAB\": \"Preview\",\n\t\"WIZARD_LINES\": \"Lines\",\n\t\"WIZARD_LAYOUT\": \"Layout\",\n\t\"WIZARD_CONTROLS\": \"Controls\",\n\t\"WIZARD_SAVE\": \"Save\",\n\t\"PAGER_PREVIOUS\": \"Previous\",\n\t\"PAGER_NEXT\": \"Next\",\n\t\"COMMAND_PANEL\": \"Command\",\n\t\"VISUAL_PANEL\": \"Visual\",\n\t\"ADD_NEW_LINE\": \"Add a new line\",\n\t\"ADD_NEW_STEP\": \"Add a new step\",\n\t\"STEP_TITLE\": \"Step Title\",\n\t\"SELECTED_LINE\": \"Selected line\",\n\t\"NUMBER_OF_COLUMN\": \"Number of columns\",\n\t\"APPLY_CTRL2COL\": \"Apply controls to columns\",\n\t\"CLIC_TAP_2_OPEN\": \"Click/Tap on column to open control selection\",\n\t\"SELECT_2_APPLY_COL\": \"Select desired control and valid to apply it to column\",\n\t\"CUSTOM_SUBMIT_BTN\": \"Customize Submit button Text\",\n\t\"CUSTOM_CANCEL_BTN\": \"Customize Cancel button Text\",\n\t\"NAME_THIS_FORM\": \"Name this Form\",\n\t\"SAVE_THIS_FORM\": \"Save this Form\",\n\t\"FINAL_STEP\": \"Final Step: Form Preview\",\n\t\"DATA_MODEL\": \"DATA MODEL\",\n\t\"FIELDS_MODEL\": \"FIELDS MODEL (Ready to save to database one)\",\n\t\"SELECT_A_CTRL\": \"Select a control\",\n\t\"SELECT_CTRL_IN_LIST\": \"Select a control in the list below\",\n\t\"COL_WILL_BE_BLANK\": \"Column will be blank\",\n\t\"EDIT_PROPERTIES\": \"Edit properties\",\n\t\"HEADER_TEXT\": \"Header text\",\n\t\"ADD_EDIT_HEADER_HERE\": \"Add/Edit header text here\",\n\t\"SUBTITLE_TEXT\": \"Subtitle text\",\n\t\"ADD_EDIT_SUBTIL_HERE\": \"Add/Edit subtitle text here\",\n\t\"LABEL_TEXT\": \"Label text\",\n\t\"ADD_EDIT_LABEL_HERE\": \"Add/Edit control label here\",\n\t\"PLACEHOLDER\": \"Placeholder\",\n\t\"ADD_EDIT_PLACEHOLD\": \"Add/Edit placeholder text here\",\n\t\"REQUIRED\": \"Required\",\n\t\"DESCRIPTION\": \"Description\",\n\t\"ADDEDIT_DESCRIPTION\": \"Add/Edit description here\",\n\t\"DEFAULTVALUE\": \"Default Value\",\n\t\"ADD_EDIT_DEFAULTVALUE_PLACEHOLD\": \"Add/Edit default value here\",\n\t\"DATE_FORMAT\": \"Date format\",\n\t\"ADD_NEW_RADIO\": \"Add new radio\",\n\t\"ADD_RADIO_PLACEHOLD\": \"Add new radio\",\n\t\"EDIT_REMOVE_RADIO\": \"Edit/Remove radio\",\n\t\"NO_RADIO_ADD_NEW\": \"No radio: Add new radio values\",\n\t\"SEARCH_4_OPTION\": \"Search for option\",\n\t\"ADD\": \"Add\",\n\t\"ORDER\": \"Order\",\n\t\"OPTION\": \"Option\",\n\t\"GROUP\": \"Group\",\n\t\"ADD_NEW_OPTIONS\": \"Add new options\",\n\t\"ADD_A_NEW_OPTION\": \"Add new option\",\n\t\"EDIT_REMOVE_OPTIONS\": \"Edit/Remove options\",\n\t\"NO_OPTION_ADD_NEW\": \"No option: Add new options\",\n\t\"ADD_NEW_GROUPS\": \"Add new groups\",\n\t\"ADD_A_NEW_GROUP\": \"Add new group\",\n\t\"EDIT_GROUPS_OPTIONS\": \"Edit/Remove options/groups\",\n\t\"NO_GROUP_ADD_NEW\": \"Add new groups\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0dST1VQU19PUFRJT05TXCI6IFwiRWRpdC9SZW1vdmUgb3B0aW9ucy9ncm91cHNcIixcblx0XCJOT19HUk9VUF9BRERfTkVXXCI6IFwiQWRkIG5ldyBncm91cHNcIixcblx0XCJPS1wiOiBcIk9LXCIsXG5cdFwiQ0FOQ0VMXCI6IFwiQ2FuY2VsXCJcbn07XG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9zcmMvYXBwL3N0ZXB3YXkvaTE4bi9sb2NhbC1lbi5qc29uXG4vLyBtb2R1bGUgaWQgPSAxM1xuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwic291cmNlUm9vdCI6IiJ9");
|
||
|
||
/***/ },
|
||
/* 14 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("module.exports = {\n\t\"SAY_HI\": \"Bonjour\",\n\t\"EDIT_TAB\": \"Edition / Creation\",\n\t\"PREVIEW_TAB\": \"Aperçu\",\n\t\"WIZARD_LINES\": \"lignes\",\n\t\"WIZARD_LAYOUT\": \"disposition\",\n\t\"WIZARD_CONTROLS\": \"contrôles\",\n\t\"WIZARD_SAVE\": \"sauvegarder\",\n\t\"PAGER_PREVIOUS\": \"Précédent\",\n\t\"PAGER_NEXT\": \"Suivant\",\n\t\"COMMAND_PANEL\": \"Commandes\",\n\t\"VISUAL_PANEL\": \"Visuel\",\n\t\"ADD_NEW_LINE\": \"Ajouter une nouvelle ligne\",\n\t\"SELECTED_LINE\": \"Ligne sélectionnée\",\n\t\"NUMBER_OF_COLUMN\": \"nombre de colonnes\",\n\t\"APPLY_CTRL2COL\": \"Appliquer les contrôles aux colonnes\",\n\t\"CLIC_TAP_2_OPEN\": \"Cliquer sur une colonne pour ouvrir le menu d'édition\",\n\t\"SELECT_2_APPLY_COL\": \"Sélectionner un contrôle puis valider pour l'appliquer à la colonne\",\n\t\"CUSTOM_SUBMIT_BTN\": \"Personnaliser le texte du bouton envoie\",\n\t\"CUSTOM_CANCEL_BTN\": \"Personnaliser le texte du bouton annuler\",\n\t\"NAME_THIS_FORM\": \"Nommer le formulaire\",\n\t\"SAVE_THIS_FORM\": \"sauvegarder le formulaire\",\n\t\"FINAL_STEP\": \"Dernière étape : aperçu du formulaire\",\n\t\"DATA_MODEL\": \"MODELE DE DONNEES\",\n\t\"FIELDS_MODEL\": \"MODELE DES CHAMPS (modèle compatible base de données)\",\n\t\"SELECT_A_CTRL\": \"Sélectionner un contrôle\",\n\t\"SELECT_CTRL_IN_LIST\": \"Sélectionner un contrôle dans la liste ci-dessous\",\n\t\"COL_WILL_BE_BLANK\": \"La colonne sera vide\",\n\t\"EDIT_PROPERTIES\": \"Editer les propriétés\",\n\t\"HEADER_TEXT\": \"Texte du titre principal\",\n\t\"ADD_EDIT_HEADER_HERE\": \"Editer le textes du titre principal\",\n\t\"SUBTITLE_TEXT\": \"Texte du sous-titre\",\n\t\"ADD_EDIT_SUBTIL_HERE\": \"Editer le textes du sous-titre\",\n\t\"LABEL_TEXT\": \"Texte de l'étiquette\",\n\t\"ADD_EDIT_LABEL_HERE\": \"Editer le texte de l'étiquette\",\n\t\"PLACEHOLDER\": \"placeholder\",\n\t\"ADD_EDIT_PLACEHOLD\": \"Editer le placeholder\",\n\t\"REQUIRED\": \"Requis\",\n\t\"DESCRIPTION\": \"Description\",\n\t\"ADDEDIT_DESCRIPTION\": \"Ajouter / editer la description\",\n\t\"DEFAULTVALUE\": \"Valeur par défaut\",\n\t\"ADD_EDIT_DEFAULTVALUE_PLACEHOLD\": \"Ajouter / modifier la valeur par défaut ici\",\n\t\"DATE_FORMAT\": \"Format de la date\",\n\t\"ADD_NEW_RADIO\": \"Ajouter un nouveau choix à cocher\",\n\t\"ADD_RADIO_PLACEHOLD\": \"Ajouter un nouveau choix à cocher\",\n\t\"EDIT_REMOVE_RADIO\": \"Editer / supprimer un choix à cocher\",\n\t\"NO_RADIO_ADD_NEW\": \"aucun choix à cocher : en ajouter un\",\n\t\"SEARCH_4_OPTION\": \"rechercher une option\",\n\t\"ADD\": \"ajouter\",\n\t\"ORDER\": \"ordre\",\n\t\"OPTION\": \"option\",\n\t\"GROUP\": \"groupe\",\n\t\"ADD_NEW_OPTIONS\": \"Ajouter de nouvelles options\",\n\t\"ADD_A_NEW_OPTION\": \"ajoutre une option\",\n\t\"EDIT_REMOVE_OPTIONS\": \"Editer / supprimer des options\",\n\t\"NO_OPTION_ADD_NEW\": \"aucune option : en ajouter\",\n\t\"ADD_NEW_GROUPS\": \"Ajouter de nouveaux groupes\",\n\t\"ADD_A_NEW_GROUP\": \"Ajouter un nouveau groupe\",\n\t\"EDIT_GROUPS_OPTIONS\": \"Editer / supprimer les groupes et options\",\n\t\"NO_GROUP_ADD_NEW\": \"ajouter de nouveaux groupes\",\n\t\"OK\": \"Valider\",\n\t\"CANCEL\": \"Annuler\"\n};//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvaTE4bi9sb2NhbC1mci5qc29uPzk2YzEiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0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xuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL3NyYy9hcHAvc3RlcHdheS9pMThuL2xvY2FsLWZyLmpzb25cbi8vIG1vZHVsZSBpZCA9IDE0XG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJzb3VyY2VSb290IjoiIn0=");
|
||
|
||
/***/ },
|
||
/* 15 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("module.exports = {\n\t\"SAY_HI\": \"Hola\",\n\t\"EDIT_TAB\": \"Editar / Crear\",\n\t\"PREVIEW_TAB\": \"Previsualizar\",\n\t\"WIZARD_LINES\": \"lineas\",\n\t\"WIZARD_LAYOUT\": \"diseño\",\n\t\"WIZARD_CONTROLS\": \"controles\",\n\t\"WIZARD_SAVE\": \"guardar\",\n\t\"PAGER_PREVIOUS\": \"Anterior\",\n\t\"PAGER_NEXT\": \"Siguiente\",\n\t\"COMMAND_PANEL\": \"Comando\",\n\t\"VISUAL_PANEL\": \"Visual\",\n\t\"ADD_NEW_LINE\": \"Agregar nueva linea\",\n\t\"SELECTED_LINE\": \"Linea seleccionada\",\n\t\"NUMBER_OF_COLUMN\": \"numero de columnas\",\n\t\"APPLY_CTRL2COL\": \"Aplicar controles a columnas\",\n\t\"CLIC_TAP_2_OPEN\": \"Click / Toque en la columna para seleccionar controles\",\n\t\"SELECT_2_APPLY_COL\": \"Selecciona el control deseado para aplicarlo a la columna\",\n\t\"CUSTOM_SUBMIT_BTN\": \"Personalizar texto de boton Enviar\",\n\t\"CUSTOM_CANCEL_BTN\": \"Personalizar texto de boton Cancelar\",\n\t\"NAME_THIS_FORM\": \"Nombrar formulario\",\n\t\"SAVE_THIS_FORM\": \"guardar formulario\",\n\t\"FINAL_STEP\": \"Ultimo paso : previsualizar formulario\",\n\t\"DATA_MODEL\": \"MODELO DE DATOS\",\n\t\"FIELDS_MODEL\": \"MODELO DE CAMPOS (listo para guardar en base de datos uno)\",\n\t\"SELECT_A_CTRL\": \"Selecciona un control\",\n\t\"SELECT_CTRL_IN_LIST\": \"Selecciona un control de la lista\",\n\t\"COL_WILL_BE_BLANK\": \"Columna sera vacia\",\n\t\"EDIT_PROPERTIES\": \"Editar propiedades\",\n\t\"HEADER_TEXT\": \"Texto de encabezado\",\n\t\"ADD_EDIT_HEADER_HERE\": \"Agregar / editar texto de encabezado aqui\",\n\t\"SUBTITLE_TEXT\": \"Texto de subtitulo\",\n\t\"ADD_EDIT_SUBTIL_HERE\": \"Agregar / editar texto de subtitulo aqui\",\n\t\"LABEL_TEXT\": \"Texto de etiqueta\",\n\t\"ADD_EDIT_LABEL_HERE\": \"Agregar / editar texto de etiqueta aqui\",\n\t\"PLACEHOLDER\": \"Marcador\",\n\t\"ADD_EDIT_PLACEHOLD\": \"Agregar / editar texto de marcador aqui\",\n\t\"REQUIRED\": \"Requerido\",\n\t\"DESCRIPTION\": \"Descripcion\",\n\t\"ADDEDIT_DESCRIPTION\": \"Agregar / editar descripcion aqui\",\n\t\"DEFAULTVALUE\": \"Valor por defecto\",\n\t\"ADD_EDIT_DEFAULTVALUE_PLACEHOLD\": \"Añadir / editar valor predeterminado aquí\",\n\t\"DATE_FORMAT\": \"Formato de fecha\",\n\t\"ADD_NEW_RADIO\": \"Agregar nuevo radio\",\n\t\"ADD_RADIO_PLACEHOLD\": \"agregar nuevo radio\",\n\t\"EDIT_REMOVE_RADIO\": \"Editar/Eliminar radio\",\n\t\"NO_RADIO_ADD_NEW\": \"sin radio : agregar nuevos valores de radio\",\n\t\"SEARCH_4_OPTION\": \"buscar opcion\",\n\t\"ADD\": \"agregar\",\n\t\"ORDER\": \"orden\",\n\t\"OPTION\": \"opcion\",\n\t\"GROUP\": \"grupo\",\n\t\"ADD_NEW_OPTIONS\": \"agregar nuevas opciones\",\n\t\"ADD_A_NEW_OPTION\": \"agregar nueva opcione\",\n\t\"EDIT_REMOVE_OPTIONS\": \"Editar/Eliminar opciones\",\n\t\"NO_OPTION_ADD_NEW\": \"sin opcion : agregar nuevas opciones\",\n\t\"ADD_NEW_GROUPS\": \"Agregar nuevos grupos\",\n\t\"ADD_A_NEW_GROUP\": \"Agregar nuevo grupo\",\n\t\"EDIT_GROUPS_OPTIONS\": \"Editar/Eliminar opciones/grupos\",\n\t\"NO_GROUP_ADD_NEW\": \"agregar nuevos grupos\",\n\t\"OK\": \"OK\",\n\t\"CANCEL\": \"Cancelar\"\n};//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvaTE4bi9sb2NhbC1lcy5qc29uPzY5ZDYiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwiZmlsZSI6IjE1LmpzIiwic291cmNlc0NvbnRlbnQiOlsibW9kdWxlLmV4cG9ydHMgPSB7XG5cdFwiU0FZX0hJXCI6IFwiSG9sYVwiLFxuXHRcIkVESVRfVEFCXCI6IFwiRWRpdGFyIC8gQ3JlYXJcIixcblx0XCJQUkVWSUVXX1RBQlwiOiBcIlByZXZpc3VhbGl6YXJcIixcblx0XCJXS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hZ3JlZ2FyIG51ZXZhcyBvcGNpb25lc1wiLFxuXHRcIkFERF9BX05FV19PUFRJT05cIjogXCJhZ3JlZ2FyIG51ZXZhIG9wY2lvbmVcIixcblx0XCJFRElUX1JFTU9WRV9PUFRJT05TXCI6IFwiRWRpdGFyL0VsaW1pbmFyIG9wY2lvbmVzXCIsXG5cdFwiTk9fT1BUSU9OX0FERF9ORVdcIjogXCJzaW4gb3BjaW9uIDogYWdyZWdhciBudWV2YXMgb3BjaW9uZXNcIixcblx0XCJBRERfTkVXX0dST1VQU1wiOiBcIkFncmVnYXIgbnVldm9zIGdydXBvc1wiLFxuXHRcIkFERF9BX05FV19HUk9VUFwiOiBcIkFncmVnYXIgbnVldm8gZ3J1cG9cIixcblx0XCJFRElUX0dST1VQU19PUFRJT05TXCI6IFwiRWRpdGFyL0VsaW1pbmFyIG9wY2lvbmVzL2dydXBvc1wiLFxuXHRcIk5PX0dST1VQX0FERF9ORVdcIjogXCJhZ3JlZ2FyIG51ZXZvcyBncnVwb3NcIixcblx0XCJPS1wiOiBcIk9LXCIsXG5cdFwiQ0FOQ0VMXCI6IFwiQ2FuY2VsYXJcIlxufTtcblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL3NyYy9hcHAvc3RlcHdheS9pMThuL2xvY2FsLWVzLmpzb25cbi8vIG1vZHVsZSBpZCA9IDE1XG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJzb3VyY2VSb290IjoiIn0=");
|
||
|
||
/***/ },
|
||
/* 16 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("module.exports = {\n\t\"SAY_HI\": \"Hallo\",\n\t\"EDIT_TAB\": \"Bearbeiten / Schaffen\",\n\t\"PREVIEW_TAB\": \"Vorschau\",\n\t\"WIZARD_LINES\": \"Linien\",\n\t\"WIZARD_LAYOUT\": \"Layout\",\n\t\"WIZARD_CONTROLS\": \"Steuerung\",\n\t\"WIZARD_SAVE\": \"sparen\",\n\t\"PAGER_PREVIOUS\": \"vorher.\",\n\t\"PAGER_NEXT\": \"nächste\",\n\t\"COMMAND_PANEL\": \"Anweisung\",\n\t\"VISUAL_PANEL\": \"visuell\",\n\t\"ADD_NEW_LINE\": \"Hinzufügen neuer Leitung\",\n\t\"SELECTED_LINE\": \"ausgewählte Linie\",\n\t\"NUMBER_OF_COLUMN\": \"Anzahl von Spalten\",\n\t\"APPLY_CTRL2COL\": \"gelten diese Steuer Spalte\",\n\t\"CLIC_TAP_2_OPEN\": \"klicken Sie auf Spalte zur Steuerungsauswahl öffnen\",\n\t\"SELECT_2_APPLY_COL\": \"Wählen Sie die gewünschte Steuerung und gültig , um es in Spalte anwenden\",\n\t\"CUSTOM_SUBMIT_BTN\": \"Passen Submit-Button Text\",\n\t\"CUSTOM_CANCEL_BTN\": \"Passen Cancel-Button Text\",\n\t\"NAME_THIS_FORM\": \"Nennen dieses Formular\",\n\t\"SAVE_THIS_FORM\": \"Speichern dieses Formular\",\n\t\"FINAL_STEP\": \"Endschritt : Formular Vorschau\",\n\t\"DATA_MODEL\": \"DATEN MODELL\",\n\t\"FIELDS_MODEL\": \"FELDER MODELL (Datenbank-kompatibel)\",\n\t\"SELECT_A_CTRL\": \"Wählen Sie ein Steuer\",\n\t\"SELECT_CTRL_IN_LIST\": \"Wählen Sie ein Steuer aus der Liste unten\",\n\t\"COL_WILL_BE_BLANK\": \"die Spalte werde leer sein\",\n\t\"EDIT_PROPERTIES\": \"Anzeigen\",\n\t\"HEADER_TEXT\": \"Kopftext\",\n\t\"ADD_EDIT_HEADER_HERE\": \"Kopftext ändern\",\n\t\"SUBTITLE_TEXT\": \"Untertitel\",\n\t\"ADD_EDIT_SUBTIL_HERE\": \"Untertitel ändern\",\n\t\"LABEL_TEXT\": \"Etikett\",\n\t\"ADD_EDIT_LABEL_HERE\": \"Etikett ändern\",\n\t\"PLACEHOLDER\": \"placeholder\",\n\t\"ADD_EDIT_PLACEHOLD\": \"placeholder ändern\",\n\t\"REQUIRED\": \"erforderlich\",\n\t\"DESCRIPTION\": \"Beschreibung\",\n\t\"ADDEDIT_DESCRIPTION\": \"Beschreibung ändern\",\n\t\"DEFAULTVALUE\": \"Standardwert\",\n\t\"ADD_EDIT_DEFAULTVALUE_PLACEHOLD\": \"Hier können Sie den Standardwert hinzufügen / bearbeiten\",\n\t\"DATE_FORMAT\": \"Datumsformat\",\n\t\"ADD_NEW_RADIO\": \"Radiobutton hinzufügen\",\n\t\"ADD_RADIO_PLACEHOLD\": \"Radiobutton hinzufügen\",\n\t\"EDIT_REMOVE_RADIO\": \"Radiobutton ändern\",\n\t\"NO_RADIO_ADD_NEW\": \"kein Radiobutton : Radiobutton hinzufügen\",\n\t\"SEARCH_4_OPTION\": \"option suchen\",\n\t\"ADD\": \"hinzufügen\",\n\t\"ORDER\": \"bestellen\",\n\t\"OPTION\": \"Option\",\n\t\"GROUP\": \"Gruppe\",\n\t\"ADD_NEW_OPTIONS\": \"Optionen hinzufügen\",\n\t\"ADD_A_NEW_OPTION\": \"Option hinzufügen\",\n\t\"EDIT_REMOVE_OPTIONS\": \"Optionen ändern\",\n\t\"NO_OPTION_ADD_NEW\": \"kein option : Option hinzufügen\",\n\t\"ADD_NEW_GROUPS\": \"Gruppen hinzufügen\",\n\t\"ADD_A_NEW_GROUP\": \"Gruppe hinzufügen\",\n\t\"EDIT_GROUPS_OPTIONS\": \"Gruppen ändern\",\n\t\"NO_GROUP_ADD_NEW\": \"keine Gruppe : Gruppe hinzufügen\",\n\t\"OK\": \"bestätigen\",\n\t\"CANCEL\": \"stornieren\"\n};//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvaTE4bi9sb2NhbC1kZS5qc29uPzEwY2IiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO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cIjogXCJzdG9ybmllcmVuXCJcbn07XG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9zcmMvYXBwL3N0ZXB3YXkvaTE4bi9sb2NhbC1kZS5qc29uXG4vLyBtb2R1bGUgaWQgPSAxNlxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwic291cmNlUm9vdCI6IiJ9");
|
||
|
||
/***/ },
|
||
/* 17 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("module.exports = {\n\t\"SAY_HI\": \"Merhaba\",\n\t\"EDIT_TAB\": \"Düzenle / Oluştur\",\n\t\"PREVIEW_TAB\": \"Önizleme\",\n\t\"WIZARD_LINES\": \"satırlar\",\n\t\"WIZARD_LAYOUT\": \"düzen\",\n\t\"WIZARD_CONTROLS\": \"kontroller\",\n\t\"WIZARD_SAVE\": \"kaydet\",\n\t\"PAGER_PREVIOUS\": \"Geri\",\n\t\"PAGER_NEXT\": \"İleri\",\n\t\"COMMAND_PANEL\": \"Komut\",\n\t\"VISUAL_PANEL\": \"Görsel\",\n\t\"ADD_NEW_LINE\": \"Yeni satır ekle\",\n\t\"SELECTED_LINE\": \"Seçili satır\",\n\t\"NUMBER_OF_COLUMN\": \"sütun sayısı\",\n\t\"APPLY_CTRL2COL\": \"Sütunlara form ögesi ekle\",\n\t\"CLIC_TAP_2_OPEN\": \"Form ögesi eklemek için sütunlara tıkla\",\n\t\"SELECT_2_APPLY_COL\": \"İstediğin ögeyi seçtikten sonra gerekli yerleri doldur ve kaydet\",\n\t\"CUSTOM_SUBMIT_BTN\": \"Gönder butonu yazısını düzenle\",\n\t\"CUSTOM_CANCEL_BTN\": \"İptal butonu yazısını düzenle\",\n\t\"NAME_THIS_FORM\": \"Forma isim ver\",\n\t\"SAVE_THIS_FORM\": \"formu kaydet\",\n\t\"FINAL_STEP\": \"Son aşama : form önizlemesi\",\n\t\"DATA_MODEL\": \"VERİ MODELİ\",\n\t\"FIELDS_MODEL\": \"ALAN MODELİ (veritabanına kaydetmeye hazır)\",\n\t\"SELECT_A_CTRL\": \"Form ögesi seç\",\n\t\"SELECT_CTRL_IN_LIST\": \"Verilen listeden bir form ögesi seç\",\n\t\"COL_WILL_BE_BLANK\": \"Sütun boş kalacak\",\n\t\"EDIT_PROPERTIES\": \"Özellikleri düzenle\",\n\t\"HEADER_TEXT\": \"Başlık yazısı\",\n\t\"ADD_EDIT_HEADER_HERE\": \"Başlık yazısını ekle / düzenle\",\n\t\"SUBTITLE_TEXT\": \"Altyazı\",\n\t\"ADD_EDIT_SUBTIL_HERE\": \"Altyazı ekle / düzenle\",\n\t\"LABEL_TEXT\": \"Form ögesinin adı\",\n\t\"ADD_EDIT_LABEL_HERE\": \"Ad ekle / düzenle\",\n\t\"PLACEHOLDER\": \"Form ögesinin içine geçici yazı ekle\",\n\t\"ADD_EDIT_PLACEHOLD\": \"Geçici yazı ekle / düzenle\",\n\t\"REQUIRED\": \"Gerekli\",\n\t\"DESCRIPTION\": \"Açıklama\",\n\t\"ADDEDIT_DESCRIPTION\": \"Açıklama ekle / düzenle\",\n\t\"DEFAULTVALUE\": \"Varsayılan değer\",\n\t\"ADD_EDIT_DEFAULTVALUE_PLACEHOLD\": \"Varsayılan değeri buraya ekleyin / düzenle\",\n\t\"DATE_FORMAT\": \"Tarih formatı\",\n\t\"ADD_NEW_RADIO\": \"Radio butonu ekle\",\n\t\"ADD_RADIO_PLACEHOLD\": \"radio butonu ekle\",\n\t\"EDIT_REMOVE_RADIO\": \"Radio butonunu ekle / düzenle\",\n\t\"NO_RADIO_ADD_NEW\": \"radio butonu yok : yeni buton ekle\",\n\t\"SEARCH_4_OPTION\": \"seçenek ara\",\n\t\"ADD\": \"ekle\",\n\t\"ORDER\": \"sıra\",\n\t\"OPTION\": \"seçenek\",\n\t\"GROUP\": \"grup\",\n\t\"ADD_NEW_OPTIONS\": \"Yeni seçenek ekle\",\n\t\"ADD_A_NEW_OPTION\": \"yeni seçenek ekle\",\n\t\"EDIT_REMOVE_OPTIONS\": \"Seçenekleri düzenle/sil\",\n\t\"NO_OPTION_ADD_NEW\": \"seçenek yok : yeni seçenek ekle\",\n\t\"ADD_NEW_GROUPS\": \"Yeni grup ekle\",\n\t\"ADD_A_NEW_GROUP\": \"Yeni grup ekle\",\n\t\"EDIT_GROUPS_OPTIONS\": \"Seçenek/Grup Ekle/sil\",\n\t\"NO_GROUP_ADD_NEW\": \"yeni grup ekle\",\n\t\"OK\": \"TAMAM\",\n\t\"CANCEL\": \"İptal\"\n};//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvaTE4bi9sb2NhbC10ci5qc29uPzM0NzgiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwiZmlsZSI6IjE3LmpzIiwic291cmNlc0NvbnRlbnQiOlsibW9kdWxlLmV4cG9ydHMgPSB7XG5cdFwiU0FZX0hJXCI6IFwiTWVyaGFiYVwiLFxuXHRcIkVESVRfVEFCXCI6IFwiRMO8emVubGUgLyBPbH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ERfQV9ORVdfT1BUSU9OXCI6IFwieWVuaSBzZcOnZW5layBla2xlXCIsXG5cdFwiRURJVF9SRU1PVkVfT1BUSU9OU1wiOiBcIlNlw6dlbmVrbGVyaSBkw7x6ZW5sZS9zaWxcIixcblx0XCJOT19PUFRJT05fQUREX05FV1wiOiBcInNlw6dlbmVrIHlvayA6IHllbmkgc2XDp2VuZWsgZWtsZVwiLFxuXHRcIkFERF9ORVdfR1JPVVBTXCI6IFwiWWVuaSBncnVwIGVrbGVcIixcblx0XCJBRERfQV9ORVdfR1JPVVBcIjogXCJZZW5pIGdydXAgZWtsZVwiLFxuXHRcIkVESVRfR1JPVVBTX09QVElPTlNcIjogXCJTZcOnZW5lay9HcnVwIEVrbGUvc2lsXCIsXG5cdFwiTk9fR1JPVVBfQUREX05FV1wiOiBcInllbmkgZ3J1cCBla2xlXCIsXG5cdFwiT0tcIjogXCJUQU1BTVwiLFxuXHRcIkNBTkNFTFwiOiBcIsSwcHRhbFwiXG59O1xuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vc3JjL2FwcC9zdGVwd2F5L2kxOG4vbG9jYWwtdHIuanNvblxuLy8gbW9kdWxlIGlkID0gMTdcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sInNvdXJjZVJvb3QiOiIifQ==");
|
||
|
||
/***/ },
|
||
/* 18 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("module.exports = {\n\t\"SAY_HI\": \"こんにちわ\",\n\t\"EDIT_TAB\": \"編集 / 作成\",\n\t\"PREVIEW_TAB\": \"プレビュー\",\n\t\"WIZARD_LINES\": \"ライン\",\n\t\"WIZARD_LAYOUT\": \"レイアウト\",\n\t\"WIZARD_CONTROLS\": \"コントロール\",\n\t\"WIZARD_SAVE\": \"サーブ\",\n\t\"PAGER_PREVIOUS\": \"前\",\n\t\"PAGER_NEXT\": \"次\",\n\t\"COMMAND_PANEL\": \"コマンド\",\n\t\"VISUAL_PANEL\": \"ビジュアル\",\n\t\"ADD_NEW_LINE\": \"新しいライン追加\",\n\t\"SELECTED_LINE\": \"選択されたライン\",\n\t\"NUMBER_OF_COLUMN\": \"カラムの数\",\n\t\"APPLY_CTRL2COL\": \"カラムにコントロール適用\",\n\t\"CLIC_TAP_2_OPEN\": \"コントロール選択を広げるには列をクリック\",\n\t\"SELECT_2_APPLY_COL\": \"好きなコントロールを選び適用\",\n\t\"CUSTOM_SUBMIT_BTN\": \"適用ボタンの文字変更する場合\",\n\t\"CUSTOM_CANCEL_BTN\": \"キャンセルボタンの文字変更する場合\",\n\t\"NAME_THIS_FORM\": \"形式に名前を付ける\",\n\t\"SAVE_THIS_FORM\": \"形式をサーブ\",\n\t\"FINAL_STEP\": \"ファイナルステップ : プレビュー形式\",\n\t\"DATA_MODEL\": \"データーモデル\",\n\t\"FIELDS_MODEL\": \"モデルフィールド\",\n\t\"SELECT_A_CTRL\": \"コントロールを選び選択\",\n\t\"SELECT_CTRL_IN_LIST\": \"以下のリストからコントロールを選び選択\",\n\t\"COL_WILL_BE_BLANK\": \"空になる列\",\n\t\"EDIT_PROPERTIES\": \"プロパティの変更\",\n\t\"HEADER_TEXT\": \"ヘッダーテキスト\",\n\t\"ADD_EDIT_HEADER_HERE\": \"ヘッダーテキスト文字変更\",\n\t\"SUBTITLE_TEXT\": \"サブタイトル テキスト\",\n\t\"ADD_EDIT_SUBTIL_HERE\": \"サブタイトルテキスト文字変更\",\n\t\"LABEL_TEXT\": \"ラベルテキスト\",\n\t\"ADD_EDIT_LABEL_HERE\": \"ラベルテキスト文字変更\",\n\t\"PLACEHOLDER\": \"プレースホルダー\",\n\t\"ADD_EDIT_PLACEHOLD\": \"プレースホルダー文字変更\",\n\t\"REQUIRED\": \"必須\",\n\t\"DESCRIPTION\": \"説明\",\n\t\"ADDEDIT_DESCRIPTION\": \"説明の変更\",\n\t\"DEFAULTVALUE\": \"デフォルト値\",\n\t\"ADD_EDIT_DEFAULTVALUE_PLACEHOLD\": \"ここにデフォルト値を追加/編集する\",\n\t\"DATE_FORMAT\": \"日付の形式\",\n\t\"ADD_NEW_RADIO\": \"新ラジオボタンを追加\",\n\t\"ADD_RADIO_PLACEHOLD\": \"新ラジオボタンを追加\",\n\t\"EDIT_REMOVE_RADIO\": \"ラジオボタン変更\",\n\t\"NO_RADIO_ADD_NEW\": \"ラジオ無し : 新ラジオボタン追加\",\n\t\"SEARCH_4_OPTION\": \"オプション検索\",\n\t\"ADD\": \"追加\",\n\t\"ORDER\": \"順番\",\n\t\"OPTION\": \"オプション\",\n\t\"GROUP\": \"グループ\",\n\t\"ADD_NEW_OPTIONS\": \"新しいオプション追加\",\n\t\"ADD_A_NEW_OPTION\": \"新しいオプション追加\",\n\t\"EDIT_REMOVE_OPTIONS\": \"オプションの変更\",\n\t\"NO_OPTION_ADD_NEW\": \"オプション無し : 新しいオプション追加\",\n\t\"ADD_NEW_GROUPS\": \"新しいグループ追加\",\n\t\"ADD_A_NEW_GROUP\": \"新しいグループ追加\",\n\t\"EDIT_GROUPS_OPTIONS\": \"グループを変更\",\n\t\"NO_GROUP_ADD_NEW\": \"グループを追加\",\n\t\"OK\": \"オッケー\",\n\t\"CANCEL\": \"キャンセル\"\n};//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvaTE4bi9sb2NhbC1qcC5qc29uPzlkMjUiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0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cblx0XCJOT19HUk9VUF9BRERfTkVXXCI6IFwi44Kw44Or44O844OX44KS6L+95YqgXCIsXG5cdFwiT0tcIjogXCLjgqrjg4PjgrHjg7xcIixcblx0XCJDQU5DRUxcIjogXCLjgq3jg6Pjg7Pjgrvjg6tcIlxufTtcblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL3NyYy9hcHAvc3RlcHdheS9pMThuL2xvY2FsLWpwLmpzb25cbi8vIG1vZHVsZSBpZCA9IDE4XG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJzb3VyY2VSb290IjoiIn0=");
|
||
|
||
/***/ },
|
||
/* 19 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("module.exports = {\n\t\"SAY_HI\": \"Olá\",\n\t\"EDIT_TAB\": \"Editar / Criar\",\n\t\"PREVIEW_TAB\": \"Pré-visualizar\",\n\t\"WIZARD_LINES\": \"linhas\",\n\t\"WIZARD_LAYOUT\": \"layout\",\n\t\"WIZARD_CONTROLS\": \"controles\",\n\t\"WIZARD_SAVE\": \"salvar\",\n\t\"PAGER_PREVIOUS\": \"Anterior\",\n\t\"PAGER_NEXT\": \"Próximo\",\n\t\"COMMAND_PANEL\": \"Comando\",\n\t\"VISUAL_PANEL\": \"Visual\",\n\t\"ADD_NEW_LINE\": \"Adicionar uma nova linha\",\n\t\"SELECTED_LINE\": \"Linha selecionada\",\n\t\"NUMBER_OF_COLUMN\": \"número de colunas\",\n\t\"APPLY_CTRL2COL\": \"Aplicar controles às colunas\",\n\t\"CLIC_TAP_2_OPEN\": \"Click / Toque em uma coluna para abrir controle de seleção\",\n\t\"SELECT_2_APPLY_COL\": \"Selecione o controle desejado para aplicar a esta coluna\",\n\t\"CUSTOM_SUBMIT_BTN\": \"Customizar texto do botão Enviar\",\n\t\"CUSTOM_CANCEL_BTN\": \"Customizar texto do botão Cancelar\",\n\t\"NAME_THIS_FORM\": \"Nome deste formulário\",\n\t\"SAVE_THIS_FORM\": \"Salvar este formulário\",\n\t\"FINAL_STEP\": \"Passo final : Visualizar formulário\",\n\t\"DATA_MODEL\": \"Modelo de dados\",\n\t\"FIELDS_MODEL\": \"Modelo de campos (pronto para salvar na base de dados)\",\n\t\"SELECT_A_CTRL\": \"Selecionar um controle\",\n\t\"SELECT_CTRL_IN_LIST\": \"Selecionar um controle na lista a seguir\",\n\t\"COL_WILL_BE_BLANK\": \"Coluna ficará em branco\",\n\t\"EDIT_PROPERTIES\": \"Editar propriedades\",\n\t\"HEADER_TEXT\": \"Texto do cabeçalho\",\n\t\"ADD_EDIT_HEADER_HERE\": \"Adicionar / editar o texto do cabeçalho aqui\",\n\t\"SUBTITLE_TEXT\": \"Texto da legenda\",\n\t\"ADD_EDIT_SUBTIL_HERE\": \"Adicionar /Editar o texto da legenda aqui\",\n\t\"LABEL_TEXT\": \"Texto do label\",\n\t\"ADD_EDIT_LABEL_HERE\": \"Adicionar / Editar texto do controle label aqui\",\n\t\"PLACEHOLDER\": \"placeholder\",\n\t\"ADD_EDIT_PLACEHOLD\": \"Adicionar / editar texto do placeholder aqui\",\n\t\"REQUIRED\": \"Obrigatório\",\n\t\"DESCRIPTION\": \"Descrição\",\n\t\"ADDEDIT_DESCRIPTION\": \"Adicionar / editar descrição aqui\",\n\t\"DEFAULTVALUE\": \"Valor padrão\",\n\t\"ADD_EDIT_DEFAULTVALUE_PLACEHOLD\": \"Adicionar / editar valor padrão aqui\",\n\t\"DATE_FORMAT\": \"Formato da data\",\n\t\"ADD_NEW_RADIO\": \"Adicionar novo radio\",\n\t\"ADD_RADIO_PLACEHOLD\": \"Adicionar novo radio\",\n\t\"EDIT_REMOVE_RADIO\": \"Editar/Remover radio\",\n\t\"NO_RADIO_ADD_NEW\": \"nenhum radio : Adicionar novo valor ao radio \",\n\t\"SEARCH_4_OPTION\": \"procurar por opções\",\n\t\"ADD\": \"adicionar\",\n\t\"ORDER\": \"ordem\",\n\t\"OPTION\": \"opção\",\n\t\"GROUP\": \"grupo\",\n\t\"Add_NEW_OPTIONS\": \"Adicionar nova opção\",\n\t\"ADD_A_NEW_OPTION\": \"Adicionar nova opção\",\n\t\"EDIT_REMOVE_OPTIONS\": \"Editar/Remover opções\",\n\t\"NO_OPTION_ADD_NEW\": \"nenhuma opção : adicionar nova opções\",\n\t\"ADD_NEW_GROUPS\": \"Adicionar novos grupos\",\n\t\"ADD_A_NEW_GROUP\": \"adicionar novo grupo\",\n\t\"EDIT_GROUPS_OPTIONS\": \"Editar/Remover opções/grupos\",\n\t\"NO_GROUP_ADD_NEW\": \"adicionar novo grupo\",\n\t\"OK\": \"OK\",\n\t\"CANCEL\": \"Cancelar\"\n};//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvaTE4bi9sb2NhbC1wdC1ici5qc29uP2JmOWMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwiZmlsZSI6IjE5LmpzIiwic291cmNlc0NvbnRlbnQiOlsibW9kdWxlLmV4cG9ydHMgPSB7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/ },
|
||
/* 20 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n/* global angular */\nvar CORE_MODULES = ['textAngular', 'textAngularSetup', 'ngAnimate', 'toaster', 'formly', 'formlyBootstrap', 'ui.bootstrap', 'nya.bootstrap.select', 'pascalprecht.translate'];\n\nexports.default = angular.module('edaStepWayEasyFormGen.core', CORE_MODULES);//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvY29yZS9jb3JlLm1vZHVsZS5qcz9hMGFmIl0sIm5hbWVzIjpbIkNPUkVfTU9EVUxFUyIsImFuZ3VsYXIiLCJtb2R1bGUiXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUE7QUFDQSxJQUFNQSxlQUFlLENBQ25CLGFBRG1CLEVBRW5CLGtCQUZtQixFQUduQixXQUhtQixFQUluQixTQUptQixFQUtuQixRQUxtQixFQU1uQixpQkFObUIsRUFPbkIsY0FQbUIsRUFRbkIsc0JBUm1CLEVBU25CLHdCQVRtQixDQUFyQjs7a0JBWWVDLFFBQ0VDLE1BREYsQ0FDUyw0QkFEVCxFQUN1Q0YsWUFEdkMsQyIsImZpbGUiOiIyMC5qcyIsInNvdXJjZXNDb250ZW50IjpbIi8qIGdsb2JhbCBhbmd1bGFyICovXG5jb25zdCBDT1JFX01PRFVMRVMgPSBbXG4gICd0ZXh0QW5ndWxhcicsXG4gICd0ZXh0QW5ndWxhclNldHVwJyxcbiAgJ25nQW5pbWF0ZScsXG4gICd0b2FzdGVyJyxcbiAgJ2Zvcm1seScsXG4gICdmb3JtbHlCb290c3RyYXAnLFxuICAndWkuYm9vdHN0cmFwJyxcbiAgJ255YS5ib290c3RyYXAuc2VsZWN0JyxcbiAgJ3Bhc2NhbHByZWNodC50cmFuc2xhdGUnXG5dO1xuXG5leHBvcnQgZGVmYXVsdCBhbmd1bGFyXG4gICAgICAgICAgICAgICAgLm1vZHVsZSgnZWRhU3RlcFdheUVhc3lGb3JtR2VuLmNvcmUnLCBDT1JFX01PRFVMRVMpO1xuXG5cblxuLy8gV0VCUEFDSyBGT09URVIgLy9cbi8vIC4vc3JjL2FwcC9zdGVwd2F5L2NvcmUvY29yZS5tb2R1bGUuanMiXSwic291cmNlUm9vdCI6IiJ9");
|
||
|
||
/***/ },
|
||
/* 21 */
|
||
/***/ function(module, exports, __webpack_require__) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _stepwayMain = __webpack_require__(22);\n\nvar _stepwayMain2 = _interopRequireDefault(_stepwayMain);\n\nvar _stepwayMain3 = __webpack_require__(26);\n\nvar _stepwayMain4 = _interopRequireDefault(_stepwayMain3);\n\nvar _stepwayMain5 = __webpack_require__(28);\n\nvar _stepwayMain6 = _interopRequireDefault(_stepwayMain5);\n\nvar _stepwayMainPager = __webpack_require__(29);\n\nvar _stepwayMainPager2 = _interopRequireDefault(_stepwayMainPager);\n\nvar _stepwayMainStepIndicator = __webpack_require__(31);\n\nvar _stepwayMainStepIndicator2 = _interopRequireDefault(_stepwayMainStepIndicator);\n\nvar _stepwayMainStepZeroContent = __webpack_require__(33);\n\nvar _stepwayMainStepZeroContent2 = _interopRequireDefault(_stepwayMainStepZeroContent);\n\nvar _stepwayMainStepOneContent = __webpack_require__(37);\n\nvar _stepwayMainStepOneContent2 = _interopRequireDefault(_stepwayMainStepOneContent);\n\nvar _stepwayMainStepTwoContent = __webpack_require__(41);\n\nvar _stepwayMainStepTwoContent2 = _interopRequireDefault(_stepwayMainStepTwoContent);\n\nvar _stepwayMainStepThreeContent = __webpack_require__(45);\n\nvar _stepwayMainStepThreeContent2 = _interopRequireDefault(_stepwayMainStepThreeContent);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar STEP_WAY_MAIN_MODULE = 'easyFormStepwayMainModule';\n\nvar TO_INJECT = [_stepwayMainPager2.default.name, _stepwayMainStepIndicator2.default.name, _stepwayMainStepZeroContent2.default.name, _stepwayMainStepOneContent2.default.name, _stepwayMainStepTwoContent2.default.name, _stepwayMainStepThreeContent2.default.name];\n\nexports.default = angular.module(STEP_WAY_MAIN_MODULE, TO_INJECT).controller(_stepwayMain.STEP_WAY_MAIN_CONTROLLER_NAME, _stepwayMain2.default).directive(_stepwayMain3.STEP_WAY_DIRECTIVE_NAME, _stepwayMain4.default).provider(_stepwayMain5.EASY_FORM_STEP_WAY_CONFIG_NAME, _stepwayMain6.default);//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9tYWluL3N0ZXB3YXkubWFpbi5tb2R1bGUuanM/MGJmMSJdLCJuYW1lcyI6WyJTVEVQX1dBWV9NQUlOX01PRFVMRSIsIlRPX0lOSkVDVCIsIm5hbWUiLCJhbmd1bGFyIiwibW9kdWxlIiwiY29udHJvbGxlciIsImRpcmVjdGl2ZSIsInByb3ZpZGVyIl0sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQTs7OztBQUdBOzs7O0FBR0E7Ozs7QUFHQTs7OztBQUNBOzs7O0FBQ0E7Ozs7QUFDQTs7OztBQUNBOzs7O0FBQ0E7Ozs7OztBQUVBLElBQU9BLHVCQUF1QiwyQkFBOUI7O0FBRUEsSUFBTUMsWUFBWSxDQUNoQiwyQkFBWUMsSUFESSxFQUVoQixtQ0FBb0JBLElBRkosRUFHaEIscUNBQXNCQSxJQUhOLEVBSWhCLG9DQUFxQkEsSUFKTCxFQUtoQixvQ0FBcUJBLElBTEwsRUFNaEIsc0NBQXVCQSxJQU5QLENBQWxCOztrQkFTZUMsUUFDRUMsTUFERixDQUNTSixvQkFEVCxFQUMrQkMsU0FEL0IsRUFFRUksVUFGRixvRUFHRUMsU0F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fV0FZX0NPTkZJR19OQU1FLCAgIGVhc3lGb3JtU3RlV2F5Q29uZmlnKTtcblxuXG5cbi8vIFdFQlBBQ0sgRk9PVEVSIC8vXG4vLyAuL3NyYy9hcHAvc3RlcHdheS9jb21wb25lbnRzL21haW4vc3RlcHdheS5tYWluLm1vZHVsZS5qcyJdLCJzb3VyY2VSb290IjoiIn0=");
|
||
|
||
/***/ },
|
||
/* 22 */
|
||
/***/ function(module, exports, __webpack_require__) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.STEP_WAY_MAIN_CONTROLLERAS_NAME = exports.STEP_WAY_MAIN_CONTROLLER_NAME = 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; }; }();\n\nvar _stepwayMainController = __webpack_require__(23);\n\nvar _stepwayEditControlModalTemplate = __webpack_require__(24);\n\nvar _stepwayEditControlModalTemplate2 = _interopRequireDefault(_stepwayEditControlModalTemplate);\n\nvar _stepwayEditControlModal = __webpack_require__(25);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar STEP_WAY_MAIN_CONTROLLER_NAME = 'edaStepWayEasyFormGenController';\nvar STEP_WAY_MAIN_CONTROLLERAS_NAME = 'vm';\n\nvar edaStepWayEasyFormGenController = function () {\n function edaStepWayEasyFormGenController(easyFormGenVersion, $filter, toaster, $timeout, $uibModal, $log, $formlyProxy, $modalProxy, easyFormSteWayConfig) {\n _classCallCheck(this, edaStepWayEasyFormGenController);\n\n this.easyFormGenVersion = easyFormGenVersion;\n this.$filter = $filter;\n this.toaster = toaster;\n this.$timeout = $timeout;\n this.$modal = $uibModal;\n this.$log = $log;\n this.$formlyProxy = $formlyProxy;\n this.$modalProxy = $modalProxy;\n this.easyFormSteWayConfig = easyFormSteWayConfig;\n\n this.init();\n }\n\n _createClass(edaStepWayEasyFormGenController, [{\n key: 'init',\n value: function init() {\n\n this.dataModel = {};\n this.wfFormFields = [];\n this.wfFormFieldsOnlyNeededProperties = [];\n this.easyFormGeneratorVERSION = this.easyFormGenVersion;\n this.debug = (0, _stepwayMainController.initDebugModel)();\n this.tab = (0, _stepwayMainController.initTabModel)(this.easyFormSteWayConfig.isPreviewPanelVisible(), this.easyFormSteWayConfig.arePreviewModelsVisible());\n this.configuration = {}; //configuration model (contains array of lines which contains array of columns)\n this.numberOfColumns = 1;\n this.MaxNumberOfColumns = 3;\n this.MinNumberOfColumns = 1;\n this.columnTemplate = (0, _stepwayMainController.initColumnTemplate)(); //TODO : check is really needed\n this.lineTemplate = (0, _stepwayMainController.initLineTemplate)(); //TODO : check if really needed\n this.nyaSelect = {};\n this.animationsEnabled = this.easyFormSteWayConfig.getModalAnimationValue(); //-> disabling animation untill correction in angular bootstrap\n this.editControlModalSize = 'lg';\n this.formlyList = {};\n this.previewLoadedForm = { fieldsModel: [] };\n this.configurationLoaded = {};\n this.returnSaveEvent = false;\n //this.resetToZeroModel = resetToZeroModel; //function no more used\n this.$formlyProxy.initConfigurationEditFromScratch(this.configuration);\n this.$modalProxy.initNyaSelect(this.nyaSelect);\n }\n }, {\n key: 'onSubmit',\n value: function onSubmit() {\n var JSONedModel = this.$filter('json')(this.dataModel, 4);\n this.toaster.pop({\n type: 'info',\n timeout: 2000,\n title: 'it should save data model if it were not in editor',\n body: 'data : ' + JSONedModel,\n showCloseButton: true\n });\n }\n }, {\n key: 'countConfigurationModelLines',\n value: function countConfigurationModelLines() {\n this.debug.configurationModelNumberofLines = this.configuration.lines.length;\n return this.configuration.lines.length;\n }\n }, {\n key: 'setActiveLineNumber',\n value: function setActiveLineNumber(lineNumber) {\n if (lineNumber <= this.countConfigurationModelLines()) {\n this.configuration.activeLine = lineNumber;\n }\n }\n }, {\n key: 'upThisLine',\n value: function upThisLine(indexLine) {\n if (indexLine > -1) {\n if (this.configuration.lines[indexLine - 1]) {\n var currentLineObj = this.configuration.lines[indexLine];\n this.configuration.lines.splice(indexLine, 1);\n this.configuration.lines.splice(indexLine - 1, 0, currentLineObj);\n //manage selected aciveLine\n this.configuration.activeLine = 1;\n }\n }\n //re-render formfield\n this.$formlyProxy.applyConfigurationToformlyModel(this.configuration, this.wfFormFields, this.dataModel);\n this.wfFormFieldsOnlyNeededProperties = angular.copy(this.wfFormFields);\n }\n }, {\n key: 'downThisLine',\n value: function downThisLine(indexLine) {\n if (indexLine > -1) {\n if (this.configuration.lines[indexLine + 1]) {\n var currentLineObj = this.configuration.lines[indexLine];\n this.configuration.lines.splice(indexLine, 1);\n this.configuration.lines.splice(indexLine + 1, 0, currentLineObj);\n //manage selected aciveLine\n this.configuration.activeLine = 1;\n }\n }\n //re-render formfield\n this.$formlyProxy.applyConfigurationToformlyModel(this.configuration, this.wfFormFields, this.dataModel);\n this.wfFormFieldsOnlyNeededProperties = angular.copy(this.wfFormFields);\n }\n }, {\n key: 'addNewline',\n value: function addNewline() {\n this.configuration.lines.push((0, _stepwayMainController.initLineTemplate)());\n //re-render formfield\n this.$formlyProxy.applyConfigurationToformlyModel(this.configuration, this.wfFormFields, this.dataModel);\n this.wfFormFieldsOnlyNeededProperties = angular.copy(this.wfFormFields);\n }\n }, {\n key: 'removeThisLine',\n value: function removeThisLine(index) {\n if (index > -1) {\n if (this.configuration.lines.length > 1) {\n //manage selected aciveLine\n if (this.configuration.activeLine === index + 1) this.configuration.activeLine = 1;\n this.configuration.lines.splice(index, 1);\n } else {\n this.$timeout(function () {\n this.toaster.pop({\n type: 'warning',\n title: 'Last line',\n body: 'Can\\'t delete the last line',\n showCloseButton: true\n });\n }, 100);\n }\n //re-render formfield\n this.$formlyProxy.applyConfigurationToformlyModel(this.configuration, this.wfFormFields, this.dataModel);\n this.wfFormFieldsOnlyNeededProperties = angular.copy(this.wfFormFields);\n }\n }\n }, {\n key: 'increaseNumberOfColumns',\n value: function increaseNumberOfColumns() {\n var lineIndex = this.configuration.activeLine - 1;\n if (this.configuration.lines[lineIndex].columns.length < this.MaxNumberOfColumns) {\n\n var newNumberOfColumns = this.configuration.lines[lineIndex].columns.push(angular.copy((0, _stepwayMainController.initColumnTemplate)()));\n this.configuration.lines[lineIndex].columns[newNumberOfColumns - 1].numColumn = newNumberOfColumns;\n }\n //re-render formfield\n this.$formlyProxy.applyConfigurationToformlyModel(this.configuration, this.wfFormFields, this.dataModel);\n this.wfFormFieldsOnlyNeededProperties = angular.copy(this.wfFormFields);\n }\n }, {\n key: 'decreaseNumberOfColumns',\n value: function decreaseNumberOfColumns() {\n if (this.configuration.lines[this.configuration.activeLine - 1].columns.length > 1) {\n this.configuration.lines[this.configuration.activeLine - 1].columns.splice(this.configuration.lines[this.configuration.activeLine - 1].columns.length - 1, 1);\n }\n this.$formlyProxy.applyConfigurationToformlyModel(this.configuration, this.wfFormFields, this.dataModel);\n this.wfFormFieldsOnlyNeededProperties = angular.copy(this.wfFormFields);\n }\n }, {\n key: 'resetStepCounter',\n value: function resetStepCounter() {\n this.configuration.configStepCounter = 0;\n }\n }, {\n key: 'nextConfigStep',\n value: function nextConfigStep() {\n var configStepCounterMAX = this.configuration.listConfigStep.length - 1;\n if (this.configuration.configStepCounter !== configStepCounterMAX) {\n this.configuration.configStepCounter++;\n }\n this.setTrueThisStepIndicator(this.configuration.configStepCounter);\n }\n }, {\n key: 'resetAllIndicators',\n value: function resetAllIndicators() {\n for (var i = this.configuration.stepIndicators.length - 1; i >= 0; i--) {\n this.configuration.stepIndicators[i] = false;\n }\n }\n }, {\n key: 'setTrueThisStepIndicator',\n value: function setTrueThisStepIndicator(indexIndicator) {\n this.resetAllIndicators();\n this.configuration.stepIndicators[indexIndicator] = true;\n }\n }, {\n key: 'previousConfigStep',\n value: function previousConfigStep() {\n if (this.configuration.configStepCounter !== 0) {\n this.configuration.configStepCounter--;\n }\n this.setTrueThisStepIndicator(this.configuration.configStepCounter);\n }\n }, {\n key: 'goToStep',\n value: function goToStep(index) {\n this.configuration.configStepCounter = index;\n this.setTrueThisStepIndicator(this.configuration.configStepCounter);\n }\n }, {\n key: 'stepReachable',\n value: function stepReachable(indexStep) {\n if (indexStep < this.configuration.configStepCounter) {\n return 'disabled';\n } else {\n return 'enabled';\n }\n }\n }, {\n key: 'showModalAddCtrlToColumn',\n value: function showModalAddCtrlToColumn(size, indexLine, numcolumn) {\n var _this = this;\n\n var editControlModal = {};\n angular.extend(editControlModal, {\n animation: this.animationsEnabled,\n template: _stepwayEditControlModalTemplate2.default,\n controller: _stepwayEditControlModal.EDIT_MODAL_CONTROLLER_NAME,\n controllerAs: _stepwayEditControlModal.EDIT_MODAL_CONTROLLERAS_NAME,\n size: this.editControlModalSize,\n resolve: {\n nyaSelect: function nyaSelect() {\n return _this.$modalProxy.getNyASelectFromSelectedLineColumn(_this.nyaSelect, _this.configuration, indexLine, numcolumn);\n }\n }\n });\n\n var modalInstance = this.$modal.open(editControlModal);\n modalInstance.result.then(function (modalAddCtrlModel) {\n _this.$modalProxy.bindConfigurationModelFromModalReturn(indexLine, numcolumn, modalAddCtrlModel, _this.configuration);\n _this.$formlyProxy.applyConfigurationToformlyModel(_this.configuration, _this.wfFormFields, _this.dataModel);\n _this.wfFormFieldsOnlyNeededProperties = angular.copy(_this.wfFormFields);\n }, function () {\n //$log.info('Modal dismissed at: ' + new Date());\n });\n }\n }, {\n key: 'previewExistingform',\n value: function previewExistingform(formlyform) {\n var configlines = JSON.parse(formlyform.formlyField);\n //here to replace with $scope.configuration : initialise configuration with lines\n this.configurationLoaded = {};\n this.$formlyProxy.bindConfigurationLines(this.configurationLoaded, configlines);\n this.$formlyProxy.applyConfigurationToformlyModel(this.configurationLoaded, this.previewLoadedForm.fieldsModel, this.dataModel);\n this.wfFormFieldsOnlyNeededProperties = angular.copy(this.wfFormFields);\n this.previewLoadedForm.cancelButtonText = formlyform.cancelButtonText;\n this.previewLoadedForm.submitButtonText = formlyform.submitButtonText;\n }\n }, {\n key: 'saveThisForm',\n value: function saveThisForm() {\n if (typeof this.configuration.formName === 'undefined') {\n this.toaster.pop({\n type: 'warning',\n timeout: 2000,\n title: 'Form name is undefined',\n body: 'Form has not been saved.',\n showCloseButton: true\n });\n return false;\n }\n\n if (this.configuration.formName === '') {\n this.toaster.pop({\n type: 'warning',\n timeout: 2000,\n title: 'Form name is required',\n body: 'Form has not been saved.',\n showCloseButton: true\n });\n return false;\n }\n\n this.toaster.pop({\n type: 'wait',\n timeout: 3000,\n title: ': Form is being saved',\n body: '',\n showCloseButton: true\n });\n // this.toaster.clear();\n this.returnSaveEvent = true;\n\n return true;\n }\n }]);\n\n return edaStepWayEasyFormGenController;\n}();\n\nvar toInject = ['easyFormGenVersion', '$filter', 'toaster', '$timeout', '$uibModal', '$log', '$formlyProxy', '$modalProxy', 'easyFormSteWayConfig'];\n\nedaStepWayEasyFormGenController.$inject = toInject;\nexports.default = edaStepWayEasyFormGenController;\nexports.STEP_WAY_MAIN_CONTROLLER_NAME = STEP_WAY_MAIN_CONTROLLER_NAME;\nexports.STEP_WAY_MAIN_CONTROLLERAS_NAME = STEP_WAY_MAIN_CONTROLLERAS_NAME;//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9tYWluL3N0ZXB3YXkubWFpbi5jb250cm9sbGVyLmpzPzgxYzciXSwibmFtZXMiOlsiU1RFUF9XQVlfTUFJTl9DT05UUk9MTEVSX05BTUUiLCJTVEVQX1dBWV9NQUlOX0NPTlRST0xMRVJBU19OQU1FIiwiZWRhU3RlcFdheUVhc3l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NvbHVtbnMubGVuZ3RoIDwgdGhpcy5NYXhOdW1iZXJPZkNvbHVtbnMpIHtcblxuICAgIGNvbnN0IG5ld051bWJlck9mQ29sdW1ucyA9IHRoaXNcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLmNvbmZpZ3VyYXRpb25cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLmxpbmVzW2xpbmVJbmRleF1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLmNvbHVtbnNcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLnB1c2goYW5ndWxhci5jb3B5KGluaXRDb2x1bW5UZW1wbGF0ZSgpKSk7XG4gICAgICB0aGlzXG4gICAgICAgIC5jb25maWd1cmF0aW9uXG4gICAgICAgIC5saW5lc1tsaW5lSW5kZXhdXG4gICAgICAgIC5jb2x1bW5zW25ld051bWJlck9mQ29sdW1ucyAtIDFdXG4gICAgICAgIC5udW1Db2x1bW4gPSBuZXdOdW1iZXJPZkNvbHVtbnM7XG4gICAgICB9XG4gICAgICAvL3JlLXJlbmRlciBmb3JtZmllbGRcbiAgICAgIHRoaXMuJGZvcm1seVByb3h5LmFwcGx5Q29uZmlndXJhdGlvblRvZm9ybWx5TW9kZWwodGhpcy5jb25maWd1cmF0aW9uLCB0aGlzLndmRm9ybUZpZWxkcywgdGhpcy5kYXRhTW9kZWwpO1xuICAgICAgdGhpcy53ZkZvcm1GaWVsZHNPbmx5TmVlZGVkUHJvcGVydGllcyA9IGFuZ3VsYXIuY29weSh0aGlzLndmRm9ybUZpZWxkcyk7XG4gIH1cblxuXG4gIGRlY3JlYXNlTnVtYmVyT2ZDb2x1bW5zKCkge1xuICAgIGlmICh0aGlzXG4gICAgICAgICAgLmNvbmZpZ3VyYXRpb25cbiAgICAgICAgICAubGluZXNbdGhpcy5jb25maWd1cmF0aW9uLmFjdGl2ZUxpbmUgLTFdXG4gICAgICAgICAgLmNvbHVtbnMubGVuZ3RoID4gMSkge1xuICAg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iAzMDAwLFxuICAgICAgdGl0bGU6ICc6IEZvcm0gaXMgYmVpbmcgc2F2ZWQnLFxuICAgICAgYm9keTogJycsXG4gICAgICBzaG93Q2xvc2VCdXR0b246IHRydWVcbiAgICB9KTtcbiAgICAvLyB0aGlzLnRvYXN0ZXIuY2xlYXIoKTtcbiAgICB0aGlzLnJldHVyblNhdmVFdmVudCA9IHRydWU7XG5cbiAgICByZXR1cm4gdHJ1ZTtcbiAgfVxufVxuXG5cbmNvbnN0IHRvSW5qZWN0ID0gW1xuICAnZWFzeUZvcm1HZW5WZXJzaW9uJyxcbiAgJyRmaWx0ZXInLFxuICAndG9hc3RlcicsXG4gICckdGltZW91dCcsXG4gICckdWliTW9kYWwnLFxuICAnJGxvZycsXG4gICckZm9ybWx5UHJveHknLFxuICAnJG1vZGFsUHJveHknLFxuICAnZWFzeUZvcm1TdGVXYXlDb25maWcnXG5dO1xuXG5lZGFTdGVwV2F5RWFzeUZvcm1HZW5Db250cm9sbGVyLiRpbmplY3QgPSB0b0luamVjdDtcbmV4cG9ydCBkZWZhdWx0IGVkYVN0ZXBXYXlFYXN5Rm9ybUdlbkNvbnRyb2xsZXI7XG5leHBvcnQge1NURVBfV0FZX01BSU5fQ09OVFJPTExFUl9OQU1FLCBTVEVQX1dBWV9NQUlOX0NPTlRST0xMRVJBU19OQU1FfTtcblxuXG5cbi8vIFdFQlBBQ0sgRk9PVEVSIC8vXG4vLyAuL3NyYy9hcHAvc3RlcHdheS9jb21wb25lbnRzL21haW4vc3RlcHdheS5tYWluLmNvbnRyb2xsZXIuanMiXSwic291cmNlUm9vdCI6IiJ9");
|
||
|
||
/***/ },
|
||
/* 23 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n/* global angular */\nvar DEBUG_MODEL = {\n showDebug: false,\n configurationModelNumberofLines: 1\n};\n\nvar initDebugModel = function initDebugModel() {\n return angular.copy(DEBUG_MODEL);\n};\n\nvar DEFAULT_TAB_MODEL = {\n editTab: {\n active: true\n },\n previewTab: {\n active: false,\n tabVisible: true,\n modelsVisible: true\n }\n};\n\nvar initTabModel = function initTabModel(isPreviewPanelVisible, arePreviewModelsVisible) {\n var _tabModel = angular.copy(DEFAULT_TAB_MODEL);\n angular.extend(_tabModel.previewTab, {\n tabVisible: isPreviewPanelVisible,\n modelsVisible: arePreviewModelsVisible\n });\n return _tabModel;\n};\n\nvar COLUMN_TEMPLATE = {\n numColumn: -1,\n exist: true,\n control: {\n type: 'none',\n key: 'none',\n subtype: 'none'\n // templateOptions: {\n // label: 'none',\n // placeholder: 'none',\n // required: false,\n // description: 'Descriptive text'\n // }\n }\n};\n\nvar initColumnTemplate = function initColumnTemplate() {\n return angular.copy(COLUMN_TEMPLATE);\n};\n\nvar LINE_TEMPLATE = {\n line: -1,\n activeColumn: 1,\n columns: [{\n numColumn: 1,\n exist: true,\n control: {\n type: 'none',\n key: 'none'\n // templateOptions: {\n // label: 'none',\n // placeholder: 'none',\n // required: false,\n // description: 'Descriptive text'\n // }\n }\n }]\n};\nvar initLineTemplate = function initLineTemplate() {\n return angular.copy(LINE_TEMPLATE);\n};\n\nexports.initDebugModel = initDebugModel;\nexports.initTabModel = initTabModel;\nexports.initColumnTemplate = initColumnTemplate;\nexports.initLineTemplate = initLineTemplate;//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9tYWluL3N0ZXB3YXkubWFpbi5jb250cm9sbGVyLmhlbHBlcnMuanM/YWMxNCJdLCJuYW1lcyI6WyJERUJVR19NT0RFTCIsInNob3dEZWJ1ZyIsImNvbmZpZ3VyYXRpb25Nb2RlbE51bWJlcm9mTGluZXMiLCJpbml0RGVidWdNb2RlbCIsImFuZ3VsYXIiLCJjb3B5IiwiREVGQVVMVF9UQUJfTU9ERUwiLCJlZGl0VGFi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LmNvcHkoQ09MVU1OX1RFTVBMQVRFKTtcblxuY29uc3QgTElORV9URU1QTEFURSA9IHtcbiAgbGluZTotMSxcbiAgYWN0aXZlQ29sdW1uIDogMSxcbiAgY29sdW1uczogW1xuICAgIHtcbiAgICAgIG51bUNvbHVtbjogMSxcbiAgICAgIGV4aXN0OnRydWUsXG4gICAgICBjb250cm9sOiB7XG4gICAgICAgIHR5cGU6J25vbmUnLFxuICAgICAgICBrZXk6ICdub25lJ1xuICAgICAgICAvLyB0ZW1wbGF0ZU9wdGlvbnM6IHtcbiAgICAgICAgLy8gICAgICAgICAgICAgICAgICAgICBsYWJlbDogJ25vbmUnLFxuICAgICAgICAvLyAgICAgICAgICAgICAgICAgICAgIHBsYWNlaG9sZGVyOiAnbm9uZScsXG4gICAgICAgIC8vICAgICAgICAgICAgICAgICAgICAgcmVxdWlyZWQ6IGZhbHNlLFxuICAgICAgICAvLyAgICAgICAgICAgICAgICAgICAgIGRlc2NyaXB0aW9uOiAnRGVzY3JpcHRpdmUgdGV4dCdcbiAgICAgICAgLy8gICAgICAgICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICB9XG4gICAgXVxufTtcbmNvbnN0IGluaXRMaW5lVGVtcGxhdGUgPSAoKSA9PiBhbmd1bGFyLmNvcHkoTElORV9URU1QTEFURSk7XG5cbmV4cG9ydCB7XG4gIGluaXREZWJ1Z01vZGVsLFxuICBpbml0VGFiTW9kZWwsXG4gIGluaXRDb2x1bW5UZW1wbGF0ZSxcbiAgaW5pdExpbmVUZW1wbGF0ZVxufTtcblxuXG5cbi8vIFdFQlBBQ0sgRk9PVEVSIC8vXG4vLyAuL3NyYy9hcHAvc3RlcHdheS9jb21wb25lbnRzL21haW4vc3RlcHdheS5tYWluLmNvbnRyb2xsZXIuaGVscGVycy5qcyJdLCJzb3VyY2VSb290IjoiIn0=");
|
||
|
||
/***/ },
|
||
/* 24 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("module.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 \\n {{'SELECT_CTRL_IN_LIST' | translate}} :\\n </h5>\\n </div>\\n <div class=\\\"col-xs-12 col-sm-12 col-md-12 col-lg-12\\\">\\n <edit-choose-control\\n model-nya-select=\\\"editControlModCtrl.modelNyaSelect\\\"\\n nya-select-filtered=\\\"editControlModCtrl.nyaSelectFiltered\\\"\\n select-this-control=\\\"editControlModCtrl.selectThisControl(optionId)\\\">\\n </edit-choose-control>\\n </div>\\n </div>\\n <hr/>\\n <div ng-switch on=\\\"editControlModCtrl.nyaSelect.selectedControl\\\">\\n\\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 {{'SELECT_A_CTRL' | translate}}\\n </h5>\\n </div>\\n </div>\\n </div>\\n\\n <div ng-switch-when=\\\"empty\\\">\\n <edit-blank-control></edit-blank-control>\\n </div>\\n\\n <div ng-switch-when=\\\"Header\\\">\\n <edit-header-control\\n nya-select=\\\"editControlModCtrl.nyaSelect\\\">\\n </edit-header-control>\\n </div>\\n\\n <div ng-switch-when=\\\"Subtitle\\\">\\n <edit-sub-title-control\\n nya-select=\\\"editControlModCtrl.nyaSelect\\\">\\n </edit-sub-title-control>\\n </div>\\n\\n <div ng-switch-when=\\\"TextInput\\\">\\n <edit-text-input-control\\n nya-select=\\\"editControlModCtrl.nyaSelect\\\">\\n </edit-text-input-control>\\n </div>\\n\\n <div ng-switch-when=\\\"Password\\\">\\n <edit-password-control\\n nya-select=\\\"editControlModCtrl.nyaSelect\\\">\\n </edit-password-control>\\n </div>\\n\\n <div ng-switch-when=\\\"Email\\\">\\n <edit-email-control\\n nya-select=\\\"editControlModCtrl.nyaSelect\\\">\\n </edit-email-control>\\n </div>\\n\\n <div ng-switch-when=\\\"IpAdress\\\">\\n <edit-ip-adress-control\\n nya-select=\\\"editControlModCtrl.nyaSelect\\\">\\n </edit-ip-adress-control>\\n </div>\\n\\n <div ng-switch-when=\\\"Date\\\">\\n <edit-date-control\\n nya-select=\\\"editControlModCtrl.nyaSelect\\\"\\n demodt=\\\"editControlModCtrl.demodt\\\"\\n date-options=\\\"editControlModCtrl.dateOptions\\\"\\n open=\\\"editControlModCtrl.open(event)\\\">\\n <edit-date-control>\\n </div>\\n\\n <div ng-switch-when=\\\"Texarea\\\">\\n <edit-textarea-control\\n nya-select=\\\"editControlModCtrl.nyaSelect\\\">\\n </edit-textarea-control>\\n </div>\\n\\n <div ng-switch-when=\\\"RichTextEditor\\\">\\n <edit-rich-text-editor-control\\n nya-select=\\\"editControlModCtrl.nyaSelect\\\">\\n </edit-rich-text-editor-control>\\n </div>\\n\\n <div ng-switch-when=\\\"Radio\\\">\\n <edit-radio-control\\n nya-select=\\\"editControlModCtrl.nyaSelect\\\"\\n radio-row-collection=\\\"editControlModCtrl.radioRowCollection\\\"\\n new-option-radio=\\\"editControlModCtrl.newOptionRadio\\\"\\n add-new-option-radio=\\\"editControlModCtrl.addNewOptionRadio()\\\"\\n up-this-radio-row=\\\"editControlModCtrl.upThisRadioRow(index)\\\"\\n down-this-radio-row=\\\"editControlModCtrl.downThisRadioRow(index)\\\"\\n remove-radio-row=\\\"editControlModCtrl.removeRadioRow(index)\\\">\\n </edit-radio-control>\\n </div>\\n\\n <div ng-switch-when=\\\"Checkbox\\\">\\n <edit-check-box-control\\n nya-select=\\\"editControlModCtrl.nyaSelect\\\">\\n </edit-check-box-control>\\n </div>\\n\\n <div ng-switch-when=\\\"BasicSelect\\\">\\n <edit-basic-select-control\\n nya-select=\\\"editControlModCtrl.nyaSelect\\\"\\n basic-select-row-collection=\\\"editControlModCtrl.basicSelectRowCollection\\\"\\n new-option-basic-select=\\\"editControlModCtrl.newOptionBasicSelect\\\"\\n add-new-option-basic-select=\\\"editControlModCtrl.addNewOptionBasicSelect()\\\"\\n up-this-row=\\\"editControlModCtrl.upThisRow(index)\\\"\\n down-this-row=\\\"editControlModCtrl.downThisRow(index)\\\"\\n remove-row=\\\"editControlModCtrl.removeRow(index)\\\">\\n </edit-basic-select-control>\\n </div>\\n\\n <div ng-switch-when=\\\"GroupedSelect\\\">\\n <edit-grouped-select-control\\n nya-select=\\\"editControlModCtrl.nyaSelect\\\"\\n grouped-select-row-collection=\\\"editControlModCtrl.groupedSelectRowCollection\\\"\\n new-option-grouped-select=\\\"editControlModCtrl.newOptionGroupedSelect\\\"\\n new-group-grouped-select=\\\"editControlModCtrl.newGroupGroupedSelect\\\"\\n group-select-group-click=\\\"editControlModCtrl.groupSelectGroupClick\\\"\\n grouped-select-groups=\\\"editControlModCtrl.GroupedSelectGroups\\\"\\n add-new-option-grouped-select=\\\"editControlModCtrl.addNewOptionGroupedSelect()\\\"\\n add-new-group-to-grouped-select=\\\"editControlModCtrl.addNewGroupToGroupedSelect()\\\"\\n up-this-grouped-select-row=\\\"editControlModCtrl.upThisGroupedSelectRow(index)\\\"\\n down-this-grouped-select-row=\\\"editControlModCtrl.downThisGroupedSelectRow(index)\\\"\\n show-group-list-to-choose=\\\"editControlModCtrl.showGroupListToChoose()\\\"\\n remove-grouped-select-row=\\\"editControlModCtrl.removeGroupedSelectRow(index)\\\"\\n >\\n </edit-grouped-select-control>\\n </div>\\n\\n </div>\\n</div>\\n\\n<edit-valid-edit-footer\\n nya-select=\\\"editControlModCtrl.nyaSelect\\\"\\n ok=\\\"editControlModCtrl.ok()\\\"\\n cancel=\\\"editControlModCtrl.cancel()\\\" >\\n</edit-valid-edit-footer>\\n\"//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzI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 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: 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 EDIT_MODAL_CONTROLLER_NAME = 'editControlModalController';\nvar EDIT_MODAL_CONTROLLERAS_NAME = 'editControlModCtrl';\n\nvar editControlModalController = function () {\n function editControlModalController($uibModalInstance, nyaSelect, toaster, selectOptionManage, $modalProxy) {\n _classCallCheck(this, editControlModalController);\n\n this.$modalInstance = $uibModalInstance;\n this.nyaSelect = nyaSelect;\n this.toaster = toaster;\n this.selectOptionManage = selectOptionManage;\n this.$modalProxy = $modalProxy;\n\n this.init();\n }\n\n _createClass(editControlModalController, [{\n key: 'init',\n value: function init() {\n var initOptionModel = { rows: [] };\n\n this.radioRowCollection = initOptionModel;\n this.newOptionRadio = { saisie: '' };\n this.basicSelectRowCollection = initOptionModel;\n this.newOptionBasicSelect = { saisie: '' };\n this.groupedSelectRowCollection = initOptionModel;\n this.newOptionGroupedSelect = { saisie: '' };\n this.GroupedSelectGroups = { list: [] };\n this.newGroupGroupedSelect = { saisie: '' };\n this.groupSelectGroupClick = { showList: false };\n this.showGroupList = false;\n this.demodt = {};\n this.dateOptions = this.dateOptionsInit();\n this.demodt.formats = ['dd-MMMM-yyyy', 'yyyy/MM/dd', 'dd.MM.yyyy', 'shortDate'];\n this.nyaSelect.selectedControl = this.nyaSelect.temporyConfig.selectedControl;\n this.nyaSelectFiltered = {};\n this.modelNyaSelect = {};\n\n //init today date\n this.today();\n //init nyaSelect model depending selected control\n this.initNyaSelectConformingSelectedControl();\n }\n }, {\n key: 'initNyaSelectConformingSelectedControl',\n value: function initNyaSelectConformingSelectedControl() {\n //place nya-select to selection if not none :\n if (this.nyaSelect.selectedControl !== 'none') {\n for (var i = this.nyaSelect.controls.length - 1; i >= 0; i--) {\n if (this.nyaSelect.controls[i].id === this.nyaSelect.selectedControl) this.modelNyaSelect = this.nyaSelect.controls[i];\n }\n if (this.nyaSelect.selectedControl === 'BasicSelect') this.bindBasicSelectFromNYA();\n if (this.nyaSelect.selectedControl === 'GroupedSelect') this.bindGroupedSelectFromNYA();\n if (this.nyaSelect.selectedControl === 'Radio') this.bindRadioFromNYA();\n }\n this.initNyaSelectFiltered();\n }\n }, {\n key: 'initNyaSelectFiltered',\n value: function initNyaSelectFiltered() {\n var listCtrl = [].concat(this.$modalProxy.getFilteredNyaSelectObject());\n angular.extend(this.nyaSelectFiltered, {\n 'controls': listCtrl,\n 'selectedControl': this.nyaSelect.selectedControl,\n 'temporyConfig': this.nyaSelect.temporyConfig\n });\n }\n }, {\n key: 'bindBasicSelectFromNYA',\n value: function bindBasicSelectFromNYA() {\n if (this.nyaSelect.temporyConfig.formlyOptions.length > 0) {\n for (var i = 0; i <= this.nyaSelect.temporyConfig.formlyOptions.length - 1; i++) {\n var newOption = {\n 'option': this.nyaSelect.temporyConfig.formlyOptions[i].name,\n 'order': i,\n 'group': ''\n };\n this.basicSelectRowCollection.rows.push(newOption);\n }\n }\n }\n }, {\n key: 'bindRadioFromNYA',\n value: function bindRadioFromNYA() {\n if (this.nyaSelect.temporyConfig.formlyOptions.length > 0) {\n for (var i = 0; i <= this.nyaSelect.temporyConfig.formlyOptions.length - 1; i++) {\n var newOption = {\n 'option': this.nyaSelect.temporyConfig.formlyOptions[i].name,\n 'order': i,\n 'group': ''\n };\n this.radioRowCollection.rows.push(newOption);\n }\n }\n }\n }, {\n key: 'bindGroupedSelectFromNYA',\n value: function bindGroupedSelectFromNYA() {\n if (this.nyaSelect.temporyConfig.formlyOptions.length > 0) {\n for (var i = 0; i <= this.nyaSelect.temporyConfig.formlyOptions.length - 1; i++) {\n var newOption = {\n 'option': this.nyaSelect.temporyConfig.formlyOptions[i].name,\n 'order': i,\n 'group': this.nyaSelect.temporyConfig.formlyOptions[i].group\n };\n this.groupedSelectRowCollection.rows.push(newOption);\n }\n var filteredgroup = _.uniq(_.pluck(this.groupedSelectRowCollection.rows, 'group'));\n angular.copy(filteredgroup, this.GroupedSelectGroups.list);\n }\n }\n }, {\n key: 'addNewOptionRadio',\n value: function addNewOptionRadio() {\n var result = this.selectOptionManage.addNewOptionRadio(this.radioRowCollection, this.newOptionRadio.saisie);\n if (result.resultFlag === false) {\n this.toaster.pop({\n type: 'warning',\n timeout: 2000,\n title: result.details,\n body: '\\'' + this.newOptionRadio.saisie + '\\' cannot be added.',\n showCloseButton: true\n });\n }\n this.newOptionRadio = { saisie: '' }; //reset input\n }\n }, {\n key: 'removeRadioRow',\n value: function removeRadioRow(index) {\n var result = this.selectOptionManage.removeOption(this.radioRowCollection, index);\n if (result.resultFlag === false) {\n this.toaster.pop({\n type: 'warning',\n timeout: 2000,\n title: result.details,\n body: 'Delete was cancelled.',\n showCloseButton: true\n });\n }\n }\n }, {\n key: 'upThisRadioRow',\n value: function upThisRadioRow(index) {\n var result = this.selectOptionManage.upthisOption(this.radioRowCollection, index);\n if (result.resultFlag === false) {\n this.toaster.pop({\n type: 'warning',\n timeout: 2000,\n title: result.details,\n body: 'Operation cancelled.',\n showCloseButton: true\n });\n }\n }\n }, {\n key: 'downThisRadioRow',\n value: function downThisRadioRow(index) {\n var result = this.selectOptionManage.downthisOption(this.radioRowCollection, index);\n if (result.resultFlag === false) {\n this.toaster.pop({\n type: 'warning',\n timeout: 2000,\n title: result.details,\n body: 'Operation cancelled.',\n showCloseButton: true\n });\n }\n }\n }, {\n key: 'addNewOptionBasicSelect',\n value: function addNewOptionBasicSelect() {\n var result = this.selectOptionManage.addNewOptionBasicSelect(this.basicSelectRowCollection, this.newOptionBasicSelect.saisie);\n if (result.resultFlag === false) {\n this.toaster.pop({\n type: 'warning',\n timeout: 2000,\n title: result.details,\n body: '\\'' + this.newOptionBasicSelect.saisie + '\\' cannot be added.',\n showCloseButton: true\n });\n }\n this.newOptionBasicSelect = { saisie: '' }; //reset input\n }\n }, {\n key: 'removeRow',\n value: function removeRow(index) {\n var result = this.selectOptionManage.removeOption(this.basicSelectRowCollection, index);\n if (result.resultFlag === false) {\n this.toaster.pop({\n type: 'warning',\n timeout: 2000,\n title: result.details,\n body: 'Delete was cancelled.',\n showCloseButton: true\n });\n }\n }\n }, {\n key: 'upThisRow',\n value: function upThisRow(index) {\n var result = this.selectOptionManage.upthisOption(this.basicSelectRowCollection, index);\n if (result.resultFlag === false) {\n this.toaster.pop({\n type: 'warning',\n timeout: 2000,\n title: result.details,\n body: 'Operation cancelled.',\n showCloseButton: true\n });\n }\n }\n }, {\n key: 'downThisRow',\n value: function downThisRow(index) {\n var result = this.selectOptionManage.downthisOption(this.basicSelectRowCollection, index);\n if (result.resultFlag === false) {\n this.toaster.pop({\n type: 'warning',\n timeout: 2000,\n title: result.details,\n body: 'Operation cancelled.',\n showCloseButton: true\n });\n }\n }\n }, {\n key: 'showGroupListToChoose',\n value: function showGroupListToChoose() {\n this.groupSelectGroupClick.showList = !this.groupSelectGroupClick.showList;\n }\n }, {\n key: 'addNewGroupToGroupedSelect',\n value: function addNewGroupToGroupedSelect() {\n if (this.newGroupGroupedSelect.saisie !== '') {\n for (var i = this.GroupedSelectGroups.list.length - 1; i >= 0; i--) {\n if (this.GroupedSelectGroups.list[i] === this.newGroupGroupedSelect.saisie) {\n this.toaster.pop({\n type: 'warning',\n timeout: 2000,\n title: 'Group already exists',\n body: 'No group added.',\n showCloseButton: true\n });\n }\n }\n this.GroupedSelectGroups.list.push(this.newGroupGroupedSelect.saisie);\n } else {\n this.toaster.pop({\n type: 'warning',\n timeout: 2000,\n title: 'Not a valid group to add',\n body: 'No group added.',\n showCloseButton: true\n });\n }\n this.newGroupGroupedSelect.saisie = '';\n }\n }, {\n key: 'addNewOptionGroupedSelect',\n value: function addNewOptionGroupedSelect() {\n var result = this.selectOptionManage.addNewOptionGroupedSelect(this.groupedSelectRowCollection, this.newOptionGroupedSelect.saisie, '');\n if (result.resultFlag === false) {\n this.toaster.pop({\n type: 'warning',\n timeout: 2000,\n title: result.details,\n body: '\\'' + this.newOptionGroupedSelect.saisie + '\\' cannot be added.',\n showCloseButton: true\n });\n }\n // bind nya : dont bind here $apply is not done fast enough\n // bindGroupedSelectToNya();\n // reset input\n this.newOptionGroupedSelect = { saisie: '' };\n }\n }, {\n key: 'removeGroupedSelectRow',\n value: function removeGroupedSelectRow(index) {\n var result = this.selectOptionManage.removeOption(this.groupedSelectRowCollection, index);\n if (result.resultFlag === false) {\n this.toaster.pop({\n type: 'warning',\n timeout: 2000,\n title: result.details,\n body: 'Delete was cancelled.',\n showCloseButton: true\n });\n }\n }\n }, {\n key: 'upThisGroupedSelectRow',\n value: function upThisGroupedSelectRow(index) {\n var result = this.selectOptionManage.upthisOption(this.groupedSelectRowCollection, index);\n if (result.resultFlag === false) {\n this.toaster.pop({\n type: 'warning',\n timeout: 2000,\n title: result.details,\n body: 'Operation cancelled.',\n showCloseButton: true\n });\n }\n }\n }, {\n key: 'downThisGroupedSelectRow',\n value: function downThisGroupedSelectRow(index) {\n var result = this.selectOptionManage.downthisOption(this.groupedSelectRowCollection, index);\n if (result.resultFlag === false) {\n this.toaster.pop({\n type: 'warning',\n timeout: 2000,\n title: result.details,\n body: 'Operation cancelled.',\n showCloseButton: true\n });\n }\n }\n }, {\n key: 'today',\n value: function today() {\n this.demodt.dt = new Date();\n }\n }, {\n key: 'clear',\n value: function clear() {\n this.demodt.dt = null;\n }\n }, {\n key: 'open',\n value: function open($event) {\n $event.preventDefault();\n $event.stopPropagation();\n this.demodt.opened = true;\n }\n }, {\n key: 'dateOptionsInit',\n value: function dateOptionsInit() {\n return {\n formatYear: 'yy',\n startingDay: 1,\n showWeeks: true,\n initDate: null\n };\n }\n }, {\n key: 'selectThisControl',\n value: function selectThisControl(controlName) {\n this.nyaSelect.selectedControl = 'none';\n this.resetTemporyConfig();\n for (var i = this.nyaSelect.controls.length - 1; i >= 0; i--) {\n if (this.nyaSelect.controls[i].id === controlName) this.nyaSelect.selectedControl = this.nyaSelect.controls[i].id;\n }\n if (this.nyaSelect.selectedControl === 'Date') this.initDatePicker();\n }\n }, {\n key: 'ok',\n value: function ok() {\n if (this.nyaSelect.selectedControl === 'BasicSelect') this.bindBasicSelectToNya();\n if (this.nyaSelect.selectedControl === 'GroupedSelect') this.bindGroupedSelectToNya();\n if (this.nyaSelect.selectedControl === 'Radio') this.bindRadioToNya();\n //save config to control\n this.$modalProxy.applyConfigToSelectedControl(this.nyaSelect);\n //return current model to parent controller :\n this.$modalInstance.close(this.nyaSelect);\n }\n }, {\n key: 'cancel',\n value: function cancel() {\n this.$modalInstance.dismiss('cancel');\n }\n }, {\n key: 'bindBasicSelectToNya',\n value: function bindBasicSelectToNya() {\n var resetNyASelectOptions = [];\n this.nyaSelect.temporyConfig.formlyOptions = resetNyASelectOptions;\n if (this.basicSelectRowCollection.rows.length > 0) {\n for (var i = 0; i <= this.basicSelectRowCollection.rows.length - 1; i++) {\n var newOption = {\n 'name': this.basicSelectRowCollection.rows[i].option,\n 'value': i,\n 'group': ''\n };\n this.nyaSelect.temporyConfig.formlyOptions.push(newOption);\n }\n }\n }\n }, {\n key: 'bindGroupedSelectToNya',\n value: function bindGroupedSelectToNya() {\n this.nyaSelect.temporyConfig.formlyOptions = [];\n for (var i = 0; i <= this.groupedSelectRowCollection.rows.length - 1; i++) {\n var newOption = {\n 'name': this.groupedSelectRowCollection.rows[i].option,\n 'value': i,\n 'group': this.groupedSelectRowCollection.rows[i].group\n };\n this.nyaSelect.temporyConfig.formlyOptions.push(newOption);\n }\n }\n }, {\n key: 'bindRadioToNya',\n value: function bindRadioToNya() {\n var resetNyASelectOptions = [];\n this.nyaSelect.temporyConfig.formlyOptions = resetNyASelectOptions;\n if (this.radioRowCollection.rows.length > 0) {\n for (var i = 0; i <= this.radioRowCollection.rows.length - 1; i++) {\n var newOption = {\n 'name': this.radioRowCollection.rows[i].option,\n 'value': i,\n 'group': ''\n };\n this.nyaSelect.temporyConfig.formlyOptions.push(newOption);\n }\n }\n }\n }, {\n key: 'initDatePicker',\n value: function initDatePicker() {\n this.nyaSelect.temporyConfig.datepickerOptions = {\n format: this.demodt.formats[0]\n };\n }\n }, {\n key: 'resetTemporyConfig',\n value: function resetTemporyConfig() {\n this.nyaSelectFiltered.temporyConfig = {\n formlyLabel: '',\n formlyRequired: false,\n formlyPlaceholder: '',\n formlyDescription: '',\n formlyOptions: []\n };\n }\n }]);\n\n return editControlModalController;\n}();\n\nvar toInject = ['$uibModalInstance', 'nyaSelect', 'toaster', 'selectOptionManage', '$modalProxy'];\n\neditControlModalController.$inject = toInject;\n\nexports.default = editControlModalController;\nexports.EDIT_MODAL_CONTROLLER_NAME = EDIT_MODAL_CONTROLLER_NAME;\nexports.EDIT_MODAL_CONTROLLERAS_NAME = EDIT_MODAL_CONTROLLERAS_NAME;//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9tb2RhbC9zdGVwd2F5LmVkaXRDb250cm9sTW9kYWwuY29udHJvbGxlci5qcz85MzAwIl0sIm5hbWVzIjpbIkVESVRfTU9EQUxfQ09OVFJPTExFUl9OQU1FIiwiRURJVF9NT0RBTF9DT05UUk9MTEVSQVNfTkFNRSIsImVkaXRDb250cm9sTW9kYWxDb250cm9sbGVyIiwiJHVpYk1vZGFsSW5zdGFuY2UiLCJueWFTZWxlY3QiLCJ0b2FzdGVyIiwic2VsZWN0T3B0aW9uTWFuYWdlIiwiJG1vZGFsUHJveHkiLCIkbW9kYW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PcHRpb25NYW5hZ2UnLFxuICAnJG1vZGFsUHJveHknXG5dO1xuXG5lZGl0Q29udHJvbE1vZGFsQ29udHJvbGxlci4kaW5qZWN0ID0gdG9JbmplY3Q7XG5cbmV4cG9ydCBkZWZhdWx0IGVkaXRDb250cm9sTW9kYWxDb250cm9sbGVyO1xuXG5leHBvcnQge1xuICBFRElUX01PREFMX0NPTlRST0xMRVJfTkFNRSxcbiAgRURJVF9NT0RBTF9DT05UUk9MTEVSQVNfTkFNRVxufTtcblxuXG5cbi8vIFdFQlBBQ0sgRk9PVEVSIC8vXG4vLyAuL3NyYy9hcHAvc3RlcHdheS9jb21wb25lbnRzL21vZGFsL3N0ZXB3YXkuZWRpdENvbnRyb2xNb2RhbC5jb250cm9sbGVyLmpzIl0sInNvdXJjZVJvb3QiOiIifQ==");
|
||
|
||
/***/ },
|
||
/* 26 */
|
||
/***/ function(module, exports, __webpack_require__) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.STEP_WAY_DIRECTIVE_NAME = undefined;\n\nvar _stepwayMainTemplate = __webpack_require__(27);\n\nvar _stepwayMainTemplate2 = _interopRequireDefault(_stepwayMainTemplate);\n\nvar _stepwayMain = __webpack_require__(22);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar STEP_WAY_DIRECTIVE_NAME = 'edaStepWayEasyFormGen';\n\nfunction edaStepWayEasyFormGenDirective($templateCache, $timeout, $formlyProxy, $modalProxy) {\n\n var directive = {\n restrict: 'E',\n scope: {\n edaEasyFormGeneratorModel: '=',\n wizardStepGeneratorModel: '=',\n edaSaveFormEvent: '&edaSaveFormEvent'\n },\n controller: _stepwayMain.STEP_WAY_MAIN_CONTROLLER_NAME,\n controllerAs: _stepwayMain.STEP_WAY_MAIN_CONTROLLERAS_NAME,\n replace: false,\n template: _stepwayMainTemplate2.default,\n link: linkFct\n };\n return directive;\n\n function linkFct(scope) {\n\n //watch \"scope.easyFormGeneratorModel\"\n scope.$watch(function () {\n return scope.edaEasyFormGeneratorModel;\n }, function () {\n return loadExistingConfigurationModel();\n }, true);\n\n if (scope.wizardStepGeneratorModel) {\n loadExistingConfigurationModel();\n scope.wizardStepGeneratorModel.configuration = scope.vm.configuration;\n scope.wizardStepGeneratorModel.edaFieldsModel = scope.vm.configuration.lines;\n scope.wizardStepGeneratorModel.formlyFieldsModel = scope.vm.wfFormFields;\n scope.wizardStepGeneratorModel.dataModel = scope.vm.dataModel;\n scope.vm.configuration.isWizard = true;\n if (scope.wizardStepGeneratorModel.loaded) {\n angular.copy(scope.wizardStepGeneratorModel.loaded.edaFieldsModel, scope.wizardStepGeneratorModel.edaFieldsModel);\n angular.copy(scope.wizardStepGeneratorModel.loaded.dataModel, scope.wizardStepGeneratorModel.dataModel);\n scope.wizardStepGeneratorModel.formlyFieldsModel.length = 0;\n angular.copy(scope.wizardStepGeneratorModel.loaded.formlyFieldsModel, scope.wizardStepGeneratorModel.formlyFieldsModel);\n }\n }\n\n //watch \"scope.vm.returnSaveEvent\"\" = catch saving form event\n scope.$watch(function () {\n return scope.vm.returnSaveEvent;\n }, function (newValue) {\n if (newValue === true) {\n var _easyFormGeneratorModel = {\n formName: scope.vm.configuration.formName,\n btnSubmitText: scope.vm.configuration.submitButtonText,\n btnCancelText: scope.vm.configuration.cancelButtonText,\n edaFieldsModel: scope.vm.configuration.lines,\n edaFieldsModelStringified: angular.toJson(scope.vm.configuration.lines),\n formlyFieldsModel: scope.vm.wfFormFieldsOnlyNeededProperties,\n dataModel: scope.vm.dataModel\n };\n scope.edaSaveFormEvent({ edaEasyFormGeneratorModel: _easyFormGeneratorModel });\n //back to false, waiting next save event\n scope.vm.returnSaveEvent = false;\n }\n });\n\n function loadExistingConfigurationModel() {\n if (angular.isDefined(scope.edaEasyFormGeneratorModel)) {\n var configlines = [].concat(returnAttributeConfigurationLinesIfNotEmpty());\n scope.configurationLoaded = {};\n $formlyProxy.bindConfigurationLines(scope.configurationLoaded, configlines);\n /**\n * rebind special control properties :\n *\n * formly expression properties\n * Validators\n * Validation\n */\n $modalProxy.refreshControlFormlyExpressionProperties(scope.configurationLoaded);\n $modalProxy.refreshControlFormlyValidators(scope.configurationLoaded);\n $modalProxy.refreshControlFormlyValidation(scope.configurationLoaded);\n //apply configuration model\n scope.vm.configuration = angular.copy(scope.configurationLoaded);\n //apply formly model\n $formlyProxy.applyConfigurationToformlyModel(scope.configurationLoaded, scope.vm.wfFormFields, scope.vm.model);\n scope.vm.wfFormFieldsOnlyNeededProperties = angular.copy(scope.vm.wfFormFields);\n scope.vm.dataModel = returnAttributeDataModelIfNotEmpty();\n scope.vm.configuration.formName = angular.isString(scope.edaEasyFormGeneratorModel.formName) ? scope.edaEasyFormGeneratorModel.formName : '';\n scope.vm.configuration.submitButtonText = angular.isString(scope.edaEasyFormGeneratorModel.btnSubmitText) ? scope.edaEasyFormGeneratorModel.btnSubmitText : 'Submit';\n scope.vm.configuration.cancelButtonText = angular.isString(scope.edaEasyFormGeneratorModel.btnCancelText) ? scope.edaEasyFormGeneratorModel.btnCancelText : 'Cancel';\n }\n }\n\n function returnAttributeConfigurationLinesIfNotEmpty() {\n var edaEasyFormGeneratorModelToReturn = angular.isArray(scope.edaEasyFormGeneratorModel.edaFieldsModel) ? scope.edaEasyFormGeneratorModel.edaFieldsModel.length > 0 ? scope.edaEasyFormGeneratorModel.edaFieldsModel : emptyEdaFieldsModel() : emptyEdaFieldsModel();\n return edaEasyFormGeneratorModelToReturn;\n }\n\n function returnAttributeDataModelIfNotEmpty() {\n var dataModelToReturn = angular.isArray(scope.edaEasyFormGeneratorModel.dataModel) ? scope.edaEasyFormGeneratorModel.dataModel.length > 0 ? scope.edaEasyFormGeneratorModel.dataModel : {} : {};\n return dataModelToReturn;\n }\n\n /**\n * empty fields model : to display at least an empty line\n * otherwise would look like ugly empty line like it were a bug\n */\n function emptyEdaFieldsModel() {\n var emptyModel = [{\n line: 1,\n activeColumn: 1,\n columns: [{\n numColumn: 1,\n exist: true,\n control: {\n type: 'none',\n key: 'none'\n }\n }]\n }];\n return emptyModel;\n }\n }\n}\n\nedaStepWayEasyFormGenDirective.$inject = ['$templateCache', '$timeout', '$formlyProxy', '$modalProxy'];\n\nexports.default = edaStepWayEasyFormGenDirective;\nexports.STEP_WAY_DIRECTIVE_NAME = STEP_WAY_DIRECTIVE_NAME;//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9tYWluL3N0ZXB3YXkubWFpbi5kaXJlY3RpdmUuanM/MDZmZiJdLCJuYW1lcyI6WyJTVEVQX1dBWV9ESVJFQ1RJVkVfTkFNRSIsImVkYVN0ZXBXYXlFYXN5Rm9ybUdlbkRpcmVjdGl2ZSIsIiR0ZW1wbGF0ZUNhY2hlIiwiJHRpbWVvdXQiLCIkZm9ybWx5UHJveHkiLCIkbW9kYWxQcm94eSIsImRpcmVjdGl2ZSIsInJlc3RyaWN0Iiwic2NvcGUiLCJlZGFFYXN5Rm9ybUdlbmVyYXRvck1vZGVsIiwid2l6YXJkU3RlcEdlbmVyYXRvck1vZGVsIiwiZWRhU2F2ZUZvcm1FdmVudCIsImNvbnRyb2xsZXIiLCJjb250cm9sbGVyQXMiLCJyZXBsYWNlIiwidGVtcGxhdGUiLCJsaW5rIiwibGlua0ZjdCIsIiR3YXRjaCIsImxvYWRFeGlzdGluZ0NvbmZpZ3VyYXRpb25Nb2RlbCIsImNvbmZpZ3VyYXRpb24iLCJ2bSIsImVkYUZpZWxkc01vZGVsIiwibGluZXMiLCJmb3JtbHlGaWVsZHNNb2RlbCIsIndmRm9ybUZpZWxkcyIsImRhdGFNb2RlbCIsImlzV2l6YXJkIiwibG9hZGVkIiwiYW5ndWxhciIsImNvcHkiLCJsZW5ndGgiLCJyZXR1cm5TYXZlRXZlbnQiLCJuZXdWYWx1ZSIsIl9lYX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VlLFxuICAgICAgICAgICAgICBjb250cm9sOiB7XG4gICAgICAgICAgICAgICAgdHlwZTogJ25vbmUnLFxuICAgICAgICAgICAgICAgIGtleTogJ25vbmUnXG4gICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgICBdXG4gICAgICAgIH1cbiAgICAgIF07XG4gICAgICByZXR1cm4gZW1wdHlNb2RlbDtcbiAgICB9XG4gIH1cbn1cblxuZWRhU3RlcFdheUVhc3lGb3JtR2VuRGlyZWN0aXZlLiRpbmplY3QgPSBbXG4gICckdGVtcGxhdGVDYWNoZScsXG4gICckdGltZW91dCcsXG4gICckZm9ybWx5UHJveHknLFxuICAnJG1vZGFsUHJveHknXG5dO1xuXG5leHBvcnQgZGVmYXVsdCBlZGFTdGVwV2F5RWFzeUZvcm1HZW5EaXJlY3RpdmU7XG5leHBvcnQge1NURVBfV0FZX0RJUkVDVElWRV9OQU1FfTtcblxuXG5cbi8vIFdFQlBBQ0sgRk9PVEVSIC8vXG4vLyAuL3NyYy9hcHAvc3RlcHdheS9jb21wb25lbnRzL21haW4vc3RlcHdheS5tYWluLmRpcmVjdGl2ZS5qcyJdLCJzb3VyY2VSb290IjoiIn0=");
|
||
|
||
/***/ },
|
||
/* 27 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("module.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\\n toaster-options=\\\"{\\n 'position-class': 'toast-top-full-width',\\n 'extendedTimeout':500,\\n 'timeOut':500\\n }\\\">\\n </toaster-container>\\n <uib-tabset justified=\\\"true\\\">\\n <uib-tab\\n active=\\\"vm.tab.editTab.active\\\"\\n heading=\\\"{{'EDIT_TAB' | translate}}\\\">\\n <div class=\\\"row\\\">\\n <step-indicator\\n configuration=\\\"vm.configuration\\\"\\n go-to-step=\\\"vm.goToStep(index)\\\">\\n </step-indicator>\\n </div>\\n <div class=\\\"row\\\">\\n <pager\\n configuration=\\\"vm.configuration\\\"\\n step-indicators=\\\"vm.stepIndicators\\\"\\n next-config-step=\\\"vm.nextConfigStep()\\\"\\n previous-config-step=\\\"vm.previousConfigStep()\\\">\\n </pager>\\n <div\\n class=\\\"animate-switch-container\\\"\\n ng-switch on=\\\"vm.configuration.listConfigStep[vm.configuration.configStepCounter]\\\">\\n <step-zero-content\\n configuration=\\\"vm.configuration\\\"\\n add-newline=\\\"vm.addNewline()\\\"\\n down-this-line=\\\"vm.downThisLine(index)\\\"\\n up-this-line=\\\"vm.upThisLine(index)\\\"\\n remove-this-line=\\\"vm.removeThisLine(index)\\\">\\n </step-zero-content>\\n <step-one-content\\n configuration=\\\"vm.configuration\\\"\\n increase-number-of-columns=\\\"vm.increaseNumberOfColumns()\\\"\\n decrease-number-of-columns=\\\"vm.decreaseNumberOfColumns()\\\"\\n set-active-line-number=\\\"vm.setActiveLineNumber(index)\\\">\\n </step-one-content>\\n <step-two-content\\n configuration=\\\"vm.configuration\\\"\\n set-active-line-number=\\\"vm.setActiveLineNumber(index)\\\"\\n show-modal-add-ctrl-to-column=\\\"vm.showModalAddCtrlToColumn(size, indexLine, numcolumn)\\\">\\n </step-two-content>\\n <step-three-content\\n configuration=\\\"vm.configuration\\\"\\n eda-data-model=\\\"vm.dataModel\\\"\\n wf-form-fields=\\\"vm.wfFormFields\\\"\\n on-submit=\\\"vm.onSubmit()\\\"\\n save-this-form=\\\"vm.saveThisForm()\\\">\\n </step-three-content>\\n </div>\\n </div>\\n </uib-tab>\\n <uib-tab\\n active=\\\"vm.tab.previewTab.active\\\"\\n ng-if=\\\"vm.tab.previewTab.tabVisible && !vm.configuration.isWizard\\\"\\n 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\\n id=\\\"previewFormlyForm\\\"\\n model=\\\"vm.dataModel\\\"\\n fields=\\\"vm.wfFormFields\\\">\\n <span class=\\\"pull-right\\\">\\n <button\\n class=\\\"btn btn-primary\\\"\\n type=\\\"submit\\\">\\n {{vm.configuration.submitButtonText}}\\n </button>\\n <button\\n class=\\\"btn btn-primary\\\"\\n type=\\\"cancel\\\">\\n {{vm.configuration.cancelButtonText}}\\n </button>\\n </span>\\n </formly-form>\\n </form>\\n </div>\\n </div>\\n <div\\n ng-if=\\\"vm.tab.previewTab.modelsVisible\\\"\\n 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\\n ng-if=\\\"vm.tab.previewTab.modelsVisible\\\"\\n 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 </uib-tab>\\n </uib-tabset>\\n </div>\\n </div>\\n </section>\\n <hr/>\\n </div>\\n </div>\\n</section>\\n\"//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9tYWluL3N0ZXB3YXkubWFpbi50ZW1wbGF0ZS5odG1sPzQyOTIiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsNFRBQTRULG1KQUFtSiwwTEFBMEwsd0JBQXdCLHM5RUFBczlFLDJCQUEyQixnbUJBQWdtQixtQ0FBbUMsNk1BQTZNLG1DQUFtQyx5WUFBeVksMEJBQTBCLHlEQUF5RCxxQkFBcUIsNFJBQTRSLDRCQUE0Qix5REFBeUQsNENBQTRDIiwiZmlsZSI6IjI3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gICAgICAgICAgICAgICAgICAgIGNvbmZpZ3VyYXRpb249XFxcInZtLmNvbmZpZ3VyYXRpb25cXFwiXFxuICAgICAgICAgICAgICAgICAgICBnby10by1zdGVwPVxcXCJ2bS5nb1RvU3RlcChpbmRleClcXFwiPlxcbiAgICAgICAgICAgICAgICAgIDwvc3RlcC1pbmRpY2F0b3I+XFxuICAgICAgICAgICAgICAgIDwvZGl2PlxcbiAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVxcXCJyb3dcXFwiPlxcbiAgICAgICAgICAgICAgICAgIDxwYWdlclxcbiAgICAgICAgICAgICAgICAgICAgY29uZmlndXJhdGlvbj1cXFwidm0uY29uZmlndXJhdGlvblxcXCJcXG4gICAgICAgICAgICAgICAgICAgIHN0ZXAtaW5kaWNhdG9ycz1cXFwidm0uc3RlcEluZGljYXRvcnNcXFwiXFxuICAgICAgICAgICAgICAgICAgICBuZXh0LWNvbmZpZy1zdGVwPVxcXCJ2bS5uZXh0Q29uZmlnU3RlcCgpXFxcIlxcbiAgICAgICAgICAgICAgICAgICAgcHJldmlvdXMtY29uZmlnLXN0ZXA9XFxcInZtLnByZXZpb3VzQ29uZmlnU3RlcCgpXFxcIj5cXG4gICAgICAgICAgICAgICAgICA8L3BhZ2VyPlxcbiAgICAgICAgICAgICAgICAgIDxkaXZcXG4gICAgICAgICAgICAgICAgICAgIGNsYXNzPVxcXCJhbmltYXRlLXN3aXRjaC1jb250YWluZXJcXFwiXFxuICAgICAgICAgICAgICAgICAgICBuZy1zd2l0Y2ggb249XFxcInZtLmNvbmZpZ3VyYXRpb24ubGlzdENvbmZpZ1N0ZXBbdm0uY29uZmlndXJhdGlvbi5jb25maWdTdGVwQ291bnRlcl1cXFwiPlxcbiAgICAgICAgICAgICAgICAgICAgPHN0ZXAtemVyby1jb250ZW50XFxuICAgICAgICAgICAgICAgICAgICAgIGNvbmZpZ3VyYXRpb249XFxcInZtLmNvbmZpZ3VyYXRpb25cXFwiXFxuICAgICAgICAgICAgICAgICAgICAgIGFkZC1uZXdsaW5lPVxcXCJ2bS5hZGROZXdsaW5lKClcXFwiXFxuICAgICAgICAgICAgICAgICAgICAgIGRvd24tdGhpcy1saW5lPVxcXCJ2bS5kb3duVGhpc0xpbmUoaW5kZXgpXFxcIlxcbiAgICAgICAgICAgICAgICAgICAgICB1cC10aGlzLWxpbmU9XFxcInZtLnVwVGhpc0xpbmUoaW5kZXgpXFxcIlxcbiAgICAgICAgICAgICAgICAgICAgICByZW1vdmUtdGhpcy1saW5lPVxcXCJ2bS5yZW1vdmVUaGlzTGluZShpbmRleClcXFwiPlxcbiAgICAgICAgICAgICAgICAgICAgPC9zdGVwLXplcm8tY29udGVudD5cXG4gICAgICAgICAgICAgICAgICAgIDxzdGVwLW9uZS1jb250ZW50XFxuICAgICAgICAgICAgICAgICAgICAgIGNvbmZpZ3VyYXRpb249XFxcInZtLmNvbmZpZ3VyYXRpb25cXFwiXFxuICAgICAgICAgICAgICAgICAgICAgIGluY3JlYXNlLW51bWJlci1vZi1jb2x1bW5zPVxcXCJ2bS5pbmNyZWFzZU51bWJlck9mQ29sdW1ucygpXFxcIlxcbiAgICAgICAgICAgICAgICAgICAgICBkZWNyZWFzZS1udW1iZXItb2YtY29sdW1ucz1cXFwidm0uZGVjcmVhc2VOdW1iZXJPZkNvbHVtbnMoKVxcXCJcXG4gICAgICAgICAgICAgICAgICAgICAgc2V0LWFjdGl2ZS1saW5lLW51bWJlcj1cXFwidm0uc2V0QWN0aXZlTGluZU51bWJlcihpbmRleClcXFwiPlxcbiAgICAgICAgICAgICAgICAgICAgPC9zdGVwLW9uZS1jb250ZW50PlxcbiAgICAgICAgICAgICAgICAgICAgPHN0ZXAtdHdvLWNvbnRlbnRcXG4gICAgICAgICAgICAgICAgICAgICAgY29uZmlndXJhdGlvbj1cXFwidm0uY29uZmlndXJhdGlvblxcXCJcXG4gICAgICAgICAgICAgICAgICAgICAgc2V0LWFjdGl2ZS1saW5lLW51bWJlcj1cXFwidm0uc2V0QWN0aXZlTGluZU51bWJlcihpbmRleClcXFwiXFxuICAgICAgICAgICAgICAgICAgICAgIHNob3ctbW9kYWwtYWRkLWN0cmwtdG8tY29sdW1uPVxcXCJ2bS5zaG93TW9kYWxBZGRDdHJsVG9Db2x1bW4oc2l6ZSwgaW5kZXhMaW5lLCBudW1jb2x1bW4pXFxcIj5cXG4gICAgICAgICAgICAgICAgICAgIDwvc3RlcC10d28tY29udGVudD5cXG4gICAgICAgICAgICAgICAgICAgIDxzdGVwLXRocmVlLWNvbnRlbnRcXG4gICAgICAgICAgICAgICAgICAgICAgY29uZmlndXJhdGlvbj1cXFwidm0uY29uZmlndXJhdGlvblxcXCJcXG4gICAgICAgICAgICAgICAgICAgICAgZWRhLWRhdGEtbW9kZWw9XFxcInZtLmRhdGFNb2RlbFxcXCJcXG4gICAgICAgICAgICAgICAgICAgICAgd2YtZm9ybS1maWVsZHM9XFxcInZtLndmRm9ybUZpZWxkc1xcXCJcXG4gICAgICAgICAgICAgICAgICAgICAgb24tc3VibWl0PVxcXCJ2bS5vblN1Ym1pdCgpXFxcIlxcbiAgICAgICAgICAgICAgICAgICAgICBzYXZlLXRoaXMtZm9ybT1cXFwidm0uc2F2ZVRoaXNGb3JtKClcXFwiPlxcbiAgICAgICAgICAgICAgICAgICAgPC9zdGVwLXRocmVlLWNvbnRlbnQ+XFxuICAgICAgICAgICAgICAgICAgPC9kaXY+XFxuICAgICAgICAgICAgICAgIDwvZGl2PlxcbiAgICAgICAgICAgICAgPC91aWItdGFiPlxcbiAgICAgICAgICAgICAgPHVpYi10YWJcXG4gICAgICAgICAgICAgICAgYWN0aXZlPVxcXCJ2bS50YWIucHJldmlld1RhYi5hY3RpdmVcXFwiXFxuICAgICAgICAgICAgICAgIG5nLWlmPVxcXCJ2bS50YWIucHJldmlld1RhYi50YWJWaXNpYmxlICYmICF2bS5jb25maWd1cmF0aW9uLmlzV2l6YXJkXFxcIlxcbiAgICAgICAgICAgICAgICBoZWFkaW5nPVxcXCJ7eydQUkVWSUVXX1RBQicgfCB0cmFuc2xhdGV9fVxcXCI+XFxuICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XFxcInBhbmVsIHBhbmVsLWRlZmF1bHRcXFwiPlxcbiAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XFxcInBhbmVsLWJvZHlcXFwiPlxcbiAgICAgICAgICAgICAgICAgICAgPCEtLSBmb3JtbHkgaGVyZSAtLT5cXG4gICAgICAgICAgICAgICAgICAgIDxmb3JtIG5nLXN1Ym1pdD1cXFwidm0ub25TdWJtaXQoKVxcXCI+XFxuICAgICAgICAgICAgICAgICAgICAgIDxmb3JtbHktZm9ybVxcbiAgICAgICAgICAgICAgICAgICAgICAgIGlkPVxcXCJwcmV2aWV3Rm9ybWx5Rm9ybVxcXCJcXG4gICAgICAgICAgICAgICAgICAgICAgICBtb2RlbD1cXFwidm0uZGF0YU1vZGVsXFxcIlxcbiAgICAgICAgICAgICAgICAgICAgICAgIGZpZWxkcz1cXFwidm0ud2ZGb3JtRmllbGRzXFxcIj5cXG4gICAgICAgICAgICAgICAgICAgICAgICA8c3BhbiBjbGFzcz1cXFwicHVsbC1yaWdodFxcXCI+XFxuICAgICAgICAgICAgICAgICAgICAgICAgICA8YnV0dG9uXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNsYXNzPVxcXCJidG4gYnRuLXByaW1hcnlcXFwiXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHR5cGU9XFxcInN1Ym1pdFxcXCI+XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHt7dm0uY29uZmlndXJhdGlvbi5zdWJtaXRCdXR0b25UZXh0fX1cXG4gICAgICAgICAgICAgICAgICAgICAgICAgIDwvYnV0dG9uPlxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgPGJ1dHRvblxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBjbGFzcz1cXFwiYnRuIGJ0bi1wcmltYXJ5XFxcIlxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB0eXBlPVxcXCJjYW5jZWxcXFwiPlxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB7e3ZtLmNvbmZpZ3VyYXRpb24uY2FuY2VsQnV0dG9uVGV4dH19XFxuICAgICAgICAgICAgICAgICAgICAgICAgICA8L2J1dHRvbj5cXG4gICAgICAgICAgICAgICAgICAgICAgICA8L3NwYW4+XFxuICAgICAgICAgICAgICAgICAgICAgIDwvZm9ybWx5LWZvcm0+XFxuICAgICAgICAgICAgICAgICAgICA8L2Zvcm0+XFxuICAgICAgICAgICAgICAgICAgPC9kaXY+XFxuICAgICAgICAgICAgICAgIDwvZGl2PlxcbiAgICAgICAgICAgICAgICA8ZGl2XFxuICAgICAgICAgICAgICAgICAgbmctaWY9XFxcInZtLnRhYi5wcmV2aWV3VGFiLm1vZGVsc1Zpc2libGVcXFwiXFxuICAgICAgICAgICAgICAgICAgY2xhc3M9XFxcInBhbmVsIHBhbmVsLWRlZmF1bHRcXFwiPlxcbiAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XFxcInBhbmVsLWJvZHlcXFwiPlxcbiAgICAgICAgICAgICAgICAgICAgPHA+e3snREFUQV9NT0RFTCcgfCB0cmFuc2xhdGV9fTwvcD5cXG4gICAgICAgICAgICAgICAgICAgIDxwcmU+XFxuICAgICAgICAgICAgICAgICAgICAgIHt7dm0uZGF0YU1vZGVsIHwganNvbn19XFxuICAgICAgICAgICAgICAgICAgICA8L3ByZT5cXG4gICAgICAgICAgICAgICAgICA8L2Rpdj5cXG4gICAgICAgICAgICAgICAgPC9kaXY+XFxuICAgICAgICAgICAgICAgIDxkaXZcXG4gICAgICAgICAgICAgICAgICBuZy1pZj1cXFwidm0udGFiLnByZXZpZXdUYWIubW9kZWxzVmlzaWJsZVxcXCJcXG4gICAgICAgICAgICAgICAgICBjbGFzcz1cXFwicGFuZWwgcGFuZWwtZGVmYXVsdFxcXCI+XFxuICAgICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cXFwicGFuZWwtYm9keVxcXCI+XFxuICAgICAgICAgICAgICAgICAgICA8cD57eydGSUVMRFNfTU9ERUwnIHwgdHJhbnNsYXRlfX08L3A+XFxuICAgICAgICAgICAgICAgICAgICA8cHJlPlxcbiAgICAgICAgICAgICAgICAgICAgICB7e3ZtLndmRm9ybUZpZWxkc09ubHlOZWVkZWRQcm9wZXJ0aWVzIHwganNvbn19XFxuICAgICAgICAgICAgICAgICAgICA8L3ByZT5cXG4gICAgICAgICAgICAgICAgICA8L2Rpdj5cXG4gICAgICAgICAgICAgICAgPC9kaXY+XFxuICAgICAgICAgICAgICA8L3VpYi10YWI+XFxuICAgICAgICAgICAgPC91aWItdGFic2V0PlxcbiAgICAgICAgICA8L2Rpdj5cXG4gICAgICAgIDwvZGl2PlxcbiAgICAgIDwvc2VjdGlvbj5cXG4gICAgICA8aHIvPlxcbiAgICA8L2Rpdj5cXG4gIDwvZGl2Plxcbjwvc2VjdGlvbj5cXG5cIlxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vc3JjL2FwcC9zdGVwd2F5L2NvbXBvbmVudHMvbWFpbi9zdGVwd2F5Lm1haW4udGVtcGxhdGUuaHRtbFxuLy8gbW9kdWxlIGlkID0gMjdcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sInNvdXJjZVJvb3QiOiIifQ==");
|
||
|
||
/***/ },
|
||
/* 28 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar EASY_FORM_STEP_WAY_CONFIG_NAME = 'easyFormSteWayConfig';\n\nfunction easyFormSteWayConfig($translateProvider) {\n var _configuration = defaultConfig();\n var _controlsList = controlsList();\n var _defaultLanguage = getDefaultLanguage();\n var _currentLanguage = initDefaultLanguage();\n var _showPreviewPanel = getDefaultshowPreviewPanel();\n var _showPreviewModels = getDefaultShowPreviewModel();\n\n this.$get = easyFormStepWayConfigGET;\n this.setModalAnimation = setModalAnimation;\n this.getModalAnimation = getModalAnimation;\n this.configuration = _configuration;\n this.getEnabledControls = getEnabledControls;\n this.disableControl = disableControl;\n this.enableControl = enableControl;\n this.setLanguage = setLanguage;\n this.getCurrentLanguage = getCurrentLanguage;\n this.showPreviewPanel = showPreviewPanel;\n this.showPreviewModels = showPreviewModels;\n\n //set default config\n function defaultConfig() {\n var _defaultConfiguration = {\n modalAnimated: false\n };\n return _defaultConfiguration;\n }\n\n //show preview panel by default\n function getDefaultshowPreviewPanel() {\n return true;\n }\n\n //show preview data, fields models in preview panel\n function getDefaultShowPreviewModel() {\n return true;\n }\n\n function getCurrentLanguage() {\n return _currentLanguage;\n }\n\n //list of controls\n function controlsList() {\n var controls = [{ name: 'empty', enabled: true }, { name: 'Header', enabled: true }, { name: 'Subtitle', enabled: true }, { name: 'TextInput', enabled: true }, { name: 'Password', enabled: true }, { name: 'Email', enabled: true }, { name: 'IpAdress', enabled: true }, { name: 'Date', enabled: true }, { name: 'Texarea', enabled: true }, { name: 'RichTextEditor', enabled: true }, { name: 'Radio', enabled: true }, { name: 'Checkbox', enabled: true }, { name: 'BasicSelect', enabled: true }, { name: 'GroupedSelect', enabled: true }];\n return controls;\n }\n\n function showPreviewPanel(wantToShow) {\n if (angular.isDefined(wantToShow)) {\n if (wantToShow === true) _showPreviewPanel = true;\n if (wantToShow === false) _showPreviewPanel = false;\n }\n }\n\n function showPreviewModels(wantToShow) {\n if (angular.isDefined(wantToShow)) {\n if (wantToShow === true) _showPreviewModels = true;\n if (wantToShow === false) _showPreviewModels = false;\n }\n }\n\n //language : set default to english\n function getDefaultLanguage() {\n var lang = 'en';\n return lang;\n }\n\n function setDefaultLanguage() {\n _currentLanguage = _defaultLanguage;\n $translateProvider.preferredLanguage(_currentLanguage);\n return _currentLanguage;\n }\n\n function setLanguage(language) {\n if (angular.isString(language)) {\n _currentLanguage = language;\n $translateProvider.preferredLanguage(language);\n } else {\n setDefaultLanguage();\n }\n }\n\n function initDefaultLanguage() {\n $translateProvider.useSanitizeValueStrategy('escape'); //security : Enable escaping of HTML\n $translateProvider.fallbackLanguage(_defaultLanguage); //fallback language to default language\n $translateProvider.preferredLanguage(_defaultLanguage);\n return _defaultLanguage;\n }\n\n function getEnabledControls() {\n return _controlsList;\n }\n\n function disableControl(control) {\n if (angular.isString(control)) {\n angular.forEach(_controlsList, function (aControl) {\n if (aControl.name === control) aControl.enabled = false;\n });\n } else if (angular.isArray(control)) {\n angular.forEach(control, function (controlName) {\n angular.forEach(_controlsList, function (aControl) {\n if (aControl.name === controlName) aControl.enabled = false;\n });\n });\n }\n }\n\n function enableControl(control) {\n if (angular.isString(control)) {\n angular.forEach(_controlsList, function (aControl) {\n if (aControl.name === control) aControl.enabled = true;\n });\n } else if (angular.isArray(control)) {\n angular.forEach(control, function (controlName) {\n angular.forEach(_controlsList, function (aControl) {\n if (aControl.name === controlName) aControl.enabled = true;\n });\n });\n }\n }\n\n function setModalAnimation(flagConfig) {\n var valueToApply = flagConfig === true ? flagConfig : flagConfig === false ? flagConfig : _configuration.modalAnimated;\n\n _configuration.modalAnimated = valueToApply;\n }\n\n function getModalAnimation() {\n return _configuration.modalAnimated;\n }\n\n //$get implementation :\n easyFormStepWayConfigGET.$inject = ['$translate'];\n function easyFormStepWayConfigGET($translate) {\n var service = {\n setModalAnimation: setModalAnimationFct,\n getModalAnimationValue: getModalAnimationValue,\n getListEnabledControl: getListEnabledControl,\n setLanguage: switchLanguage,\n getCurrentLanguage: getCurrentLanguage,\n isPreviewPanelVisible: isPreviewPanelVisible,\n arePreviewModelsVisible: arePreviewModelsVisible\n };\n return service;\n\n function getModalAnimationValue() {\n return _configuration.modalAnimated;\n }\n\n function setModalAnimationFct(value) {\n setModalAnimation(value);\n }\n\n function getListEnabledControl() {\n return angular.copy(_controlsList);\n }\n\n function switchLanguage(language) {\n if (angular.isString(language)) {\n _currentLanguage = language;\n $translate.use(language);\n } else {\n setDefaultLanguage();\n }\n }\n\n function isPreviewPanelVisible() {\n return _showPreviewPanel;\n }\n\n function arePreviewModelsVisible() {\n return _showPreviewModels;\n }\n }\n}\n\neasyFormSteWayConfig.$inject = ['$translateProvider'];\nexports.default = easyFormSteWayConfig;\nexports.EASY_FORM_STEP_WAY_CONFIG_NAME = EASY_FORM_STEP_WAY_CONFIG_NAME;//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9tYWluL3N0ZXB3YXkubWFpbi5wcm92aWRlci5qcz8wYTg4Il0sIm5hbWVzIjpbIkVBU1lfRk9STV9TVEVQX1dBWV9DT05GSUdfTkFNRSIsImVhc3lGb3JtU3RlV2F5Q29uZmlnIiwiJHRyYW5zbGF0ZVByb3ZpZGVyIiwiX2NvbmZpZ3VyYXRpb24iLCJkZWZhdWx0Q29uZmlnIiwiX2NvbnRyb2xzTGlzdCIsImNvbnRyb2xzTGlzdCIsIl9kZWZhdWx0TGFuZ3VhZ2UiLCJnZXREZWZhdWx0TGFuZ3VhZ2UiLCJfY3VycmVudExhbmd1YWdlIiwiaW5pdERlZmF1bHRMYW5ndWFnZSIsIl9zaG93UHJldmlld1BhbmVsIiwiZ2V0RGVmYXVsdHNob3dQcmV2aWV3UGFuZWwiLCJfc2hvd1ByZXZpZXdNb2RlbHMiLCJnZXREZWZhdWx0U2hvd1ByZXZpZXdNb2RlbCIsIiRnZXQiLCJlYXN5Rm9ybVN0ZXBXYXlDb25maWdHRVQiLCJzZXRNb2RhbEFuaW1hdGlvbiIsImdldE1vZGFsQW5pbWF0aW9uIiwiY29uZmlndXJhdGlvbiIsImdldEVuYWJsZWRDb250cm9scyIsImRpc2FibGVDb250cm9sIiwiZW5hYmxlQ29udHJvbCIsInNldExhbmd1YWdlIiwiZ2V0Q3VycmVudExhbmd1YWdlIiwic2hvd1ByZXZpZXdQYW5lbCIsInNob3dQcmV2a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vbmZpZztcblxuZXhwb3J0IHtFQVNZX0ZPUk1fU1RFUF9XQVlfQ09ORklHX05BTUV9O1xuXG5cblxuLy8gV0VCUEFDSyBGT09URVIgLy9cbi8vIC4vc3JjL2FwcC9zdGVwd2F5L2NvbXBvbmVudHMvbWFpbi9zdGVwd2F5Lm1haW4ucHJvdmlkZXIuanMiXSwic291cmNlUm9vdCI6IiJ9");
|
||
|
||
/***/ },
|
||
/* 29 */
|
||
/***/ function(module, exports, __webpack_require__) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _stepwayMainPager = __webpack_require__(30);\n\nvar PAGER_COMPONENT_MODULE = 'stepway.pager.module';\n\nexports.default = angular.module(PAGER_COMPONENT_MODULE, []).component(_stepwayMainPager.PAGER_COMPONENT_NAME, _stepwayMainPager.pagerComponent);//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9tYWluL3BhZ2VyL3N0ZXB3YXkubWFpbi5wYWdlci5tb2R1bGUuanM/Njg5MCJdLCJuYW1lcyI6WyJQQUdFUl9DT01QT05FTlRfTU9EVUxFIiwiYW5ndWxhciIsIm1vZHVsZSIsImNvbXBvbmVudCJdLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBQUE7O0FBS0EsSUFBTUEseUJBQXlCLHNCQUEvQjs7a0JBRWVDLFFBQ0VDLE1BREYsQ0FDU0Ysc0JBRFQsRUFDaUMsRUFEakMsRUFFRUcsU0FGRiwwRSIsImZpbGUiOiIyOS5qcyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7XG4gIHBhZ2VyQ29tcG9uZW50LFxuICBQQUdFUl9DT01QT05FTlRfTkFNRVxufSAgICAgICAgICAgICAgICAgICAgICAgZnJvbSAnLi9zdGVwd2F5Lm1haW4ucGFnZXIuY29tcG9uZW50JztcblxuY29uc3QgUEFHRVJfQ09NUE9ORU5UX01PRFVMRSA9ICdzdGVwd2F5LnBhZ2VyLm1vZHVsZSc7XG5cbmV4cG9ydCBkZWZhdWx0IGFuZ3VsYXJcbiAgICAgICAgICAgICAgICAubW9kdWxlKFBBR0VSX0NPTVBPTkVOVF9NT0RVTEUsIFtdKVxuICAgICAgICAgICAgICAgIC5jb21wb25lbnQoUEFHRVJfQ09NUE9ORU5UX05BTUUsIHBhZ2VyQ29tcG9uZW50KTtcblxuXG5cbi8vIFdFQlBBQ0sgRk9PVEVSIC8vXG4vLyAuL3NyYy9hcHAvc3RlcHdheS9jb21wb25lbnRzL21haW4vcGFnZXIvc3RlcHdheS5tYWluLnBhZ2VyLm1vZHVsZS5qcyJdLCJzb3VyY2VSb290IjoiIn0=");
|
||
|
||
/***/ },
|
||
/* 30 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: 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 PAGER_COMPONENT_NAME = exports.PAGER_COMPONENT_NAME = 'pager';\n\nvar pagerComponent = exports.pagerComponent = {\n template: '\\n <ul class=\"pager\">\\n <li ng-class=\"{\\'disabled\\':$ctrl.stepIndicators[0]}\" ng-if=\"$ctrl.configuration.configStepCounter > 0\">\\n <button\\n class=\"btn btn-primary customPagerButton\"\\n ng-click=\"$ctrl.previousConfigStep()\" >\\n <i class=\"fa fa-arrow-left fa-2x pull-left\"></i>\\n <span class=\"pull-right\">\\n {{\\'PAGER_PREVIOUS\\' | translate}}\\n </span>\\n </button>\\n </li>\\n <li ng-class=\"{\\'disabled\\':$ctrl.stepIndicators[3]}\" ng-if=\"($ctrl.configuration.configStepCounter < 3 && !$ctrl.configuration.isWizard) || ($ctrl.configuration.configStepCounter < 2 && $ctrl.configuration.isWizard) \">\\n <button\\n class=\"btn btn-primary customPagerButton\"\\n ng-click=\"$ctrl.nextConfigStep()\">\\n <span class=\"pull-left\">\\n {{\\'PAGER_NEXT\\' | translate}}\\n </span>\\n <i class=\"fa fa-arrow-right fa-2x pull-right\"></i>\\n </button>\\n </li>\\n </ul>\\n ',\n bindings: {\n stepIndicators: '<',\n nextConfigStep: '&',\n previousConfigStep: '&',\n configuration: '='\n },\n controller: function () {\n function pagerComponent() {\n _classCallCheck(this, pagerComponent);\n }\n\n _createClass(pagerComponent, null, [{\n key: '$inject',\n get: function get() {\n return [];\n }\n }]);\n\n return pagerComponent;\n }()\n};//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9tYWluL3BhZ2VyL3N0ZXB3YXkubWFpbi5wYWdlci5jb21wb25lbnQuanM/ODQ1YyJdLCJuYW1lcyI6WyJQQUdFUl9DT01QT05FTlRfTkFNRSIsInBhZ2VyQ29tcG9uZW50IiwidGVtcGxhdGUiLCJiaW5kaW5ncyIsInN0ZXBJbmRpY2F0b3JzIiwibmV4dENvbmZpZ1N0ZXAiLCJwcmV2aW91c0NvbmZpZ1N0ZXAiLCJjb25maWd1cmF0aW9uIiwiY29udHJvbGxlciJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7OztBQUFPLElBQU1BLHNEQUF1QixPQUE3Qjs7QUFFQSxJQUFNQywwQ0FBaUI7QUFDNUJDLGs5QkFENEI7QUF5QjVCQyxZQUFVO0FBQ1JDLG9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haW4ucGFnZXIuY29tcG9uZW50LmpzIl0sInNvdXJjZVJvb3QiOiIifQ==");
|
||
|
||
/***/ },
|
||
/* 31 */
|
||
/***/ function(module, exports, __webpack_require__) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _stepwayMainStepIndicator = __webpack_require__(32);\n\nvar STEP_INDICATOR_COMPONENT_MODULE = 'stepway.stepIndicator.module';\n\nexports.default = angular.module(STEP_INDICATOR_COMPONENT_MODULE, []).component(_stepwayMainStepIndicator.STEP_INDICATOR_COMPONENT_NAME, _stepwayMainStepIndicator.stepIndicatorComponent);//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9tYWluL3N0ZXBJbmRpY2F0b3Ivc3RlcHdheS5tYWluLnN0ZXBJbmRpY2F0b3IubW9kdWxlLmpzPzU0NGQiXSwibmFtZXMiOlsiU1RFUF9JTkRJQ0FUT1JfQ09NUE9ORU5UX01PRFVMRSIsImFuZ3VsYXIiLCJtb2R1bGUiLCJjb21wb25lbnQiXSwibWFwcGluZ3MiOiI7Ozs7OztBQUFBOztBQUtBLElBQU1BLGtDQUFrQyw4QkFBeEM7O2tCQUVlQyxRQUNFQyxNQURGLENBQ1NGLCtCQURULEVBQzBDLEVBRDFDLEVBRUVHLFNBRkYsMkciLCJmaWxlIjoiMzEuanMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge1xuICBzdGVwSW5kaWNhdG9yQ29tcG9uZW50LFxuICBTVEVQX0lORElDQVRPUl9DT01QT05FTlRfTkFNRVxufSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGZyb20gJy4vc3RlcHdheS5tYWluLnN0ZXBJbmRpY2F0b3IuY29tcG9uZW50JztcblxuY29uc3QgU1RFUF9JTkRJQ0FUT1JfQ09NUE9ORU5UX01PRFVMRSA9ICdzdGVwd2F5LnN0ZXBJbmRpY2F0b3IubW9kdWxlJztcblxuZXhwb3J0IGRlZmF1bHQgYW5ndWxhclxuICAgICAgICAgICAgICAgIC5tb2R1bGUoU1RFUF9JTkRJQ0FUT1JfQ09NUE9ORU5UX01PRFVMRSwgW10pXG4gICAgICAgICAgICAgICAgLmNvbXBvbmVudChTVEVQX0lORElDQVRPUl9DT01QT05FTlRfTkFNRSwgc3RlcEluZGljYXRvckNvbXBvbmVudCk7XG5cblxuXG4vLyBXRUJQQUNLIEZPT1RFUiAvL1xuLy8gLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9tYWluL3N0ZXBJbmRpY2F0b3Ivc3RlcHdheS5tYWluLnN0ZXBJbmRpY2F0b3IubW9kdWxlLmpzIl0sInNvdXJjZVJvb3QiOiIifQ==");
|
||
|
||
/***/ },
|
||
/* 32 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: 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 STEP_INDICATOR_COMPONENT_NAME = exports.STEP_INDICATOR_COMPONENT_NAME = 'stepIndicator';\n\nvar stepIndicatorComponent = exports.stepIndicatorComponent = {\n template: '\\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\\n type=\"button\"\\n class=\"btn btn-circle\"\\n ng-click=\"$ctrl.goToStep({index:0})\"\\n ng-class=\"{\\'btn-primary\\': $ctrl.configuration.stepIndicators[0], \\'btn-default\\': !$ctrl.configuration.stepIndicators[0]}\" >\\n 0\\n </button>\\n <p>\\n {{\\'WIZARD_LINES\\' | translate}}\\n </p>\\n </div>\\n <div class=\"stepwizard-step col-md-3\">\\n <button\\n type=\"button\"\\n class=\"btn btn-circle\"\\n ng-click=\"$ctrl.goToStep({index:1})\"\\n ng-class=\"{\\'btn-primary\\': $ctrl.configuration.stepIndicators[1], \\'btn-default\\': !$ctrl.configuration.stepIndicators[1], \\'disabled\\': ($ctrl.configuration.configStepCounter < 1)}\" >\\n 1\\n </button>\\n <p>\\n {{\\'WIZARD_LAYOUT\\' | translate}}\\n </p>\\n </div>\\n <div class=\"stepwizard-step col-md-3\">\\n <button\\n type=\"button\"\\n class=\"btn btn-default btn-circle\"\\n ng-click=\"$ctrl.goToStep({index:2})\"\\n ng-class=\"{\\'btn-primary\\': $ctrl.configuration.stepIndicators[2], \\'btn-default\\': !$ctrl.configuration.stepIndicators[2], \\'disabled\\': ($ctrl.configuration.configStepCounter < 2)}\" >\\n 2\\n </button>\\n <p>\\n {{\\'WIZARD_CONTROLS\\' | translate}}\\n </p>\\n </div>\\n <div class=\"stepwizard-step col-md-3\" ng-if=\"!$ctrl.configuration.isWizard\">\\n <button\\n type=\"button\"\\n class=\"btn btn-default btn-circle\"\\n ng-click=\"$ctrl.goToStep({index:3})\"\\n ng-class=\"{\\'btn-primary\\': $ctrl.configuration.stepIndicators[3], \\'btn-default\\': !$ctrl.configuration.stepIndicators[3], \\'disabled\\': ($ctrl.configuration.configStepCounter < 3)}\" >\\n 3\\n </button>\\n <p>\\n {{\\'WIZARD_SAVE\\' | translate}}\\n </p>\\n </div>\\n </div>\\n </div>\\n </div>\\n </div>\\n ',\n bindings: {\n configuration: '<',\n goToStep: '&'\n },\n controller: function () {\n function stepIndicatorComponent() {\n _classCallCheck(this, stepIndicatorComponent);\n }\n\n _createClass(stepIndicatorComponent, null, [{\n key: '$inject',\n get: function get() {\n return [];\n }\n }]);\n\n return stepIndicatorComponent;\n }()\n};//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9tYWluL3N0ZXBJbmRpY2F0b3Ivc3RlcHdheS5tYWluLnN0ZXBJbmRpY2F0b3IuY29tcG9uZW50LmpzPzQ2NzYiXSwibmFtZXMiOlsiU1RFUF9JTkRJQ0FUT1JfQ09NUE9ORU5UX05BTUUiLCJzdGVwSW5kaWNhdG9yQ29tcG9uZW50IiwidGVtcGxhdGUiLCJiaW5kaW5ncyIsImNvbmZpZ3VyYXRpb24iLCJnb1RvU3RlcCIsImNvbnRyb2xsZXIiXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7QUFBTyxJQUFNQSx3RUFBZ0MsZUFBdEM7O0FBRUEsSUFBTUMsMERBQXlCO0FBQ3BDQyxxMUVBRG9DO0FBMkRwQ0MsWUFBVTtBQUNSQyxtQkFBZSxHQURQO0FBRVJDLGNBQVU7QUFGRixHQTNEMEI7QUErRHBDQztBQUVFLHNDQUFjO0FBQUE7QUFFYjs7QUFKSDtBQUFBO0FBQUEsMEJBTXVCO0FBQ25CLGVBQU8sRUFBUDtBQUNEO0FBUkg7O0FBQUE7QUFBQTtBQS9Eb0MsQ0FBL0IiLCJmaWxlIjoiMzIuanMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgY29uc3QgU1RFUF9JTkRJQ0FUT1JfQ09NUE9ORU5UX05BTUUgPSAnc3RlcEluZGljYXRvcic7XG5cbmV4cG9ydCBjb25zdCBzdGVwSW5kaWNhdG9yQ29tcG9uZW50ID0ge1xuICB0ZW1wbGF0ZTogYFxuICA8ZGl2IGNsYXNzPVwicm93I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gICAgfVxuXG4gICAgc3RhdGljIGdldCAkaW5qZWN0KCkge1xuICAgICAgcmV0dXJuIFtdO1xuICAgIH1cbiAgfVxufTtcblxuXG5cbi8vIFdFQlBBQ0sgRk9PVEVSIC8vXG4vLyAuL3NyYy9hcHAvc3RlcHdheS9jb21wb25lbnRzL21haW4vc3RlcEluZGljYXRvci9zdGVwd2F5Lm1haW4uc3RlcEluZGljYXRvci5jb21wb25lbnQuanMiXSwic291cmNlUm9vdCI6IiJ9");
|
||
|
||
/***/ },
|
||
/* 33 */
|
||
/***/ function(module, exports, __webpack_require__) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _stepwayMainStepZeroContent = __webpack_require__(34);\n\nvar _stepwayMainStepZeroCommandPanel = __webpack_require__(35);\n\nvar _stepwayMainStepZeroVisualPanel = __webpack_require__(36);\n\nvar STEP_ZERO_CONTENT_COMPONENT_MODULE = 'stepway.stepZeroContent.module';\n\nexports.default = angular.module(STEP_ZERO_CONTENT_COMPONENT_MODULE, []).component(_stepwayMainStepZeroContent.LINE_STEP_ZERO_CONTENT_COMPONENT, _stepwayMainStepZeroContent.stepZeroContentComponent).component(_stepwayMainStepZeroCommandPanel.STEP_ZERO_COMMAND_PANEL_COMPONENT_NAME, _stepwayMainStepZeroCommandPanel.StepZeroCommandPanelComponent).component(_stepwayMainStepZeroVisualPanel.STEP_ZERO_VISUAL_PANEL_COMPONENT_NAME, _stepwayMainStepZeroVisualPanel.StepZeroVisualPanelComponent);//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9tYWluL3N0ZXBaZXJvQ29udGVudC9zdGVwd2F5Lm1haW4uc3RlcFplcm9Db250ZW50Lm1vZHVsZS5qcz85Y2NlIl0sIm5hbWVzIjpbIlNURVBfWkVST19DT05URU5UX0NPTV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MRSA9ICdzdGVwd2F5LnN0ZXBaZXJvQ29udGVudC5tb2R1bGUnO1xuXG5leHBvcnQgZGVmYXVsdCBhbmd1bGFyXG4gICAgICAgICAgICAgICAgLm1vZHVsZShTVEVQX1pFUk9fQ09OVEVOVF9DT01QT05FTlRfTU9EVUxFLCBbXSlcbiAgICAgICAgICAgICAgICAuY29tcG9uZW50KExJTkVfU1RFUF9aRVJPX0NPTlRFTlRfQ09NUE9ORU5ULCBzdGVwWmVyb0NvbnRlbnRDb21wb25lbnQpXG4gICAgICAgICAgICAgICAgLmNvbXBvbmVudChTVEVQX1pFUk9fQ09NTUFORF9QQU5FTF9DT01QT05FTlRfTkFNRSwgU3RlcFplcm9Db21tYW5kUGFuZWxDb21wb25lbnQpXG4gICAgICAgICAgICAgICAgLmNvbXBvbmVudChTVEVQX1pFUk9fVklTVUFMX1BBTkVMX0NPTVBPTkVOVF9OQU1FLCBTdGVwWmVyb1Zpc3VhbFBhbmVsQ29tcG9uZW50KTtcblxuXG5cbi8vIFdFQlBBQ0sgRk9PVEVSIC8vXG4vLyAuL3NyYy9hcHAvc3RlcHdheS9jb21wb25lbnRzL21haW4vc3RlcFplcm9Db250ZW50L3N0ZXB3YXkubWFpbi5zdGVwWmVyb0NvbnRlbnQubW9kdWxlLmpzIl0sInNvdXJjZVJvb3QiOiIifQ==");
|
||
|
||
/***/ },
|
||
/* 34 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: 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 LINE_STEP_ZERO_CONTENT_COMPONENT = exports.LINE_STEP_ZERO_CONTENT_COMPONENT = 'stepZeroContent';\n\nvar stepZeroContentComponent = exports.stepZeroContentComponent = {\n template: '\\n <div\\n class=\"animate-switch\"\\n ng-switch-when=\"init\">\\n <div class=\"col-md-4\">\\n <step-zero-command-panel\\n add-newline=\"$ctrl.addNewline()\">\\n </step-zero-command-panel>\\n </div>\\n <div class=\"col-md-8\">\\n <step-zero-visual-panel\\n configuration=\"$ctrl.configuration\"\\n down-this-line=\"$ctrl.downThisLineParent(index)\"\\n up-this-line=\"$ctrl.upThisLineParent(index)\"\\n remove-this-line=\"$ctrl.removeThisLineParent(index)\"\\n set-active-line-number=\"$ctrl.setActiveLineNumberParent(index)\">\\n </step-zero-visual-panel>\\n </div>\\n </div>\\n ',\n bindings: {\n configuration: '=',\n addNewline: '&',\n downThisLine: '&',\n upThisLine: '&',\n removeThisLine: '&'\n },\n controller: function () {\n function stepZeroContentController() {\n _classCallCheck(this, stepZeroContentController);\n }\n\n ///////////////////////////////////\n // WHY this function is needed :\n ///////////////////////////////////\n // CASE OF : function with parameter passing from parent to caller through another level component\n // parent -> intermediate component (here) -> caller\n // NOTE : intermediate should call parent function to be sure to pass function parameter upward to parent\n\n\n _createClass(stepZeroContentController, [{\n key: 'setActiveLineNumberParent',\n value: function setActiveLineNumberParent(index) {\n this.setActiveLineNumber({ index: index });\n }\n }, {\n key: 'removeThisLineParent',\n value: function removeThisLineParent(index) {\n this.removeThisLine({ index: index });\n }\n }, {\n key: 'upThisLineParent',\n value: function upThisLineParent(index) {\n this.upThisLine({ index: index });\n }\n }, {\n key: 'downThisLineParent',\n value: function downThisLineParent(index) {\n this.downThisLine({ index: index });\n }\n }], [{\n key: '$inject',\n get: function get() {\n return [];\n }\n }]);\n\n return stepZeroContentController;\n }()\n};//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW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lIHNob3VsZCBjYWxsIHBhcmVudCBmdW5jdGlvbiB0byBiZSBzdXJlIHRvIHBhc3MgZnVuY3Rpb24gcGFyYW1ldGVyIHVwd2FyZCB0byBwYXJlbnRcbiAgICBzZXRBY3RpdmVMaW5lTnVtYmVyUGFyZW50KGluZGV4KSB7XG4gICAgICB0aGlzLnNldEFjdGl2ZUxpbmVOdW1iZXIoe2luZGV4fSk7XG4gICAgfVxuXG4gICAgcmVtb3ZlVGhpc0xpbmVQYXJlbnQoaW5kZXgpIHtcbiAgICAgIHRoaXMucmVtb3ZlVGhpc0xpbmUoe2luZGV4fSk7XG4gICAgfVxuXG4gICAgdXBUaGlzTGluZVBhcmVudChpbmRleCkge1xuICAgICAgdGhpcy51cFRoaXNMaW5lKHtpbmRleH0pO1xuICAgIH1cblxuICAgIGRvd25UaGlzTGluZVBhcmVudChpbmRleCkge1xuICAgICAgdGhpcy5kb3duVGhpc0xpbmUoe2luZGV4fSk7XG4gICAgfVxuXG4gICAgc3RhdGljIGdldCAkaW5qZWN0KCkge1xuICAgICAgcmV0dXJuIFtdO1xuICAgIH1cbiAgfVxufTtcblxuXG5cbi8vIFdFQlBBQ0sgRk9PVEVSIC8vXG4vLyAuL3NyYy9hcHAvc3RlcHdheS9jb21wb25lbnRzL21haW4vc3RlcFplcm9Db250ZW50L3N0ZXB3YXkubWFpbi5zdGVwWmVyb0NvbnRlbnQuY29tcG9uZW50LmpzIl0sInNvdXJjZVJvb3QiOiIifQ==");
|
||
|
||
/***/ },
|
||
/* 35 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: 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 STEP_ZERO_COMMAND_PANEL_COMPONENT_NAME = exports.STEP_ZERO_COMMAND_PANEL_COMPONENT_NAME = 'stepZeroCommandPanel';\n\nvar StepZeroCommandPanelComponent = exports.StepZeroCommandPanelComponent = {\n template: '\\n <div id=\"commandPanel\">\\n <div class=\"panel panel-default\">\\n <div class=\"panel-heading\">\\n <h3 class=\"panel-title\">\\n <i class=\"fa fa-keyboard-o\"></i>\\n \\n {{\\'COMMAND_PANEL\\' | translate}}\\n </h3>\\n </div>\\n <div class=\"panel-body\">\\n <div class=\"row\">\\n <div class=\"col-md-12\">\\n <span class=\"addNewLine\">\\n {{\\'ADD_NEW_LINE\\' | translate}} :\\n </span>\\n \\n <button\\n class=\"btn btn-primary\"\\n ng-click=\"$ctrl.addNewline()\">\\n <i class=\"fa fa-plus fa-1x\"></i>\\n </button>\\n </div>\\n </div>\\n </div>\\n </div>\\n </div>\\n ',\n bindings: {\n addNewline: '&'\n },\n controller: function () {\n function StepZeroCommandPanelController() {\n _classCallCheck(this, StepZeroCommandPanelController);\n }\n\n _createClass(StepZeroCommandPanelController, null, [{\n key: '$inject',\n get: function get() {\n return [];\n }\n }]);\n\n return StepZeroCommandPanelController;\n }()\n};//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9tYWluL3N0ZXBaZXJvQ29udGVudC9TdGVwWmVyb0NvbW1hbmRQYW5lbC9zdGVwd2F5Lm1haW4uU3RlcFplcm9Db21tYW5kUGFuZWwuY29tcG9uZW50LmpzP2RmY2QiXSwibmFtZXMiOlsiU1RFUF9aRVJPX0NPTU1BTkRfUEFORUxfQ09NUE9ORU5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ZGl2IGNsYXNzPVwicm93XCI+XG4gICAgICAgICAgPGRpdiBjbGFzcz1cImNvbC1tZC0xMlwiPlxuICAgICAgICAgICAgPHNwYW4gY2xhc3M9XCJhZGROZXdMaW5lXCI+XG4gICAgICAgICAgICAgIHt7J0FERF9ORVdfTElORScgfCB0cmFuc2xhdGV9fSA6XG4gICAgICAgICAgICA8L3NwYW4+XG4gICAgICAgICAgICAmbmJzcDtcbiAgICAgICAgICAgIDxidXR0b25cbiAgICAgICAgICAgICAgY2xhc3M9XCJidG4gYnRuLXByaW1hcnlcIlxuICAgICAgICAgICAgICBuZy1jbGljaz1cIiRjdHJsLmFkZE5ld2xpbmUoKVwiPlxuICAgICAgICAgICAgICA8aSBjbGFzcz1cImZhIGZhLXBsdXMgZmEtMXhcIj48L2k+XG4gICAgICAgICAgICA8L2J1dHRvbj5cbiAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgPC9kaXY+XG4gICAgICA8L2Rpdj5cbiAgICA8L2Rpdj5cbiAgPC9kaXY+XG4gIGAsXG4gIGJpbmRpbmdzOiB7XG4gICAgYWRkTmV3bGluZTogICcmJ1xuICB9LFxuICBjb250cm9sbGVyOlxuICBjbGFzcyBTdGVwWmVyb0NvbW1hbmRQYW5lbENvbnRyb2xsZXIge1xuICAgIGNvbnN0cnVjdG9yKCkge1xuXG4gICAgfVxuXG4gICAgc3RhdGljIGdldCAkaW5qZWN0KCkge1xuICAgICAgcmV0dXJuIFtdO1xuICAgIH1cbiAgfVxufTtcblxuXG5cbi8vIFdFQlBBQ0sgRk9PVEVSIC8vXG4vLyAuL3NyYy9hcHAvc3RlcHdheS9jb21wb25lbnRzL21haW4vc3RlcFplcm9Db250ZW50L1N0ZXBaZXJvQ29tbWFuZFBhbmVsL3N0ZXB3YXkubWFpbi5TdGVwWmVyb0NvbW1hbmRQYW5lbC5jb21wb25lbnQuanMiXSwic291cmNlUm9vdCI6IiJ9");
|
||
|
||
/***/ },
|
||
/* 36 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: 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 STEP_ZERO_VISUAL_PANEL_COMPONENT_NAME = exports.STEP_ZERO_VISUAL_PANEL_COMPONENT_NAME = 'stepZeroVisualPanel';\n\nvar StepZeroVisualPanelComponent = exports.StepZeroVisualPanelComponent = {\n template: '\\n <div id=\"visualPanel\">\\n <div class=\"panel panel-default\">\\n <div class=\"panel-heading\">\\n <h3 class=\"panel-title\">\\n <i class=\"fa fa-eye\"></i>\\n \\n {{\\'VISUAL_PANEL\\' | translate}}\\n </h3>\\n </div>\\n <div class=\"panel-body\">\\n <!-- lines -->\\n <ul class=\"list-group\">\\n <li\\n class=\"list-group-item\"\\n ng-repeat=\"line in $ctrl.configuration.lines track by $index\">\\n <!-- columns -->\\n <div ng-switch on=\"line.columns.length\">\\n <div\\n class=\"row linesList\"\\n ng-switch-when=\"1\">\\n <div\\n class=\"col-md-12 lineCommandButtons\"\\n ng-show=\"$ctrl.configuration.lines.length > 1\">\\n <button\\n class=\"btn btn-warning\"\\n ng-hide=\"$index==0\"\\n ng-click=\"$ctrl.upThisLine({index: $index})\">\\n <i class=\"fa fa-arrow-up\"></i>\\n </button>\\n <button\\n class=\"btn btn-warning\"\\n ng-hide=\"$index==($ctrl.configuration.lines.length-1)\"\\n ng-click=\"$ctrl.downThisLine({index: $index})\">\\n <i class=\"fa fa-arrow-down\"></i>\\n </button>\\n <button\\n class=\"btn btn-danger pull-right\"\\n ng-click=\"$ctrl.removeThisLine({index: $index})\">\\n <i class=\"fa fa-trash-o\"></i>\\n </button>\\n </div>\\n <div class=\"col-md-12\">\\n <div class=\"col-md-12 well\">\\n <button\\n class=\"btn btn-lg btn-block btn-default disabled\">\\n {{line.columns[0].control.type !== \\'none\\' ? line.columns[0].control.type + \\' \\' + line.columns[0].control.subtype || \\'\\' : \\'column 1\\'}}\\n </button>\\n </div>\\n </div>\\n </div>\\n <div\\n class=\"row linesList\"\\n ng-switch-when=\"2\">\\n <div\\n class=\"col-md-12 lineCommandButtons\"\\n ng-show=\"$ctrl.configuration.lines.length > 1\">\\n <button\\n class=\"btn btn-warning\"\\n ng-hide=\"$index==0\"\\n ng-click=\"$ctrl.upThisLine({index: $index})\">\\n <i class=\"fa fa-arrow-up\"></i>\\n </button>\\n <button\\n class=\"btn btn-warning\"\\n ng-hide=\"$index==($ctrl.configuration.lines.length-1)\"\\n ng-click=\"$ctrl.downThisLine({index: $index})\">\\n <i class=\"fa fa-arrow-down\"></i>\\n </button>\\n <button\\n class=\"btn btn-danger pull-right\"\\n ng-click=\"$ctrl.removeThisLine({index: $index})\">\\n <i class=\"fa fa-trash-o\"></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\\n class=\"row linesList\"\\n ng-switch-when=\"3\">\\n <div\\n class=\"col-md-12 lineCommandButtons\"\\n ng-show=\"$ctrl.configuration.lines.length > 1\">\\n <button\\n class=\"btn btn-warning\"\\n ng-hide=\"$index==0\"\\n ng-click=\"$ctrl.upThisLine({index: $index})\">\\n <i class=\"fa fa-arrow-up\"></i>\\n </button>\\n <button\\n class=\"btn btn-warning\"\\n ng-hide=\"$index==($ctrl.configuration.lines.length-1)\"\\n ng-click=\"$ctrl.downThisLine({index: $index})\">\\n <i class=\"fa fa-arrow-down\"></i>\\n </button>\\n <button\\n class=\"btn btn-danger\\n pull-right\"\\n ng-click=\"$ctrl.removeThisLine({index: $index})\">\\n <i class=\"fa fa-trash-o\"></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\\n 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\\n 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 </li>\\n </ul>\\n </div>\\n </div>\\n </div>\\n ',\n bindings: {\n configuration: '=',\n downThisLine: '&',\n upThisLine: '&',\n removeThisLine: '&'\n },\n controller: function () {\n function StepZeroVisualPanelController() {\n _classCallCheck(this, StepZeroVisualPanelController);\n }\n\n _createClass(StepZeroVisualPanelController, null, [{\n key: '$inject',\n get: function get() {\n return [];\n }\n }]);\n\n return StepZeroVisualPanelController;\n }()\n};//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzI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dG9uXG4gICAgICAgICAgICAgICAgICAgIGNsYXNzPVwiYnRuIGJ0bi13YXJuaW5nXCJcbiAgICAgICAgICAgICAgICAgICAgbmctaGlkZT1cIiRpbmRleD09MFwiXG4gICAgICAgICAgICAgICAgICAgIG5nLWNsaWNrPVwiJGN0cmwudXBUaGlzTGluZSh7aW5kZXg6ICRpbmRleH0pXCI+XG4gICAgICAgICAgICAgICAgICAgIDxpIGNsYXNzPVwiZmEgZmEtYXJyb3ctdXBcIj48L2k+XG4gICAgICAgICAgICAgICAgICA8L2J1dHRvbj5cbiAgICAgICAgICAgICAgICAgIDxidXR0b25cbiAgICAgICAgICAgICAgICAgICAgY2xhc3M9XCJidG4gYnRuLXdhcm5pbmdcIlxuICAgICAgICAgICAgICAgICAgICBuZy1oaWRlPVwiJGluZGV4PT0oJGN0cmwuY29uZmlndXJhdGlvbi5saW5lcy5sZW5ndGgtMSlcIlxuICAgICAgICAgICAgICAgICAgICBuZy1jbGljaz1cIiRjdHJsLmRvd25UaGlzTGluZSh7aW5kZXg6ICRpbmRleH0pXCI+XG4gICAgICAgICAgICAgICAgICAgIDxpIGNsYXNzPVwiZmEgZmEtYXJyb3ctZG93blwiPjwvaT5cbiAgICAgICAgICAgICAgICAgIDwvYnV0dG9uPlxuICAgICAgICAgICAgICAgICAgPGJ1dHRvblxuICAgICAgICAgICAgICAgICAgICBjbGFzcz1cImJ0biBidG4tZGFuZ2VyIHB1bGwtcmlnaHRcIlxuICAgICAgICAgICAgICAgICAgICBuZy1jbGljaz1cIiRjdHJsLnJlbW92ZVRoaXNMaW5lKHtpbmRleDogJGluZGV4fSlcIj5cbiAgICAgICAgICAgICAgICAgICAgPGkgY2xhc3M9XCJmYSBmYS10cmFzaC1vXCI+PC9pPlxuICAgICAgICAgICAgICAgICAgPC9idXR0b24+XG4gICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cImNvbC1tZC0xMlwiPlxuICAgICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cImNvbC1tZC0xMiB3ZWxsXCI+XG4gICAgICAgICAgICAgICAgICAgIDxidXR0b25cbiAgICAgICAgICAgICAgICAgICAgICBjbGFzcz1cImJ0biBidG4tbGcgYnRuLWJsb2NrICBidG4tZGVmYXVsdCBkaXNhYmxlZFwiPlxuICAgICAgICAgICAgICAgICAgICAgIHt7bGluZS5jb2x1bW5zWzBdLmNvbnRyb2wudHlwZSAhPT0gJ25vbmUnICA/IGxpbmUuY29sdW1uc1swXS5jb250cm9sLnR5cGUgKyAnICcgKyBsaW5lLmNvbHVtbnNbMF0uY29udHJvbC5zdWJ0eXBlIHx8ICcnIDogJ2NvbHVtbiAxJ319XG4gICAgICAgICAgICAgICAgICAgIDwvYnV0dG9uPlxuICAgICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgICA8ZGl2XG4gICAgICAgICAgICAgICAgY2xhc3M9XCJyb3cgbGluZXNMaXN0XCJcbiAgICAgICAgICAgICAgICBuZy1zd2l0Y2gtd2hlbj1cIjJcIj5cbiAgICAgICAgICAgICAgICA8ZGl2XG4gICAgICAgICAgICAgICAgICBjbGFzcz1cImNvbC1tZC0xMiBsaW5lQ29tbWFuZEJ1dHRvbnNcIlxuICAgICAgICAgICAgICAgICAgbmctc2hvdz1cIiRjdHJsLmNvbmZpZ3VyYXRpb24ubGluZXMubGVuZ3RoID4gMVwiPlxuICAgICAgICAgICAgICAgICAgPGJ1dHRvblxuICAgICAgICAgICAgICAgICAgICBjbGFzcz1cImJ0biBidG4td2FybmluZ1wiXG4gICAgICAgICAgICAgICAgICAgIG5nLWhpZGU9XCIkaW5kZXg9PTBcIlxuICAgICAgICAgICAgICAgICAgICBuZy1jbGljaz1cIiRjdHJsLnVwVGhpc0xpbmUoe2luZGV4OiAkaW5kZXh9KVwiPlxuICAgICAgICAgICAgICAgICAgICA8aSBjbGFzcz1cImZhIGZhLWFycm93LXVwXCI+PC9pPlxuICAgICAgICAgICAgICAgICAgPC9idXR0b24+XG4gICAgICAgICAgICAgICAgICA8YnV0dG9uXG4gICAgICAgICAgICAgICAgICAgIGNsYXNzPVwiYnRuIGJ0bi13YXJuaW5nXCJcbiAgICAgICAgICAgICAgICAgICAgbmctaGlkZT1cIiRpbmRleD09KCRjdHJsLmNvbmZpZ3VyYXRpb24ubGluZXMubGVuZ3RoLTEpXCJcbiAgICAgICAgICAgICAgICAgICAgbmctY2xpY2s9XCIkY3RybC5kb3duVGhpc0xpbmUoe2luZGV4OiAkaW5kZXh9KVwiPlxuICAgICAgICAgICAgICAgICAgICA8aSBjbGFzcz1cImZhIGZhLWFycm93LWRvd25cIj48L2k+XG4gICAgICAgICAgICAgICAgICA8L2J1dHRvbj5cbiAgICAgICAgICAgICAgICAgIDxidXR0b25cbiAgICAgICAgICAgICAgICAgICAgY2xhc3M9XCJidG4gYnRuLWRhbmdlciBwdWxsLXJpZ2h0XCJcbiAgICAgICAgICAgICAgICAgICAgbmctY2xpY2s9XCIkY3RybC5yZW1vdmVUaGlzTGluZSh7aW5kZXg6ICRpbmRleH0pXCI+XG4gICAgICAgICAgICAgICAgICAgIDxpIGNsYXNzPVwiZmEgZmEtdHJhc2gtb1wiPjwvaT5cbiAgICAgICAgICAgICAgICAgIDwvYnV0dG9uPlxuICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJjb2wtbWQtMTJcIj5cbiAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJjb2wtbWQtNiB3ZWxsXCI+XG4gICAgICAgICAgICAgICAgICAgIDxidXR0b24gY2xhc3M9XCJidG4gYnRuLWxnIGJ0bi1ibG9jayAgYnRuLWRlZmF1bHQgZGlzYWJsZWRcIj5cbiAgICAgICAgICAgICAgICAgICAgICAgIHt7bGluZS5jb2x1bW5zWzBdLmNvbnRyb2wudHlwZSAhPT0gJ25vbmUnICA/IGxpbmUuY29sdW1uc1swXS5jb250cm9sLnR5cGUgKyAnICcgKyBsaW5lLmNvbHVtbnNbMF0uY29udHJvbC5zdWJ0eXBlIHx8ICcnIDogJ2NvbHVtbiAxJ319XG4gICAgICAgICAgICAgICAgICAgIDwvYnV0dG9uPlxuICAgICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwiY29sLW1kLTYgd2VsbFwiPlxuICAgICAgICAgICAgICAgICAgICA8YnV0dG9uIGNsYXNzPVwiYnRuIGJ0bi1sZyBidG4tYmxvY2sgIGJ0bi1kZWZhdWx0IGRpc2FibGVkXCI+XG4gICAgICAgICAgICAgICAgICAgICAgICB7e2xpbmUuY29sdW1uc1sxXS5jb250cm9sLnR5cGUgIT09ICdub25lJyAgPyBsaW5lLmNvbHVtbnNbMV0uY29udHJvbC50eXBlICsgJyAnICsgbGluZS5jb2x1bW5zWzFdLmNvbnRyb2wuc3VidHlwZSB8fCAnJyA6ICdjb2x1bW4gMid9fVxuICAgICAgICAgICAgICAgICAgICA8L2J1dHRvbj5cbiAgICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgICAgPGRpdlxuICAgICAgICAgICAgICAgIGNsYXNzPVwicm93IGxpbmVzTGlzdFwiXG4gICAgICAgICAgICAgICAgbmctc3dpdGNoLXdoZW49XCIzXCI+XG4gICAgICAgICAgICAgICAgPGRpdlxuICAgICAgICAgICAgICAgICAgY2xhc3M9XCJjb2wtbWQtMTIgbGluZUNvbW1hbmRCdXR0b25zXCJcbiAgICAgICAgICAgICAgICAgIG5nLXNob3c9XCIkY3RybC5jb25maWd1cmF0aW9uLmxpbmVzLmxlbmd0aCA+IDFcIj5cbiAgICAgICAgICAgICAgICAgIDxidXR0b25cbiAgICAgICAgICAgICAgICAgICAgY2xhc3M9XCJidG4gYnRuLXdhcm5pbmdcIlxuICAgICAgICAgICAgICAgICAgICBuZy1oaWRlPVwiJGluZGV4PT0wXCJcbiAgICAgICAgICAgICAgICAgICAgbmctY2xpY2s9XCIkY3RybC51cFRoaXNMaW5lKHtpbmRleDogJGluZGV4fSlcIj5cbiAgICAgICAgICAgICAgICAgICAgPGkgY2xhc3M9XCJmYSBmYS1hcnJvdy11cFwiPjwvaT5cbiAgICAgICAgICAgICAgICAgIDwvYnV0dG9uPlxuICAgICAgICAgICAgICAgICAgPGJ1dHRvblxuICAgICAgICAgICAgICAgICAgICBjbGFzcz1cImJ0biBidG4td2FybmluZ1wiXG4gICAgICAgICAgICAgICAgICAgIG5nLWhpZGU9XCIkaW5kZXg9PSgkY3RybC5jb25maWd1cmF0aW9uLmxpbmVzLmxlbmd0aC0xKVwiXG4gICAgICAgICAgICAgICAgICAgIG5nLWNsaWNrPVwiJGN0cmwuZG93blRoaXNMaW5lKHtpbmRleDogJGluZGV4fSlcIj5cbiAgICAgICAgICAgICAgICAgICAgPGkgY2xhc3M9XCJmYSBmYS1hcnJvdy1kb3duXCI+PC9pPlxuICAgICAgICAgICAgICAgICAgPC9idXR0b24+XG4gICAgICAgICAgICAgICAgICA8YnV0dG9uXG4gICAgICAgICAgICAgICAgICAgIGNsYXNzPVwiYnRuIGJ0bi1kYW5nZXJcbiAgICAgICAgICAgICAgICAgICAgcHVsbC1yaWdodFwiXG4gICAgICAgICAgICAgICAgICAgIG5nLWNsaWNrPVwiJGN0cmwucmVtb3ZlVGhpc0xpbmUoe2luZGV4OiAkaW5kZXh9KVwiPlxuICAgICAgICAgICAgICAgICAgICA8aSBjbGFzcz1cImZhIGZhLXRyYXNoLW9cIj48L2k+XG4gICAgICAgICAgICAgICAgICA8L2J1dHRvbj5cbiAgICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwiY29sLW1kLTEyXCI+XG4gICAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwiY29sLW1kLTQgd2VsbFwiPlxuICAgICAgICAgICAgICAgICAgICA8YnV0dG9uIGNsYXNzPVwiYnRuIGJ0bi1sZyBidG4tYmxvY2sgIGJ0bi1kZWZhdWx0IGRpc2FibGVkXCI+XG4gICAgICAgICAgICAgICAgICAgICAge3tsaW5lLmNvbHVtbnNbMF0uY29udHJvbC50eXBlICE9PSAnbm9uZScgID8gbGluZS5jb2x1bW5zWzBdLmNvbnRyb2wudHlwZSArICcgJyArIGxpbmUuY29sdW1uc1swXS5jb250cm9sLnN1YnR5cGUgfHwgJycgOiAnY29sdW1uIDEnfX1cbiAgICAgICAgICAgICAgICAgICAgPC9idXR0b24+XG4gICAgICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJjb2wtbWQtNCB3ZWxsXCI+XG4gICAgICAgICAgICAgICAgICAgIDxidXR0b25cbiAgICAgICAgICAgICAgICAgICAgICBjbGFzcz1cImJ0biBidG4tbGcgYnRuLWJsb2NrICBidG4tZGVmYXVsdCBkaXNhYmxlZFwiPlxuICAgICAgICAgICAgICAgICAgICAgIHt7bGluZS5jb2x1bW5zWzFdLmNvbnRyb2wudHlwZSAhPT0gJ25vbmUnICA/IGxpbmUuY29sdW1uc1sxXS5jb250cm9sLnR5cGUgKyAnICcgKyBsaW5lLmNvbHVtbnNbMV0uY29udHJvbC5zdWJ0eXBlIHx8ICcnIDogJ2NvbHVtbiAyJ319XG4gICAgICAgICAgICAgICAgICAgIDwvYnV0dG9uPlxuICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJjb2wtbWQtNCB3ZWxsXCI+XG4gICAgICAgICAgICAgICAgICA8YnV0dG9uXG4gICAgICAgICAgICAgICAgICAgIGNsYXNzPVwiYnRuIGJ0bi1sZyBidG4tYmxvY2sgIGJ0bi1kZWZhdWx0IGRpc2FibGVkXCI+XG4gICAgICAgICAgICAgICAgICAgIHt7bGluZS5jb2x1bW5zWzJdLmNvbnRyb2wudHlwZSAhPT0gJ25vbmUnICA/IGxpbmUuY29sdW1uc1syXS5jb250cm9sLnR5cGUgKyAnICcgKyBsaW5lLmNvbHVtbnNbMl0uY29udHJvbC5zdWJ0eXBlIHx8ICcnIDogJ2NvbHVtbiAzJ319XG4gICAgICAgICAgICAgICAgICA8L2J1dHRvbj5cbiAgICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICA8L2xpPlxuICAgICAgICA8L3VsPlxuICAgICAgPC9kaXY+XG4gICAgPC9kaXY+XG4gIDwvZGl2PlxuICBgLFxuICBiaW5kaW5nczoge1xuICAgIGNvbmZpZ3VyYXRpb246ICAgICAgICAgICAgJz0nLFxuICAgIGRvd25UaGlzTGluZTogICAgICAgICAgICAgJyYnLFxuICAgIHVwVGhpc0xpbmU6ICAgICAgICAgICAgICAgJyYnLFxuICAgIHJlbW92ZVRoaXNMaW5lOiAgICAgICAgICAgJyYnXG4gIH0sXG4gIGNvbnRyb2xsZXI6XG4gIGNsYXNzIFN0ZXBaZXJvVmlzdWFsUGFuZWxDb250cm9sbGVyIHtcbiAgICBjb25zdHJ1Y3RvcigpIHtcblxuICAgIH1cblxuICAgIHN0YXRpYyBnZXQgJGluamVjdCgpIHtcbiAgICAgIHJldHVybiBbXTtcbiAgICB9XG4gIH1cbn07XG5cblxuXG4vLyBXRUJQQUNLIEZPT1RFUiAvL1xuLy8gLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9tYWluL3N0ZXBaZXJvQ29udGVudC9TdGVwWmVyb1Zpc3VhbFBhbmVsL3N0ZXB3YXkubWFpbi5TdGVwWmVyb1Zpc3VhbFBhbmVsLmNvbXBvbmVudC5qcyJdLCJzb3VyY2VSb290IjoiIn0=");
|
||
|
||
/***/ },
|
||
/* 37 */
|
||
/***/ function(module, exports, __webpack_require__) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _stepwayMainStepOneContent = __webpack_require__(38);\n\nvar _stepwayMainStepOneCommandPanel = __webpack_require__(39);\n\nvar _stepwayMainStepOneVisualPanel = __webpack_require__(40);\n\nvar STEP_ONE_CONTENT_COMPONENT_MODULE = 'stepway.stepOneContent.module';\n\nexports.default = angular.module(STEP_ONE_CONTENT_COMPONENT_MODULE, []).component(_stepwayMainStepOneContent.LINE_STEP_CONTENT_COMPONENT, _stepwayMainStepOneContent.stepOneContentComponent).component(_stepwayMainStepOneCommandPanel.STEP_ONE_COMMAND_PANEL_COMPONENT_NAME, _stepwayMainStepOneCommandPanel.StepOneCommandPanelComponent).component(_stepwayMainStepOneVisualPanel.STEP_ONE_VISUAL_PANEL_COMPONENT_NAME, _stepwayMainStepOneVisualPanel.StepOneVisualPanelComponent);//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9tYWluL3N0ZXBPbmVDb250ZW50L3N0ZXB3YXkubWFpbi5zdGVwT25lQ29udGVudC5tb2R1bGUuanM/YjA1ZiJdLCJuYW1lcyI6WyJTVEVQX09ORV9DT05URU5UX0NPTVBPTkVOVF9NT0RVTEUiLCJhbmd1bGFyIiwibW9kdWxlIiwiY29tcG9uZW50Il0sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQTs7QUFJQTs7QUFJQTs7QUFNQSxJQUFNQSxvQ0FBb0MsK0JBQTFDOztrQkFFZUMsUUFDRUMsTUFERixDQUNTRixpQ0FEVCxFQUM0QyxFQUQ1QyxFQUVFRyxTQUZGLDZHQUdFQSxTQUhGLHNJQUlFQSxTQUpGLGlJIiwiZmlsZSI6IjM3LmpzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtcbiAgc3RlcE9uZUNvbnRlbnRDb21wb25lbnQsXG4gIExJTkVfU1RFUF9DT05URU5UX0NPTVBPTkVOVFxufSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGZyb20gJy4vc3RlcHdheS5tYWluLnN0ZXBPbmVDb250ZW50LmNvbXBvbmVudCc7XG5pbXBvcnQge1xuICBTVEVQX09ORV9DT01NQU5EX1BBTkVMX0NPTVBPTkVOVF9OQU1FLFxuICBTdGVwT25lQ29tbWFuZFBhbmVsQ29tcG9uZW50XG59ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZnJvbSAnLi9TdGVwT25lQ29tbWFuZFBhbmVsL3N0ZXB3YXkubWFpbi5TdGVwT25lQ29tbWFuZFBhbmVsLmNvbXBvbmVudCc7XG5pbXBvcnQge1xuICBTVEVQX09ORV9WSVNVQUxfUEFORUxfQ09NUE9ORU5UX05BTUUsXG4gIFN0ZXBPbmVWaXN1YWxQYW5lbENvbXBvbmVudFxufSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGZyb20gJy4vU3RlcE9uZVZpc3VhbFBhbmVsL3N0ZXB3YXkubWFpbi5TdGVwT25lVmlzdWFsUGFuZWwuY29tcG9uZW50JztcblxuXG5jb25zdCBTVEVQX09ORV9DT05URU5UX0NPTVBPTkVOVF9NT0RVTEUgPSAnc3RlcHdheS5zdGVwT25lQ29udGVudC5tb2R1bGUnO1xuXG5leHBvcnQgZGVmYXVsdCBhbmd1bGFyXG4gICAgICAgICAgICAgICAgLm1vZHVsZShTVEVQX09ORV9DT05URU5UX0NPTVBPTkVOVF9NT0RVTEUsIFtdKVxuICAgICAgICAgICAgICAgIC5jb21wb25lbnQoTElORV9TVEVQX0NPTlRFTlRfQ09NUE9ORU5ULCBzdGVwT25lQ29udGVudENvbXBvbmVudClcbiAgICAgICAgICAgICAgICAuY29tcG9uZW50KFNURVBfT05FX0NPTU1BTkRfUEFORUxfQ09NUE9ORU5UX05BTUUsIFN0ZXBPbmVDb21tYW5kUGFuZWxDb21wb25lbnQpXG4gICAgICAgICAgICAgICAgLmNvbXBvbmVudChTVEVQX09ORV9WSVNVQUxfUEFORUxfQ09NUE9ORU5UX05BTUUsIFN0ZXBPbmVWaXN1YWxQYW5lbENvbXBvbmVudCk7XG5cblxuXG4vLyBXRUJQQUNLIEZPT1RFUiAvL1xuLy8gLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9tYWluL3N0ZXBPbmVDb250ZW50L3N0ZXB3YXkubWFpbi5zdGVwT25lQ29udGVudC5tb2R1bGUuanMiXSwic291cmNlUm9vdCI6IiJ9");
|
||
|
||
/***/ },
|
||
/* 38 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: 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 LINE_STEP_CONTENT_COMPONENT = 'stepOneContent';\n\nvar stepOneContentComponent = exports.stepOneContentComponent = {\n template: '\\n <div\\n class=\"animate-switch\"\\n ng-switch-when=\"first\">\\n <div class=\"col-md-4\">\\n <step-one-command-panel\\n configuration=\"$ctrl.configuration\"\\n increase-number-of-columns=\"$ctrl.increaseNumberOfColumns()\"\\n decrease-number-of-columns=\"$ctrl.decreaseNumberOfColumns()\">\\n </step-one-command-panel>\\n </div>\\n <div class=\"col-md-8\">\\n <step-one-visual-panel\\n configuration=\"$ctrl.configuration\"\\n set-active-line-number=\"$ctrl.setActiveLineNumberParent(index)\">\\n </step-one-visual-panel>\\n </div>\\n </div>\\n ',\n bindings: {\n configuration: '=',\n increaseNumberOfColumns: '&',\n decreaseNumberOfColumns: '&',\n setActiveLineNumber: '&'\n },\n controller: function () {\n function stepOneContentController() {\n _classCallCheck(this, stepOneContentController);\n }\n\n ///////////////////////////////////\n // WHY this function is needed :\n ///////////////////////////////////\n // CASE OF : function with parameter passing from parent to caller through another level component\n // parent -> intermediate component (here) -> caller\n // NOTE : intermediate should call parent function to be sure to pass function parameter upward to parent\n\n\n _createClass(stepOneContentController, [{\n key: 'setActiveLineNumberParent',\n value: function setActiveLineNumberParent(index) {\n this.setActiveLineNumber({ index: index });\n }\n }], [{\n key: '$inject',\n get: function get() {\n return [];\n }\n }]);\n\n return stepOneContentController;\n }()\n};\n\nexports.default = stepOneContentComponent;\nexports.LINE_STEP_CONTENT_COMPONENT = LINE_STEP_CONTENT_COMPONENT;//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9tYWluL3N0ZXBPbmVDb250ZW50L3N0ZXB3YXkubWFpbi5zdGVwT25lQ29udGVudC5jb21wb25lbnQuanM/OTkyZSJdLCJuYW1lcyI6WyJMSU5FX1NURVBfQ09OVEVOVF9DT01QT05FTlQiLCJzdGVwT25lQ29udGVudENvbXBvbmVudCIsInRlbXBsYXRlIiwiYmluZGluZ3MiLCJjb25maWd1cmF0aW9uIiwiaW5jcmVhc2VOdW1iZXJPZkNvbHVtbnMiLCJkZWNyZWFzZU51bWJlck9mQ29sdW1ucyIsInNldEFjdGl2ZUxpbmVOdW1iZXIiLCJjb250cm9sbGVyIiwiaW5kZXgiXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7QUFBQSxJQUFNQSw4QkFBOEIsZ0JBQXBDOztBQUVPLElBQU1DLDREQUEwQjtBQUNyQ0MsNGxCQURxQztBQW9CckNDLFlBQVc7QUFDVEMsbUJBQTRCLEd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ZXJcbiAgICAvLyBOT1RFIDogaW50ZXJtZWRpYXRlIHNob3VsZCBjYWxsIHBhcmVudCBmdW5jdGlvbiB0byBiZSBzdXJlIHRvIHBhc3MgZnVuY3Rpb24gcGFyYW1ldGVyIHVwd2FyZCB0byBwYXJlbnRcbiAgICBzZXRBY3RpdmVMaW5lTnVtYmVyUGFyZW50KGluZGV4KSB7XG4gICAgICB0aGlzLnNldEFjdGl2ZUxpbmVOdW1iZXIoeyBpbmRleDogaW5kZXggfSk7XG4gICAgfVxuXG4gICAgc3RhdGljIGdldCAkaW5qZWN0KCkge1xuICAgICAgcmV0dXJuIFtdO1xuICAgIH1cbiAgfVxufTtcblxuZXhwb3J0IGRlZmF1bHQgc3RlcE9uZUNvbnRlbnRDb21wb25lbnQ7XG5leHBvcnQge1xuICBMSU5FX1NURVBfQ09OVEVOVF9DT01QT05FTlRcbn07XG5cblxuXG4vLyBXRUJQQUNLIEZPT1RFUiAvL1xuLy8gLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9tYWluL3N0ZXBPbmVDb250ZW50L3N0ZXB3YXkubWFpbi5zdGVwT25lQ29udGVudC5jb21wb25lbnQuanMiXSwic291cmNlUm9vdCI6IiJ9");
|
||
|
||
/***/ },
|
||
/* 39 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: 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 STEP_ONE_COMMAND_PANEL_COMPONENT_NAME = exports.STEP_ONE_COMMAND_PANEL_COMPONENT_NAME = 'stepOneCommandPanel';\n\nvar StepOneCommandPanelComponent = exports.StepOneCommandPanelComponent = {\n template: '\\n <div id=\"commandPanel\">\\n <div class=\"panel panel-default\">\\n <div class=\"panel-heading\">\\n <h3 class=\"panel-title\">\\n <i class=\"fa fa-keyboard-o\"></i>\\n \\n {{\\'COMMAND_PANEL\\' | translate}}\\n </h3>\\n </div>\\n <div class=\"panel-body\">\\n <div class=\"row\">\\n <div class=\"col-md-12\">\\n <h4 class=\"numberOfcolumsText text-center\">\\n <i>\\n - {{\\'SELECTED_LINE\\' | translate}} -\\n </i>\\n </h4>\\n <h4 class=\"numberOfcolumsText text-center\">\\n {{\\'NUMBER_OF_COLUMN\\' | translate}} :\\n </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\\n class=\"btn btn-primary pull-right btnMinusColumns\"\\n ng-click=\"$ctrl.decreaseNumberOfColumns()\">\\n <i class=\"fa fa-minus fa-1x\"></i>\\n </button>\\n </div>\\n <div class=\"col-xs-2 col-sm-2 col-md-2 text-center\">\\n <span class=\"numberOfColumnsLabel \">\\n {{$ctrl.configuration.lines[$ctrl.configuration.activeLine -1].columns.length}}\\n </span>\\n </div>\\n <div class=\"col-xs-2 col-sm-2 col-md-2\">\\n <button\\n class=\"btn btn-primary pull-left btnAddColumns\"\\n ng-click=\"$ctrl.increaseNumberOfColumns()\">\\n <i class=\"fa fa-plus fa-1x\"></i>\\n </button>\\n </div>\\n </div>\\n </div>\\n </div>\\n </div>\\n ',\n bindings: {\n configuration: '=',\n increaseNumberOfColumns: '&',\n decreaseNumberOfColumns: '&'\n },\n controller: function () {\n function StepOneCommandPanelController() {\n _classCallCheck(this, StepOneCommandPanelController);\n }\n\n _createClass(StepOneCommandPanelController, null, [{\n key: '$inject',\n get: function get() {\n return [];\n }\n }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IDwvZGl2PlxuICAgICAgPC9kaXY+XG4gICAgPC9kaXY+XG4gIDwvZGl2PlxuICBgLFxuICBiaW5kaW5nczoge1xuICAgIGNvbmZpZ3VyYXRpb246ICAgICAgICAgICAgJz0nLFxuICAgIGluY3JlYXNlTnVtYmVyT2ZDb2x1bW5zOiAgJyYnLFxuICAgIGRlY3JlYXNlTnVtYmVyT2ZDb2x1bW5zOiAgJyYnXG4gIH0sXG4gIGNvbnRyb2xsZXI6XG4gIGNsYXNzIFN0ZXBPbmVDb21tYW5kUGFuZWxDb250cm9sbGVyIHtcbiAgICBjb25zdHJ1Y3RvcigpIHtcblxuICAgIH1cblxuICAgIHN0YXRpYyBnZXQgJGluamVjdCgpIHtcbiAgICAgIHJldHVybiBbXTtcbiAgICB9XG4gIH1cbn07XG5cblxuXG4vLyBXRUJQQUNLIEZPT1RFUiAvL1xuLy8gLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9tYWluL3N0ZXBPbmVDb250ZW50L1N0ZXBPbmVDb21tYW5kUGFuZWwvc3RlcHdheS5tYWluLlN0ZXBPbmVDb21tYW5kUGFuZWwuY29tcG9uZW50LmpzIl0sInNvdXJjZVJvb3QiOiIifQ==");
|
||
|
||
/***/ },
|
||
/* 40 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: 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 STEP_ONE_VISUAL_PANEL_COMPONENT_NAME = exports.STEP_ONE_VISUAL_PANEL_COMPONENT_NAME = 'stepOneVisualPanel';\n\nvar StepOneVisualPanelComponent = exports.StepOneVisualPanelComponent = {\n template: '\\n <div id=\"visualPanel\">\\n <div class=\"panel panel-default\">\\n <div class=\"panel-heading\">\\n <h3 class=\"panel-title\">\\n <i class=\"fa fa-eye\"></i>\\n \\n {{\\'VISUAL_PANEL\\' | translate}}\\n </h3>\\n </div>\\n <div class=\"panel-body\">\\n <!-- lines / columns -->\\n <ul class=\"list-group\">\\n <li\\n class=\"list-group-item\"\\n ng-repeat=\"line in $ctrl.configuration.lines track by $index\">\\n <!-- columns -->\\n <div ng-switch on=\"line.columns.length\">\\n <div\\n class=\"row linesList\"\\n ng-switch-when=\"1\">\\n <div\\n class=\"col-md-12 lineCommandButtons\"\\n ng-show=\"$ctrl.configuration.lines.length > 1\">\\n <button\\n class=\"btn\"\\n ng-class=\"{\\'btn-warning\\':($index + 1) !== $ctrl.configuration.activeLine, \\'btn-success\\': ($index + 1) === $ctrl.configuration.activeLine}\"\\n ng-click=\"$ctrl.setActiveLineNumber({index: $index + 1})\">\\n <i\\n class=\"fa\"\\n ng-class=\"{\\'fa-square-o\\': ($index + 1) !== $ctrl.configuration.activeLine, \\'fa-check-square-o\\': ($index + 1) === $ctrl.configuration.activeLine}\">\\n </i>\\n </button>\\n </div>\\n <div class=\"col-md-12\">\\n <div class=\"col-md-12 well\">\\n <button class=\"btn btn-lg btn-block btn-default disabled\">\\n {{line.columns[0].control.type !== \\'none\\' ? line.columns[0].control.type + \\' \\' + line.columns[0].control.subtype || \\'\\' : \\'column 1\\'}}\\n </button>\\n </div>\\n </div>\\n </div>\\n <div\\n class=\"row linesList\"\\n ng-switch-when=\"2\">\\n <div\\n class=\"col-md-12 lineCommandButtons\"\\n ng-show=\"$ctrl.configuration.lines.length > 1\">\\n <button\\n class=\"btn\"\\n ng-class=\"{\\'btn-warning\\':($index + 1) !== $ctrl.configuration.activeLine, \\'btn-success\\': ($index + 1) === $ctrl.configuration.activeLine}\"\\n ng-click=\"$ctrl.setActiveLineNumber({index: $index + 1})\">\\n <i\\n class=\"fa\"\\n ng-class=\"{\\'fa-square-o\\': ($index + 1) !== $ctrl.configuration.activeLine, \\'fa-check-square-o\\': ($index + 1) === $ctrl.configuration.activeLine}\">\\n </i>\\n </button>\\n </div>\\n <div class=\"col-md-12\">\\n <div class=\"col-md-6 well\">\\n <button class=\"btn btn-lg btn-block btn-default disabled\">\\n {{line.columns[0].control.type !== \\'none\\' ? line.columns[0].control.type + \\' \\' + line.columns[0].control.subtype || \\'\\' : \\'column 1\\'}}\\n </button>\\n </div>\\n <div class=\"col-md-6 well\">\\n <button class=\"btn btn-lg btn-block btn-default disabled\">\\n {{line.columns[1].control.type !== \\'none\\' ? line.columns[1].control.type + \\' \\' + line.columns[1].control.subtype || \\'\\' : \\'column 2\\'}}\\n </button>\\n </div>\\n </div>\\n </div>\\n <div\\n class=\"row linesList\"\\n ng-switch-when=\"3\">\\n <div\\n class=\"col-md-12 lineCommandButtons\"\\n ng-show=\"$ctrl.configuration.lines.length > 1\">\\n <button\\n class=\"btn\"\\n ng-class=\"{\\'btn-warning\\':($index + 1) !== $ctrl.configuration.activeLine, \\'btn-success\\': ($index + 1) === $ctrl.configuration.activeLine}\"\\n ng-click=\"$ctrl.setActiveLineNumber({index: $index + 1})\">\\n <i\\n class=\"fa\"\\n ng-class=\"{\\'fa-square-o\\': ($index + 1) !== $ctrl.configuration.activeLine, \\'fa-check-square-o\\': ($index + 1) === $ctrl.configuration.activeLine}\">\\n </i>\\n </button>\\n </div>\\n <div class=\"col-md-12\">\\n <div class=\"col-md-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 ',\n bindings: {\n configuration: '=',\n setActiveLineNumber: '&'\n },\n controller: function () {\n function StepOneVisualPanelController() {\n _classCallCheck(this, StepOneVisualPanelController);\n }\n\n _createClass(StepOneVisualPanelController, null, [{\n key: '$inject',\n get: function get() {\n return [];\n }\n }]);\n\n return StepOneVisualPanelController;\n }()\n};//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9tYWluL3N0ZXBPbmVDb250ZW50L1N0ZXBPbmVWaXN1YWxQYW5lbC9zdGVwd2F5Lm1haW4uU3RlcE9uZVZpc3VhbFBhbmVsLmNvbXBvbmVudC5qcz81MDQ4Il0sIm5hbWVzIjpbIlNURVBfT05FX1ZJU1VBTF9QQU5FTF9DT01QT05FTlRfTkFNRSIsIlN0ZXBPbmVWaXN1YWxQYW5lbENvbXBvbmVudCIsInRlbXBsYXRlIiwiYmluZGluZ3MiLCJjb25maWd1cmF0aW9uIiwic2V0QWN0aXZlTGluZU51bWJlciIsImNvbnRyb2xsZXIiXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7QUFBTyxJQUFNQSxzRkFBdUMsb0JBQTdDOztBQUVBLElBQU1DLG9FQUE4QjtBQUN6Q0MsZy9LQUR5QztBQWlIekNDLFlBQVU7QUFDUkMsbUJBQTBCLEdBRGxCO0FBRVJDLHlCQUEwQjtBQU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dW1ucyAtLT5cbiAgICAgICAgICAgIDxkaXYgbmctc3dpdGNoIG9uPVwibGluZS5jb2x1bW5zLmxlbmd0aFwiPlxuICAgICAgICAgICAgICA8ZGl2XG4gICAgICAgICAgICAgICAgY2xhc3M9XCJyb3cgbGluZXNMaXN0XCJcbiAgICAgICAgICAgICAgICBuZy1zd2l0Y2gtd2hlbj1cIjFcIj5cbiAgICAgICAgICAgICAgICA8ZGl2XG4gICAgICAgICAgICAgICAgICBjbGFzcz1cImNvbC1tZC0xMiBsaW5lQ29tbWFuZEJ1dHRvbnNcIlxuICAgICAgICAgICAgICAgICAgbmctc2hvdz1cIiRjdHJsLmNvbmZpZ3VyYXRpb24ubGluZXMubGVuZ3RoID4gMVwiPlxuICAgICAgICAgICAgICAgICAgPGJ1dHRvblxuICAgICAgICAgICAgICAgICAgICBjbGFzcz1cImJ0blwiXG4gICAgICAgICAgICAgICAgICAgIG5nLWNsYXNzPVwieydidG4td2FybmluZyc6KCRpbmRleCArIDEpICE9PSAkY3RybC5jb25maWd1cmF0aW9uLmFjdGl2ZUxpbmUsICdidG4tc3VjY2Vzcyc6ICgkaW5kZXggKyAxKSA9PT0gJGN0cmwuY29uZmlndXJhdGlvbi5hY3RpdmVMaW5lfVwiXG4gICAgICAgICAgICAgICAgICAgIG5nLWNsaWNrPVwiJGN0cmwuc2V0QWN0aXZlTGluZU51bWJlcih7aW5kZXg6ICRpbmRleCArIDF9KVwiPlxuICAgICAgICAgICAgICAgICAgICA8aVxuICAgICAgICAgICAgICAgICAgICAgIGNsYXNzPVwiZmFcIlxuICAgICAgICAgICAgICAgICAgICAgIG5nLWNsYXNzPVwieydmYS1zcXVhcmUtbyc6ICgkaW5kZXggKyAxKSAhPT0gJGN0cmwuY29uZmlndXJhdGlvbi5hY3RpdmVMaW5lLCAnZmEtY2hlY2stc3F1YXJlLW8nOiAoJGluZGV4ICsgMSkgPT09ICRjdHJsLmNvbmZpZ3VyYXRpb24uYWN0aXZlTGluZX1cIj5cbiAgICAgICAgICAgICAgICAgICAgPC9pPlxuICAgICAgICAgICAgICAgICAgPC9idXR0b24+XG4gICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cImNvbC1tZC0xMlwiPlxuICAgICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cImNvbC1tZC0xMiB3ZWxsXCI+XG4gICAgICAgICAgICAgICAgICAgIDxidXR0b24gY2xhc3M9XCJidG4gYnRuLWxnIGJ0bi1ibG9jayAgYnRuLWRlZmF1bHQgZGlzYWJsZWRcIj5cbiAgICAgICAgICAgICAgICAgICAgICB7e2xpbmUuY29sdW1uc1swXS5jb250cm9sLnR5cGUgIT09ICdub25lJyAgPyBsaW5lLmNvbHVtbnNbMF0uY29udHJvbC50eXBlICsgJyAnICsgbGluZS5jb2x1bW5zWzBdLmNvbnRyb2wuc3VidHlwZSB8fCAnJyA6ICdjb2x1bW4gMSd9fVxuICAgICAgICAgICAgICAgICAgICA8L2J1dHRvbj5cbiAgICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgICAgPGRpdlxuICAgICAgICAgICAgICAgIGNsYXNzPVwicm93IGxpbmVzTGlzdFwiXG4gICAgICAgICAgICAgICAgbmctc3dpdGNoLXdoZW49XCIyXCI+XG4gICAgICAgICAgICAgICAgPGRpdlxuICAgICAgICAgICAgICAgICAgY2xhc3M9XCJjb2wtbWQtMTIgbGluZUNvbW1hbmRCdXR0b25zXCJcbiAgICAgICAgICAgICAgICAgIG5nLXNob3c9XCIkY3RybC5jb25maWd1cmF0aW9uLmxpbmVzLmxlbmd0aCA+IDFcIj5cbiAgICAgICAgICAgICAgICAgIDxidXR0b25cbiAgICAgICAgICAgICAgICAgICAgY2xhc3M9XCJidG5cIlxuICAgICAgICAgICAgICAgICAgICBuZy1jbGFzcz1cInsnYnRuLXdhcm5pbmcnOigkaW5k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AgICAgICAgICAgICA8L2J1dHRvbj5cbiAgICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cImNvbC1tZC02IHdlbGxcIj5cbiAgICAgICAgICAgICAgICAgICAgPGJ1dHRvbiBjbGFzcz1cImJ0biBidG4tbGcgYnRuLWJsb2NrICBidG4tZGVmYXVsdCBkaXNhYmxlZFwiPlxuICAgICAgICAgICAgICAgICAgICAgIHt7bGluZS5jb2x1bW5zWzFdLmNvbnRyb2wudHlwZSAhPT0gJ25vbmUnICA/IGxpbmUuY29sdW1uc1sxXS5jb250cm9sLnR5cGUgKyAnICcgKyBsaW5lLmNvbHVtbnNbMV0uY29udHJvbC5zdWJ0eXBlIHx8ICcnIDogJ2NvbHVtbiAyJ319XG4gICAgICAgICAgICAgICAgICAgIDwvYnV0dG9uPlxuICAgICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgICA8ZGl2XG4gICAgICAgICAgICAgICAgY2xhc3M9XCJyb3cgbGluZXNMaXN0XCJcbiAgICAgICAgICAgICAgICBuZy1zd2l0Y2gtd2hlbj1cIjNcIj5cbiAgICAgICAgICAgICAgICA8ZGl2XG4gICAgICAgICAgICAgICAgICBjbGFzcz1cImNvbC1tZC0xMiBsaW5lQ29tbWFuZEJ1dHRvbnNcIlxuICAgICAgICAgICAgICAgICAgbmctc2hvdz1cIiRjdHJsLmNvbmZpZ3VyYXRpb24ubGluZXMubGVuZ3RoID4gMVwiPlxuICAgICAgICAgICAgICAgICAgPGJ1dHRvblxuICAgICAgICAgICAgICAgICAgICBjbGFzcz1cImJ0blwiXG4gICAgICAgICAgICAgICAgICAgIG5nLWNsYXNzPVwieydidG4td2FybmluZyc6KCRpbmRleCArIDEpICE9PSAkY3RybC5jb25maWd1cmF0aW9uLmFjdGl2ZUxpbmUsICdidG4tc3VjY2Vzcyc6ICgkaW5kZXggKyAxKSA9PT0gJGN0cmwuY29uZmlndXJhdGlvbi5hY3RpdmVMaW5lfVwiXG4gICAgICAgICAgICAgICAgICAgIG5nLWNsaWNrPVwiJGN0cmwuc2V0QWN0aXZlTGluZU51bWJlcih7aW5kZXg6ICRpbmRleCArIDF9KVwiPlxuICAgICAgICAgICAgICAgICAgICA8aVxuICAgICAgICAgICAgICAgICAgICAgIGNsYXNzPVwiZmFcIlxuICAgICAgICAgICAgICAgICAgICAgIG5nLWNsYXNzPVwieydmYS1zcXVhcmUtbyc6ICgkaW5kZXggKyAxKSAhPT0gJGN0cmwuY29uZmlndXJhdGlvbi5hY3RpdmVMaW5lLCAnZmEtY2hlY2stc3F1YXJlLW8nOiAoJGluZGV4ICsgMSkgPT09ICRjdHJsLmNvbmZpZ3VyYXRpb24uYWN0aXZlTGluZX1cIj5cbiAgICAgICAgICAgICAgICAgICAgPC9pPlxuICAgICAgICAgICAgICAgICAgPC9idXR0b24+XG4gICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cImNvbC1tZC0xMlwiPlxuICAgICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cImNvbC1tZC00IHdlbGxcIj5cbiAgICAgICAgICAgICAgICAgICAgPGJ1dHRvbiBjbGFzcz1cImJ0biBidG4tbGcgYnRuLWJsb2NrICBidG4tZGVmYXVsdCBkaXNhYmxlZFwiPlxuICAgICAgICAgICAgICAgICAgICAgIHt7bGluZS5jb2x1bW5zWzBdLmNvbnRyb2wudHlwZSAhPT0gJ25vbmUnICA/IGxpbmUuY29sdW1uc1swXS5jb250cm9sLnR5cGUgKyAnICcgKyBsaW5lLmNvbHVtbnNbMF0uY29udHJvbC5zdWJ0eXBlIHx8ICcnIDogJ2NvbHVtbiAxJ319XG4gICAgICAgICAgICAgICAgICAgIDwvYnV0dG9uPlxuICAgICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwiY29sLW1kLTQgd2VsbFwiPlxuICAgICAgICAgICAgICAgICAgICA8YnV0dG9uIGNsYXNzPVwiYnRuIGJ0bi1sZyBidG4tYmxvY2sgIGJ0bi1kZWZhdWx0IGRpc2FibGVkXCI+XG4gICAgICAgICAgICAgICAgICAgICAge3tsaW5lLmNvbHVtbnNbMV0uY29udHJvbC50eXBlICE9PSAnbm9uZScgID8gbGluZS5jb2x1bW5zWzFdLmNvbnRyb2wudHlwZSArICcgJyArIGxpbmUuY29sdW1uc1sxXS5jb250cm9sLnN1YnR5cGUgfHwgJycgOiAnY29sdW1uIDInfX1cbiAgICAgICAgICAgICAgICAgICAgPC9idXR0b24+XG4gICAgICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJjb2wtbWQtNCB3ZWxsXCI+XG4gICAgICAgICAgICAgICAgICAgIDxidXR0b24gY2xhc3M9XCJidG4gYnRuLWxnIGJ0bi1ibG9jayAgYnRuLWRlZmF1bHQgZGlzYWJsZWRcIj5cbiAgICAgICAgICAgICAgICAgICAgICB7e2xpbmUuY29sdW1uc1syXS5jb250cm9sLnR5cGUgIT09ICdub25lJyAgPyBsaW5lLmNvbHVtbnNbMl0uY29udHJvbC50eXBlICsgJyAnICsgbGluZS5jb2x1bW5zWzJdLmNvbnRyb2wuc3VidHlwZSB8fCAnJyA6ICdjb2x1bW4gMyd9fVxuICAgICAgICAgICAgICAgICAgICA8L2J1dHRvbj5cbiAgICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgIDwvbGk+XG4gICAgICAgIDwvdWw+XG4gICAgICA8L2Rpdj5cbiAgICA8L2Rpdj5cbiAgPC9kaXY+XG4gIGAsXG4gIGJpbmRpbmdzOiB7XG4gICAgY29uZmlndXJhdGlvbjogICAgICAgICAgICAnPScsXG4gICAgc2V0QWN0aXZlTGluZU51bWJlcjogICAgICAnJidcbiAgfSxcbiAgY29udHJvbGxlcjpcbiAgY2xhc3MgU3RlcE9uZVZpc3VhbFBhbmVsQ29udHJvbGxlciB7XG4gICAgY29uc3RydWN0b3IoKSB7XG5cbiAgICB9XG5cbiAgICBzdGF0aWMgZ2V0ICRpbmplY3QoKSB7XG4gICAgICByZXR1cm4gW107XG4gICAgfVxuICB9XG59O1xuXG5cblxuLy8gV0VCUEFDSyBGT09URVIgLy9cbi8vIC4vc3JjL2FwcC9zdGVwd2F5L2NvbXBvbmVudHMvbWFpbi9zdGVwT25lQ29udGVudC9TdGVwT25lVmlzdWFsUGFuZWwvc3RlcHdheS5tYWluLlN0ZXBPbmVWaXN1YWxQYW5lbC5jb21wb25lbnQuanMiXSwic291cmNlUm9vdCI6IiJ9");
|
||
|
||
/***/ },
|
||
/* 41 */
|
||
/***/ function(module, exports, __webpack_require__) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _stepwayMainStepTwoContent = __webpack_require__(42);\n\nvar _stepwayMainStepTwoCommandPanel = __webpack_require__(43);\n\nvar _stepwayMainStepTwoVisualPanel = __webpack_require__(44);\n\nvar STEP_TWO_CONTENT_COMPONENT_MODULE = 'stepway.stepTwoContent.module';\n\nexports.default = angular.module(STEP_TWO_CONTENT_COMPONENT_MODULE, []).component(_stepwayMainStepTwoContent.LINE_STEP_TWO_CONTENT_COMPONENT, _stepwayMainStepTwoContent.stepTwoContentComponent).component(_stepwayMainStepTwoCommandPanel.STEP_TWO_COMMAND_PANEL_COMPONENT_NAME, _stepwayMainStepTwoCommandPanel.StepTwoCommandPanelComponent).component(_stepwayMainStepTwoVisualPanel.STEP_TWO_VISUAL_PANEL_COMPONENT_NAME, _stepwayMainStepTwoVisualPanel.StepTwoVisualPanelComponent);//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2Vz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ICAgICAgICAgICAgICAgICAgICAgICBmcm9tICcuL1N0ZXBUd29WaXN1YWxQYW5lbC9zdGVwd2F5Lm1haW4uU3RlcFR3b1Zpc3VhbFBhbmVsLmNvbXBvbmVudCc7XG5cbmNvbnN0IFNURVBfVFdPX0NPTlRFTlRfQ09NUE9ORU5UX01PRFVMRSA9ICdzdGVwd2F5LnN0ZXBUd29Db250ZW50Lm1vZHVsZSc7XG5cbmV4cG9ydCBkZWZhdWx0IGFuZ3VsYXJcbiAgICAgICAgICAgICAgICAubW9kdWxlKFNURVBfVFdPX0NPTlRFTlRfQ09NUE9ORU5UX01PRFVMRSwgW10pXG4gICAgICAgICAgICAgICAgLmNvbXBvbmVudChMSU5FX1NURVBfVFdPX0NPTlRFTlRfQ09NUE9ORU5ULCBzdGVwVHdvQ29udGVudENvbXBvbmVudClcbiAgICAgICAgICAgICAgICAuY29tcG9uZW50KFNURVBfVFdPX0NPTU1BTkRfUEFORUxfQ09NUE9ORU5UX05BTUUsIFN0ZXBUd29Db21tYW5kUGFuZWxDb21wb25lbnQpXG4gICAgICAgICAgICAgICAgLmNvbXBvbmVudChTVEVQX1RXT19WSVNVQUxfUEFORUxfQ09NUE9ORU5UX05BTUUsIFN0ZXBUd29WaXN1YWxQYW5lbENvbXBvbmVudCk7XG5cblxuXG4vLyBXRUJQQUNLIEZPT1RFUiAvL1xuLy8gLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9tYWluL3N0ZXBUd29Db250ZW50L3N0ZXB3YXkubWFpbi5zdGVwVHdvQ29udGVudC5tb2R1bGUuanMiXSwic291cmNlUm9vdCI6IiJ9");
|
||
|
||
/***/ },
|
||
/* 42 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: 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 LINE_STEP_TWO_CONTENT_COMPONENT = exports.LINE_STEP_TWO_CONTENT_COMPONENT = 'stepTwoContent';\n\nvar stepTwoContentComponent = exports.stepTwoContentComponent = {\n template: '\\n <div\\n class=\"animate-switch\"\\n ng-switch-when=\"second\">\\n <div class=\"col-md-4\">\\n <step-two-command-panel></step-two-command-panel>\\n </div>\\n <div class=\"col-md-8\">\\n <step-two-visual-panel\\n configuration=\"$ctrl.configuration\"\\n set-active-line-number=\"$ctrl.setActiveLineNumberParent(index)\"\\n show-modal-add-ctrl-to-column=\"$ctrl.showModalAddCtrlToColumnParent(size, indexLine, numcolumn)\">\\n </step-two-visual-panel>\\n </div>\\n </div>\\n ',\n bindings: {\n configuration: '=',\n setActiveLineNumber: '&',\n showModalAddCtrlToColumn: '&'\n },\n controller: function () {\n function stepTwoContentController() {\n _classCallCheck(this, stepTwoContentController);\n }\n ///////////////////////////////////\n // WHY this function is needed :\n ///////////////////////////////////\n // CASE OF : function with parameter passing from parent to caller through another level component\n // parent -> intermediate component (here) -> caller\n // NOTE : intermediate should call parent function to be sure to pass function parameter upward to parent\n\n\n _createClass(stepTwoContentController, [{\n key: 'setActiveLineNumberParent',\n value: function setActiveLineNumberParent(index) {\n this.setActiveLineNumber({ index: index });\n }\n\n // Needed for same reason as setActiveLineNumberParent\n\n }, {\n key: 'showModalAddCtrlToColumnParent',\n value: function showModalAddCtrlToColumnParent(size, indexLine, numcolumn) {\n this.showModalAddCtrlToColumn({\n size: size,\n indexLine: indexLine,\n numcolumn: numcolumn\n });\n }\n }], [{\n key: '$inject',\n get: function get() {\n return [];\n }\n }]);\n\n return step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VtY29sdW1uKSB7XG4gICAgICB0aGlzLnNob3dNb2RhbEFkZEN0cmxUb0NvbHVtbih7XG4gICAgICAgIHNpemUsXG4gICAgICAgIGluZGV4TGluZSxcbiAgICAgICAgbnVtY29sdW1uXG4gICAgICB9KTtcbiAgICB9XG5cbiAgICBzdGF0aWMgZ2V0ICRpbmplY3QoKSB7XG4gICAgICByZXR1cm4gW107XG4gICAgfVxuICB9XG59O1xuXG5cblxuLy8gV0VCUEFDSyBGT09URVIgLy9cbi8vIC4vc3JjL2FwcC9zdGVwd2F5L2NvbXBvbmVudHMvbWFpbi9zdGVwVHdvQ29udGVudC9zdGVwd2F5Lm1haW4uc3RlcFR3b0NvbnRlbnQuY29tcG9uZW50LmpzIl0sInNvdXJjZVJvb3QiOiIifQ==");
|
||
|
||
/***/ },
|
||
/* 43 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: 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 STEP_TWO_COMMAND_PANEL_COMPONENT_NAME = exports.STEP_TWO_COMMAND_PANEL_COMPONENT_NAME = 'stepTwoCommandPanel';\n\nvar StepTwoCommandPanelComponent = exports.StepTwoCommandPanelComponent = {\n template: '\\n <div id=\"commandPanel\">\\n <div class=\"panel panel-default\">\\n <div class=\"panel-heading\">\\n <h3 class=\"panel-title\">\\n <i class=\"fa fa-keyboard-o\"></i>\\n \\n {{\\'COMMAND_PANEL\\' | translate}}\\n </h3>\\n </div>\\n <div class=\"panel-body\">\\n <div class=\"row\">\\n <div class=\"col-md-12\">\\n <h4 class=\"numberOfcolumsText text-center\">\\n - {{\\'APPLY_CTRL2COL\\' | translate}} -\\n </h4>\\n </div>\\n </div>\\n <div class=\"row\">\\n <div class=\"col-lg-12\" >\\n <hr/>\\n <blockquote>\\n <p class=\"numberOfcolumsText\">\\n <i class=\"fa fa-minus\"></i>\\n \\n {{\\'CLIC_TAP_2_OPEN\\' | translate}}.\\n </p>\\n <p class=\"numberOfcolumsText\">\\n <i class=\"fa fa-minus\"></i>\\n \\n {{\\'SELECT_2_APPLY_COL\\' | translate}}.\\n </p>\\n </blockquote>\\n </div>\\n </div>\\n </div>\\n </div>\\n </div>\\n ',\n bindings: {},\n controller: function () {\n function StepTwoCommandPanelController() {\n _classCallCheck(this, StepTwoCommandPanelController);\n }\n\n _createClass(StepTwoCommandPanelController, null, [{\n key: '$inject',\n get: function get() {\n return [];\n }\n }]);\n\n return StepTwoCommandPanelController;\n }()\n};//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9tYWluL3N0ZXBUd29Db250ZW50L1N0ZXBUd29Db21tYW5kUGFuZWwvc3RlcHdheS5tYWluLlN0ZXBUd29Db21tYW5kUGFuZWwuY29tcG9uZW50LmpzPzhlMmYiXSwibmFtZXMiOlsiU1RFUF9UV09fQ09NTUFORF9QQU5FTF9DT01QT05FTlRfTkFNRSIsIlN0ZXBUd29Db21tYW5kUGFuZWxDb21wb25lbnQiLCJ0ZW1wbGF0ZSIsImJpbmRpbmdzIiwiY29udHJvbGxlciJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7OztBQUFPLElBQU1BLHdGQUF3QyxxQkFBOUM7O0FBRUEsSUFBTUMsc0VBQStCO0FBQzFDQyw0bUNBRDBDO0FBd0MxQ0MsWUFB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XG4gICAgICAgIDwvZGl2PlxuICAgICAgICA8ZGl2IGNsYXNzPVwicm93XCI+XG4gICAgICAgICAgPGRpdiBjbGFzcz1cImNvbC1sZy0xMlwiID5cbiAgICAgICAgICAgIDxoci8+XG4gICAgICAgICAgICA8YmxvY2txdW90ZT5cbiAgICAgICAgICAgICAgPHAgY2xhc3M9XCJudW1iZXJPZmNvbHVtc1RleHRcIj5cbiAgICAgICAgICAgICAgICA8aSBjbGFzcz1cImZhIGZhLW1pbnVzXCI+PC9pPlxuICAgICAgICAgICAgICAgICZuYnNwO1xuICAgICAgICAgICAgICAgIHt7J0NMSUNfVEFQXzJfT1BFTicgfCB0cmFuc2xhdGV9fS5cbiAgICAgICAgICAgICAgPC9wPlxuICAgICAgICAgICAgICA8cCBjbGFzcz1cIm51bWJlck9mY29sdW1zVGV4dFwiPlxuICAgICAgICAgICAgICAgIDxpIGNsYXNzPVwiZmEgZmEtbWludXNcIj48L2k+XG4gICAgICAgICAgICAgICAgJm5ic3A7XG4gICAgICAgICAgICAgICAge3snU0VMRUNUXzJfQVBQTFlfQ09MJyB8IHRyYW5zbGF0ZX19LlxuICAgICAgICAgICAgICA8L3A+XG4gICAgICAgICAgPC9ibG9ja3F1b3RlPlxuICAgICAgICAgIDwvZGl2PlxuICAgICAgICA8L2Rpdj5cbiAgICAgIDwvZGl2PlxuICAgIDwvZGl2PlxuICA8L2Rpdj5cbiAgYCxcbiAgYmluZGluZ3M6IHtcblxuICB9LFxuICBjb250cm9sbGVyOlxuICBjbGFzcyBTdGVwVHdvQ29tbWFuZFBhbmVsQ29udHJvbGxlciB7XG4gICAgY29uc3RydWN0b3IoKSB7XG5cbiAgICB9XG5cbiAgICBzdGF0aWMgZ2V0ICRpbmplY3QoKSB7XG4gICAgICByZXR1cm4gW107XG4gICAgfVxuICB9XG59O1xuXG5cblxuLy8gV0VCUEFDSyBGT09URVIgLy9cbi8vIC4vc3JjL2FwcC9zdGVwd2F5L2NvbXBvbmVudHMvbWFpbi9zdGVwVHdvQ29udGVudC9TdGVwVHdvQ29tbWFuZFBhbmVsL3N0ZXB3YXkubWFpbi5TdGVwVHdvQ29tbWFuZFBhbmVsLmNvbXBvbmVudC5qcyJdLCJzb3VyY2VSb290IjoiIn0=");
|
||
|
||
/***/ },
|
||
/* 44 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: 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 STEP_TWO_VISUAL_PANEL_COMPONENT_NAME = exports.STEP_TWO_VISUAL_PANEL_COMPONENT_NAME = 'stepTwoVisualPanel';\n\nvar StepTwoVisualPanelComponent = exports.StepTwoVisualPanelComponent = {\n template: '\\n <div id=\"visualPanel\">\\n <div class=\"panel panel-default\">\\n <div class=\"panel-heading\">\\n <h3 class=\"panel-title\">\\n <i class=\"fa fa-eye\"></i>\\n \\n {{\\'VISUAL_PANEL\\' | translate}}\\n </h3>\\n </h3>\\n </div>\\n <div class=\"panel-body\">\\n <!-- lines / columns -->\\n <ul class=\"list-group\">\\n <li\\n class=\"list-group-item\"\\n ng-repeat=\"line in $ctrl.configuration.lines track by $index\">\\n <!-- columns -->\\n <div ng-switch on=\"line.columns.length\">\\n <div\\n class=\"row linesList\"\\n ng-switch-when=\"1\">\\n <div\\n class=\"col-md-12 lineCommandButtons\"\\n ng-show=\"$ctrl.configuration.lines.length > 1\">\\n <button\\n class=\"btn\"\\n ng-class=\"{\\'btn-warning\\':($index + 1) !== $ctrl.configuration.activeLine, \\'btn-success\\': ($index + 1) === $ctrl.configuration.activeLine}\"\\n ng-click=\"$ctrl.setActiveLineNumber({index: $index + 1})\">\\n <i\\n class=\"fa\"\\n ng-class=\"{\\'fa-square-o\\': ($index + 1) !== $ctrl.configuration.activeLine, \\'fa-check-square-o\\': ($index + 1) === $ctrl.configuration.activeLine}\">\\n </i>\\n </button>\\n </div>\\n <div class=\"col-md-12\">\\n <div class=\"col-md-12 well\">\\n <button\\n class=\"btn btn-lg btn-block\"\\n ng-class=\"{\\'btn-primary\\': !line.columns[0].control.edited, \\'btn-success\\': line.columns[0].control.edited}\"\\n ng-click=\"$ctrl.showModalAddCtrlToColumn({size: \\'\\', indexLine: $index, numcolumn: 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\\n class=\"row linesList\"\\n ng-switch-when=\"2\">\\n <div\\n class=\"col-md-12 lineCommandButtons\"\\n ng-show=\"$ctrl.configuration.lines.length > 1\">\\n <button\\n class=\"btn\"\\n ng-class=\"{\\'btn-warning\\':($index + 1) !== $ctrl.configuration.activeLine, \\'btn-success\\': ($index + 1) === $ctrl.configuration.activeLine}\"\\n ng-click=\"$ctrl.setActiveLineNumber({index: $index + 1})\">\\n <i\\n class=\"fa\"\\n ng-class=\"{\\'fa-square-o\\': ($index + 1) !== $ctrl.configuration.activeLine, \\'fa-check-square-o\\': ($index + 1) === $ctrl.configuration.activeLine}\">\\n </i>\\n </button>\\n </div>\\n <div class=\"col-md-12\">\\n <div class=\"col-md-6 well\">\\n <button\\n class=\"btn btn-lg btn-block\"\\n ng-class=\"{\\'btn-primary\\': !line.columns[0].control.edited, \\'btn-success\\': line.columns[0].control.edited}\"\\n ng-click=\"$ctrl.showModalAddCtrlToColumn({size: \\'\\', indexLine: $index, numcolumn: 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\\n class=\"btn btn-lg btn-block\"\\n ng-class=\"{\\'btn-primary\\': !line.columns[1].control.edited, \\'btn-success\\': line.columns[1].control.edited}\"\\n ng-click=\"$ctrl.showModalAddCtrlToColumn({size: \\'\\', indexLine: $index, numcolumn: 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\\n class=\"row linesList\"\\n ng-switch-when=\"3\">\\n <div\\n class=\"col-md-12 lineCommandButtons\"\\n ng-show=\"$ctrl.configuration.lines.length > 1\">\\n <button\\n class=\"btn\"\\n ng-class=\"{\\'btn-warning\\':($index + 1) !== $ctrl.configuration.activeLine, \\'btn-success\\': ($index + 1) === $ctrl.configuration.activeLine}\"\\n ng-click=\"$ctrl.setActiveLineNumber({index: $index + 1})\">\\n <i\\n class=\"fa\"\\n ng-class=\"{\\'fa-square-o\\': ($index + 1) !== $ctrl.configuration.activeLine, \\'fa-check-square-o\\': ($index + 1) === $ctrl.configuration.activeLine}\">\\n </i>\\n </button>\\n </div>\\n <div class=\"col-md-12\">\\n <div class=\"col-md-4 well\">\\n <button\\n class=\"btn btn-lg btn-block\"\\n ng-class=\"{\\'btn-primary\\': !line.columns[0].control.edited, \\'btn-success\\': line.columns[0].control.edited}\"\\n ng-click=\"$ctrl.showModalAddCtrlToColumn({size: \\'\\', indexLine: $index, numcolumn: 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\\n class=\"btn btn-lg btn-block\"\\n ng-class=\"{\\'btn-primary\\': !line.columns[1].control.edited, \\'btn-success\\': line.columns[1].control.edited}\"\\n ng-click=\"$ctrl.showModalAddCtrlToColumn({size: \\'\\', indexLine: $index, numcolumn: 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\\n class=\"btn btn-lg btn-block\"\\n ng-class=\"{\\'btn-primary\\': !line.columns[2].control.edited, \\'btn-success\\': line.columns[2].control.edited}\"\\n ng-click=\"$ctrl.showModalAddCtrlToColumn({size: \\'\\', indexLine: $index, numcolumn: 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 ',\n bindings: {\n configuration: '=',\n setActiveLineNumber: '&',\n showModalAddCtrlToColumn: '&'\n },\n controller: function () {\n function StepTwoVisualPanelController() {\n _classCallCheck(this, StepTwoVisualPanelController);\n }\n\n _createClass(StepTwoVisualPanelController, null, [{\n key: '$inject',\n get: function get() {\n return [];\n }\n }]);\n\n return StepTwoVisualPanelController;\n }()\n};//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9tYWluL3N0ZXBUd29Db250ZW50L1N0ZXBUd29WaXN1YWxQYW5lbC9zdGVwd2F5Lm1haW4uU3RlcFR3b1Zpc3VhbFBhbmVsLmNvbXBvbmVudC5qcz9mMjYxIl0sIm5hbWVzIjpbIlNURVBfVFdPX1ZJU1VBTF9QQU5FTF9DT01QT05FTlRfTkFNRSIsIlN0ZXBUd29WaXN1YWxQYW5lbENvbXBvbmVudCIsInRlbXBsYXRlIiwiYmluZGluZ3MiLCJjb25maWd1cmF0aW9uIiwic2V0QW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8IS0tIGxpbmVzIC8gY29sdW1ucyAtLT5cbiAgICAgIDx1bCBjbGFzcz1cImxpc3QtZ3JvdXBcIj5cbiAgICAgICAgPGxpXG4gICAgICAgICAgY2xhc3M9XCJsaXN0LWdyb3VwLWl0ZW1cIlxuICAgICAgICAgIG5nLXJlcGVhdD1cImxpbmUgaW4gJGN0cmwuY29uZmlndXJhdGlvbi5saW5lcyB0cmFjayBieSAkaW5kZXhcIj5cbiAgICAgICAgICAgIDwhLS0gY29sdW1ucyAtLT5cbiAgICAgICAgICAgIDxkaXYgbmctc3dpdGNoIG9uPVwibGluZS5jb2x1bW5zLmxlbmd0aFwiPlxuICAgICAgICAgICAgICA8ZGl2XG4gICAgICAgICAgICAgICAgY2xhc3M9XCJyb3cgbGluZXNMaXN0XCJcbiAgICAgICAgICAgICAgICBuZy1zd2l0Y2gtd2hlbj1cIjFcIj5cbiAgICAgICAgICAgICAgICA8ZGl2XG4gICAgICAgICAgICAgICAgICBjbGFzcz1cImNvbC1tZC0xMiBsaW5lQ29tbWFuZEJ1dHRvbnNcIlxuICAgICAgICAgICAgICAgICAgbmctc2hvdz1cIiRjdHJsLmNvbmZpZ3VyYXRpb24ubGluZXMubGVuZ3RoID4gMVwiPlxuICAgICAgICAgICAgICAgICAgPGJ1dHRvblxuICAgICAgICAgICAgICAgICAgICBjbGFzcz1cImJ0blwiXG4gICAgICAgICAgICAgICAgICAgIG5nLWNsYXNzPVwieydidG4td2FybmluZyc6KCRpbmRleCArIDEpICE9PSAkY3RybC5jb25maWd1cmF0aW9uLmFjdGl2ZUxpbmUsICdidG4tc3VjY2Vzcyc6ICgkaW5kZXggKyAxKSA9PT0gJGN0cmwuY29uZmlndXJhdGlvbi5hY3RpdmVMaW5lfVwiXG4gICAgICAgICAgICAgICAgICAgIG5nLWNsaWNrPVwiJGN0cmwuc2V0QWN0aXZlTGluZU51bWJlcih7aW5kZXg6ICRpbmRleCArIDF9KVwiPlxuICAgICAgICAgICAgICAgICAgICA8aVxuICAgICAgICAgICAgICAgICAgICAgIGNsYXNzPVwiZmFcIlxuICAgICAgICAgICAgICAgICAgICAgIG5nLWNsYXNzPVwieydmYS1zcXVhcmUtbyc6ICgkaW5kZXggKyAxKSAhPT0gJGN0cmwuY29uZmlndXJhdGlvbi5hY3RpdmVMaW5lLCAnZmEtY2hlY2stc3F1YXJlLW8nOiAoJGluZGV4ICsgMSkgPT09ICRjdHJsLmNvbmZpZ3VyYXRpb24uYWN0aXZlTGluZX1cIj5cbiAgICAgICAgICAgICAgICAgICAgPC9pPlxuICAgICAgICAgICAgICAgICAgPC9idXR0b24+XG4gICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cImNvbC1tZC0xMlwiPlxuICAgICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cImNvbC1tZC0xMiB3ZWxsXCI+XG4gICAgICAgICAgICAgICAgICAgIDxidXR0b25cbiAgICAgICAgICAgICAgICAgICAgICBjbGFzcz1cImJ0biBidG4tbGcgYnRuLWJsb2NrXCJcbiAgICAgICAgICAgICAgICAgICAgICBuZy1jbGFzcz1cInsnYnRuLXByaW1hcnknOiAhbGluZS5jb2x1bW5zWzBdLmNvbnRyb2wuZWRpdGVkLCAnYnRuLXN1Y2Nlc3MnOiBsaW5lLmNvbHVtbnNbMF0uY29udHJvbC5lZGl0ZWR9XCJcbiAgICAgICAgICAgICAgICAgICAgICBuZy1jbGljaz1cIiRjdHJsLnNob3dNb2RhbEFkZEN0cmxUb0NvbHVtbih7c2l6ZTogJycsIGluZGV4TGluZTogJGluZGV4LCBudW1jb2x1bW46IDB9KVwiPlxuICAgICAgICAgICAgICAgICAgICAgIHt7bGluZS5jb2x1bW5zWzBdLmNvbnRyb2wudHlwZSAhPT0gJ25vbmUnICA/IGxpbmUuY29sdW1uc1swXS5jb250cm9sLnR5cGUgKyAnICcgKyBsaW5lLmNvbHVtbnNbMF0uY29udHJvbC5zdWJ0eXBlIHx8ICcnIDogJ2NvbHVtbiAxJ319XG4gICAgICAgICAgICAgICAgICAgIDwvYnV0dG9uPlxuICAgICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgICA8ZGl2XG4gICAgICAgICAgICAgICAgY2xhc3M9XCJyb3cgbGluZXNMaXN0XCJcbiAgICAgICAgICAgICAgICBuZy1zd2l0Y2gtd2hlbj1cIjJcIj5cbiAgICAgICAgICAgICAgICA8ZGl2XG4gICAgICAgICAgICAgICAgICBjbGFzcz1cImNvbC1tZC0xMiBsaW5lQ29tbWFuZEJ1dHRvbnNcIlxuICAgICAgICAgICAgICAgICAgbmctc2hvdz1cIiRjdHJsLmNvbmZpZ3VyYXRpb24ubGluZXMubGVuZ3RoID4gMVwiPlxuICAgICAgICAgICAgICAgICAgPGJ1dHRvblxuICAgICAgICAgICAgICAgICAgICBjbGFzcz1cImJ0blwiXG4gICAgICAgICAgICAgICAgICAgIG5nLWNsYXNzPVwieydidG4td2FybmluZyc6KCRpbmRleCArIDEpICE9PSAkY3RybC5jb25maWd1cmF0aW9uLmFjdGl2ZUxpbmUsICdidG4tc3VjY2Vzcyc6ICgkaW5kZXggKyAxKSA9PT0gJGN0cmwuY29uZmlndXJhdGlvbi5hY3RpdmVMaW5lfVwiXG4gICAgICAgICAgICAgICAgICAgIG5nLWNsaWNrPVwiJGN0cmwuc2V0QWN0aXZlTGluZU51bWJlcih7aW5kZXg6ICRpbmRleCArIDF9KVwiPlxuICAgICAgICAgICAgICAgICAgICA8aVxuICAgICAgICAgICAgICAgICAgICAgIGNsYXNzPVwiZmFcIlxuICAgICAgICAgICAgICAgICAgICAgIG5nLWNsYXNzPVwieydmYS1zcXVhcmUtbyc6ICgkaW5kZXggKyAxKSAhPT0gJGN0cmwuY29uZmlndXJhdGlvbi5hY3RpdmVMaW5lLCAnZmEtY2hlY2stc3F1YXJlLW8nOiAoJGluZGV4ICsgMSkgPT09ICRjdHJsLmNvbmZpZ3VyYXRpb24uYWN0aXZlTGluZX1cIj5cbiAgICAgICAgICAgICAgICAgICAgPC9pPlxuICAgICAgICAgICAgICAgICAgPC9idXR0b24+XG4gICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cImNvbC1tZC0xMlwiPlxuICAgICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cImNvbC1tZC02IHdlbGxcIj5cbiAgICAgICAgICAgICAgICAgICAgPGJ1dHRvblxuICAgICAgICAgICAgICAgICAgICAgIGNsYXNzPVwiYnRuIGJ0bi1sZyBidG4tYmxvY2tcIlxuICAgICAgICAgICAgICAgICAgICAgIG5nLWNsYXNzPVwieydidG4tcHJpbWFyeSc6ICFsaW5lLmNvbHVtbnNbMF0uY29udHJvbC5lZGl0ZWQsICdidG4tc3VjY2Vzcyc6IGxpbmUuY29sdW1uc1swXS5jb250cm9sLmVkaXRlZH1cIlxuICAgICAgICAgICAgICAgICAgICAgIG5nLWNsaWNrPVwiJGN0cmwuc2hvd01vZGFsQWRkQ3RybFRvQ29sdW1uKHtzaXplOiAnJywgaW5kZXhMaW5lOiAkaW5kZXgsIG51bWNvbHVtbjogMH0pXCI+XG4gICAgICAgICAgICAgICAgICAgICAge3tsaW5lLmNvbHVtbnNbMF0uY29udHJvbC50eXBlICE9PSAnbm9uZScgID8gbGluZS5jb2x1bW5zWzBdLmNvbnRyb2wudHlwZSArICcgJyArIGxpbmUuY29sdW1uc1swXS5jb250cm9sLnN1YnR5cGUgfHwgJycgOiAnY29sdW1uIDEnfX1cbiAgICAgICAgICAgICAgICAgICAgPC9idXR0b24+XG4gICAgICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJjb2wtbWQtNiB3ZWxsXCI+XG4gICAgICAgICAgICAgICAgICAgIDxidXR0b25cbiAgICAgICAgICAgICAgICAgICAgICBjbGFzcz1cImJ0biBidG4tbGcgYnRuLWJsb2NrXCJcbiAgICAgICAgICAgICAgICAgICAgICBuZy1jbGFzcz1cInsnYnRuLXByaW1hcnknOiAhbGluZS5jb2x1bW5zWzFdLmNvbnRyb2wuZWRpdGVkLCAnYnRuLXN1Y2Nlc3MnOiBsaW5lLmNvbHVtbnNbMV0uY29udHJvbC5lZGl0ZWR9XCJcbiAgICAgICAgICAgICAgICAgICAgICBuZy1jbGljaz1cIiRjdHJsLnNob3dNb2RhbEFkZEN0cmxUb0NvbHVtbih7c2l6ZTogJycsIGluZGV4TGluZTogJGluZGV4LCBudW1jb2x1bW46IDF9KVwiPlxuICAgICAgICAgICAgICAgICAgICAgIHt7bGluZS5jb2x1bW5zWzFdLmNvbnRyb2wudHlwZSAhPT0gJ25vbmUnICA/IGxpbmUuY29sdW1uc1sxXS5jb250cm9sLnR5cGUgKyAnICcgKyBsaW5lLmNvbHVtbnNbMV0uY29udHJvbC5zdWJ0eXBlIHx8ICcnIDogJ2NvbHVtbiAyJ319XG4gICAgICAgICAgICAgICAgICAgIDwvYnV0dG9uPlxuICAgICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgICA8ZGl2XG4gICAgICAgICAgICAgICAgY2xhc3M9XCJyb3cgbGluZXNMaXN0XCJcbiAgICAgICAgICAgICAgICBuZy1zd2l0Y2gtd2hlbj1cIjNcIj5cbiAgICAgICAgICAgICAgICA8ZGl2XG4gICAgICAgICAgICAgICAgICBjbGFzcz1cImNvbC1tZC0xMiBsaW5lQ29tbWFuZEJ1dHRvbnNcIlxuICAgICAgICAgICAgICAgICAgbmctc2hvdz1cIiRjdHJsLmNvbmZpZ3VyYXRpb24ubGluZXMubGVuZ3RoID4gMVwiPlxuICAgICAgICAgICAgICAgICAgPGJ1dHRvblxuICAgICAgICAgICAgICAgICAgICBjbGFzcz1cImJ0blwiXG4gICAgICAgICAgICAgICAgICAgIG5nLWNsYXNzPVwieydidG4td2FybmluZyc6KCRpbmRleCArIDEpICE9PSAkY3RybC5jb25maWd1cmF0aW9uLmFjdGl2ZUxpbmUsICdidG4tc3VjY2Vzcyc6ICgkaW5kZXggKyAxKSA9PT0gJGN0cmwuY29uZmlndXJhdGlvbi5hY3RpdmVMaW5lfVwiXG4gICAgICAgICAgICAgICAgICAgIG5nLWNsaWNrPVwiJGN0cmwuc2V0QWN0aXZlTGluZU51bWJlcih7aW5kZXg6ICRpbmRleCArIDF9KVwiPlxuICAgICAgICAgICAgICAgICAgICA8aVxuICAgICAgICAgICAgICAgICAgICAgIGNsYXNzPVwiZmFcIlxuICAgICAgICAgICAgICAgICAgICAgIG5nLWNsYXNzPVwieydmYS1zcXVhcmUtbyc6ICgkaW5kZXggKyAxKSAhPT0gJGN0cmwuY29uZmlndXJhdGlvbi5hY3RpdmVMaW5lLCAnZmEtY2hlY2stc3F1YXJlLW8nOiAoJGluZGV4ICsgMSkgPT09ICRjdHJsLmNvbmZpZ3VyYXRpb24uYWN0aXZlTGluZX1cIj5cbiAgICAgICAgICAgICAgICAgICAgPC9pPlxuICAgICAgICAgICAgICAgICAgPC9idXR0b24+XG4gICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cImNvbC1tZC0xMlwiPlxuICAgICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cImNvbC1tZC00IHdlbGxcIj5cbiAgICAgICAgICAgICAgICAgICAgPGJ1dHRvblxuICAgICAgICAgICAgICAgICAgICAgIGNsYXNzPVwiYnRuIGJ0bi1sZyBidG4tYmxvY2tcIlxuICAgICAgICAgICAgICAgICAgICAgIG5nLWNsYXNzPVwieydidG4tcHJpbWFyeSc6ICFsaW5lLmNvbHVtbnNbMF0uY29udHJvbC5lZGl0ZWQsICdidG4tc3VjY2Vzcyc6IGxpbmUuY29sdW1uc1swXS5jb250cm9sLmVkaXRlZH1cIlxuICAgICAgICAgICAgICAgICAgICAgIG5nLWNsaWNrPVwiJGN0cmwuc2hvd01vZGFsQWRkQ3RybFRvQ29sdW1uKHtzaXplOiAnJywgaW5kZXhMaW5lOiAkaW5kZXgsIG51bWNvbHVtbjogMH0pXCI+XG4gICAgICAgICAgICAgICAgICAgICAge3tsaW5lLmNvbHVtbnNbMF0uY29udHJvbC50eXBlICE9PSAnbm9uZScgID8gbGluZS5jb2x1bW5zWzBdLmNvbnRyb2wudHlwZSArICcgJyArIGxpbmUuY29sdW1uc1swXS5jb250cm9sLnN1YnR5cGUgfHwgJycgOiAnY29sdW1uIDEnfX1cbiAgICAgICAgICAgICAgICAgICAgPC9idXR0b24+XG4gICAgICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJjb2wtbWQtNCB3ZWxsXCI+XG4gICAgICAgICAgICAgICAgICAgIDxidXR0b25cbiAgICAgICAgICAgICAgICAgICAgICBjbGFzcz1cImJ0biBidG4tbGcgYnRuLWJsb2NrXCJcbiAgICAgICAgICAgICAgICAgICAgICBuZy1jbGFzcz1cInsnYnRuLXByaW1hcnknOiAhbGluZS5jb2x1bW5zWzFdLmNvbnRyb2wuZWRpdGVkLCAnYnRuLXN1Y2Nlc3MnOiBsaW5lLmNvbHVtbnNbMV0uY29udHJvbC5lZGl0ZWR9XCJcbiAgICAgICAgICAgICAgICAgICAgICBuZy1jbGljaz1cIiRjdHJsLnNob3dNb2RhbEFkZEN0cmxUb0NvbHVtbih7c2l6ZTogJycsIGluZGV4TGluZTogJGluZGV4LCBudW1jb2x1bW46IDF9KVwiPlxuICAgICAgICAgICAgICAgICAgICAgIHt7bGluZS5jb2x1bW5zWzFdLmNvbnRyb2wudHlwZSAhPT0gJ25vbmUnICA/IGxpbmUuY29sdW1uc1sxXS5jb250cm9sLnR5cGUgKyAnICcgKyBsaW5lLmNvbHVtbnNbMV0uY29udHJvbC5zdWJ0eXBlIHx8ICcnIDogJ2NvbHVtbiAyJ319XG4gICAgICAgICAgICAgICAgICAgIDwvYnV0dG9uPlxuICAgICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwiY29sLW1kLTQgd2VsbFwiPlxuICAgICAgICAgICAgICAgICAgICA8YnV0dG9uXG4gICAgICAgICAgICAgICAgICAgICAgY2xhc3M9XCJidG4gYnRuLWxnIGJ0bi1ibG9ja1wiXG4gICAgICAgICAgICAgICAgICAgICAgbmctY2xhc3M9XCJ7J2J0bi1wcmltYXJ5JzogIWxpbmUuY29sdW1uc1syXS5jb250cm9sLmVkaXRlZCwgJ2J0bi1zdWNjZXNzJzogbGluZS5jb2x1bW5zWzJdLmNvbnRyb2wuZWRpdGVkfVwiXG4gICAgICAgICAgICAgICAgICAgICAgbmctY2xpY2s9XCIkY3RybC5zaG93TW9kYWxBZGRDdHJsVG9Db2x1bW4oe3NpemU6ICcnLCBpbmRleExpbmU6ICRpbmRleCwgbnVtY29sdW1uOiAyfSlcIj5cbiAgICAgICAgICAgICAgICAgICAgICB7e2xpbmUuY29sdW1uc1syXS5jb250cm9sLnR5cGUgIT09ICdub25lJyAgPyBsaW5lLmNvbHVtbnNbMl0uY29udHJvbC50eXBlICsgJyAnICsgbGluZS5jb2x1bW5zWzJdLmNvbnRyb2wuc3VidHlwZSB8fCAnJyA6ICdjb2x1bW4gMyd9fVxuICAgICAgICAgICAgICAgICAgICA8L2J1dHRvbj5cbiAgICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgIDwvbGk+XG4gICAgICAgIDwvdWw+XG4gICAgICA8L2Rpdj5cbiAgICA8L2Rpdj5cbiAgPC9kaXY+XG4gIGAsXG4gIGJpbmRpbmdzOiB7XG4gICAgY29uZmlndXJhdGlvbjogICAgICAgICAgICAnPScsXG4gICAgc2V0QWN0aXZlTGluZU51bWJlcjogICAgICAnJicsXG4gICAgc2hvd01vZGFsQWRkQ3RybFRvQ29sdW1uOiAnJidcbiAgfSxcbiAgY29udHJvbGxlcjpcbiAgY2xhc3MgU3RlcFR3b1Zpc3VhbFBhbmVsQ29udHJvbGxlciB7XG4gICAgY29uc3RydWN0b3IoKSB7XG5cbiAgICB9XG5cbiAgICBzdGF0aWMgZ2V0ICRpbmplY3QoKSB7XG4gICAgICByZXR1cm4gW107XG4gICAgfVxuICB9XG59O1xuXG5cblxuLy8gV0VCUEFDSyBGT09URVIgLy9cbi8vIC4vc3JjL2FwcC9zdGVwd2F5L2NvbXBvbmVudHMvbWFpbi9zdGVwVHdvQ29udGVudC9TdGVwVHdvVmlzdWFsUGFuZWwvc3RlcHdheS5tYWluLlN0ZXBUd29WaXN1YWxQYW5lbC5jb21wb25lbnQuanMiXSwic291cmNlUm9vdCI6IiJ9");
|
||
|
||
/***/ },
|
||
/* 45 */
|
||
/***/ function(module, exports, __webpack_require__) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _stepwayMainStepThreeContent = __webpack_require__(46);\n\nvar _stepwayMainStepThreeCommandPanel = __webpack_require__(47);\n\nvar _stepwayMainStepThreeVisualPanel = __webpack_require__(48);\n\nvar STEP_THREE_CONTENT_COMPONENT_MODULE = 'stepway.stepThreeContent.module';\n\nexports.default = angular.module(STEP_THREE_CONTENT_COMPONENT_MODULE, []).component(_stepwayMainStepThreeContent.LINE_STEP_THREE_CONTENT_COMPONENT, _stepwayMainStepThreeContent.stepThreeContentComponent).component(_stepwayMainStepThreeCommandPanel.STEP_THREE_COMMAND_PANEL_COMPONENT_NAME, _stepwayMainStepThreeCommandPanel.StepThreeCommandPanelComponent).component(_stepwayMainStepThreeVisualPanel.STEP_THREE_VISUAL_PANEL_COMPONENT_NAME, _stepwayMainStepThreeVisualPanel.StepThreeVisualPanelComponent);//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY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sUGFuZWxDb21wb25lbnRcbn0gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBmcm9tICcuL1N0ZXBUaHJlZVZpc3VhbFBhbmVsL3N0ZXB3YXkubWFpbi5TdGVwVGhyZWVWaXN1YWxQYW5lbC5jb21wb25lbnQnO1xuXG5jb25zdCBTVEVQX1RIUkVFX0NPTlRFTlRfQ09NUE9ORU5UX01PRFVMRSA9ICdzdGVwd2F5LnN0ZXBUaHJlZUNvbnRlbnQubW9kdWxlJztcblxuZXhwb3J0IGRlZmF1bHQgYW5ndWxhclxuICAgICAgICAgICAgICAgIC5tb2R1bGUoU1RFUF9USFJFRV9DT05URU5UX0NPTVBPTkVOVF9NT0RVTEUsIFtdKVxuICAgICAgICAgICAgICAgIC5jb21wb25lbnQoTElORV9TVEVQX1RIUkVFX0NPTlRFTlRfQ09NUE9ORU5ULCBzdGVwVGhyZWVDb250ZW50Q29tcG9uZW50KVxuICAgICAgICAgICAgICAgIC5jb21wb25lbnQoU1RFUF9USFJFRV9DT01NQU5EX1BBTkVMX0NPTVBPTkVOVF9OQU1FLCBTdGVwVGhyZWVDb21tYW5kUGFuZWxDb21wb25lbnQpXG4gICAgICAgICAgICAgICAgLmNvbXBvbmVudChTVEVQX1RIUkVFX1ZJU1VBTF9QQU5FTF9DT01QT05FTlRfTkFNRSwgU3RlcFRocmVlVmlzdWFsUGFuZWxDb21wb25lbnQpO1xuXG5cblxuLy8gV0VCUEFDSyBGT09URVIgLy9cbi8vIC4vc3JjL2FwcC9zdGVwd2F5L2NvbXBvbmVudHMvbWFpbi9zdGVwVGhyZWVDb250ZW50L3N0ZXB3YXkubWFpbi5zdGVwVGhyZWVDb250ZW50Lm1vZHVsZS5qcyJdLCJzb3VyY2VSb290IjoiIn0=");
|
||
|
||
/***/ },
|
||
/* 46 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: 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 LINE_STEP_THREE_CONTENT_COMPONENT = exports.LINE_STEP_THREE_CONTENT_COMPONENT = 'stepThreeContent';\n\nvar stepThreeContentComponent = exports.stepThreeContentComponent = {\n template: '\\n <div\\n class=\"animate-switch\"\\n ng-switch-when=\"third\">\\n <div class=\"col-md-4\">\\n <step-three-command-panel\\n configuration=\"$ctrl.configuration\"\\n save-this-form=\"$ctrl.saveThisForm()\">\\n </step-three-command-panel>\\n </div>\\n <div class=\"col-md-8\">\\n <step-three-visual-panel\\n configuration=\"$ctrl.configuration\"\\n eda-data-model=\"$ctrl.edaDataModel\"\\n wf-form-fields=\"$ctrl.wfFormFields\"\\n on-submit=\"$ctrl.onSubmit()\">\\n </step-three-visual-panel>\\n </div>\\n </div>\\n ',\n bindings: {\n configuration: '=',\n edaDataModel: '=',\n wfFormFields: '=',\n onSubmit: '&',\n saveThisForm: '&'\n },\n controller: function () {\n function stepThreeContentController() {\n _classCallCheck(this, stepThreeContentController);\n }\n\n _createClass(stepThreeContentController, [{\n key: '$onInit',\n value: function $onInit() {\n // console.log('stepThreeContentComponent init, edaDataModel: ', this.edaDataModel);\n }\n }, {\n key: '$onChange',\n value: function $onChange(changesObj) {\n // console.log('stepThreeContentComponent onChange, changesObj: ', changesObj);\n }\n }], [{\n key: '$inject',\n get: function get() {\n return [];\n }\n }]);\n\n return stepThreeContentController;\n }()\n};//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2V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VGhyZWVDb250ZW50Q29udHJvbGxlciB7XG4gICAgY29uc3RydWN0b3IoKSB7XG5cbiAgICB9XG5cbiAgICAkb25Jbml0KCkge1xuICAgICAgLy8gY29uc29sZS5sb2coJ3N0ZXBUaHJlZUNvbnRlbnRDb21wb25lbnQgaW5pdCwgZWRhRGF0YU1vZGVsOiAnLCB0aGlzLmVkYURhdGFNb2RlbCk7XG4gICAgfVxuXG4gICAgJG9uQ2hhbmdlKGNoYW5nZXNPYmopIHtcbiAgICAgIC8vIGNvbnNvbGUubG9nKCdzdGVwVGhyZWVDb250ZW50Q29tcG9uZW50IG9uQ2hhbmdlLCBjaGFuZ2VzT2JqOiAnLCBjaGFuZ2VzT2JqKTtcbiAgICB9XG5cbiAgICBzdGF0aWMgZ2V0ICRpbmplY3QoKSB7XG4gICAgICByZXR1cm4gW107XG4gICAgfVxuICB9XG59O1xuXG5cblxuLy8gV0VCUEFDSyBGT09URVIgLy9cbi8vIC4vc3JjL2FwcC9zdGVwd2F5L2NvbXBvbmVudHMvbWFpbi9zdGVwVGhyZWVDb250ZW50L3N0ZXB3YXkubWFpbi5zdGVwVGhyZWVDb250ZW50LmNvbXBvbmVudC5qcyJdLCJzb3VyY2VSb290IjoiIn0=");
|
||
|
||
/***/ },
|
||
/* 47 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: 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 STEP_THREE_COMMAND_PANEL_COMPONENT_NAME = exports.STEP_THREE_COMMAND_PANEL_COMPONENT_NAME = 'stepThreeCommandPanel';\n\nvar StepThreeCommandPanelComponent = exports.StepThreeCommandPanelComponent = {\n template: '\\n <div id=\"commandPanel\" ng-if=\"!$ctrl.configuration.isWizard\">\\n <div class=\"panel panel-default\">\\n <div class=\"panel-heading\">\\n <h3 class=\"panel-title\">\\n <i class=\"fa fa-keyboard-o\"></i>\\n \\n {{\\'COMMAND_PANEL\\' | translate}}\\n </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\\n for=\"inputSubmitButtontext\"\\n class=\" greyText control-label\">\\n {{\\'CUSTOM_SUBMIT_BTN\\' | translate}} :\\n </label>\\n <div class=\"\">\\n <input\\n type=\"text\"\\n class=\"form-control\"\\n id=\"inputSubmitButtontext\"\\n placeholder=\"\"\\n ng-model=\"$ctrl.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\\n for=\"inputCancelButtontext\"\\n class=\" greyText control-label\">\\n {{\\'CUSTOM_CANCEL_BTN\\' | translate}} :\\n </label>\\n <div class=\"\">\\n <input\\n type=\"text\"\\n class=\"form-control\"\\n id=\"inputCancelButtontext\"\\n placeholder=\"\"\\n ng-model=\"$ctrl.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\\n for=\"inputNameFormtext\"\\n class=\" greyText control-label\">\\n {{\\'NAME_THIS_FORM\\' | translate}} :\\n </label>\\n <div class=\"\">\\n <input\\n type=\"text\"\\n class=\"form-control\"\\n id=\"inputNameFormtext\"\\n placeholder=\"\"\\n ng-model=\"$ctrl.configuration.formName\">\\n </div>\\n </div>\\n </div>\\n </div>\\n <button\\n class=\"btn btn-primary btn-block btn-lg\"\\n ng-click=\"$ctrl.saveThisForm()\">\\n {{\\'SAVE_THIS_FORM\\' | translate}}\\n </button>\\n </div>\\n </div>\\n </div>\\n ',\n bindings: {\n configuration: '=',\n saveThisForm: '&'\n },\n controller: function () {\n function StepThreeCommandPanelController() {\n _classCallCheck(this, StepThreeCommandPanelController);\n }\n\n _createClass(StepThreeCommandPanelController, null, [{\n key: '$inject',\n get: function get() {\n return [];\n }\n }]);\n\n return StepThreeCommandPanelController;\n }()\n};//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9tYWluL3N0ZXBUaHJlZUNvbnRlbnQvU3RlcFRocmVlQ29tbWFuZFBhbmVsL3N0ZXB3YXkubWFpbi5TdGVwVGhyZWVDb21tYW5kUGFuZWwuY29tcG9uZW50LmpzPzY4MTMiXSwibmFtZXMiOlsiU1RFUF9USFJFRV9DT01NQU5EX1BBTkVMX0NPTVBPTkVOVF9OQU1FIiwiU3RlcFRocmVlQ29tbWFuZFBhbmVsQ29tcG9uZW50IiwidGVtcGxhdGUiLCJiaW5kaW5ncyIsImNvbmZpZ3VyYXRpb24iLCJzYXZlVGhpc0Zvcm0iLCJjb250cm9sbGVyIl0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7O0FBQU8sSUFBTUEsNEZBQTBDLHVCQUFoRDs7QUFFQSxJQUFNQywwRUFBaUM7QUFDNUNDLDg5RUFENEM7QUFnRjVDQyxZQUFVO0FBQ1JDLG1CQUFnQixHQURSO0FBRVJDLGtCQUFnQjtBQUZSLEdBaEZrQztBQW9GNUNDO0FBRUUsK0NBQWM7QUFBQTtBQUViOztBQUpIO0FBQUE7QUFBQSwwQkFNdUI7QUFDbkIsZUFBTyxFQUFQO0FBQ0Q7QUFSSDs7QUFBQTtBQUFBO0FBcEY0QyxDQUF2QyIsImZpb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AgPC9sYWJlbD5cbiAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cIlwiPlxuICAgICAgICAgICAgICAgIDxpbnB1dFxuICAgICAgICAgICAgICAgICAgdHlwZT1cInRleHRcIlxuICAgICAgICAgICAgICAgICAgY2xhc3M9XCJmb3JtLWNvbnRyb2xcIlxuICAgICAgICAgICAgICAgICAgaWQ9XCJpbnB1dFN1Ym1pdEJ1dHRvbnRleHRcIlxuICAgICAgICAgICAgICAgICAgcGxhY2Vob2xkZXI9XCJcIlxuICAgICAgICAgICAgICAgICAgbmctbW9kZWw9XCIkY3RybC5jb25maWd1cmF0aW9uLnN1Ym1pdEJ1dHRvblRleHRcIj5cbiAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgPC9kaXY+XG4gICAgICAgIDxoci8+XG4gICAgICAgIDxkaXYgY2xhc3M9XCJyb3dcIj5cbiAgICAgICAgICA8ZGl2IGNsYXNzPVwiY29sLXhzLTEyXCI+XG4gICAgICAgICAgICA8ZGl2IGNsYXNzPVwiZm9ybS1ncm91cFwiPlxuICAgICAgICAgICAgICA8bGFiZWxcbiAgICAgICAgICAgICAgICBmb3I9XCJpbnB1dENhbmNlbEJ1dHRvbnRleHRcIlxuICAgICAgICAgICAgICAgIGNsYXNzPVwiIGdyZXlUZXh0IGNvbnRyb2wtbGFiZWxcIj5cbiAgICAgICAgICAgICAgICB7eydDVVNUT01fQ0FOQ0VMX0JUTicgfCB0cmFuc2xhdGV9fSA6XG4gICAgICAgICAgICAgIDwvbGFiZWw+XG4gICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJcIj5cbiAgICAgICAgICAgICAgICA8aW5wdXRcbiAgICAgICAgICAgICAgICAgIHR5cGU9XCJ0ZXh0XCJcbiAgICAgICAgICAgICAgICAgIGNsYXNzPVwiZm9ybS1jb250cm9sXCJcbiAgICAgICAgICAgICAgICAgIGlkPVwiaW5wdXRDYW5jZWxCdXR0b250ZXh0XCJcbiAgICAgICAgICAgICAgICAgIHBsYWNlaG9sZGVyPVwiXCJcbiAgICAgICAgICAgICAgICAgIG5nLW1vZGVsPVwiJGN0cmwuY29uZmlndXJhdGlvbi5jYW5jZWxCdXR0b25UZXh0XCI+XG4gICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgPC9kaXY+XG4gICAgICAgIDwvZGl2PlxuICAgICAgICA8aHIvPlxuICAgICAgICA8ZGl2IGNsYXNzPVwicm93XCI+XG4gICAgICAgICAgPGRpdiBjbGFzcz1cImNvbC14cy0xMlwiPlxuICAgICAgICAgICAgPGRpdiBjbGFzcz1cImZvcm0tZ3JvdXBcIj5cbiAgICAgICAgICAgICAgPGxhYmVsXG4gICAgICAgICAgICAgICAgZm9yPVwiaW5wdXROYW1lRm9ybXRleHRcIlxuICAgICAgICAgICAgICAgIGNsYXNzPVwiIGdyZXlUZXh0IGNvbnRyb2wtbGFiZWxcIj5cbiAgICAgICAgICAgICAgICB7eydOQU1FX1RISVNfRk9STScgfCB0cmFuc2xhdGV9fSA6XG4gICAgICAgICAgICAgIDwvbGFiZWw+XG4gICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJcIj5cbiAgICAgICAgICAgICAgICA8aW5wdXRcbiAgICAgICAgICAgICAgICAgIHR5cGU9XCJ0ZXh0XCJcbiAgICAgICAgICAgICAgICAgIGNsYXNzPVwiZm9ybS1jb250cm9sXCJcbiAgICAgICAgICAgICAgICAgIGlkPVwiaW5wdXROYW1lRm9ybXRleHRcIlxuICAgICAgICAgICAgICAgICAgcGxhY2Vob2xkZXI9XCJcIlxuICAgICAgICAgICAgICAgICAgbmctbW9kZWw9XCIkY3RybC5jb25maWd1cmF0aW9uLmZvcm1OYW1lXCI+XG4gICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgPC9kaXY+XG4gICAgICAgIDwvZGl2PlxuICAgICAgICA8YnV0dG9uXG4gICAgICAgICAgY2xhc3M9XCJidG4gYnRuLXByaW1hcnkgYnRuLWJsb2NrIGJ0bi1sZ1wiXG4gICAgICAgICAgbmctY2xpY2s9XCIkY3RybC5zYXZlVGhpc0Zvcm0oKVwiPlxuICAgICAgICAgIHt7J1NBVkVfVEhJU19GT1JNJyB8IHRyYW5zbGF0ZX19XG4gICAgICAgIDwvYnV0dG9uPlxuICAgICAgPC9kaXY+XG4gICAgPC9kaXY+XG4gIDwvZGl2PlxuICBgLFxuICBiaW5kaW5nczoge1xuICAgIGNvbmZpZ3VyYXRpb246ICAnPScsXG4gICAgc2F2ZVRoaXNGb3JtOiAgICcmJ1xuICB9LFxuICBjb250cm9sbGVyOlxuICBjbGFzcyBTdGVwVGhyZWVDb21tYW5kUGFuZWxDb250cm9sbGVyIHtcbiAgICBjb25zdHJ1Y3RvcigpIHtcblxuICAgIH1cblxuICAgIHN0YXRpYyBnZXQgJGluamVjdCgpIHtcbiAgICAgIHJldHVybiBbXTtcbiAgICB9XG4gIH1cbn07XG5cblxuXG4vLyBXRUJQQUNLIEZPT1RFUiAvL1xuLy8gLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9tYWluL3N0ZXBUaHJlZUNvbnRlbnQvU3RlcFRocmVlQ29tbWFuZFBhbmVsL3N0ZXB3YXkubWFpbi5TdGVwVGhyZWVDb21tYW5kUGFuZWwuY29tcG9uZW50LmpzIl0sInNvdXJjZVJvb3QiOiIifQ==");
|
||
|
||
/***/ },
|
||
/* 48 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: 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 STEP_THREE_VISUAL_PANEL_COMPONENT_NAME = exports.STEP_THREE_VISUAL_PANEL_COMPONENT_NAME = 'stepThreeVisualPanel';\n\nvar StepThreeVisualPanelComponent = exports.StepThreeVisualPanelComponent = {\n template: '\\n <div id=\"visualPanel\">\\n <div class=\"panel panel-default\">\\n <div class=\"panel-heading\">\\n <h3 class=\"panel-title\">\\n <i class=\"fa fa-thumbs-o-up\"></i>\\n \\n {{\\'FINAL_STEP\\' | translate}}\\n </h3>\\n </div>\\n <div class=\"panel-body\">\\n <form ng-submit=\"vizPanel.onSubmit()\">\\n <formly-form\\n id=\"saveFormlyFom\"\\n model=\"vizPanel.edaDataModel\"\\n fields=\"vizPanel.wfFormFields\">\\n <span class=\"pull-right\">\\n <button\\n class=\"btn btn-primary\"\\n type=\"submit\">\\n {{vizPanel.configuration.submitButtonText}}\\n </button>\\n <button\\n class=\"btn btn-primary\"\\n type=\"cancel\">\\n {{vizPanel.configuration.cancelButtonText}}\\n </button>\\n </span>\\n </formly-form>\\n </form>\\n </div>\\n </div>\\n </div>\\n ',\n controllerAs: 'vizPanel',\n bindings: {\n configuration: '=',\n edaDataModel: '=',\n wfFormFields: '=',\n onSubmit: '&'\n },\n controller: function () {\n function StepThreeVisualPanelController() {\n _classCallCheck(this, StepThreeVisualPanelController);\n }\n\n _createClass(StepThreeVisualPanelController, [{\n key: '$onInit',\n value: function $onInit() {\n // console.log('stepThreeVisualPanel init, edaDataModel: ', this.edaDataModel);\n }\n }], [{\n key: '$inject',\n get: function get() {\n return [];\n }\n }]);\n\n return StepThreeVisualPanelController;\n }()\n};//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9z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lwZT1cImNhbmNlbFwiPlxuICAgICAgICAgICAgICB7e3ZpelBhbmVsLmNvbmZpZ3VyYXRpb24uY2FuY2VsQnV0dG9uVGV4dH19XG4gICAgICAgICAgICA8L2J1dHRvbj5cbiAgICAgICAgICAgIDwvc3Bhbj5cbiAgICAgICAgICA8L2Zvcm1seS1mb3JtPlxuICAgICAgICA8L2Zvcm0+XG4gICAgICA8L2Rpdj5cbiAgICA8L2Rpdj5cbiAgPC9kaXY+XG4gIGAsXG4gIGNvbnRyb2xsZXJBczogJ3ZpelBhbmVsJyxcbiAgYmluZGluZ3M6IHtcbiAgICBjb25maWd1cmF0aW9uOiAnPScsXG4gICAgZWRhRGF0YU1vZGVsOiAnPScsXG4gICAgd2ZGb3JtRmllbGRzOiAnPScsXG4gICAgb25TdWJtaXQ6ICcmJ1xuICB9LFxuICBjb250cm9sbGVyOlxuICBjbGFzcyBTdGVwVGhyZWVWaXN1YWxQYW5lbENvbnRyb2xsZXIge1xuICAgIGNvbnN0cnVjdG9yKCkge1xuXG4gICAgfVxuXG4gICAgJG9uSW5pdCgpIHtcbiAgICAgIC8vIGNvbnNvbGUubG9nKCdzdGVwVGhyZWVWaXN1YWxQYW5lbCBpbml0LCBlZGFEYXRhTW9kZWw6ICcsIHRoaXMuZWRhRGF0YU1vZGVsKTtcbiAgICB9XG5cbiAgICBzdGF0aWMgZ2V0ICRpbmplY3QoKSB7XG4gICAgICByZXR1cm4gW107XG4gICAgfVxuICB9XG59O1xuXG5cblxuLy8gV0VCUEFDSyBGT09URVIgLy9cbi8vIC4vc3JjL2FwcC9zdGVwd2F5L2NvbXBvbmVudHMvbWFpbi9zdGVwVGhyZWVDb250ZW50L1N0ZXBUaHJlZVZpc3VhbFBhbmVsL3N0ZXB3YXkubWFpbi5TdGVwVGhyZWVWaXN1YWxQYW5lbC5jb21wb25lbnQuanMiXSwic291cmNlUm9vdCI6IiJ9");
|
||
|
||
/***/ },
|
||
/* 49 */
|
||
/***/ function(module, exports, __webpack_require__) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _stepwayWizard = __webpack_require__(50);\n\nvar _stepwayWizard2 = _interopRequireDefault(_stepwayWizard);\n\nvar _stepwayWizard3 = __webpack_require__(52);\n\nvar _stepwayWizard4 = _interopRequireDefault(_stepwayWizard3);\n\nvar _stepwayWizard5 = __webpack_require__(54);\n\nvar _stepwayWizard6 = _interopRequireDefault(_stepwayWizard5);\n\nvar _stepwayWizardAddStepContent = __webpack_require__(55);\n\nvar _stepwayWizardAddStepContent2 = _interopRequireDefault(_stepwayWizardAddStepContent);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar STEP_WAY_WIZARD_MODULE = 'easyWizardFormStepwayModule';\n\nvar TO_INJECT = [_stepwayWizardAddStepContent2.default.name, 'mgo-angular-wizard'];\n\nexports.default = angular.module(STEP_WAY_WIZARD_MODULE, TO_INJECT).controller(_stepwayWizard.STEP_WAY_WIZARD_CONTROLLER_NAME, _stepwayWizard2.default).directive(_stepwayWizard3.STEP_WAY_WIZARD_DIRECTIVE_NAME, _stepwayWizard4.default).provider(_stepwayWizard5.EASY_WIZARD_FORM_STEP_WAY_CONFIG_NAME, _stepwayWizard6.default);//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy93aXphcmQvc3RlcHdheS53aXphcmQubW9kdWxlLmpzPzRkNDYiXSwibmFtZXMiOlsiU1RFUF9XQVlfV0laQVJEX01PRFVMRSIsIlRPX0lOSkVDVCIsIm5hbWUiLCJhbmd1bGFyIiwibW9kdWxlIiwiY29udHJvbGxlciIsImRpcmVjdGl2ZSIsInByb3ZpZGVyIl0sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQTs7OztBQUdBOzs7O0FBR0E7Ozs7QUFHQTs7Ozs7O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ybVN0ZXB3YXlNb2R1bGUnO1xuXG5jb25zdCBUT19JTkpFQ1QgPSBbXG4gIGFkZFN0ZXBDb250ZW50TW9kdWxlLm5hbWUsXG4gICdtZ28tYW5ndWxhci13aXphcmQnXG5dO1xuXG5leHBvcnQgZGVmYXVsdCBhbmd1bGFyXG4gICAgICAgICAgICAgICAgLm1vZHVsZShTVEVQX1dBWV9XSVpBUkRfTU9EVUxFLCBUT19JTkpFQ1QpXG4gICAgICAgICAgICAgICAgLmNvbnRyb2xsZXIoU1RFUF9XQVlfV0laQVJEX0NPTlRST0xMRVJfTkFNRSwgZWRhU3RlcFdheUVhc3lXaXphcmRGb3JtR2VuQ29udHJvbGxlcilcbiAgICAgICAgICAgICAgICAuZGlyZWN0aXZlKFNURVBfV0FZX1dJWkFSRF9ESVJFQ1RJVkVfTkFNRSwgZWRhU3RlcFdheUVhc3lXaXphcmRGb3JtR2VuRGlyZWN0aXZlKVxuICAgICAgICAgICAgICAgIC5wcm92aWRlcihFQVNZX1dJWkFSRF9GT1JNX1NURVBfV0FZX0NPTkZJR19OQU1FLCBlYXN5V2l6YXJkRm9ybVN0ZXBXYXlDb25maWcpO1xuXG5cblxuLy8gV0VCUEFDSyBGT09URVIgLy9cbi8vIC4vc3JjL2FwcC9zdGVwd2F5L2NvbXBvbmVudHMvd2l6YXJkL3N0ZXB3YXkud2l6YXJkLm1vZHVsZS5qcyJdLCJzb3VyY2VSb290IjoiIn0=");
|
||
|
||
/***/ },
|
||
/* 50 */
|
||
/***/ function(module, exports, __webpack_require__) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.STEP_WAY_WIZARD_CONTROLLERAS_NAME = exports.STEP_WAY_WIZARD_CONTROLLER_NAME = 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; }; }();\n\nvar _stepwayWizardController = __webpack_require__(51);\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar STEP_WAY_WIZARD_CONTROLLER_NAME = 'edaStepWayEasyWizardFormGenController';\nvar STEP_WAY_WIZARD_CONTROLLERAS_NAME = 'vm';\n\nvar edaStepWayEasyWizardFormGenController = function () {\n function edaStepWayEasyWizardFormGenController(WizardHandler, easyFormGenVersion, $filter, toaster, $timeout, $uibModal, $log, easyWizardFormStepWayConfig) {\n _classCallCheck(this, edaStepWayEasyWizardFormGenController);\n\n this.easyFormGenVersion = easyFormGenVersion;\n this.$filter = $filter;\n this.toaster = toaster;\n this.$timeout = $timeout;\n this.$modal = $uibModal;\n this.$log = $log;\n this.easyWizardFormStepWayConfig = easyWizardFormStepWayConfig;\n this.wizardHandler = WizardHandler;\n\n this.init();\n }\n\n _createClass(edaStepWayEasyWizardFormGenController, [{\n key: 'init',\n value: function init() {\n this.dataModel = {};\n this.easyFormGeneratorVERSION = this.easyFormGenVersion;\n this.debug = (0, _stepwayWizardController.initDebugModel)();\n this.tab = (0, _stepwayWizardController.initTabModel)(this.easyWizardFormStepWayConfig.isPreviewPanelVisible(), this.easyWizardFormStepWayConfig.arePreviewModelsVisible());\n this.configuration = {}; //configuration model (contains array of lines which contains array of columns)\n this.nyaSelect = {};\n this.editControlModalSize = 'lg';\n this.previewLoadedForm = {\n fieldsModel: []\n };\n this.configurationLoaded = {};\n this.returnSaveEvent = false;\n this.configuration.steps = this.configuration.steps || [];\n this.configuration.steps.push({\n easyFormGeneratorModel: {}\n });\n }\n }, {\n key: 'onSubmit',\n value: function onSubmit() {\n this.toaster.pop({\n type: 'info',\n timeout: 2000,\n title: 'it should save data model if it were not in editor',\n showCloseButton: true\n });\n return true;\n }\n }, {\n key: 'leftThisStep',\n value: function leftThisStep(indexStep) {\n if (indexStep > -1) {\n if (this.configuration.steps[indexStep - 1]) {\n var currentStepObj = this.configuration.steps[indexStep];\n this.configuration.steps.splice(indexStep, 1);\n this.configuration.steps.splice(indexStep - 1, 0, currentStepObj);\n this.wizard.goTo(indexStep - 1);\n }\n }\n }\n }, {\n key: 'rightThisStep',\n value: function rightThisStep(indexStep) {\n if (indexStep > -1) {\n if (this.configuration.steps[indexStep + 1]) {\n var currentStepObj = this.configuration.steps[indexStep];\n this.configuration.steps.splice(indexStep, 1);\n this.configuration.steps.splice(indexStep + 1, 0, currentStepObj);\n this.wizard.goTo(indexStep + 1);\n }\n }\n }\n }, {\n key: 'addNewstep',\n value: function addNewstep() {\n this.configuration.steps = this.configuration.steps || [];\n this.configuration.steps.push({\n easyFormGeneratorModel: {}\n });\n this.wizard.goTo(this.configuration.steps.length - 1);\n }\n }, {\n key: 'removeThisStep',\n value: function removeThisStep(index) {\n if (index > -1) {\n if (this.configuration.steps.length > 1) {\n this.configuration.steps.splice(index, 1);\n this.wizard.goTo(Math.max(index - 1, 0));\n } else {\n this.$timeout(function () {\n this.toaster.pop({\n type: 'warning',\n title: 'Last step',\n body: 'Can\\'t delete the last step',\n showCloseButton: true\n });\n }, 100);\n }\n }\n }\n\n // previewExistingform(formlyform) {\n // const configlines = JSON.parse(formlyform.formlyField);\n // //here to replace with $scope.configuration : initialise configuration with lines\n // this.configurationLoaded = {};\n // this.$formlyProxy.bindConfigurationLines(this.configurationLoaded,configlines);\n // this.$formlyProxy.applyConfigurationToformlyModel(this.configurationLoaded, this.previewLoadedForm.fieldsModel, this.dataModel);\n // this.wfFormFieldsOnlyNeededProperties = angular.copy(this.wfFormFields);\n // this.previewLoadedForm.cancelButtonText = formlyform.cancelButtonText;\n // this.previewLoadedForm.submitButtonText = formlyform.submitButtonText;\n // }\n\n\n }, {\n key: 'saveThisForm',\n value: function saveThisForm() {\n this.toaster.pop({\n type: 'wait',\n timeout: 3000,\n title: ': Form is being saved',\n body: 'Fake for demo: Wait.',\n showCloseButton: true\n });\n this.returnSaveEvent = true;\n return true;\n }\n }, {\n key: 'wizard',\n get: function get() {\n this.wizardInstance = this.wizardInstance || this.wizardHandler.wizard();\n return this.wizardInstance;\n }\n }]);\n\n return edaStepWayEasyWizardFormGenController;\n}();\n\nvar toInject = ['WizardHandler', 'easyFormGenVersion', '$filter', 'toaster', '$timeout', '$uibModal', '$log', 'easyWizardFormStepWayConfig'];\n\nedaStepWayEasyWizardFormGenController.$inject = toInject;\nexports.default = edaStepWayEasyWizardFormGenController;\nexports.STEP_WAY_WIZARD_CONTROLLER_NAME = STEP_WAY_WIZARD_CONTROLLER_NAME;\nexports.STEP_WAY_WIZARD_CONTROLLERAS_NAME = STEP_WAY_WIZARD_CONTROLLERAS_NAME;//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy93aXphcmQvc3RlcHdheS53aXphcmQuY29udHJvbGxlci5qcz9lOGVlIl0sIm5hbWVzIjpbIlNURVBfV0FZX1dJWkFSRF9DT05UUk9MTEVSX05BTUUiLCJTVEVQX1dBWV9XSVpBUkRfQ09OVFJPTExFUkFTX05BTUUiLCJlZGFTdGVwV2F5RWFzeVdpemFyZEZvcm1HZW5Db250cm9sbGVyIiwiV2l6YXJkSGFuZGxlciIsImVhc3lGb3JtR2VuVmVyc2lvbiIsIiRmaWx0ZXIiLCJ0b2FzdGVyIiwiJHRpbWVvdXQiLCIkdWliTW9kYWwiLCIkbG9nIiwiZWFzeVdpemFyZEZvcm1TdGVwV2F5Q29uZmlnIiwiJG1vZGFsIiwid2l6YXJkSGFuZGxlciIsImluaXQiLCJkYXRhTW9kZWwiLCJlYXN5Rm9ybUdlbmVyYXRvclZFUlNJT04iLCJkZWJ1ZyIsInRhYiIsImlzUHJldm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lcicsXG4gICd0b2FzdGVyJyxcbiAgJyR0aW1lb3V0JyxcbiAgJyR1aWJNb2RhbCcsXG4gICckbG9nJyxcbiAgJ2Vhc3lXaXphcmRGb3JtU3RlcFdheUNvbmZpZycsXG5dO1xuXG5lZGFTdGVwV2F5RWFzeVdpemFyZEZvcm1HZW5Db250cm9sbGVyLiRpbmplY3QgPSB0b0luamVjdDtcbmV4cG9ydCBkZWZhdWx0IGVkYVN0ZXBXYXlFYXN5V2l6YXJkRm9ybUdlbkNvbnRyb2xsZXI7XG5leHBvcnQge1xuICBTVEVQX1dBWV9XSVpBUkRfQ09OVFJPTExFUl9OQU1FLFxuICBTVEVQX1dBWV9XSVpBUkRfQ09OVFJPTExFUkFTX05BTUVcbn07XG5cblxuLy8gV0VCUEFDSyBGT09URVIgLy9cbi8vIC4vc3JjL2FwcC9zdGVwd2F5L2NvbXBvbmVudHMvd2l6YXJkL3N0ZXB3YXkud2l6YXJkLmNvbnRyb2xsZXIuanMiXSwic291cmNlUm9vdCI6IiJ9");
|
||
|
||
/***/ },
|
||
/* 51 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n/* global angular */\nvar DEBUG_MODEL = {\n showDebug: false,\n configurationModelNumberofLines: 1\n};\n\nvar initDebugModel = function initDebugModel() {\n return angular.copy(DEBUG_MODEL);\n};\n\nvar DEFAULT_TAB_MODEL = {\n editTab: {\n active: true\n },\n previewTab: {\n active: false,\n tabVisible: true,\n modelsVisible: true\n }\n};\n\nvar initTabModel = function initTabModel(isPreviewPanelVisible, arePreviewModelsVisible) {\n var _tabModel = angular.copy(DEFAULT_TAB_MODEL);\n angular.extend(_tabModel.previewTab, {\n tabVisible: isPreviewPanelVisible,\n modelsVisible: arePreviewModelsVisible\n });\n return _tabModel;\n};\n\nvar COLUMN_TEMPLATE = {\n numColumn: -1,\n exist: true,\n control: {\n type: 'none',\n key: 'none',\n subtype: 'none'\n }\n};\n\nvar initColumnTemplate = function initColumnTemplate() {\n return angular.copy(COLUMN_TEMPLATE);\n};\n\nvar LINE_TEMPLATE = {\n line: -1,\n activeColumn: 1,\n columns: [{\n numColumn: 1,\n exist: true,\n control: {\n type: 'none',\n key: 'none'\n }\n }]\n};\nvar initLineTemplate = function initLineTemplate() {\n return angular.copy(LINE_TEMPLATE);\n};\n\nexports.initDebugModel = initDebugModel;\nexports.initTabModel = initTabModel;\nexports.initColumnTemplate = initColumnTemplate;\nexports.initLineTemplate = initLineTemplate;//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy93aXphcmQvc3RlcHdheS53aXphcmQuY29udHJvbGxlci5oZWxwZXJzLmpzP2Y3YTciXSwibmFtZXMiOlsiREVCVUdfTU9ERUwiLCJzaG93RGVidWciLCJjb25maWd1cmF0aW9uTW9kZWxOdW1iZXJvZkxpbmVzIiwiaW5pdERlYnVnTW9kZWwiLCJhbmd1bGFyIiwiY29weSIsIkRFRkFVTFRfVEFCX01PREVMIiwiZWRpdFRhYiIsImFjdGl2ZSIsInByZXZpZXdUYWIiLCJ0YWJWaXNpYmxlIiwibW9kZWxzVmlzaWJsZSIsImluaXRUYWJNb2RlbCIsImlzUHJldmlld1BhbmVsVmlzaWJsZSIsImFyZVByZXZpZXdNb2RlbHNWaXNpYmxlIiwiX3RhYk1vZGVsIiwiZXh0ZW5kIiwiQ09MVU1OX1RFTVBMQVRFIiwibnVtQ29sdW1uIiwiZXhpc3QiLCJjb250cm9sIiwidHlwZSIsImtleSIsInN1YnR5cGUiLCJpbml0Q29sdW1uVGVtcGxhdGUiLCJMSU5FX1RFTVBMQVRFIiwibGluZSIsImFjdGl2ZUNvbHVtbiIsImNvbHVtbnMiLCJpbml0TGluZVRlbXBsYXRlIl0sIm1hcHBpbmdzIjoiOzs7OztBQUFBO0FBQ0EsSUFB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bHBlcnMuanMiXSwic291cmNlUm9vdCI6IiJ9");
|
||
|
||
/***/ },
|
||
/* 52 */
|
||
/***/ function(module, exports, __webpack_require__) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.STEP_WAY_WIZARD_DIRECTIVE_NAME = undefined;\n\nvar _stepwayWizardTemplate = __webpack_require__(53);\n\nvar _stepwayWizardTemplate2 = _interopRequireDefault(_stepwayWizardTemplate);\n\nvar _stepwayWizard = __webpack_require__(50);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar STEP_WAY_WIZARD_DIRECTIVE_NAME = 'edaStepWayEasyWizardFormGen';\n\nfunction edaStepWayEasyWizardFormGenDirective() {\n\n var directive = {\n restrict: 'E',\n scope: {\n edaEasyFormGeneratorModel: '=',\n edaSaveFormEvent: '&edaSaveFormEvent'\n },\n controller: _stepwayWizard.STEP_WAY_WIZARD_CONTROLLER_NAME,\n controllerAs: _stepwayWizard.STEP_WAY_WIZARD_CONTROLLERAS_NAME,\n replace: false,\n template: _stepwayWizardTemplate2.default,\n link: linkFct\n };\n return directive;\n\n function linkFct(scope) {\n\n scope.$watch(function () {\n return scope.edaEasyFormGeneratorModel;\n }, function () {\n return loadExistingConfigurationModel();\n }, true);\n\n //watch \"scope.vm.returnSaveEvent\"\" = catch saving form eventscope.vm.wfFormFieldsOnlyNeededProperties = angular.copy(scope.vm.wfFormFields);\n scope.$watch(function () {\n return scope.vm.returnSaveEvent;\n }, function (newValue) {\n if (newValue === true) {\n\n var _easyFormGeneratorModel = scope.vm.configuration.steps.map(function (step) {\n var easyFormGeneratorModel = step.easyFormGeneratorModel;\n easyFormGeneratorModel.formlyFieldsModel.forEach(function (model) {\n delete model.formControl;\n });\n return {\n formName: step.title,\n // btnSubmitText: easyFormGeneratorModel.configuration.submitButtonText,\n // btnCancelText: easyFormGeneratorModel.configuration.cancelButtonText,\n edaFieldsModel: easyFormGeneratorModel.edaFieldsModel,\n edaFieldsModelStringified: easyFormGeneratorModel.edaFieldsModelStringified,\n formlyFieldsModel: easyFormGeneratorModel.formlyFieldsModel,\n dataModel: easyFormGeneratorModel.dataModel\n };\n });\n\n scope.edaSaveFormEvent({\n edaEasyFormGeneratorModel: _easyFormGeneratorModel\n });\n //back to false, waiting next save event\n scope.vm.returnSaveEvent = false;\n }\n });\n\n function loadExistingConfigurationModel() {\n var steps = scope.edaEasyFormGeneratorModel.map(function (step) {\n var item = {\n title: step.formName,\n easyFormGeneratorModel: {\n configuration: step.configuration,\n edaFieldsModel: step.edaFieldsModel,\n edaFieldsModelStringified: step.edaFieldsModelStringified,\n formlyFieldsModel: step.formlyFieldsModel,\n dataModel: step.dataModel,\n loaded: {\n configuration: step.configuration,\n edaFieldsModel: step.edaFieldsModel,\n edaFieldsModelStringified: step.edaFieldsModelStringified,\n formlyFieldsModel: step.formlyFieldsModel,\n dataModel: step.dataModel\n }\n }\n };\n return item;\n });\n scope.vm.configuration.steps = steps;\n }\n }\n}\n\nedaStepWayEasyWizardFormGenDirective.$inject = [];\n\nexports.default = edaStepWayEasyWizardFormGenDirective;\nexports.STEP_WAY_WIZARD_DIRECTIVE_NAME = STEP_WAY_WIZARD_DIRECTIVE_NAME;//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy93aXphcmQvc3RlcHdheS53aXphcmQuZGlyZWN0aXZlLmpzPzg3YTQiXSwibmFtZXMiOlsiU1RFUF9XQVlfV0laQVJEX0RJUkVDVElWRV9OQU1FIiwiZWRhU3RlcFdheUVhc3lXaXphcmRGb3JtR2VuRGlyZWN0aXZlIiwiZGlyZWN0aXZlIiwicmVzdHJpY3QiLCJzY29wZSIsImVkYUVhc3lGb3JtR2VuZXJhdG9yTW9kZWwiLCJlZGFTYXZlRm9ybUV2ZW50IiwiY29udHJvbGx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iB7XG4gICAgICAgICAgICAgIGNvbmZpZ3VyYXRpb246IHN0ZXAuY29uZmlndXJhdGlvbixcbiAgICAgICAgICAgICAgZWRhRmllbGRzTW9kZWw6IHN0ZXAuZWRhRmllbGRzTW9kZWwsXG4gICAgICAgICAgICAgIGVkYUZpZWxkc01vZGVsU3RyaW5naWZpZWQ6IHN0ZXAuZWRhRmllbGRzTW9kZWxTdHJpbmdpZmllZCxcbiAgICAgICAgICAgICAgZm9ybWx5RmllbGRzTW9kZWw6IHN0ZXAuZm9ybWx5RmllbGRzTW9kZWwsXG4gICAgICAgICAgICAgIGRhdGFNb2RlbDogc3RlcC5kYXRhTW9kZWwsXG4gICAgICAgICAgICB9LFxuICAgICAgICAgIH1cbiAgICAgICAgfTtcbiAgICAgICAgcmV0dXJuIGl0ZW07XG4gICAgICB9KTtcbiAgICAgIHNjb3BlLnZtLmNvbmZpZ3VyYXRpb24uc3RlcHMgPSBzdGVwcztcbiAgICB9XG4gIH1cbn1cblxuZWRhU3RlcFdheUVhc3lXaXphcmRGb3JtR2VuRGlyZWN0aXZlLiRpbmplY3QgPSBbXTtcblxuZXhwb3J0IGRlZmF1bHQgZWRhU3RlcFdheUVhc3lXaXphcmRGb3JtR2VuRGlyZWN0aXZlO1xuZXhwb3J0IHtcbiAgU1RFUF9XQVlfV0laQVJEX0RJUkVDVElWRV9OQU1FXG59O1xuXG5cblxuLy8gV0VCUEFDSyBGT09URVIgLy9cbi8vIC4vc3JjL2FwcC9zdGVwd2F5L2NvbXBvbmVudHMvd2l6YXJkL3N0ZXB3YXkud2l6YXJkLmRpcmVjdGl2ZS5qcyJdLCJzb3VyY2VSb290IjoiIn0=");
|
||
|
||
/***/ },
|
||
/* 53 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("module.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\\n toaster-options=\\\"{\\n 'position-class': 'toast-top-full-width',\\n 'extendedTimeout':500,\\n 'timeOut':500\\n }\\\">\\n </toaster-container>\\n <uib-tabset justified=\\\"true\\\">\\n <uib-tab active=\\\"vm.tab.editTab.active\\\" heading=\\\"{{'EDIT_TAB' | translate}}\\\">\\n <div class=\\\"row\\\">\\n <add-step-content configuration=\\\"vm.configuration\\\" \\n add-newstep=\\\"vm.addNewstep()\\\" \\n save-this-form=\\\"vm.saveThisForm()\\\"\\n remove-this-step=\\\"vm.removeThisStep(index)\\\"\\n right-this-step=\\\"vm.rightThisStep(index)\\\" \\n left-this-step=\\\"vm.leftThisStep(index)\\\">\\n </add-step-content>\\n </div>\\n </uib-tab>\\n <uib-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 \\n <wizard edit-mode=\\\"true\\\" indicators-position=\\\"top\\\" on-finish=\\\"finishedWizard()\\\">\\n <wz-step wz-title=\\\"{{vm.configuration.steps[$index].title}}\\\" ng-repeat=\\\"step in vm.configuration.steps track by $index\\\">\\n <formly-form model=\\\"vm.dataModel\\\" fields=\\\"vm.configuration.steps[$index].easyFormGeneratorModel.formlyFieldsModel\\\">\\n <span class=\\\"pull-right\\\">\\n <button class=\\\"btn btn-primary\\\" ng-if=\\\"$index > 0\\\" wz-previous>\\n <i class=\\\"fa fa-arrow-left fa-2x pull-left\\\"></i>\\n <span class=\\\"pull-right ng-binding\\\">\\n Previous\\n </span>\\n </button>\\n <button class=\\\"btn btn-primary\\\" ng-if=\\\"$index < vm.configuration.steps.length - 1\\\" wz-next>\\n <i class=\\\"fa fa-arrow-right fa-2x pull-left\\\"></i>\\n <span class=\\\"pull-right ng-binding\\\">\\n Next\\n </span>\\n </button>\\n <button class=\\\"btn btn-primary\\\" ng-if=\\\"$index == vm.configuration.steps.length - 1\\\" \\n type=\\\"Submit\\\"> \\n <i class=\\\"fa fa-save fa-2x pull-left\\\"></i> \\n <span class=\\\"pull-right ng-binding\\\">\\n Submit\\n </span>\\n </button>\\n </span>\\n </formly-form>\\n </wz-step>\\n </wizard>\\n \\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 | json}} \\n </pre>\\n </div>\\n </div>\\n </uib-tab>\\n </uib-tabset>\\n </div>\\n </div>\\n </section>\\n <hr/>\\n </div>\\n </div>\\n</section>\"//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy93aXphcmQvc3RlcHdheS53aXphcmQudGVtcGxhdGUuaHRtbD82NDFmIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLDRUQUE0VCxtSkFBbUosd0pBQXdKLHdCQUF3QiwrbUJBQSttQiwyQkFBMkIsb1VBQW9VLHNDQUFzQyxxM0RBQXEzRCwwQkFBMEIseURBQXlELHFCQUFxQixzUEFBc1AsNEJBQTRCLHlEQUF5RCxXQUFXIiwiZmlsZSI6IjUzLmpzIiwic291cmNlc0NvbnRlbnQiOlsibW9kdWxlLmV4cG9ydHMgPSBcIjxzZWN0aW9uIGlkPVxcXCJwYWdlV2ZFZGl0XFxcIj5cXG4gIDxkaXYgbmctaW5pdD1cXFwiXFxcIj5cXG4gICAgPGRp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Rm9ybSgpXFxcIlxcbiAgICAgICAgICAgICAgICAgICAgcmVtb3ZlLXRoaXMtc3RlcD1cXFwidm0ucmVtb3ZlVGhpc1N0ZXAoaW5kZXgpXFxcIlxcbiAgICAgICAgICAgICAgICAgICAgcmlnaHQtdGhpcy1zdGVwPVxcXCJ2bS5yaWdodFRoaXNTdGVwKGluZGV4KVxcXCIgXFxuICAgICAgICAgICAgICAgICAgICBsZWZ0LXRoaXMtc3RlcD1cXFwidm0ubGVmdFRoaXNTdGVwKGluZGV4KVxcXCI+XFxuICAgICAgICAgICAgICAgICAgPC9hZGQtc3RlcC1jb250ZW50PlxcbiAgICAgICAgICAgICAgICA8L2Rpdj5cXG4gICAgICAgICAgICAgIDwvdWliLXRhYj5cXG4gICAgICAgICAgICAgIDx1aWItdGFiIGFjdGl2ZT1cXFwidm0udGFiLnByZXZpZXdUYWIuYWN0aXZlXFxcIiBuZy1pZj1cXFwidm0udGFiLnByZXZpZXdUYWIudGFiVmlzaWJsZVxcXCIgaGVhZGluZz1cXFwie3snUFJFVklFV19UQUInIHwgdHJhbnNsYXRlfX1cXFwiPlxcbiAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVxcXCJwYW5lbCBwYW5lbC1kZWZhdWx0XFxcIj5cXG4gICAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVxcXCJwYW5lbC1ib2R5XFxcIj5cXG4gICAgICAgICAgICAgICAgICAgIDwhLS0gZm9ybWx5IGhlcmUgLS0+XFxuICAgICAgICAgICAgICAgICAgICBcXG4gICAgICAgICAgICAgICAgICAgICAgPHdpemFyZCBlZGl0LW1vZGU9XFxcInRydWVcXFwiIGluZGljYXRvcnMtcG9zaXRpb249XFxcInRvcFxcXCIgb24tZmluaXNoPVxcXCJmaW5pc2hlZFdpemFyZCgpXFxcIj5cXG4gICAgICAgICAgICAgICAgICAgICAgICA8d3otc3RlcCB3ei10aXRsZT1cXFwie3t2bS5jb25maWd1cmF0aW9uLnN0ZXBzWyRpbmRleF0udGl0bGV9fVxcXCIgbmctcmVwZWF0PVxcXCJzdGVwIGluIHZtLmNvbmZpZ3VyYXRpb24uc3RlcHMgdHJhY2sgYnkgJGluZGV4XFxcIj5cXG4gICAgICAgICAgICAgICAgICAgICAgICAgIDxmb3JtbHktZm9ybSBtb2RlbD1cXFwidm0uZGF0YU1vZGVsXFxcIiBmaWVsZHM9XFxcInZtLmNvbmZpZ3VyYXRpb24uc3RlcHNbJGluZGV4XS5lYXN5Rm9ybUdlbmVyYXRvck1vZGVsLmZvcm1seUZpZWxkc01vZGVsXFxcIj5cXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPHNwYW4gY2xhc3M9XFxcInB1bGwtcmlnaHRcXFwiPlxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8YnV0dG9uIGNsYXNzPVxcXCJidG4gYnRuLXByaW1hcnlcXFwiIG5nLWlmPVxcXCIkaW5kZXggPiAwXFxcIiB3ei1wcmV2aW91cz5cXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxpIGNsYXNzPVxcXCJmYSBmYS1hcnJvdy1sZWZ0IGZhLTJ4IHB1bGwtbGVmdFxcXCI+PC9pPlxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHNwYW4gY2xhc3M9XFxcInB1bGwtcmlnaHQgbmctYmluZGluZ1xcXCI+XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFByZXZpb3VzXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L3NwYW4+XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvYnV0dG9uPlxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8YnV0dG9uIGNsYXNzPVxcXCJidG4gYnRuLXByaW1hcnlcXFwiIG5nLWlmPVxcXCIkaW5kZXggPCB2bS5jb25maWd1cmF0aW9uLnN0ZXBzLmxlbmd0aCAtIDFcXFwiIHd6LW5leHQ+XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8aSBjbGFzcz1cXFwiZmEgZmEtYXJyb3ctcmlnaHQgZmEtMnggcHVsbC1sZWZ0XFxcIj48L2k+XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8c3BhbiBjbGFzcz1cXFwicHVsbC1yaWdodCBuZy1iaW5kaW5nXFxcIj5cXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgTmV4dFxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9zcGFuPlxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvYnV0dG9uPlxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxidXR0b24gY2xhc3M9XFxcImJ0biBidG4tcHJpbWFyeVxcXCIgbmctaWY9XFxcIiRpbmRleCA9PSB2bS5jb25maWd1cmF0aW9uLnN0ZXBzLmxlbmd0aCAtIDFcXFwiIFxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHR5cGU9XFxcIlN1Ym1pdFxcXCI+ICAgICAgICAgICAgXFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGkgY2xhc3M9XFxcImZhIGZhLXNhdmUgZmEtMnggcHVsbC1sZWZ0XFxcIj48L2k+ICAgICAgICAgICAgICAgICAgICBcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxzcGFuIGNsYXNzPVxcXCJwdWxsLXJpZ2h0IG5nLWJpbmRpbmdcXFwiPlxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBTdWJtaXRcXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvc3Bhbj5cXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L2J1dHRvbj5cXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9zcGFuPlxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgPC9mb3JtbHktZm9ybT5cXG4gICAgICAgICAgICAgICAgICAgICAgICA8L3d6LXN0ZXA+XFxuICAgICAgICAgICAgICAgICAgICAgIDwvd2l6YXJkPlxcbiAgICAgICAgICAgICAgICAgICAgXFxuICAgICAgICAgICAgICAgICAgPC9kaXY+XFxuICAgICAgICAgICAgICAgIDwvZGl2PlxcbiAgICAgICAgICAgICAgICA8ZGl2IG5nLWlmPVxcXCJ2bS50YWIucHJldmlld1RhYi5tb2RlbHNWaXNpYmxlXFxcIiBjbGFzcz1cXFwicGFuZWwgcGFuZWwtZGVmYXVsdFxcXCI+XFxuICAgICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cXFwicGFuZWwtYm9keVxcXCI+XFxuICAgICAgICAgICAgICAgICAgICA8cD57eydEQVRBX01PREVMJyB8IHRyYW5zbGF0ZX19PC9wPlxcbiAgICAgICAgICAgICAgICAgICAgPHByZT5cXG4gICAgICAgICAgICAgICAgICAgICAge3t2bS5kYXRhTW9kZWwgfCBqc29ufX1cXG4gICAgICAgICAgICAgICAgICAgIDwvcHJlPlxcbiAgICAgICAgICAgICAgICAgIDwvZGl2PlxcbiAgICAgICAgICAgICAgICA8L2Rpdj5cXG4gICAgICAgICAgICAgICAgPGRpdiBuZy1pZj1cXFwidm0udGFiLnByZXZpZXdUYWIubW9kZWxzVmlzaWJsZVxcXCIgY2xhc3M9XFxcInBhbmVsIHBhbmVsLWRlZmF1bHRcXFwiPlxcbiAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XFxcInBhbmVsLWJvZHlcXFwiPlxcbiAgICAgICAgICAgICAgICAgICAgPHA+e3snRklFTERTX01PREVMJyB8IHRyYW5zbGF0ZX19PC9wPlxcbiAgICAgICAgICAgICAgICAgICAgPHByZT5cXG4gICAgICAgICAgICAgICAgICAgICAge3t2bSB8IGpzb259fSAgICAgICAgICAgICAgICAgICAgICBcXG4gICAgICAgICAgICAgICAgICAgIDwvcHJlPlxcbiAgICAgICAgICAgICAgICAgIDwvZGl2PlxcbiAgICAgICAgICAgICAgICA8L2Rpdj5cXG4gICAgICAgICAgICAgIDwvdWliLXRhYj5cXG4gICAgICAgICAgICA8L3VpYi10YWJzZXQ+XFxuICAgICAgICAgIDwvZGl2PlxcbiAgICAgICAgPC9kaXY+XFxuICAgICAgPC9zZWN0aW9uPlxcbiAgICAgIDxoci8+XFxuICAgIDwvZGl2PlxcbiAgPC9kaXY+XFxuPC9zZWN0aW9uPlwiXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy93aXphcmQvc3RlcHdheS53aXphcmQudGVtcGxhdGUuaHRtbFxuLy8gbW9kdWxlIGlkID0gNTNcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sInNvdXJjZVJvb3QiOiIifQ==");
|
||
|
||
/***/ },
|
||
/* 54 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar EASY_WIZARD_FORM_STEP_WAY_CONFIG_NAME = 'easyWizardFormStepWayConfig';\n\nfunction easyWizardFormStepWayConfig($translateProvider) {\n var _configuration = defaultConfig();\n var _defaultLanguage = getDefaultLanguage();\n var _currentLanguage = initDefaultLanguage();\n var _showPreviewPanel = getDefaultshowPreviewPanel();\n var _showPreviewModels = getDefaultShowPreviewModel();\n\n this.$get = easyFormStepWayConfigGET;\n this.configuration = _configuration;\n this.setLanguage = setLanguage;\n this.getCurrentLanguage = getCurrentLanguage;\n this.showPreviewPanel = showPreviewPanel;\n this.showPreviewModels = showPreviewModels;\n\n //set default config\n function defaultConfig() {\n var _defaultConfiguration = {\n modalAnimated: false\n };\n return _defaultConfiguration;\n }\n\n //show preview panel by default\n function getDefaultshowPreviewPanel() {\n return true;\n }\n\n //show preview data, fields models in preview panel\n function getDefaultShowPreviewModel() {\n return true;\n }\n\n function getCurrentLanguage() {\n return _currentLanguage;\n }\n\n //list of controls\n // function controlsList() {\n // const controls = [\n // {name: 'empty', enabled: true},\n // {name: 'Header', enabled: true},\n // {name: 'Subtitle', enabled: true},\n // {name: 'TextInput', enabled: true},\n // {name: 'Password', enabled: true},\n // {name: 'Email', enabled: true},\n // {name: 'IpAdress', enabled: true},\n // {name: 'Date', enabled: true},\n // {name: 'Texarea', enabled: true},\n // {name: 'RichTextEditor', enabled: true},\n // {name: 'Radio', enabled: true},\n // {name: 'Checkbox', enabled: true},\n // {name: 'BasicSelect', enabled: true},\n // {name: 'GroupedSelect', enabled: true}\n // ];\n // return controls;\n // }\n\n function showPreviewPanel(wantToShow) {\n if (angular.isDefined(wantToShow)) {\n if (wantToShow === true) _showPreviewPanel = true;\n if (wantToShow === false) _showPreviewPanel = false;\n }\n }\n\n function showPreviewModels(wantToShow) {\n if (angular.isDefined(wantToShow)) {\n if (wantToShow === true) _showPreviewModels = true;\n if (wantToShow === false) _showPreviewModels = false;\n }\n }\n\n //language : set default to english\n function getDefaultLanguage() {\n var lang = 'en';\n return lang;\n }\n\n function setDefaultLanguage() {\n _currentLanguage = _defaultLanguage;\n $translateProvider.preferredLanguage(_currentLanguage);\n return _currentLanguage;\n }\n\n function setLanguage(language) {\n if (angular.isString(language)) {\n _currentLanguage = language;\n $translateProvider.preferredLanguage(language);\n } else {\n setDefaultLanguage();\n }\n }\n\n function initDefaultLanguage() {\n $translateProvider.useSanitizeValueStrategy('escape'); //security : Enable escaping of HTML\n $translateProvider.fallbackLanguage(_defaultLanguage); //fallback language to default language\n $translateProvider.preferredLanguage(_defaultLanguage);\n return _defaultLanguage;\n }\n\n //$get implementation :\n easyFormStepWayConfigGET.$inject = ['$translate'];\n function easyFormStepWayConfigGET($translate) {\n\n var service = {\n setLanguage: switchLanguage,\n getCurrentLanguage: getCurrentLanguage,\n isPreviewPanelVisible: isPreviewPanelVisible,\n arePreviewModelsVisible: arePreviewModelsVisible\n };\n return service;\n\n function switchLanguage(language) {\n if (angular.isString(language)) {\n _currentLanguage = language;\n $translate.use(language);\n } else {\n setDefaultLanguage();\n }\n }\n\n function isPreviewPanelVisible() {\n return _showPreviewPanel;\n }\n\n function arePreviewModelsVisible() {\n return _showPreviewModels;\n }\n }\n}\n\neasyWizardFormStepWayConfig.$inject = ['$translateProvider'];\nexports.default = easyWizardFormStepWayConfig;\nexports.EASY_WIZARD_FORM_STEP_WAY_CONFIG_NAME = EASY_WIZARD_FORM_STEP_WAY_CONFIG_NAME;//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy93aXphcmQvc3RlcHdheS53aXphcmQucHJvdmlkZXIuanM/ZjkyMyJdLCJuYW1lcyI6WyJFQVNZX1dJWkFSRF9GT1JNX1NURVBfV0FZX0NPTkZJR19OQU1FIiwiZWFzeVdpemFyZEZvcm1TdGVwV2F5Q29uZmlnIiwiJHRyYW5zbGF0ZVByb3ZpZGVyIiwiX2NvbmZpZ3VyYXRpb24iLCJkZWZhdWx0Q29uZmlnIiwiX2RlZmF1bHRMYW5ndWFnZSIsImdldERlZmF1bHRMYW5ndWFnZSIsIl9jdXJyZW50TGFuZ3VhZ2UiLCJpbml0RGVmYXVsdExhbmd1YWdlIiwiX3Nob3dQcmV2aWV3UGFuZWwiLCJnZXREZWZhdWx0c2hvd1ByZXZpZXdQYW5lbCIsIl9zaG93UHJldmlld01vZGVscyIsImdldERlZmF1bHRTaG93UHJldmlld01vZGVsIiwiJGdldCIsImVhc3lGb3JtU3RlcFdheUNvbmZpZ0dFVCIsImNvbmZpZ3VyYXRpb24iLCJzZXRMYW5ndWFnZSIsImdldEN1cnJlbnRMYW5ndWFnZSIsInNob3dQcmV2aWV3UGFuZWwiLCJzaG93UHJldmlld01vZGVscyIsIl9kZWZhdWx0Q29uZmlndXJhdGlvbiIsIm1vZGFsQW5pbWF0ZWQiLCJ3YW50VG9TaG93IiwiYW5ndWxhciIsImlzRGVmaW5lZCIsImxhbmciLCJzZXREZWZhdWx0TG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1cm4gX3Nob3dQcmV2aWV3UGFuZWw7XG4gICAgfVxuXG4gICAgZnVuY3Rpb24gYXJlUHJldmlld01vZGVsc1Zpc2libGUoKSB7XG4gICAgICByZXR1cm4gX3Nob3dQcmV2aWV3TW9kZWxzO1xuICAgIH1cbiAgfVxufVxuXG5lYXN5V2l6YXJkRm9ybVN0ZXBXYXlDb25maWcuJGluamVjdCA9IFsnJHRyYW5zbGF0ZVByb3ZpZGVyJ107XG5leHBvcnQgZGVmYXVsdCBlYXN5V2l6YXJkRm9ybVN0ZXBXYXlDb25maWc7XG5cbmV4cG9ydCB7RUFTWV9XSVpBUkRfRk9STV9TVEVQX1dBWV9DT05GSUdfTkFNRX07XG5cblxuXG4vLyBXRUJQQUNLIEZPT1RFUiAvL1xuLy8gLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy93aXphcmQvc3RlcHdheS53aXphcmQucHJvdmlkZXIuanMiXSwic291cmNlUm9vdCI6IiJ9");
|
||
|
||
/***/ },
|
||
/* 55 */
|
||
/***/ function(module, exports, __webpack_require__) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _stepwayWizardAddStepContent = __webpack_require__(56);\n\nvar _stepwayWizardAddStepCommandPanel = __webpack_require__(57);\n\nvar _stepwayWizardAddStepVisualPanel = __webpack_require__(58);\n\nvar ADD_STEP_CONTENT_COMPONENT_MODULE = 'stepway.addStepContent.module';\n\nexports.default = angular.module(ADD_STEP_CONTENT_COMPONENT_MODULE, []).component(_stepwayWizardAddStepContent.ADD_STEP_CONTENT_COMPONENT, _stepwayWizardAddStepContent.addStepContentComponent).component(_stepwayWizardAddStepCommandPanel.ADD_STEP_COMMAND_PANEL_COMPONENT_NAME, _stepwayWizardAddStepCommandPanel.AddStepCommandPanelComponent).component(_stepwayWizardAddStepVisualPanel.ADD_STEP_VISUAL_PANEL_COMPONENT_NAME, _stepwayWizardAddStepVisualPanel.AddStepVisualPanelComponent);//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy93aXphcmQvYWRkU3RlcENvbnRlbnQvc3RlcHdheS53aXphcmQuYWRkU3RlcENvbnRlbnQubW9kdWxlLmpzPzgxYjIiXSwibmFtZXMiOlsiQUREX1NURVBfQ09OVEVOVF9DT01QT05FTlRfTU9EVUxFIiwiYW5ndWxhciIsIm1vZHVsZSIsImNvbXBvbmVudCJdLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBQUE7O0FBSUE7O0FBSUE7O0FBTUEsSUFBTUEsb0NBQW9DLCtCQUExQzs7a0JBRWVDLFFBQ0VDLE1BREYsQ0FDU0YsaUNBRFQsRUFDNEMsRUFENUMsRUFFRUcsU0FGRixnSEFHRUEsU0FIRiwwSUFJRUEsU0FKRixxSSIsImZpbGUiOiI1NS5qcyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7XG4gIGFkZFN0ZXBDb250ZW50Q29tcG9uZW50LFxuICBBRERfU1RFUF9DT05URU5UX0NPTVBPTkVOVFxufSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGZyb20gJy4vc3RlcHdheS53aXphcmQuYWRkU3RlcENvbnRlbnQuY29tcG9uZW50JztcbmltcG9ydCB7XG4gIEFERF9TVEVQX0NPTU1BTkRfUEFORUxfQ09NUE9ORU5UX05BTUUsXG4gIEFkZFN0ZXBDb21tYW5kUGFuZWxDb21wb25lbnRcbn0gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBmcm9tICcuL0FkZFN0ZXBDb21tYW5kUGFuZWwvc3RlcHdheS53aXphcmQuQWRkU3RlcENvbW1hbmRQYW5lbC5jb21wb25lbnQnO1xuaW1wb3J0IHtcbiAgQUREX1NURVBfVklTVUFMX1BBTkVMX0NPTVBPTkVOVF9OQU1FLFxuICBBZGRTdGVwVmlzdWFsUGFuZWxDb21wb25lbnRcbn0gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBmcm9tICcuL0FkZFN0ZXBWaXN1YWxQYW5lbC9zdGVwd2F5LndpemFyZC5BZGRTdGVwVmlzdWFsUGFuZWwuY29tcG9uZW50JztcblxuXG5jb25zdCBBRERfU1RFUF9DT05URU5UX0NPTVBPTkVOVF9NT0RVTEUgPSAnc3RlcHdheS5hZGRTdGVwQ29udGVudC5tb2R1bGUnO1xuXG5leHBvcnQgZGVmYXVsdCBhbmd1bGFyXG4gICAgICAgICAgICAgICAgLm1vZHVsZShBRERfU1RFUF9DT05URU5UX0NPTVBPTkVOVF9NT0RVTEUsIFtdKVxuICAgICAgICAgICAgICAgIC5jb21wb25lbnQoQUREX1NURVBfQ09OVEVOVF9DT01QT05FTlQsIGFkZFN0ZXBDb250ZW50Q29tcG9uZW50KVxuICAgICAgICAgICAgICAgIC5jb21wb25lbnQoQUREX1NURVBfQ09NTUFORF9QQU5FTF9DT01QT05FTlRfTkFNRSwgQWRkU3RlcENvbW1hbmRQYW5lbENvbXBvbmVudClcbiAgICAgICAgICAgICAgICAuY29tcG9uZW50KEFERF9TVEVQX1ZJU1VBTF9QQU5FTF9DT01QT05FTlRfTkFNRSwgQWRkU3RlcFZpc3VhbFBhbmVsQ29tcG9uZW50KTtcblxuXG5cbi8vIFdFQlBBQ0sgRk9PVEVSIC8vXG4vLyAuL3NyYy9hcHAvc3RlcHdheS9jb21wb25lbnRzL3dpemFyZC9hZGRTdGVwQ29udGVudC9zdGVwd2F5LndpemFyZC5hZGRTdGVwQ29udGVudC5tb2R1bGUuanMiXSwic291cmNlUm9vdCI6IiJ9");
|
||
|
||
/***/ },
|
||
/* 56 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: 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 ADD_STEP_CONTENT_COMPONENT = 'addStepContent';\n\nvar addStepContentComponent = exports.addStepContentComponent = {\n template: '\\n <div>\\n <div class=\"col-md-4\">\\n <add-step-command-panel\\n configuration=\"$ctrl.configuration\"\\n add-newstep=\"$ctrl.addNewstep()\"\\n save-this-form=\"$ctrl.saveThisFormParent(event)\">\\n </add-step-command-panel>\\n </div>\\n <div class=\"col-md-8\">\\n <add-step-visual-panel\\n configuration=\"$ctrl.configuration\"\\n set-active-step-number=\"$ctrl.setActiveStepNumberParent(index)\"\\n remove-this-step=\"$ctrl.removeThisStepParent(index)\"\\n right-this-step=\"$ctrl.rightThisStepParent(index)\"\\n left-this-step=\"$ctrl.leftThisStepParent(index)\">\\n </add-step-visual-panel>\\n </div>\\n </div>\\n ',\n bindings: {\n configuration: '=',\n addNewstep: '&',\n setActiveStepNumber: '&',\n removeThisStep: '&',\n rightThisStep: '&',\n leftThisStep: '&',\n saveThisForm: '&'\n },\n controller: function () {\n function addStepContentController() {\n _classCallCheck(this, addStepContentController);\n }\n\n _createClass(addStepContentController, [{\n key: 'removeThisStepParent',\n value: function removeThisStepParent(index) {\n this.removeThisStep({\n index: index\n });\n }\n }, {\n key: 'rightThisStepParent',\n value: function rightThisStepParent(index) {\n this.rightThisStep({\n index: index\n });\n }\n }, {\n key: 'leftThisStepParent',\n value: function leftThisStepParent(index) {\n this.leftThisStep({\n index: index\n });\n }\n }, {\n key: 'saveThisFormParent',\n value: function saveThisFormParent(event) {\n event.preventDefault();\n this.saveThisForm(event);\n }\n\n ///////////////////////////////////\n // WHY this function is needed :\n ///////////////////////////////////\n // CASE OF : function with parameter passing from parent to caller through another level component\n // parent -> intermediate component (here) -> caller\n // NOTE : intermediate should call parent function to be sure to pass function parameter upward to parent\n\n }, {\n key: 'setActiveStepNumberParent',\n value: function setActiveStepNumberParent(index) {\n this.setActiveStepNumber({\n index: index\n });\n }\n }], [{\n key: '$inject',\n get: function get() {\n return [];\n }\n }]);\n\n return addStepContentController;\n }()\n};\n\nexports.default = addStepContentComponent;\nexports.ADD_STEP_CONTENT_COMPONENT = ADD_STEP_CONTENT_COMPONENT;//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy93aXphcmQvYWRkU3RlcENvbnRlbnQvc3RlcHdheS53aXphcmQuYWRkU3RlcENvbnRlbnQuY29tcG9uZW50LmpzPzU5NTQiXSwibmFtZXMiOlsiQUREX1NURVBfQ09OVEVOVF9DT01QT05FTlQiLCJhZGRTdGVwQ29udGVudENvbXBvbmVudCIsInRlbXBsYXRlIiwiYmluZGluZ3MiLCJjb25maWd1cmF0aW9uIiwiYWRkTmV3c3RlcCIsInNldEFjdGl2ZVN0ZXBOdW1iZXIiLCJyZW1vdmVUaGlzU3RlcCIsInJpZ2h0VGhpc1N0ZXAiLCJsZWZ0VGhpc1N0ZXAiLCJzYXZlVGhpc0Zvcm0iLCJjb250cm9sbGVyIiwiaW5kZXgiLCJldmVudCIsInByZXZlbnREZWZhdWx0Il0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7O0FBQUEsSUFBTUEsNkJBQTZCLGdCQUFuQzs7QUFFTyxJQUFNQyw0REFBMEI7QUFDckNDLGdyQkFEcUM7QUFxQnJDQyxZQUFVO0FBQ1JDLG1CQUFlLEdBRFA7QUFFUkMsZ0JBQVksR0FGSjtBQUdSQyx5QkFBcUIsR0FIYjtBQUlSQyxvQkFBZ0IsR0FKUjtBQ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gICAgICBwYXJlbnQgLT4gaW50ZXJtZWRpYXRlIGNvbXBvbmVudCAoaGVyZSkgLT4gY2FsbGVyXG4gICAgLy8gTk9URSA6IGludGVybWVkaWF0ZSBzaG91bGQgY2FsbCBwYXJlbnQgZnVuY3Rpb24gdG8gYmUgc3VyZSB0byBwYXNzIGZ1bmN0aW9uIHBhcmFtZXRlciB1cHdhcmQgdG8gcGFyZW50XG4gICAgc2V0QWN0aXZlU3RlcE51bWJlclBhcmVudChpbmRleCkge1xuICAgICAgdGhpcy5zZXRBY3RpdmVTdGVwTnVtYmVyKHtcbiAgICAgICAgaW5kZXg6IGluZGV4XG4gICAgICB9KTtcbiAgICB9XG5cbiAgICBzdGF0aWMgZ2V0ICRpbmplY3QoKSB7XG4gICAgICByZXR1cm4gW107XG4gICAgfVxuICB9XG59O1xuXG5leHBvcnQgZGVmYXVsdCBhZGRTdGVwQ29udGVudENvbXBvbmVudDtcbmV4cG9ydCB7XG4gIEFERF9TVEVQX0NPTlRFTlRfQ09NUE9ORU5UXG59O1xuXG5cbi8vIFdFQlBBQ0sgRk9PVEVSIC8vXG4vLyAuL3NyYy9hcHAvc3RlcHdheS9jb21wb25lbnRzL3dpemFyZC9hZGRTdGVwQ29udGVudC9zdGVwd2F5LndpemFyZC5hZGRTdGVwQ29udGVudC5jb21wb25lbnQuanMiXSwic291cmNlUm9vdCI6IiJ9");
|
||
|
||
/***/ },
|
||
/* 57 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: 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 ADD_STEP_COMMAND_PANEL_COMPONENT_NAME = exports.ADD_STEP_COMMAND_PANEL_COMPONENT_NAME = 'addStepCommandPanel';\n\nvar AddStepCommandPanelComponent = exports.AddStepCommandPanelComponent = {\n template: '\\n <div id=\"commandPanel\">\\n <div class=\"panel panel-default\">\\n <div class=\"panel-heading\">\\n <h3 class=\"panel-title\">\\n <i class=\"fa fa-keyboard-o\"></i>\\n \\n {{\\'COMMAND_PANEL\\' | translate}}\\n </h3>\\n </div>\\n <div class=\"panel-body\">\\n <div class=\"row\">\\n <div class=\"col-md-12\">\\n <span class=\"addNewLine\">\\n {{\\'ADD_NEW_STEP\\' | translate}} :\\n </span>\\n \\n <button\\n class=\"btn btn-primary\"\\n ng-click=\"$ctrl.addNewstep()\">\\n <i class=\"fa fa-plus fa-1x\"></i>\\n </button>\\n </div> \\n </div>\\n <button\\n class=\"btn btn-primary btn-block btn-lg\"\\n ng-click=\"$ctrl.saveThisForm({event: $event})\">\\n {{\\'SAVE_THIS_FORM\\' | translate}}\\n </button>\\n </div>\\n </div>\\n </div>\\n ',\n bindings: {\n addNewstep: '&',\n saveThisForm: '&'\n },\n controller: function () {\n function AddStepCommandPanelController() {\n _classCallCheck(this, AddStepCommandPanelController);\n }\n\n _createClass(AddStepCommandPanelController, null, [{\n key: '$inject',\n get: function get() {\n return [];\n }\n }]);\n\n return AddStepCommandPanelController;\n }()\n};//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy93aXphcmQvYWRkU3RlcENvbnRlbnQvQWRkU3RlcENvbW1hbmRQYW5lbC9zdGVwd2F5LndpemFyZC5BZGRTdGVwQ29tbWFuZFBhbmVsLmNvbXBvbmVudC5qcz84NzI3Il0sIm5hbW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Ryb2xsZXIge1xuICAgIGNvbnN0cnVjdG9yKCkge1xuXG4gICAgfVxuXG4gICAgc3RhdGljIGdldCAkaW5qZWN0KCkge1xuICAgICAgcmV0dXJuIFtdO1xuICAgIH1cbiAgfVxufTtcblxuXG4vLyBXRUJQQUNLIEZPT1RFUiAvL1xuLy8gLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy93aXphcmQvYWRkU3RlcENvbnRlbnQvQWRkU3RlcENvbW1hbmRQYW5lbC9zdGVwd2F5LndpemFyZC5BZGRTdGVwQ29tbWFuZFBhbmVsLmNvbXBvbmVudC5qcyJdLCJzb3VyY2VSb290IjoiIn0=");
|
||
|
||
/***/ },
|
||
/* 58 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: 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 ADD_STEP_VISUAL_PANEL_COMPONENT_NAME = exports.ADD_STEP_VISUAL_PANEL_COMPONENT_NAME = 'addStepVisualPanel';\n\nvar AddStepVisualPanelComponent = exports.AddStepVisualPanelComponent = {\n template: '\\n <div id=\"visualPanel\">\\n <div class=\"panel panel-default\">\\n <div class=\"panel-heading\">\\n <h3 class=\"panel-title\">\\n <i class=\"fa fa-eye\"></i>\\n \\n {{\\'VISUAL_PANEL\\' | translate}}\\n </h3>\\n </div>\\n <div class=\"panel-body\">\\n \\n <wizard edit-mode=\"true\" indicators-position=\"top\" on-finish=\"finishedWizard()\">\\n <wz-step wz-title=\"{{$ctrl.configuration.steps[$index].title}}\" ng-repeat=\"step in $ctrl.configuration.steps track by $index\" >\\n <div class=\"row\">\\n <div class=\"col-md-12 lineCommandButton\">\\n <div class=\"col-md-3 pull-left\">\\n <button\\n class=\"btn btn-warning\"\\n title=\"{{\\'MOVE_STEP_LEFT\\' | translate}}\"\\n ng-hide=\"$index==0\"\\n ng-click=\"$ctrl.leftThisStep({index: $index})\">\\n <i class=\"fa fa-arrow-left\"></i>\\n </button>\\n <button\\n class=\"btn btn-warning\"\\n title=\"{{\\'MOVE_STEP_RIGHT\\' | translate}}\"\\n ng-hide=\"$index==($ctrl.configuration.steps.length-1)\"\\n ng-click=\"$ctrl.rightThisStep({index: $index})\">\\n <i class=\"fa fa-arrow-right\"></i>\\n </button>\\n </div>\\n <div class=\"col-md-6 text-center\"> \\n <span class=\"addNewLine\">\\n {{\\'STEP_TITLE\\' | translate}}:\\n </span>\\n <input class=\"addNewLine\" \\n title=\"{{\\'STEP_TITLE\\' | translate}}\"\\n placeholder=\"{{\\'STEP_TITLE\\' | translate}}\"\\n ng-model=\"$ctrl.configuration.steps[$index].title\" \\n type=\"text\" />\\n </div>\\n <div class=\"col-md-3 pull-left\">\\n <button\\n class=\"btn btn-danger pull-right\" \\n title=\"{{\\'DELETE_STEP\\' | translate}}\"\\n ng-hide=\"$ctrl.configuration.steps.length <= 1\" \\n ng-click=\"$ctrl.removeThisStep({index: $index})\">\\n <i class=\"fa fa-trash-o\"></i>\\n </button>\\n </div>\\n </div> \\n </div>\\n <eda-step-way-easy-form-gen\\n wizard-step-generator-model=\"$ctrl.configuration.steps[$index].easyFormGeneratorModel\"\\n eda-save-form-event=\"$ctrl.saveForm(edaEasyFormGeneratorModel)\">\\n </eda-step-way-easy-form-gen>\\n {{$ctrl.configuration.steps[$index] | json}} \\n </wz-step> \\n </wizard>\\n </div>\\n </div>\\n </div>\\n ',\n bindings: {\n configuration: '=',\n removeThisStep: '&',\n rightThisStep: '&',\n leftThisStep: '&'\n },\n controller: function () {\n function AddStepVisualPanelController() {\n _classCallCheck(this, AddStepVisualPanelController);\n }\n\n _createClass(AddStepVisualPanelController, null, [{\n key: '$inject',\n get: function get() {\n return [];\n }\n }]);\n\n return AddStepVisualPanelController;\n }()\n};//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy93aXphcmQvYWRkU3RlcENvbnRlbnQvQWRkU3RlcFZpc3VhbFBhbmVsL3N0ZXB3YXkud2l6YXJkLkFkZFN0ZXBWaXN1YWxQYW5lbC5jb21wb25lbnQuanM/YTcwZSJdLCJuYW1lcyI6WyJBRERfU1RFUF9WSVNVQUxfUEFORUxfQ09NUE9ORU5UX05BTUUiLCJBZGRTdGVwVmlzdWFsUGFuZWxDb21wb25lbnQiLCJ0ZW1wbGF0ZSIsImJpbmRpbmdzIiwiY29uZmlndXJhdGlvbiIsInJlbW92ZVRoaXNTdGVwIiwicmlnaHRUaGlzU3RlcCIsImxlZnRUaGlzU3RlcCIsImNvbnRyb2xsZXIiXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7QUFBTyxJQUFNQSxzRkFBdUMsb0JBQTdDOztBQUVBLElBQU1DLG9FQUE4QjtBQUN6Q0MsdXZGQUR5QztBQWlFekNDLFlBQVU7QUFDUkMsbUJBQWUsR0FEUDtBQUVSQyxvQkFBZ0IsR0FGUjtBQUdSQyxtQkFBZSxHQUhQO0FBSVJDLGtCQUFjO0FBSk4sR0FqRStCO0FBdUV6Q0M7QUFDRSw0Q0FBYztBQUFBO0FBQ2I7O0FBRkg7QUFBQTtBQUFBLDBCQUl1QjtBQUNuQixlQUFPLEVBQVA7QUFDRDtBQU5IOztBQUFBO0FBQUE7QUF2RXlDLENBQXBDIiwiZmlsZSI6IjU4LmpzIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0I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bGVmdFwiPlxuICAgICAgICAgICAgICAgICAgPGJ1dHRvblxuICAgICAgICAgICAgICAgICAgICBjbGFzcz1cImJ0biBidG4td2FybmluZ1wiXG4gICAgICAgICAgICAgICAgICAgIHRpdGxlPVwie3snTU9WRV9TVEVQX0xFRlQnIHwgdHJhbnNsYXRlfX1cIlxuICAgICAgICAgICAgICAgICAgICBuZy1oaWRlPVwiJGluZGV4PT0wXCJcbiAgICAgICAgICAgICAgICAgICAgbmctY2xpY2s9XCIkY3RybC5sZWZ0VGhpc1N0ZXAoe2luZGV4OiAkaW5kZXh9KVwiPlxuICAgICAgICAgICAgICAgICAgICA8aSBjbGFzcz1cImZhIGZhLWFycm93LWxlZnRcIj48L2k+XG4gICAgICAgICAgICAgICAgICA8L2J1dHRvbj5cbiAgICAgICAgICAgICAgICAgIDxidXR0b25cbiAgICAgICAgICAgICAgICAgICAgY2xhc3M9XCJidG4gYnRuLXdhcm5pbmdcIlxuICAgICAgICAgICAgICAgICAgICB0aXRsZT1cInt7J01PVkVfU1RFUF9SSUdIVCcgfCB0cmFuc2xhdGV9fVwiXG4gICAgICAgICAgICAgICAgICAgIG5nLWhpZGU9XCIkaW5kZXg9PSgkY3RybC5jb25maWd1cmF0aW9uLnN0ZXBzLmxlbmd0aC0xKVwiXG4gICAgICAgICAgICAgICAgICAgIG5nLWNsaWNrPVwiJGN0cmwucmlnaHRUaGlzU3RlcCh7aW5kZXg6ICRpbmRleH0pXCI+XG4gICAgICAgICAgICAgICAgICAgIDxpIGNsYXNzPVwiZmEgZmEtYXJyb3ctcmlnaHRcIj48L2k+XG4gICAgICAgICAgICAgICAgICA8L2J1dHRvbj5cbiAgICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwiY29sLW1kLTYgdGV4dC1jZW50ZXJcIj4gXG4gICAgICAgICAgICAgICAgICA8c3BhbiBjbGFzcz1cImFkZE5ld0xpbmVcIj5cbiAgICAgICAgICAgICAgICAgICAge3snU1RFUF9USVRMRScgfCB0cmFuc2xhdGV9fTpcbiAgICAgICAgICAgICAgICAgIDwvc3Bhbj5cbiAgICAgICAgICAgICAgICAgIDxpbnB1dCBjbGFzcz1cImFkZE5ld0xpbmVcIiBcbiAgICAgICAgICAgICAgICAgIHRpdGxlPVwie3snU1RFUF9USVRMRScgfCB0cmFuc2xhdGV9fVwiXG4gICAgICAgICAgICAgICAgICBwbGFjZWhvbGRlcj1cInt7J1NURVBfVElUTEUnIHwgdHJhbnNsYXRlfX1cIlxuICAgICAgICAgICAgICAgICAgbmctbW9kZWw9XCIkY3RybC5jb25maWd1cmF0aW9uLnN0ZXBzWyRpbmRleF0udGl0bGVcIiBcbiAgICAgICAgICAgICAgICAgIHR5cGU9XCJ0ZXh0XCIgLz5cbiAgICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwiY29sLW1kLTMgcHVsbC1sZWZ0XCI+XG4gICAgICAgICAgICAgICAgICA8YnV0dG9uXG4gICAgICAgICAgICAgICAgICAgIGNsYXNzPVwiYnRuIGJ0bi1kYW5nZXIgcHVsbC1yaWdodFwiICAgXG4gICAgICAgICAgICAgICAgICAgIHRpdGxlPVwie3snREVMRVRFX1NURVAnIHwgdHJhbnNsYXRlfX1cIlxuICAgICAgICAgICAgICAgICAgICBuZy1oaWRlPVwiJGN0cmwuY29uZmlndXJhdGlvbi5zdGVwcy5sZW5ndGggPD0gMVwiICAgICBcbiAgICAgICAgICAgICAgICAgICAgbmctY2xpY2s9XCIkY3RybC5yZW1vdmVUaGlzU3RlcCh7aW5kZXg6ICRpbmRleH0pXCI+XG4gICAgICAgICAgICAgICAgICAgIDxpIGNsYXNzPVwiZmEgZmEtdHJhc2gtb1wiPjwvaT5cbiAgICAgICAgICAgICAgICAgIDwvYnV0dG9uPlxuICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgICA8L2Rpdj4gICAgICAgICAgICAgIFxuICAgICAgICAg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YXkud2l6YXJkLkFkZFN0ZXBWaXN1YWxQYW5lbC5jb21wb25lbnQuanMiXSwic291cmNlUm9vdCI6IiJ9");
|
||
|
||
/***/ },
|
||
/* 59 */
|
||
/***/ function(module, exports, __webpack_require__) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _stepwayEditControlModal = __webpack_require__(25);\n\nvar _stepwayEditControlModal2 = _interopRequireDefault(_stepwayEditControlModal);\n\nvar _stepwayEditValidEditFooter = __webpack_require__(60);\n\nvar _stepwayEditChooseControl = __webpack_require__(61);\n\nvar _index = __webpack_require__(62);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar EDIT_CONTROLE_MODAL_NAME = 'editControlModal.module';\n\nvar EDIT_CONTROL_INJECT = _index.controls.map(function (control) {\n return control.moduleName;\n});\n\nexports.default = angular.module(EDIT_CONTROLE_MODAL_NAME, EDIT_CONTROL_INJECT).controller(_stepwayEditControlModal.EDIT_MODAL_CONTROLLER_NAME, _stepwayEditControlModal2.default).component(_stepwayEditChooseControl.EDIT_CHOOSE_CONTROL_COMPONENT, _stepwayEditChooseControl.editChooseControlComponent).component(_stepwayEditValidEditFooter.EDIT_EDIT_VALID_FOOTER_COMPONENT, _stepwayEditValidEditFooter.editValidEditFooterComponent);//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9tb2RhbC9zdGVwd2F5LmVkaXRDb250cm9sTW9kYWwubW9kdWxlLmpzPzI0NWQiXSwibmFtZXMiOlsiRURJVF9DT05UUk9MRV9NT0RBTF9OQU1FIiwiRURJVF9DT05UUk9MX0lOSkVDVCIsIm1hcCIsImNvbnRyb2wiLCJtb2R1bGVOYW1lIiwiYW5ndWxhciIsIm1vZHVsZSIsImNvbnRyb2xsZXIiLCJjb21w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1xuXG5cbmNvbnN0IEVESVRfQ09OVFJPTEVfTU9EQUxfTkFNRSA9ICdlZGl0Q29udHJvbE1vZGFsLm1vZHVsZSc7XG5cbmNvbnN0IEVESVRfQ09OVFJPTF9JTkpFQ1QgPSBjb250cm9scy5tYXAoXG4gIGNvbnRyb2wgPT4gY29udHJvbC5tb2R1bGVOYW1lXG4pO1xuXG5leHBvcnQgZGVmYXVsdCBhbmd1bGFyXG4gICAgICAgICAgICAgICAgLm1vZHVsZShFRElUX0NPTlRST0xFX01PREFMX05BTUUsIEVESVRfQ09OVFJPTF9JTkpFQ1QpXG4gICAgICAgICAgICAgICAgLmNvbnRyb2xsZXIoRURJVF9NT0RBTF9DT05UUk9MTEVSX05BTUUsIGVkaXRNb2RhbENvbnRyb2xsZXIpXG4gICAgICAgICAgICAgICAgLmNvbXBvbmVudChFRElUX0NIT09TRV9DT05UUk9MX0NPTVBPTkVOVCwgZWRpdENob29zZUNvbnRyb2xDb21wb25lbnQpXG4gICAgICAgICAgICAgICAgLmNvbXBvbmVudChFRElUX0VESVRfVkFMSURfRk9PVEVSX0NPTVBPTkVOVCwgZWRpdFZhbGlkRWRpdEZvb3RlckNvbXBvbmVudCk7XG5cblxuXG4vLyBXRUJQQUNLIEZPT1RFUiAvL1xuLy8gLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9tb2RhbC9zdGVwd2F5LmVkaXRDb250cm9sTW9kYWwubW9kdWxlLmpzIl0sInNvdXJjZVJvb3QiOiIifQ==");
|
||
|
||
/***/ },
|
||
/* 60 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _class, _temp;\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar EDIT_EDIT_VALID_FOOTER_COMPONENT = exports.EDIT_EDIT_VALID_FOOTER_COMPONENT = 'editValidEditFooter';\n\nvar editValidEditFooterComponent = exports.editValidEditFooterComponent = {\n template: '\\n <div class=\"modal-footer\">\\n <button\\n class=\"btn btn-primary\"\\n ng-class=\"{\\'disabled\\': $ctrl.nyaSelect.selectedControl === \\'none\\'}\"\\n ng-click=\"$ctrl.ok()\">\\n {{\\'OK\\' | translate}}\\n </button>\\n <button\\n class=\"btn btn-warning\"\\n ng-click=\"$ctrl.cancel()\">\\n {{\\'CANCEL\\' | translate}}\\n </button>\\n </div>\\n ',\n bindings: {\n nyaSelect: '=',\n ok: '&',\n cancel: '&'\n },\n controller: (_temp = _class = function editValidEditFooterController() {\n //\n\n _classCallCheck(this, editValidEditFooterController);\n }, _class.$inject = [], _temp)\n};//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9tb2RhbC9lZGl0VmFsaWRFZGl0Rm9vdGVyL3N0ZXB3YXkuZWRpdFZhbGlkRWRpdEZvb3Rlci5jb21wb25lbnQuanM/OWMwMiJdLCJuYW1lcyI6WyJFRElUX0VESVRfVkFMSURfRk9PVEVSX0NPTVBPTkVOVCIsImVkaXRWYWxpZEVkaXRGb290ZXJDb21wb25lbnQiLCJ0ZW1wbGF0ZSIsImJpbmRpbmdzIiwibnlhU2VsZWN0Iiwib2siLCJjYW5jZWwiLCJjb250cm9sbGVyIiwiJGluamVjdCJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7OztBQUFPLElBQU1BLDhFQUFtQyxxQkFBekM7O0FBRUEsSUFBTUMsc0VBQStCO0FBQzFDQywrWEFEMEM7QUFnQjFDQyxZQUFnQjtBQUNkQyxlQUFZLEdBREU7QUFFZEMsUUFBWSxHQUZFO0FBR2RDLFlBQVk7QUFIRSxHQWhCMEI7QUFxQjFDQyxnQ0FJRSx5Q0FBYztBQUNaOztBQURZO0FBRWIsR0FOSCxTQUVTQyxPQUZULEdBRW1C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vLyAuL3NyYy9hcHAvc3RlcHdheS9jb21wb25lbnRzL21vZGFsL2VkaXRWYWxpZEVkaXRGb290ZXIvc3RlcHdheS5lZGl0VmFsaWRFZGl0Rm9vdGVyLmNvbXBvbmVudC5qcyJdLCJzb3VyY2VSb290IjoiIn0=");
|
||
|
||
/***/ },
|
||
/* 61 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: 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 EDIT_CHOOSE_CONTROL_COMPONENT = exports.EDIT_CHOOSE_CONTROL_COMPONENT = 'editChooseControl';\n\nvar editChooseControlComponent = exports.editChooseControlComponent = {\n template: '\\n <ol\\n class=\"nya-bs-select col-xs-12 col-sm-12 col-md-12 col-lg-12\"\\n ng-model=\"$ctrl.modelNyaSelect\"\\n data-live-search=\"false\">\\n <li nya-bs-option=\"option in $ctrl.nyaSelectFiltered.controls group by option.group\">\\n <span class=\"dropdown-header greyText\">\\n {{ $group }}\\n </span> <!-- group header cannot be searched -->\\n <a ng-click=\"$ctrl.selectThisControl({optionId: 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 ',\n bindings: {\n modelNyaSelect: '=',\n nyaSelectFiltered: '=',\n selectThisControl: '&'\n },\n controller: function () {\n function editChooseControlController() {\n //\n\n _classCallCheck(this, editChooseControlController);\n }\n\n _createClass(editChooseControlController, null, [{\n key: '$inject',\n get: function get() {\n return [];\n }\n }]);\n\n return editChooseControlController;\n }()\n};//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9tb2RhbC9lZGl0Q2hvb3NlQ29udHJvbC9zdGVwd2F5LmVkaXRDaG9vc2VDb250cm9sLmNvbXBvbmVudC5qcz8yZDNiIl0sIm5hbWVzIjpbIkVESVRfQ0hPT1NFX0NPTlRST0xfQ09NUE9ORU5UIiwiZWRpdENob29zZUNvbnRyb2xDb21wb25lbnQiLCJ0ZW1wbGF0ZSIsImJpbmRpbmdzIiwibW9kZWxOeWFTZWxlY3QiLCJueWFTZWxlY3RGaWx0ZXJlZCIsInNlbGVjdFRoaXNDb250cm9sIiwiY29udHJvbGxlciJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7OztBQUFPLElBQU1BLHdFQUFnQyxtQkFBdEM7O0FBRUEsSUFBTUMsa0VBQTZCO0FBQ3hDQyw0bEJBRHdDO0FBbUJ4Q0MsWUFBVTtBQUNSQyxvQkFBb0IsR0FEWjtBQUVSQyx1QkFBb0IsR0FGWjtBQUdSQyx1QkFBb0I7QUFIWixHQW5COEI7QUF3QnhDQztBQUVFLDJDQUFjO0FBQ1o7O0FBRFk7QUFFYjs7QUFKSDtBQUFBO0FBQUEsMEJBTXVCO0FBQ25CLGVBQU8sRUFBUDtBQUNEO0FBUkg7O0FBQUE7QUFBQTtBQXhCd0MsQ0FBbkMiLCJmaWxlIjoiNjEuanMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgY29uc3QgRURJVF9DSE9PU0VfQ09OVFJPTF9DT01QT05FTlQgPSAnZWRpdENob29zZUNvbnRyb2wnO1xuXG5leHBvcnQgY29uc3QgZWRpdENob29zZUNvbnRyb2xDb21wb25lbnQgPSB7XG4gIHRlbXBsYX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H1cblxuICAgIHN0YXRpYyBnZXQgJGluamVjdCgpIHtcbiAgICAgIHJldHVybiBbXTtcbiAgICB9XG4gIH1cbn07XG5cblxuXG4vLyBXRUJQQUNLIEZPT1RFUiAvL1xuLy8gLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9tb2RhbC9lZGl0Q2hvb3NlQ29udHJvbC9zdGVwd2F5LmVkaXRDaG9vc2VDb250cm9sLmNvbXBvbmVudC5qcyJdLCJzb3VyY2VSb290IjoiIn0=");
|
||
|
||
/***/ },
|
||
/* 62 */
|
||
/***/ function(module, exports, __webpack_require__) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.controls = exports.configs = undefined;\n\nvar _blank = __webpack_require__(63);\n\nvar _editBlankControl = __webpack_require__(64);\n\nvar _editBlankControl2 = _interopRequireDefault(_editBlankControl);\n\nvar _IpAdress = __webpack_require__(65);\n\nvar _editIpAdress = __webpack_require__(66);\n\nvar _editIpAdress2 = _interopRequireDefault(_editIpAdress);\n\nvar _date = __webpack_require__(67);\n\nvar _editDate = __webpack_require__(68);\n\nvar _editDate2 = _interopRequireDefault(_editDate);\n\nvar _checkbox = __webpack_require__(69);\n\nvar _editCheckBox = __webpack_require__(70);\n\nvar _editCheckBox2 = _interopRequireDefault(_editCheckBox);\n\nvar _email = __webpack_require__(71);\n\nvar _editEmail = __webpack_require__(72);\n\nvar _editEmail2 = _interopRequireDefault(_editEmail);\n\nvar _basicSelect = __webpack_require__(73);\n\nvar _editBasicSelect = __webpack_require__(74);\n\nvar _editBasicSelect2 = _interopRequireDefault(_editBasicSelect);\n\nvar _groupedSelect = __webpack_require__(75);\n\nvar _editGroupedSelect = __webpack_require__(76);\n\nvar _editGroupedSelect2 = _interopRequireDefault(_editGroupedSelect);\n\nvar _header = __webpack_require__(77);\n\nvar _editHeaderControl = __webpack_require__(78);\n\nvar _editHeaderControl2 = _interopRequireDefault(_editHeaderControl);\n\nvar _password = __webpack_require__(79);\n\nvar _editPassword = __webpack_require__(80);\n\nvar _editPassword2 = _interopRequireDefault(_editPassword);\n\nvar _stepwayRadio = __webpack_require__(81);\n\nvar _stepwayEditRadio = __webpack_require__(82);\n\nvar _stepwayEditRadio2 = __webpack_require__(84);\n\nvar _stepwayEditRadio3 = _interopRequireDefault(_stepwayEditRadio2);\n\nvar _stepwayRichTextEditor = __webpack_require__(85);\n\nvar _stepwayEditRichTextEditor = __webpack_require__(86);\n\nvar _stepwayEditRichTextEditor2 = __webpack_require__(88);\n\nvar _stepwayEditRichTextEditor3 = _interopRequireDefault(_stepwayEditRichTextEditor2);\n\nvar _stepwaySubTitle = __webpack_require__(89);\n\nvar _stepwayEditSubTitle = __webpack_require__(90);\n\nvar _stepwayEditSubTitle2 = __webpack_require__(92);\n\nvar _stepwayEditSubTitle3 = _interopRequireDefault(_stepwayEditSubTitle2);\n\nvar _stepwayTextArea = __webpack_require__(93);\n\nvar _stepwayEditTextArea = __webpack_require__(94);\n\nvar _stepwayEditTextArea2 = __webpack_require__(96);\n\nvar _stepwayEditTextArea3 = _interopRequireDefault(_stepwayEditTextArea2);\n\nvar _stepwayTextInput = __webpack_require__(97);\n\nvar _stepwayEditTextInput = __webpack_require__(98);\n\nvar _stepwayEditTextInput2 = __webpack_require__(100);\n\nvar _stepwayEditTextInput3 = _interopRequireDefault(_stepwayEditTextInput2);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n// controls configs\nvar configs = [_IpAdress.IpAdressConfig, _date.DateConfig, _checkbox.CheckBoxConfig, _email.EmailConfig, _basicSelect.BasicSelectConfig, _blank.BlankConfig, _groupedSelect.GroupedSelectConfig, _header.HeaderConfig, _password.PasswordConfig, _stepwayRadio.RadioConfig, _stepwayRichTextEditor.RichTextEditorConfig, _stepwaySubTitle.SubTitleConfig, _stepwayTextArea.TextAreaConfig, _stepwayTextInput.TextInputConfig];\n\n// controls component (for edit control modal)\nvar controls = [\n// editBlankControl:\n{\n name: _editBlankControl.EDIT_BLANK_CONTROL_COMPONENT,\n component: _editBlankControl.editBlankControlComponent,\n moduleName: _editBlankControl2.default.name\n},\n// editIpAdress:\n{\n name: _editIpAdress.EDIT_IP_ADRESS_COMPONENT,\n component: _editIpAdress.editIpAdressControlComponent,\n moduleName: _editIpAdress2.default.name\n},\n// editDate:\n{\n name: _editDate.EDIT_DATE_COMPONENT,\n component: _editDate.editDateControlComponent,\n moduleName: _editDate2.default.name\n},\n// editBasicSelect:\n{\n name: _editBasicSelect.EDIT_BASIC_SELECT_COMPONENT,\n component: _editBasicSelect.editBasicSelectControlComponent,\n moduleName: _editBasicSelect2.default.name\n},\n// editGroupedSelect:\n{\n name: _editGroupedSelect.EDIT_GROUPED_SELECT_COMPONENT,\n component: _editGroupedSelect.editGroupedSelectControlComponent,\n moduleName: _editGroupedSelect2.default.name\n},\n// editCheckBox:\n{\n name: _editCheckBox.EDIT_CHECKBOX_COMPONENT,\n component: _editCheckBox.editCheckBoxControlComponent,\n moduleName: _editCheckBox2.default.name\n},\n// editEmail:\n{\n name: _editEmail.EDIT_EMAIL_COMPONENT,\n component: _editEmail.editEmailControlComponent,\n moduleName: _editEmail2.default.name\n},\n// editHeader:\n{\n name: _editHeaderControl.EDIT_HEADER_CONTROL_COMPONENT,\n component: _editHeaderControl.editHeaderControlComponent,\n moduleName: _editHeaderControl2.default.name\n},\n// editPassword:\n{\n name: _editPassword.EDIT_PASSWORD_CONTROL_COMPONENT,\n component: _editPassword.editPasswordControlComponent,\n moduleName: _editPassword2.default.name\n},\n// editRadio:\n{\n name: _stepwayEditRadio.EDIT_RADIO_CONTROL_COMPONENT,\n component: _stepwayEditRadio.editRadioControlComponent,\n moduleName: _stepwayEditRadio3.default.name\n},\n// editRichTextEditor:\n{\n name: _stepwayEditRichTextEditor.EDIT_RICH_TEXT_EDITOR_COMPONENT,\n component: _stepwayEditRichTextEditor.editRichTextEditorControlComponent,\n moduleName: _stepwayEditRichTextEditor3.default.name\n},\n// editSubTitle:\n{\n name: _stepwayEditSubTitle.EDIT_SUBTITLE_CONTROL_COMPONENT,\n component: _stepwayEditSubTitle.editSubTitleControlComponent,\n moduleName: _stepwayEditSubTitle3.default.name\n},\n// editTextArea:\n{\n name: _stepwayEditTextArea.EDIT_TEXTAREA_CONTROL_COMPONENT,\n component: _stepwayEditTextArea.editTextareaControlComponent,\n moduleName: _stepwayEditTextArea3.default.name\n},\n// editTextInput:\n{\n name: _stepwayEditTextInput.EDIT_TEXTINPUT_CONTROL_COMPONENT,\n component: _stepwayEditTextInput.editTextInputControlComponent,\n moduleName: _stepwayEditTextInput3.default.name\n}];\n\nexports.configs = configs;\nexports.controls = controls;//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9jb250cm9scy9pbmRleC5qcz83NzZhIl0sIm5hbWVzIjpbImNvbmZpZ3MiLCJjb250cm9scyIsIm5hbWUiLCJjb21wb25lbnQiLCJtb2R1bGVOYW1lIl0sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBQUE7O0FBQ0E7Ozs7QUFFQTs7QUFDQTs7OztBQUVBOztBQUNBOzs7O0FBRUE7O0FBQ0E7Ozs7QUFFQTs7QUFDQTs7OztBQUVBOztBQUNBOzs7O0FBRUE7O0FBQ0E7Ozs7QUFFQTs7QUFDQTs7OztBQUVBOztBQUNBOzs7O0FBRUE7O0FBQ0E7O0FBQ0E7Ozs7QUFFQTs7QUFDQTs7QUFDQTs7OztBQUVBOztBQUNBOztBQUNBOzs7O0FBRUE7O0FBQ0E7O0FBQ0E7Ozs7QUFFQTs7QUFDQTs7QUFDQTs7Ozs7O0FBR0E7QUFDQSxJQUFNQSxVQUFVLCtZQUFoQjs7QUFpQkE7QUFDQSxJQUFNQyxXQUFXO0FBQ2Y7QUFDQTtBQUNFQyxzREFERjtBQUVFQyx3REFGRjtBQUdFQy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aWNoVGV4dEVkaXRvckNvbnRyb2xDb21wb25lbnQsXG4gICAgbW9kdWxlTmFtZTogZWRpdFJpY2hUZXh0RWRpdG9yTW9kdWxlLm5hbWVcbiAgfSxcbiAgLy8gZWRpdFN1YlRpdGxlOlxuICB7XG4gICAgbmFtZTogRURJVF9TVUJUSVRMRV9DT05UUk9MX0NPTVBPTkVOVCxcbiAgICBjb21wb25lbnQ6IGVkaXRTdWJUaXRsZUNvbnRyb2xDb21wb25lbnQsXG4gICAgbW9kdWxlTmFtZTogZWRpdFN1YlRpdGxlLm5hbWVcbiAgfSxcbiAgLy8gZWRpdFRleHRBcmVhOlxuICB7XG4gICAgbmFtZTogRURJVF9URVhUQVJFQV9DT05UUk9MX0NPTVBPTkVOVCxcbiAgICBjb21wb25lbnQ6IGVkaXRUZXh0YXJlYUNvbnRyb2xDb21wb25lbnQsXG4gICAgbW9kdWxlTmFtZTogZWRpdFRleHRhcmVhQ29udHJvbE1vZHVsZS5uYW1lXG4gIH0sXG4gIC8vIGVkaXRUZXh0SW5wdXQ6XG4gIHtcbiAgICBuYW1lOiBFRElUX1RFWFRJTlBVVF9DT05UUk9MX0NPTVBPTkVOVCxcbiAgICBjb21wb25lbnQ6IGVkaXRUZXh0SW5wdXRDb250cm9sQ29tcG9uZW50LFxuICAgIG1vZHVsZU5hbWU6IGVkaXRUZXh0SW5wdXRDb250cm9sTW9kdWxlLm5hbWVcbiAgfVxuXTtcblxuZXhwb3J0IHtcbiAgY29uZmlncyxcbiAgY29udHJvbHNcbn07XG5cblxuXG4vLyBXRUJQQUNLIEZPT1RFUiAvL1xuLy8gLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9jb250cm9scy9pbmRleC5qcyJdLCJzb3VyY2VSb290IjoiIn0=");
|
||
|
||
/***/ },
|
||
/* 63 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar BlankConfig = exports.BlankConfig = {\n id: 'empty',\n name: 'no control',\n subtitle: 'no control',\n group: 'Blank',\n formlyType: 'blank',\n formlySubtype: '',\n formlyLabel: '',\n formlyRequired: false,\n formlyDescription: '',\n formlyOptions: [],\n formlyExpressionProperties: {},\n formlyValidators: {},\n formlyValidation: {}\n};//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9jb250cm9scy9ibGFuay9jb25maWcvYmxhbmsuY29uZmlnLmpzPzFjMTUiXSwibmFtZXMiOlsiQmxhbmtDb25maWciLCJpZCIsIm5hbWUiLCJzdWJ0aXRsZSIsImdyb3VwIiwiZm9ybWx5VHlwZSIsImZvcm1seVN1YnR5cGUiLCJmb3JtbHlMYWJlbCIsImZvcm1seVJlcXVpcmVkIiwiZm9ybWx5RGVzY3JpcHRpb24iLCJmb3JtbHlPcHRpb25zIiwiZm9ybWx5RXhwcmVzc2lvblByb3BlcnRpZXMiLCJmb3JtbHlWYWxpZGF0b3JzIiwiZm9ybWx5VmFsaWRhdGlvbiJdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBTyxJQUFNQSxvQ0FBYztBQUN6QkMsTUFBSSxPQURxQjtBQUV6QkMsUUFBTSxZQUZtQjtBQUd6QkMsWUFBVSxZQUhlO0FBSXpCQyxTQUFPLE9BSmtCO0FBS3pCQyxjQUFZLE9BTGE7QUFNekJDLGlCQUFlLEVBTlU7QUFPekJDLGVBQWEsRUFQWTtBQVF6QkMsa0JBQWdCLEtBUlM7QUFTekJDLHFCQUFtQixFQVRNO0FBVXpCQyxpQkFBZSxFQVZVO0FBV3pCQyw4QkFBNEIsRUFYSDtBQVl6QkMsb0JBQWtCLEVBWk87QUFhekJDLG9CQUFrQjtBQWJPLENBQXBCIiwiZmlsZSI6IjYzLmpzIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGNvbnN0IEJsYW5rQ29uZmlnID0ge1xuICBpZDogJ2VtcHR5JyxcbiAgbmFtZTogJ25vIGNvbnRyb2wnLFxuICBzdWJ0aXRsZTogJ25vIGNvbnRyb2wnLFxuICBncm91cDogJ0JsYW5rJyxcbiAgZm9ybWx5VHlwZTogJ2JsYW5rJyxcbiAgZm9ybWx5U3VidHlwZTogJycsXG4gIGZvcm1seUxhYmVsOiAnJyxcbiAgZm9ybWx5UmVxdWlyZWQ6IGZhbHNlLFxuICBmb3JtbHlEZXNjcmlwdGlvbjogJycsXG4gIGZvcm1seU9wdGlvbnM6IFtdICxcbiAgZm9ybWx5RXhwcmVzc2lvblByb3BlcnRpZXM6IHt9LFxuICBmb3JtbHlWYWxpZGF0b3JzOiB7fSxcbiAgZm9ybWx5VmFsaWRhdGlvbjoge31cbn07XG5cblxuXG4vLyBXRUJQQUNLIEZPT1RFUiAvL1xuLy8gLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9jb250cm9scy9ibGFuay9jb25maWcvYmxhbmsuY29uZmlnLmpzIl0sInNvdXJjZVJvb3QiOiIifQ==");
|
||
|
||
/***/ },
|
||
/* 64 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _class, _temp;\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar EDIT_BLANK_CONTROL_COMPONENT = exports.EDIT_BLANK_CONTROL_COMPONENT = 'editBlankControl';\n\nvar editBlankControlComponent = exports.editBlankControlComponent = {\n template: '\\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 \\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 ',\n bindings: {},\n controller: (_temp = _class = function editBlankControlController() {\n //\n\n _classCallCheck(this, editBlankControlController);\n }, _class.$inject = [], _temp)\n};\n\nvar editBlankModuleName = 'stepway.editBlankControl.module';\nexports.default = angular.module(editBlankModuleName, []).component(EDIT_BLANK_CONTROL_COMPONENT, editBlankControlComponent);//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9jb250cm9scy9ibGFuay9lZGl0QmxhbmsvZWRpdEJsYW5rQ29udHJvbC5jb21wb25lbnQuanM/NmRhZCJdLCJuYW1lcyI6WyJFRElUX0JMQU5LX0NPTlRST0xfQ09NUE9ORU5UIiwiZWRpdEJsYW5rQ29udHJvbENvbXBvbmVudCIsInRlbXBsYXRlIiwiYmluZGluZ3MiLCJjb250cm9sbGVyIiwiJGluamVjdCIsImVkaXRCbGFua01vZHVsZU5hbWUiLCJhbmd1bGFyIiwibW9kdWxlIiwiY29tcG9uZW50Il0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7O0FBQU8sSUFBTUEsc0VBQStCLGtCQUFyQzs7QUFFQSxJQUFNQyxnRUFBNEI7QUFDdkNDLHlvQkFEdUM7QUEwQnZDQyxZQUFVLEVBMUI2QjtBQTJCdkNDLGdDQUlFLHNDQUFjO0FBQ1o7O0FBRFk7QUFFYixHQU5ILFNBRVNDLE9BRlQsR0FFbUIsRUFGbkI7QUEzQnVDLENBQWxDOztBQXFDUCxJQUFNQyxzQkFBc0IsaUNBQTVCO2tCQUNlQyxRQUNFQyxNQURGLENBQ1NGLG1CQURULEVBQzhCLEVBRDlCLEVBRUVHLFNBRkYsQ0FFWVQsNEJBRlosRUFFMENDLHl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mdzOiB7fSxcbiAgY29udHJvbGxlcjpcbiAgY2xhc3MgZWRpdEJsYW5rQ29udHJvbENvbnRyb2xsZXIge1xuICAgIHN0YXRpYyAkaW5qZWN0ID0gW107XG5cbiAgICBjb25zdHJ1Y3RvcigpIHtcbiAgICAgIC8vXG4gICAgfVxuICB9XG59O1xuXG5jb25zdCBlZGl0QmxhbmtNb2R1bGVOYW1lID0gJ3N0ZXB3YXkuZWRpdEJsYW5rQ29udHJvbC5tb2R1bGUnO1xuZXhwb3J0IGRlZmF1bHQgYW5ndWxhclxuICAgICAgICAgICAgICAgIC5tb2R1bGUoZWRpdEJsYW5rTW9kdWxlTmFtZSwgW10pXG4gICAgICAgICAgICAgICAgLmNvbXBvbmVudChFRElUX0JMQU5LX0NPTlRST0xfQ09NUE9ORU5ULCBlZGl0QmxhbmtDb250cm9sQ29tcG9uZW50KTtcblxuXG5cbi8vIFdFQlBBQ0sgRk9PVEVSIC8vXG4vLyAuL3NyYy9hcHAvc3RlcHdheS9jb21wb25lbnRzL2NvbnRyb2xzL2JsYW5rL2VkaXRCbGFuay9lZGl0QmxhbmtDb250cm9sLmNvbXBvbmVudC5qcyJdLCJzb3VyY2VSb290IjoiIn0=");
|
||
|
||
/***/ },
|
||
/* 65 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar IpAdressConfig = exports.IpAdressConfig = {\n id: 'IpAdress',\n name: 'IpAdress',\n subtitle: 'IpAdress',\n group: 'input',\n formlyType: 'input',\n formlySubtype: 'ipadress',\n formlyLabel: '',\n formlyRequired: false,\n formlyDescription: '',\n formlyOptions: [],\n formlyExpressionProperties: {},\n formlyValidators: {\n ipAddressShape: {\n expression: function expression(viewValue, modelValue) {\n var value = modelValue || viewValue;\n return (/(\\d{1,3}\\.){3}\\d{1,3}/.test(value)\n );\n },\n message: '$viewValue + \\' is not a valid IP Address\\''\n }\n },\n formlyValidation: {\n messages: {\n required: function required(viewValue, modelValue, scope) {\n var defaultReturnMsg = 'this IP Adress field is required';\n var returnMsg = typeof scope.to.label !== 'undefined' ? scope.to.label !== '' ? scope.to.label + ' is required' : defaultReturnMsg : defaultReturnMsg;\n if (scope.to.required) return returnMsg;\n }\n }\n }\n};//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9jb250cm9scy9JcEFkcmVzcy9jb25maWcvSXBBZHJlc3MuY29uZmlnLmpzPzY2NjMiXSwibmFtZXMiOlsiSXBBZHJlc3NDb25maWciLCJpZCIsIm5hbWUiLCJzdWJ0aXRsZSIsImdyb3VwIiwiZm9ybWx5VHlwZSIsImZvcm1seVN1YnR5cGUiLCJmb3JtbHlMYWJlbCIsImZvcm1seVJlcXVpcmVkIiwiZm9ybWx5RGVzY3JpcHRpb24iLCJmb3JtbHlPcHRpb25zIiwiZm9ybWx5RXhwcmVzc2lvblByb3BlcnRpZXMiLCJmb3JtbHlWYWxpZGF0b3JzIiwiaXBBZGRyZXNzU2hhcGUiLCJleHByZXNzaW9uIiwidmlld1ZhbHVlIiwibW9kZWxWYWx1ZSIsInZhbHVlIiwidGVzdCIsIm1lc3NhZ2UiLCJmb3JtbHlWYWxpZGF0aW9uIiwibWVzc2FnZXMiLCJyZXF1aXJlZCIsInNjb3BlIiwiZGVmYXVsdFJldHVybk1zZyIsInJldHVybk1zZyIsInRvIiwibGFiZWwiXSwibWFwcGluZ3MiOiI7Ozs7O0FBQU8sSUFBTUEsMENBQWlCO0FBQzVCQyxNQUFJLFVBRHdCO0FBRTVCQyxRQUFNLFVBRnNCO0FBRzVCQyxZQUFVLFVBSGtCO0FBSTVCQyxTQUFPLE9BSnFCO0FBSzVCQyxjQUFZLE9BTGdCO0FBTTVCQyxpQkFBZSxVQU5hO0FBTzVCQyxlQUFhLEVBUGU7QUFRNUJDLGtCQUFnQix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gICB9XG4gICAgfVxuICB9XG59O1xuXG5cblxuLy8gV0VCUEFDSyBGT09URVIgLy9cbi8vIC4vc3JjL2FwcC9zdGVwd2F5L2NvbXBvbmVudHMvY29udHJvbHMvSXBBZHJlc3MvY29uZmlnL0lwQWRyZXNzLmNvbmZpZy5qcyJdLCJzb3VyY2VSb290IjoiIn0=");
|
||
|
||
/***/ },
|
||
/* 66 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _class, _temp;\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar EDIT_IP_ADRESS_COMPONENT = exports.EDIT_IP_ADRESS_COMPONENT = 'editIpAdressControl';\n\nvar editIpAdressControlComponent = exports.editIpAdressControlComponent = {\n template: '\\n <div class=\"panel panel-default\">\\n <div class=\"panel-body\">\\n <div class=\"row\">\\n <div class=\"col-md-12\">\\n <h5 class=\"greyText\">\\n <i class=\"fa fa-eye\"></i>\\n \\n {{\\'PREVIEW_TAB\\' | translate}} :\\n </h5>\\n </div>\\n </div>\\n <hr/>\\n <div class=\"row\">\\n <div class=\"col-md-12\">\\n <div class=\"form-group\">\\n <label\\n for=\"inputIpAdress\"\\n class=\"control-label textControlLabel\">\\n {{$ctrl.nyaSelect.temporyConfig.formlyLabel}}\\n <span\\n ng-if=\"$ctrl.nyaSelect.temporyConfig.formlyRequired\"\\n class=\"textControlLabel\">\\n *\\n </span>\\n </label>\\n <div class=\"\">\\n <input\\n type=\"text\"\\n class=\"form-control\"\\n id=\"inputIpAdress\"\\n placeholder=\"{{$ctrl.nyaSelect.temporyConfig.formlyPlaceholder}}\">\\n <p class=\"help-block\">\\n {{$ctrl.nyaSelect.temporyConfig.formlyDescription}}\\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 \\n {{\\'EDIT_PROPERTIES\\' | translate}} :\\n </h5>\\n </div>\\n </div>\\n <hr/>\\n <div class=\"row\">\\n <div class=\"form-group\">\\n <label\\n for=\"inputTextLabelUpdate\"\\n class=\"col-lg-3 control-label greyText editPropertiesLabel\">\\n {{\\'LABEL_TEXT\\' | translate}} :\\n </label>\\n <div class=\"col-lg-9\">\\n <input\\n type=\"text\"\\n class=\"form-control\"\\n ng-model=\"$ctrl.nyaSelect.temporyConfig.formlyLabel\"\\n id=\"inputTextLabelUpdate\"\\n placeholder=\"{{\\'ADD_EDIT_LABEL_HERE\\' | translate}}\">\\n </div>\\n </div>\\n </div>\\n <div class=\"marginTopFivepixels\"></div>\\n <div class=\"row\">\\n <div class=\"form-group\">\\n <label\\n for=\"inputTextplaceholderUpdate\"\\n class=\"col-lg-3 control-label greyText editPropertiesLabel\">\\n {{\\'PLACEHOLDER\\' | translate}} :\\n </label>\\n <div class=\"col-lg-9\">\\n <input\\n type=\"text\"\\n class=\"form-control\"\\n ng-model=\"$ctrl.nyaSelect.temporyConfig.formlyPlaceholder\"\\n id=\"inputTextplaceholderUpdate\"\\n placeholder=\"{{\\'ADD_EDIT_PLACEHOLD\\' | translate}}\">\\n </div>\\n </div>\\n </div>\\n <div class=\"marginTopFivepixels\"></div>\\n <div class=\"row\">\\n <div class=\"form-group\">\\n <label\\n for=\"inputTextRequiredUpdate\"\\n class=\"col-lg-3 control-label greyText editPropertiesLabel\">\\n {{\\'REQUIRED\\' | translate}} :\\n </label>\\n <div class=\"col-lg-9\">\\n <div class=\"checkboxCssCorrection\">\\n \\n </div>\\n <input\\n type=\"checkbox\"\\n ng-model=\"$ctrl.nyaSelect.temporyConfig.formlyRequired\"\\n id=\"inputTextRequiredUpdate\">\\n </div>\\n </div>\\n </div>\\n <div class=\"marginTopFivepixels\"></div>\\n <div class=\"row\">\\n <div class=\"form-group\">\\n <label\\n for=\"inputTextDescriptionUpdate\"\\n class=\"col-lg-3 control-label greyText editPropertiesLabel\">\\n {{\\'DESCRIPTION\\' | translate}} :\\n </label>\\n <div class=\"col-lg-9\">\\n <input\\n type=\"text\"\\n class=\"form-control\"\\n ng-model=\"$ctrl.nyaSelect.temporyConfig.formlyDescription\"\\n id=\"inputTextDescriptionUpdate\"\\n placeholder=\"{{\\'ADDEDIT_DESCRIPTION\\' | translate}}\">\\n </div>\\n </div>\\n </div>\\n </div>\\n </div>\\n ',\n bindings: {\n nyaSelect: '='\n },\n controller: (_temp = _class = function editIpAdressControlController() {\n _classCallCheck(this, editIpAdressControlController);\n }, _class.$inject = [], _temp)\n};\n\nvar editIpAdressModuleName = 'stepway.editIpAdress.module';\n\nexports.default = angular.module(editIpAdressModuleName, []).component(EDIT_IP_ADRESS_COMPONENT, editIpAdressControlComponent);//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9jb250cm9scy9JcEFkcmVzcy9lZGl0SXBBZHJlc3MvZWRpdElwQWRyZXNzLmNvbXBvbmVudC5qcz84MWQyIl0sIm5hbWVzIjpbIkVESVRfSVBfQURSRVNTX0NPTVBPTkVOVCIsImVkaXRJcEFkcmVzc0NvbnRyb2xDb21wb25lbnQiLCJ0ZW1wbGF0ZSIsImJpbmRpbmdzIiwibnlhU2VsZWN0IiwiY29udHJvbGxlciIsIiRpbmplY3QiLCJlZGl0SXBBZHJlc3NNb2R1bGVOYW1lIiwiYW5ndWxhciIsIm1vZHVsZSIsImNvbXBvbmVudCJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7OztBQUFPLElBQU1BLDhEQUEyQixxQkFBakM7O0FBRUEsSUFBTUMsc0VBQStCO0FBQzFDQywwbUlBRDBDO0FBaUkxQ0MsWUFBVTtBQUNSQyxlQUFXO0FBREgsR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gIGZvcj1cImlucHV0SXBBZHJlc3NcIlxuICAgICAgICAgICAgICBjbGFzcz1cImNvbnRyb2wtbGFiZWwgdGV4dENvbnRyb2xMYWJlbFwiPlxuICAgICAgICAgICAgICB7eyRjdHJsLm55YVNlbGVjdC50ZW1wb3J5Q29uZmlnLmZvcm1seUxhYmVsfX1cbiAgICAgICAgICAgICAgPHNwYW5cbiAgICAgICAgICAgICAgICBuZy1pZj1cIiRjdHJsLm55YVNlbGVjdC50ZW1wb3J5Q29uZmlnLmZvcm1seVJlcXVpcmVkXCJcbiAgICAgICAgICAgICAgICBjbGFzcz1cInRleHRDb250cm9sTGFiZWxcIj5cbiAgICAgICAgICAgICAgICAqXG4gICAgICAgICAgICAgIDwvc3Bhbj5cbiAgICAgICAgICAgIDwvbGFiZWw+XG4gICAgICAgICAgICA8ZGl2IGNsYXNzPVwiXCI+XG4gICAgICAgICAgICAgIDxpbnB1dFxuICAgICAgICAgICAgICAgIHR5cGU9XCJ0ZXh0XCJcbiAgICAgICAgICAgICAgICBjbGFzcz1cImZvcm0tY29udHJvbFwiXG4gICAgICAgICAgICAgICAgaWQ9XCJpbnB1dElwQWRyZXNzXCJcbiAgICAgICAgICAgICAgICBwbGFjZWhvbGRlcj1cInt7JGN0cmwubnlhU2VsZWN0LnRlbXBvcnlDb25maWcuZm9ybWx5UGxhY2Vob2xkZXJ9fVwiPlxuICAgICAgICAgICAgICA8cCBjbGFzcz1cImhlbHAtYmxvY2tcIj5cbiAgICAgICAgICAgICAgICB7eyRjdHJsLm55YVNlbGVjdC50ZW1wb3J5Q29uZmlnLmZvcm1seURlc2NyaXB0aW9ufX1cbiAgICAgICAgICAgICAgPC9wPlxuICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgPC9kaXY+XG4gICAgICAgIDwvZGl2PlxuICAgICAgPC9kaXY+XG4gICAgPC9kaXY+XG4gIDwvZGl2PlxuICA8ZGl2IGNsYXNzPVwicGFuZWwgcGFuZWwtZGVmYXVsdFwiPlxu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lZGl0SXBBZHJlc3NDb250cm9sQ29tcG9uZW50KTtcblxuXG5cbi8vIFdFQlBBQ0sgRk9PVEVSIC8vXG4vLyAuL3NyYy9hcHAvc3RlcHdheS9jb21wb25lbnRzL2NvbnRyb2xzL0lwQWRyZXNzL2VkaXRJcEFkcmVzcy9lZGl0SXBBZHJlc3MuY29tcG9uZW50LmpzIl0sInNvdXJjZVJvb3QiOiIifQ==");
|
||
|
||
/***/ },
|
||
/* 67 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar DateConfig = exports.DateConfig = {\n id: 'Date',\n name: 'Date',\n subtitle: 'Date',\n group: 'input',\n formlyType: 'datepicker',\n formlySubtype: '',\n formlyLabel: '',\n formlyRequired: false,\n formlyDescription: '',\n formlyOptions: [],\n datepickerOptions: { format: 'dd-MMMM-yyyy' },\n formlyExpressionProperties: {},\n formlyValidators: {},\n formlyValidation: {\n messages: {\n required: function required(viewValue, modelValue, scope) {\n //return a required validation message :\n //-> '<label as name> is required '\n //-> or if not exists or empty just 'this field is required'\n var defaultReturnMsg = 'this Date field is required';\n var returnMsg = typeof scope.to.label !== 'undefined' ? scope.to.label !== '' ? scope.to.label + ' is required' : defaultReturnMsg : defaultReturnMsg;\n return returnMsg;\n }\n }\n }\n};//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9jb250cm9scy9EYXRlL2NvbmZpZy9kYXRlLmNvbmZpZy5qcz8zODg3Il0sIm5hbWVzIjpbIkRhdGVDb25maWciLCJpZCIsIm5hbWUiLCJzdWJ0aXRsZSIsImdyb3VwIiwiZm9ybWx5VHlwZSIsImZvcm1seVN1YnR5cGUiLCJmb3JtbHlMYWJlbCIsImZvcm1seVJlcXVpcmVkIiwiZm9ybWx5RGVzY3JpcHRpb24i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mIHNjb3BlLnRvLmxhYmVsICE9PSAndW5kZWZpbmVkJykgPyAoKHNjb3BlLnRvLmxhYmVsICE9PSAnJykgPyBzY29wZS50by5sYWJlbCArICcgaXMgcmVxdWlyZWQnIDogZGVmYXVsdFJldHVybk1zZykgOiBkZWZhdWx0UmV0dXJuTXNnO1xuICAgICAgICByZXR1cm4gcmV0dXJuTXNnO1xuICAgICAgfVxuICAgIH1cbiAgfVxufTtcblxuXG5cbi8vIFdFQlBBQ0sgRk9PVEVSIC8vXG4vLyAuL3NyYy9hcHAvc3RlcHdheS9jb21wb25lbnRzL2NvbnRyb2xzL0RhdGUvY29uZmlnL2RhdGUuY29uZmlnLmpzIl0sInNvdXJjZVJvb3QiOiIifQ==");
|
||
|
||
/***/ },
|
||
/* 68 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _class, _temp;\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar EDIT_DATE_COMPONENT = exports.EDIT_DATE_COMPONENT = 'editDateControl';\n\nvar editDateControlComponent = exports.editDateControlComponent = {\n template: '\\n <div class=\"panel panel-default\">\\n <div class=\"panel-body\">\\n <div class=\"row\">\\n <div class=\"col-md-12\">\\n <h5 class=\"greyText\">\\n <i class=\"fa fa-eye\"></i>\\n \\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 {{$ctrl.nyaSelect.temporyConfig.formlyLabel}}\\n <span\\n ng-if=\"$ctrl.nyaSelect.temporyConfig.formlyRequired\"\\n class=\"textControlLabel\">\\n *\\n </span>\\n </label>\\n <div class=\"\">\\n <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 uib-datepicker-popup=\"{{$ctrl.nyaSelect.temporyConfig.datepickerOptions.format}}\"\\n ng-model=\"$ctrl.demodt.dt\"\\n is-open=\"$ctrl.demodt.opened\"\\n datepicker-options=\"$ctrl.dateOptions\"\\n close-text=\"Close\"\\n ng-click=\"$ctrl.open({event : $event})\"\\n />\\n </div>\\n <p class=\"help-block\">\\n {{$ctrl.nyaSelect.temporyConfig.formlyDescription}}\\n </p>\\n </div>\\n </div>\\n </div>\\n </div>\\n </div>\\n </div>\\n\\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 \\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=\"$ctrl.nyaSelect.temporyConfig.datepickerOptions.format\"\\n id=\"dateformatSelect\">\\n <li\\n class=\"nya-bs-option\"\\n nya-bs-option=\"dateformat in $ctrl.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=\"$ctrl.nyaSelect.temporyConfig.formlyLabel\"\\n id=\"inputTextLabelUpdate\"\\n placeholder=\"{{\\'ADD_EDIT_LABEL_HERE\\' | translate}}\">\\n </div>\\n </div>\\n </div>\\n <div class=\"marginTopFivepixels\"></div>\\n <div class=\"row\">\\n <div class=\"form-group\">\\n <label\\n for=\"inputTextRequiredUpdate\"\\n class=\"col-lg-3 control-label greyText editPropertiesLabel\">\\n {{\\'REQUIRED\\' | translate}} :\\n </label>\\n <div class=\"col-lg-9\">\\n <div class=\"checkboxCssCorrection\">\\n \\n </div>\\n <input\\n type=\"checkbox\"\\n ng-model=\"$ctrl.nyaSelect.temporyConfig.formlyRequired\"\\n id=\"inputTextRequiredUpdate\">\\n </div>\\n </div>\\n </div>\\n <div class=\"marginTopFivepixels\"></div>\\n <div class=\"row\">\\n <div class=\"form-group\">\\n <label\\n for=\"inputTextDescriptionUpdate\"\\n class=\"col-lg-3 control-label greyText editPropertiesLabel\">\\n {{\\'DESCRIPTION\\' | translate}} :\\n </label>\\n <div class=\"col-lg-9\">\\n <input\\n type=\"text\"\\n class=\"form-control\"\\n ng-model=\"$ctrl.nyaSelect.temporyConfig.formlyDescription\"\\n id=\"inputTextDescriptionUpdate\"\\n placeholder=\"{{\\'ADDEDIT_DESCRIPTION\\' | translate}}\">\\n </div>\\n </div>\\n </div>\\n </div>\\n </div>\\n ',\n bindings: {\n nyaSelect: '=',\n demodt: '=',\n dateOptions: '=',\n open: '&'\n },\n controller: (_temp = _class = function editDateControlController() {\n _classCallCheck(this, editDateControlController);\n }, _class.$inject = [], _temp)\n};\n\nvar editDateControlModuleName = 'stepway.editDateControl.module';\n\nexports.default = angular.module(editDateControlModuleName, []).component(EDIT_DATE_COMPONENT, editDateControlComponent);//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9jb250cm9scy9EYXRlL2VkaXREYXRlL2VkaXREYXRlLmNvb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ICAgIDxkaXYgY2xhc3M9XCJyb3dcIj5cbiAgICAgICAgICA8ZGl2IGNsYXNzPVwiY29sLW1kLTEyXCI+XG4gICAgICAgICAgICA8aDUgY2xhc3M9XCJncmV5VGV4dFwiPlxuICAgICAgICAgICAgICA8aSBjbGFzcz1cImZhIGZhLWV5ZVwiPjwvaT5cbiAgICAgICAgICAgICAgJm5ic3A7XG4gICAgICAgICAgICAgIHt7J1BSRVZJRVdfVEFCJyB8IHRyYW5zbGF0ZX19IDpcbiAgICAgICAgICAgIDwvaDU+XG4gICAgICAgICAgPC9kaXY+XG4gICAgICAgIDwvZGl2PlxuICAgICAgICA8aHIvPlxuICAgICAgICA8ZGl2IGNsYXNzPVwicm93XCI+XG4gICAgICAgICAgPGRpdiBjbGFzcz1cImNvbC1tZC0xMlwiPlxuICAgICAgICAgICAgPGRpdiBjbGFzcz1cImZvcm0tZ3JvdXBcIj5cbiAgICAgICAgICAgICAgPGxhYmVsXG4gICAgICAgICAgICAgICAgZm9yPVwiaW5wdXREYXRlXCJcbiAgICAgICAgICAgICAgICBjbGFzcz1cImNvbnRyb2wtbGFiZWwgdGV4dENvbnRyb2xMYWJlbFwiPlxuICAgICAgICAgICAgICAgIHt7JGN0cmwubnlhU2VsZWN0LnRlbXBvcnlDb25maWcuZm9ybWx5TGFiZWx9fVxuICAgICAgICAgICAgICAgIDxzcGFuXG4gICAgICAgICAgICAgICAgICBuZy1pZj1cIiRjdHJsLm55YVNlbGVjdC50ZW1wb3J5Q29uZmlnLmZvcm1seVJlcXVpcmVkXCJcbiAgICAgICAgICAgICAgICAgIGNsYXNzPVwidGV4dENvbnRyb2xMYWJlbFwiPlxuICAgICAgICAgICAgICAgICAgKlxuICAgICAgICAgICAgICAgIDwvc3Bhbj5cbiAgICAgICAgICAgICAgPC9sYWJlbD5cbiAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cIlwiPlxuICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJpbnB1dC1ncm91cFwiID5cbiAgICAgICAgICAgICAgICAgIDxzcGFuIGNsYXNzPVwiaW5wdXQtZ3JvdXAtYWRkb25cIj5cbiAgICAgICAgICAgICAgICAgICAgPGkgY2xhc3M9XCJnbHlwaGljb24gZ2x5cGhpY29uLWNhbGVuZGFyXCI+PC9pPlxuICAgICAgICAgICAgICAgICAgPC9zcGFuPlxuICAgICAgICAgICAgICAgICAgPGlucHV0XG4gICAgICAgICAgICAgICAgICAgIHR5cGU9XCJ0ZXh0XCJcbiAgICAgICAgICAgICAgICAgICAgY2xhc3M9XCJmb3JtLWNvbnRyb2xcIlxuICAgICAgICAgICAgICAgICAgICB1aWItZGF0ZXBpY2tlci1wb3B1cD1cInt7JGN0cmwubnlhU2VsZWN0LnRlbXBvcnlDb25maWcuZGF0ZXBpY2tlck9wdGlvbnMuZm9ybWF0fX1cIlxuICAgICAgICAgICAgICAgICAgICBuZy1tb2RlbD1cIiRjdHJsLmRlbW9kdC5kdFwiXG4gICAgICAgICAgICAgICAgICAgIGlzLW9wZW49XCIkY3RybC5kZW1vZHQub3BlbmVkXCJcbiAgICAgICAgICAgICAgICAgICAgZGF0ZXBpY2tlci1vcHRpb25zPVwiJGN0cmwuZGF0ZU9wdGlvbnNcIlxuICAgICAgICAgICAgICAgICAgICBjbG9zZS10ZXh0PVwiQ2xvc2VcIlxuICAgICAgICAgICAgICAgICAgICBuZy1jbGljaz1cIiRjdHJsLm9wZW4oe2V2ZW50IDogJGV2ZW50fSlcIlxuICAgICAgICAgICAgICAgICAgLz5cbiAgICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgICAgICA8cCBjbGFzcz1cImhlbHAtYmxvY2tcIj5cbiAgICAgICAgICAgICAgICAgIHt7JGN0cmwubnlhU2VsZWN0LnRlbXBvcnlDb25maWcuZm9ybWx5RGVzY3JpcHRpb259fVxuICAgICAgICAgICAgICAgIDwvcD5cbiAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAg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aW9ucy5mb3JtYXRcIlxuICAgICAgICAgICAgICBpZD1cImRhdGVmb3JtYXRTZWxlY3RcIj5cbiAgICAgICAgICAgICAgPGxpXG4gICAgICAgICAgICAgICAgY2xhc3M9XCJueWEtYnMtb3B0aW9uXCJcbiAgICAgICAgICAgICAgICBueWEtYnMtb3B0aW9uPVwiZGF0ZWZvcm1hdCBpbiAkY3RybC5kZW1vZHQuZm9ybWF0c1wiXG4gICAgICAgICAgICAgICAgdmFsdWU9XCJkYXRlZm9ybWF0XCI+XG4gICAgICAgICAgICAgICAgPGE+XG4gICAgICAgICAgICAgICAgICB7e2RhdGVmb3JtYXR9fVxuICAgICAgICAgICAgICAgIDwvYT5cbiAgICAgICAgICAgICAgPC9saT5cbiAgICAgICAgICAgIDwvb2w+XG4gICAgICAgICAgPC9kaXY+XG4gICAgICAgIDwvZGl2PlxuICAgICAgPC9kaXY+XG4gICAgICA8ZGl2IGNsYXNzPVwibWFyZ2luVG9wRml2ZXBpeGVsc1wiPjwvZGl2PlxuICAgICAgPGRpdiBjbGFzcz1cInJvd1wiPlxuICAgICAgICA8ZGl2IGNsYXNzPVwiZm9ybS1ncm91cFwiPlxuICAgICAgICAgIDxsYWJlbFxuICAgICAgICAgICAgZm9yPVwiaW5wdXRUZXh0TGFiZWxVcGRhdGVcIlxuICAgICAgICAgICAgY2xhc3M9XCJjb2wtbGctMyBjb250cm9sLWxhYmVsIGdyZXlUZXh0IGVkaXRQcm9wZXJ0aWVzTGFiZWxcIj5cbiAgICAgICAgICAgIHt7J0xBQkVMX1RFWFQnIHwgdHJhbnNsYXRlfX0gOlxuICAgICAgICAgIDwvbGFiZWw+XG4gICAgICAgICAgPGRpdiBjbGFzcz1cImNvbC1sZy05XCI+XG4gICAgICAgICAgICA8aW5wdXRcbiAgICAgICAgICAgICAgdHlwZT1cInRleHRcIlxuICAgICAgICAgICAgICBjbGFzcz1cImZvcm0tY29udHJvbFwiXG4gICAgICAgICAgICAgIG5nLW1vZGVsPVwiJGN0cmwubnlhU2VsZWN0LnRlbXBvcnlDb25maWcuZm9ybWx5TGFiZWxcIlxuICAgICAgICAgICAgICBpZD1cImlucHV0VGV4dExhYmVsVXBkYXRlXCJcbiAgICAgICAgICAgICAgcGxhY2Vob2xkZXI9XCJ7eydBRERfRURJVF9MQUJFTF9IRVJFJyB8IHRyYW5zbGF0ZX19XCI+XG4gICAgICAgICAgPC9kaXY+XG4gICAgICAgIDwvZGl2PlxuICAgICAgPC9kaXY+XG4gICAgICA8ZGl2IGNsYXNzPVwibWFyZ2luVG9wRml2ZXBpeGVsc1wiPjwvZGl2PlxuICAgICAgICA8ZGl2IGNsYXNzPVwicm93XCI+XG4gICAgICAgICAgPGRpdiBjbGFzcz1cImZvcm0tZ3JvdXBcIj5cbiAgICAgICAgICAgIDxsYWJlbFxuICAgICAgICAgICAgICBmb3I9XCJpbnB1dFRleHRSZXF1aXJlZFVwZGF0ZVwiXG4gICAgICAgICAgICAgIGNsYXNzPVwiY29sLWxnLTMgY29udHJvbC1sYWJlbCBncmV5VGV4dCBlZGl0UHJvcGVydGllc0xhYmVsXCI+XG4gICAgICAgICAgICAgIHt7J1JFUVVJUkVEJyB8IHRyYW5zbGF0ZX19IDpcbiAgICAgICAgICAgIDwvbGFiZWw+XG4gICAgICAgICAgICA8ZGl2IGNsYXNzPVwiY29sLWxnLTlcIj5cbiAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cImNoZWNrYm94Q3NzQ29ycmVjdGlvblwiPlxuICAgICAgICAgICAgICAgICZuYnNwO1xuICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgICAgPGlucHV0XG4gICAgICAgICAgICAgICAgdHlwZT1cImNoZWNrYm94XCJcbiAgICAgICAgICAgICAgICBuZy1tb2RlbD1cIiRjdHJsLm55YVNlbGVjdC50ZW1wb3J5Q29uZmlnLmZvcm1seVJlcXVpcmVkXCJcbiAgICAgICAgICAgICAgICBpZD1cImlucHV0VGV4dFJlcXVpcmVkVXBkYXRlXCI+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4gICAgZGVtb2R0OiAnPScsXG4gICAgZGF0ZU9wdGlvbnM6ICc9JyxcbiAgICBvcGVuOiAnJidcbiAgfSxcbiAgY29udHJvbGxlcjpcbiAgY2xhc3MgZWRpdERhdGVDb250cm9sQ29udHJvbGxlciB7XG4gICAgc3RhdGljICRpbmplY3QgPSBbXTtcblxuICAgIGNvbnN0cnVjdG9yKCkge1xuXG4gICAgfVxuICB9XG59O1xuXG5jb25zdCBlZGl0RGF0ZUNvbnRyb2xNb2R1bGVOYW1lID0gJ3N0ZXB3YXkuZWRpdERhdGVDb250cm9sLm1vZHVsZSc7XG5cbmV4cG9ydCBkZWZhdWx0IGFuZ3VsYXJcbiAgICAgICAgICAgICAgICAubW9kdWxlKGVkaXREYXRlQ29udHJvbE1vZHVsZU5hbWUsIFtdKVxuICAgICAgICAgICAgICAgIC5jb21wb25lbnQoRURJVF9EQVRFX0NPTVBPTkVOVCwgZWRpdERhdGVDb250cm9sQ29tcG9uZW50KTtcblxuXG5cbi8vIFdFQlBBQ0sgRk9PVEVSIC8vXG4vLyAuL3NyYy9hcHAvc3RlcHdheS9jb21wb25lbnRzL2NvbnRyb2xzL0RhdGUvZWRpdERhdGUvZWRpdERhdGUuY29tcG9uZW50LmpzIl0sInNvdXJjZVJvb3QiOiIifQ==");
|
||
|
||
/***/ },
|
||
/* 69 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar CheckBoxConfig = exports.CheckBoxConfig = {\n id: 'Checkbox',\n name: 'Checkbox',\n subtitle: 'Checkbox',\n group: 'Checkbox',\n formlyType: 'checkbox',\n formlySubtype: '',\n formlyLabel: '',\n formlyRequired: false,\n formlyDescription: '',\n formlyOptions: [],\n formlyExpressionProperties: {},\n formlyValidators: {},\n formlyValidation: {\n messages: {\n required: function required(viewValue, modelValue, scope) {\n var defaultReturnMsg = 'this Checkbox field is required';\n var returnMsg = typeof scope.to.label !== 'undefined' ? scope.to.label !== '' ? scope.to.label + ' is required' : defaultReturnMsg : defaultReturnMsg;\n return returnMsg;\n }\n }\n }\n};//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9jb250cm9scy9DaGVja0JveC9jb25maWcvY2hlY2tib3guY29uZmlnLmpzPzY2N2YiXSwibmFtZXMiOlsiQ2hlY2tCb3hDb25maWciLCJpZCIsIm5hbWUiLCJzdWJ0aXRsZSIsImdyb3VwIiwiZm9ybWx5VHlwZSIsImZvcm1seVN1YnR5cGUiLCJmb3JtbHlMYWJlbCIsImZvcm1seVJlcXVpcmVkIiwiZm9ybWx5RGVzY3JpcHRpb24iLCJmb3JtbHlPcHRpb25zIiwiZm9ybWx5RXhwcmVzc2lvblByb3BlcnRpZXMiLCJmb3JtbHlWYWxpZGF0b3JzIiwiZm9ybWx5VmFsaWRhdGlvbiIsIm1lc3NhZ2VzIiwicmVxdWlyZWQiLCJ2aWV3VmFsdWUiLCJtb2RlbFZhbHVlIiwic2NvcGUiLCJkZWZhdWx0UmV0dXJuTXNnIiwicmV0dXJuTXNnIiwidG8iLCJsYWJlbCJdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBTyxJQUFNQSwwQ0FBaUI7QUFDNUJDLE1BQUksVUFEd0I7QUFFNUJDLFFBQU0sVUFGc0I7QUFHNUJDLFlBQVUsVUFIa0I7QUFJNUJDLFNBQU8sVUFKcUI7QUFLNUJDLGNBQVksVUFMZ0I7QUFNNUJDLGlCQUFlLEVBTmE7QUFPNUJDLGVBQWEsRUFQZTtBQVE1QkMsa0JBQWdCLEtBUlk7QUFTNUJDLHFCQUFtQixFQVRTO0FBVTVCQyxpQkFBZSxFQVZhO0FBVzVCQyw4QkFBNEIsRUFYQTtBQVk1QkMsb0JBQWtCLEVBWlU7QUFhNUJDLG9CQUFrQjtBQUNoQkMsY0FBVTtB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ZXF1aXJlZCc7XG4gICAgICAgIGNvbnN0IHJldHVybk1zZyA9ICh0eXBlb2Ygc2NvcGUudG8ubGFiZWwgIT09ICd1bmRlZmluZWQnKSA/ICgoc2NvcGUudG8ubGFiZWwgIT09ICcnKSA/IHNjb3BlLnRvLmxhYmVsICsgJyBpcyByZXF1aXJlZCcgOiBkZWZhdWx0UmV0dXJuTXNnKSA6IGRlZmF1bHRSZXR1cm5Nc2c7XG4gICAgICAgIHJldHVybiByZXR1cm5Nc2c7XG4gICAgICB9XG4gICAgfVxuICB9XG59O1xuXG5cblxuLy8gV0VCUEFDSyBGT09URVIgLy9cbi8vIC4vc3JjL2FwcC9zdGVwd2F5L2NvbXBvbmVudHMvY29udHJvbHMvQ2hlY2tCb3gvY29uZmlnL2NoZWNrYm94LmNvbmZpZy5qcyJdLCJzb3VyY2VSb290IjoiIn0=");
|
||
|
||
/***/ },
|
||
/* 70 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _class, _temp;\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar EDIT_CHECKBOX_COMPONENT = exports.EDIT_CHECKBOX_COMPONENT = 'editCheckBoxControl';\n\nvar editCheckBoxControlComponent = exports.editCheckBoxControlComponent = {\n template: '\\n <div class=\"panel panel-default\">\\n <div class=\"panel-body\">\\n <div class=\"row\">\\n <div class=\"col-md-12\">\\n <h5 class=\"greyText\">\\n <i class=\"fa fa-eye\"></i>\\n \\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 {{$ctrl.nyaSelect.temporyConfig.formlyLabel}}\\n <span\\n ng-if=\"$ctrl.nyaSelect.temporyConfig.formlyRequired\"\\n class=\"textControlLabel\">\\n *\\n </span>\\n </label>\\n <div class=\"\">\\n <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 uib-datepicker-popup=\"{{$ctrl.nyaSelect.temporyConfig.datepickerOptions.format}}\"\\n ng-model=\"$ctrl.demodt.dt\"\\n is-open=\"$ctrl.demodt.opened\"\\n datepicker-options=\"$ctrl.dateOptions\"\\n close-text=\"Close\"\\n ng-click=\"$ctrl.open({event : $event})\"\\n />\\n </div>\\n <p class=\"help-block\">\\n {{$ctrl.nyaSelect.temporyConfig.formlyDescription}}\\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 \\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=\"$ctrl.nyaSelect.temporyConfig.datepickerOptions.format\"\\n id=\"dateformatSelect\">\\n <li\\n class=\"nya-bs-option\"\\n nya-bs-option=\"dateformat in $ctrl.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=\"$ctrl.nyaSelect.temporyConfig.formlyLabel\"\\n id=\"inputTextLabelUpdate\"\\n placeholder=\"{{\\'ADD_EDIT_LABEL_HERE\\' | translate}}\">\\n </div>\\n </div>\\n </div>\\n <div class=\"marginTopFivepixels\"></div>\\n <div class=\"row\">\\n <div class=\"form-group\">\\n <label\\n for=\"inputTextRequiredUpdate\"\\n class=\"col-lg-3 control-label greyText editPropertiesLabel\">\\n {{\\'REQUIRED\\' | translate}} :\\n </label>\\n <div class=\"col-lg-9\">\\n <div class=\"checkboxCssCorrection\">\\n \\n </div>\\n <input\\n type=\"checkbox\"\\n ng-model=\"$ctrl.nyaSelect.temporyConfig.formlyRequired\"\\n id=\"inputTextRequiredUpdate\">\\n </div>\\n </div>\\n </div>\\n <div class=\"marginTopFivepixels\"></div>\\n <div class=\"row\">\\n <div class=\"form-group\">\\n <label\\n for=\"inputTextDescriptionUpdate\"\\n class=\"col-lg-3 control-label greyText editPropertiesLabel\">\\n {{\\'DESCRIPTION\\' | translate}} :\\n </label>\\n <div class=\"col-lg-9\">\\n <input\\n type=\"text\"\\n class=\"form-control\"\\n ng-model=\"$ctrl.nyaSelect.temporyConfig.formlyDescription\"\\n id=\"inputTextDescriptionUpdate\"\\n placeholder=\"{{\\'ADDEDIT_DESCRIPTION\\' | translate}}\">\\n </div>\\n </div>\\n </div>\\n </div>\\n </div>\\n ',\n bindings: {\n nyaSelect: '='\n },\n controller: (_temp = _class = function editCheckBoxControlController() {\n _classCallCheck(this, editCheckBoxControlController);\n }, _class.$inject = [], _temp)\n};\n\nvar editCheckBoxModuleName = 'stepway.editCheckBox.module';\n\nexports.default = angular.module(editCheckBoxModuleName, []).component(EDIT_CHECKBOX_COMPONENT, editCheckBoxControlComponent);//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8v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9keVwiPlxuICAgICAgICA8ZGl2IGNsYXNzPVwicm93XCI+XG4gICAgICAgICAgPGRpdiBjbGFzcz1cImNvbC1tZC0xMlwiPlxuICAgICAgICAgICAgPGg1IGNsYXNzPVwiZ3JleVRleHRcIj5cbiAgICAgICAgICAgICAgPGkgY2xhc3M9XCJmYSBmYS1leWVcIj48L2k+XG4gICAgICAgICAgICAgICZuYnNwO1xuICAgICAgICAgICAgICB7eydQUkVWSUVXX1RBQicgfCB0cmFuc2xhdGV9fSA6XG4gICAgICAgICAgICA8L2g1PlxuICAgICAgICAgIDwvZGl2PlxuICAgICAgICA8L2Rpdj5cbiAgICAgICAgPGhyLz5cbiAgICAgICAgPGRpdiBjbGFzcz1cInJvd1wiPlxuICAgICAgICAgIDxkaXYgY2xhc3M9XCJjb2wtbWQtMTJcIj5cbiAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJmb3JtLWdyb3VwXCI+XG4gICAgICAgICAgICAgIDxsYWJlbFxuICAgICAgICAgICAgICAgIGZvcj1cImlucHV0RGF0ZVwiXG4gICAgICAgICAgICAgICAgY2xhc3M9XCJjb250cm9sLWxhYmVsIHRleHRDb250cm9sTGFiZWxcIj5cbiAgICAgICAgICAgICAgICB7eyRjdHJsLm55YVNlbGVjdC50ZW1wb3J5Q29uZmlnLmZvcm1seUxhYmVsfX1cbiAgICAgICAgICAgICAgICA8c3BhblxuICAgICAgICAgICAgICAgICAgbmctaWY9XCIkY3RybC5ueWFTZWxlY3QudGVtcG9yeUNvbmZpZy5mb3JtbHlSZXF1aXJlZFwiXG4gICAgICAgICAgICAgICAgICBjbGFzcz1cInRleHRDb250cm9sTGFiZWxcIj5cbiAgICAgICAgICAgICAgICAgICpcbiAgICAgICAgICAgICAgICA8L3NwYW4+XG4gICAgICAgICAgICAgIDwvbGFiZWw+XG4gICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJcIj5cbiAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwiaW5wdXQtZ3JvdXBcIiA+XG4gICAgICAgICAgICAgICAgICA8c3BhbiBjbGFzcz1cImlucHV0LWdyb3VwLWFkZG9uXCI+XG4gICAgICAgICAgICAgICAgICAgIDxpIGNsYXNzPVwiZ2x5cGhpY29uIGdseXBoaWNvbi1jYWxlbmRhclwiPjwvaT5cbiAgICAgICAgICAgICAgICAgIDwvc3Bhbj5cbiAgICAgICAgICAgICAgICAgIDxpbnB1dFxuICAgICAgICAgICAgICAgICAgICB0eXBlPVwidGV4dFwiXG4gICAgICAgICAgICAgICAgICAgIGNsYXNzPVwiZm9ybS1jb250cm9sXCJcbiAgICAgICAgICAgICAgICAgICAgdWliLWRhdGVwaWNrZXItcG9wdXA9XCJ7eyRjdHJsLm55YVNlbGVjdC50ZW1wb3J5Q29uZmlnLmRhdGVwaWNrZXJPcHRpb25zLmZvcm1hdH19XCJcbiAgICAgICAgICAgICAgICAgICAgbmctbW9kZWw9XCIkY3RybC5kZW1vZHQuZHRcIlxuICAgICAgICAgICAgICAgICAgICBpcy1vcGVuPVwiJGN0cmwuZGVtb2R0Lm9wZW5lZFwiXG4gICAgICAgICAgICAgICAgICAgIGRhdGVwaWNrZXItb3B0aW9ucz1cIiRjdHJsLmRhdGVPcHRpb25zXCJcbiAgICAgICAgICAgICAgICAgICAgY2xvc2UtdGV4dD1cIkNsb3NlXCJcbiAgICAgICAgICAgICAgICAgICAgbmctY2xpY2s9XCIkY3RybC5vcGVuKHtldmVudCA6ICRldmVudH0pXCJcbiAgICAgICAgICAgICAgICAgIC8+XG4gICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICAgICAgPHAgY2xhc3M9XCJoZWxwLWJsb2NrXCI+XG4gICAgICAgICAgICAgICAgICB7eyRjdHJsLm55YVNlbGVjdC50ZW1wb3J5Q29uZmlnLmZvcm1seURlc2NyaXB0aW9ufX1cbiAgICAgICAgICAgICAgICA8L3A+XG4gICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICA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HRpb25zLmZvcm1hdFwiXG4gICAgICAgICAgICAgIGlkPVwiZGF0ZWZvcm1hdFNlbGVjdFwiPlxuICAgICAgICAgICAgICA8bGlcbiAgICAgICAgICAgICAgICBjbGFzcz1cIm55YS1icy1vcHRpb25cIlxuICAgICAgICAgICAgICAgIG55YS1icy1vcHRpb249XCJkYXRlZm9ybWF0IGluICRjdHJsLmRlbW9kdC5mb3JtYXRzXCJcbiAgICAgICAgICAgICAgICB2YWx1ZT1cImRhdGVmb3JtYXRcIj5cbiAgICAgICAgICAgICAgICA8YT5cbiAgICAgICAgICAgICAgICAgIHt7ZGF0ZWZvcm1hdH19XG4gICAgICAgICAgICAgICAgPC9hPlxuICAgICAgICAgICAgICA8L2xpPlxuICAgICAgICAgICAgPC9vbD5cbiAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgPC9kaXY+XG4gICAgICA8L2Rpdj5cbiAgICAgIDxkaXYgY2xhc3M9XCJtYXJnaW5Ub3BGaXZlcGl4ZWxzXCI+PC9kaXY+XG4gICAgICA8ZGl2IGNsYXNzPVwicm93XCI+XG4gICAgICAgIDxkaXYgY2xhc3M9XCJmb3JtLWdyb3VwXCI+XG4gICAgICAgICAgPGxhYmVsXG4gICAgICAgICAgICBmb3I9XCJpbnB1dFRleHRMYWJlbFVwZGF0ZVwiXG4gICAgICAgICAgICBjbGFzcz1cImNvbC1sZy0zIGNvbnRyb2wtbGFiZWwgZ3JleVRleHQgZWRpdFByb3BlcnRpZXNMYWJlbFwiPlxuICAgICAgICAgICAge3snTEFCRUxfVEVYVCcgfCB0cmFuc2xhdGV9fSA6XG4gICAgICAgICAgPC9sYWJlbD5cbiAgICAgICAgICA8ZGl2IGNsYXNzPVwiY29sLWxnLTlcIj5cbiAgICAgICAgICAgIDxpbnB1dFxuICAgICAgICAgICAgICB0eXBlPVwidGV4dFwiXG4gICAgICAgICAgICAgIGNsYXNzPVwiZm9ybS1jb250cm9sXCJcbiAgICAgICAgICAgICAgbmctbW9kZWw9XCIk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WxlY3Q6ICc9J1xuICB9LFxuICBjb250cm9sbGVyOlxuICBjbGFzcyBlZGl0Q2hlY2tCb3hDb250cm9sQ29udHJvbGxlciB7XG4gICAgc3RhdGljICRpbmplY3QgPSBbXTtcblxuICAgIGNvbnN0cnVjdG9yKCkge1xuXG4gICAgfVxuICB9XG59O1xuXG5jb25zdCBlZGl0Q2hlY2tCb3hNb2R1bGVOYW1lID0gJ3N0ZXB3YXkuZWRpdENoZWNrQm94Lm1vZHVsZSc7XG5cbmV4cG9ydCBkZWZhdWx0IGFuZ3VsYXJcbiAgICAgICAgICAgICAgICAubW9kdWxlKGVkaXRDaGVja0JveE1vZHVsZU5hbWUsIFtdKVxuICAgICAgICAgICAgICAgIC5jb21wb25lbnQoRURJVF9DSEVDS0JPWF9DT01QT05FTlQsIGVkaXRDaGVja0JveENvbnRyb2xDb21wb25lbnQpO1xuXG5cblxuLy8gV0VCUEFDSyBGT09URVIgLy9cbi8vIC4vc3JjL2FwcC9zdGVwd2F5L2NvbXBvbmVudHMvY29udHJvbHMvQ2hlY2tCb3gvZWRpdENoZWNrQm94L2VkaXRDaGVja0JveC5jb21wb25lbnQuanMiXSwic291cmNlUm9vdCI6IiJ9");
|
||
|
||
/***/ },
|
||
/* 71 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar EmailConfig = exports.EmailConfig = {\n id: 'Email',\n name: 'Email',\n subtitle: 'Email',\n group: 'input',\n formlyType: 'input',\n formlySubtype: 'email',\n formlyLabel: '',\n formlyRequired: false,\n formlyDescription: '',\n formlyOptions: [],\n formlyExpressionProperties: {},\n formlyValidators: {\n emailShape: {\n expression: function expression(viewValue, modelValue) {\n var value = modelValue || viewValue;\n return (/^[a-z]+[a-z0-9._]+@[a-z]+\\.[a-z.]{2,5}$/.test(value)\n );\n },\n message: '$viewValue + \\' is not a valid email\\''\n }\n },\n formlyValidation: {\n messages: {\n required: function required(viewValue, modelValue, scope) {\n var defaultReturnMsg = 'this Email field is required';\n var returnMsg = typeof scope.to.label !== 'undefined' ? scope.to.label !== '' ? scope.to.label + ' is required' : defaultReturnMsg : defaultReturnMsg;\n if (scope.to.required) return returnMsg;\n }\n }\n }\n};//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9jb250cm9scy9FbWFpbC9jb25maWcvZW1haWwuY29uZmlnLmpzP2Q5MTIiXSwibmFtZXMiOlsiRW1haWxDb25maWciLCJpZCIsIm5hbWUiLCJzdWJ0aXRsZSIsImdyb3VwIiwiZm9ybWx5VHlwZSIsImZvcm1seVN1YnR5cGUiLCJmb3JtbHlMYWJlbCIsImZvcm1seVJlcXVpcmVkIiwiZm9ybWx5RGVzY3JpcHRpb24iLCJmb3JtbHlPcHRpb25zIiwiZm9ybWx5RXhwcmVzc2lvblByb3BlcnRpZXMiLCJmb3JtbHlWYWxpZGF0b3JzIiwiZW1haWxTaGFwZSIsImV4cHJlc3Npb24iLCJ2aWV3VmFsdWUiLCJtb2RlbFZhbHVlIiwidmFsdWUiLCJ0ZXN0IiwibWVzc2FnZSIsImZvcm1seVZhbGlkYXRpb24iLCJtZXNzYWdlcyIsInJlcXVpcmVkIiwic2NvcGUiLCJkZWZhdWx0UmV0dXJuTXNnIiwicmV0dXJuTXNnIiwidG8iLCJsYWJlbCJdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBTyxJQUFNQSxvQ0FBZTtBQUMxQkMsTUFBSSxPQURzQjtBQUUxQkMsUUFBTSxPQUZvQjtBQUcxQkMsWUFBVSxPQUhnQjtBQUkxQkMsU0FBTyxPQUptQjtBQUsxQkMsY0FBWSxPQUxjO0FBTTFCQyxpQkFBZSxPQU5XO0FBTzFCQyxlQUFhLEVBUGE7QUFRMUJDLGtCQUFnQixLQVJVO0FBUzFCQyxxQkFBbUIsRU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VIgLy9cbi8vIC4vc3JjL2FwcC9zdGVwd2F5L2NvbXBvbmVudHMvY29udHJvbHMvRW1haWwvY29uZmlnL2VtYWlsLmNvbmZpZy5qcyJdLCJzb3VyY2VSb290IjoiIn0=");
|
||
|
||
/***/ },
|
||
/* 72 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _class, _temp;\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar EDIT_EMAIL_COMPONENT = exports.EDIT_EMAIL_COMPONENT = 'editEmailControl';\n\nvar editEmailControlComponent = exports.editEmailControlComponent = {\n template: '\\n <div class=\"panel panel-default\">\\n <div class=\"panel-body\">\\n <div class=\"row\">\\n <div class=\"col-md-12\">\\n <h5 class=\"greyText\">\\n <i class=\"fa fa-eye\"></i>\\n \\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 {{$ctrl.nyaSelect.temporyConfig.formlyLabel}}\\n <span\\n ng-if=\"$ctrl.nyaSelect.temporyConfig.formlyRequired\"\\n class=\"textControlLabel\">\\n *\\n </span>\\n </label>\\n <div class=\"\">\\n <input\\n type=\"text\"\\n class=\"form-control\"\\n id=\"inputEmail\"\\n placeholder=\"{{$ctrl.nyaSelect.temporyConfig.formlyPlaceholder}}\">\\n <p class=\"help-block\">\\n {{$ctrl.nyaSelect.temporyConfig.formlyDescription}}\\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 \\n {{\\'EDIT_PROPERTIES\\' | translate}} :\\n </h5>\\n </div>\\n </div>\\n <hr/>\\n <div class=\"row\">\\n <div class=\"form-group\">\\n <label\\n for=\"inputTextLabelUpdate\"\\n class=\"col-lg-3 control-label greyText editPropertiesLabel\">\\n {{\\'LABEL_TEXT\\' | translate}} :\\n </label>\\n <div class=\"col-lg-9\">\\n <input\\n type=\"text\"\\n class=\"form-control\"\\n ng-model=\"$ctrl.nyaSelect.temporyConfig.formlyLabel\"\\n id=\"inputTextLabelUpdate\"\\n placeholder=\"{{\\'ADD_EDIT_LABEL_HERE\\' | translate}}\">\\n </div>\\n </div>\\n </div>\\n <div class=\"marginTopFivepixels\"></div>\\n <div class=\"row\">\\n <div class=\"form-group\">\\n <label\\n for=\"inputTextplaceholderUpdate\"\\n class=\"col-lg-3 control-label greyText editPropertiesLabel\">\\n {{\\'PLACEHOLDER\\' | translate}} :\\n </label>\\n <div class=\"col-lg-9\">\\n <input\\n type=\"text\"\\n class=\"form-control\"\\n ng-model=\"$ctrl.nyaSelect.temporyConfig.formlyPlaceholder\"\\n id=\"inputTextplaceholderUpdate\"\\n placeholder=\"{{\\'ADD_EDIT_PLACEHOLD\\' | translate}}\">\\n </div>\\n </div>\\n </div>\\n <div class=\"marginTopFivepixels\"></div>\\n <div class=\"row\">\\n <div class=\"form-group\">\\n <label\\n for=\"inputTextRequiredUpdate\"\\n class=\"col-lg-3 control-label greyText editPropertiesLabel\">\\n {{\\'REQUIRED\\' | translate}} :\\n </label>\\n <div class=\"col-lg-9\">\\n <div class=\"checkboxCssCorrection\">\\n \\n </div>\\n <input\\n type=\"checkbox\"\\n ng-model=\"$ctrl.nyaSelect.temporyConfig.formlyRequired\"\\n id=\"inputTextRequiredUpdate\">\\n </div>\\n </div>\\n </div>\\n <div class=\"marginTopFivepixels\"></div>\\n <div class=\"row\">\\n <div class=\"form-group\">\\n <label\\n for=\"inputTextDescriptionUpdate\"\\n class=\"col-lg-3 control-label greyText editPropertiesLabel\">\\n {{\\'DESCRIPTION\\' | translate}} :\\n </label>\\n <div class=\"col-lg-9\">\\n <input\\n type=\"text\"\\n class=\"form-control\"\\n ng-model=\"$ctrl.nyaSelect.temporyConfig.formlyDescription\"\\n id=\"inputTextDescriptionUpdate\"\\n placeholder=\"{{\\'ADDEDIT_DESCRIPTION\\' | translate}}\">\\n </div>\\n </div>\\n </div>\\n </div>\\n </div>\\n ',\n bindings: {\n nyaSelect: '='\n },\n controller: (_temp = _class = function editEmailControlController() {\n _classCallCheck(this, editEmailControlController);\n }, _class.$inject = [], _temp)\n};\n\nvar editEmailControlModuleName = 'stepway.editEmailControl.module';\n\nexports.default = angular.module(editEmailControlModuleName, []).component(EDIT_EMAIL_COMPONENT, editEmailControlComponent);//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9jb250cm9scy9FbWFpbC9lZGl0RW1haWwvZWRpdEVtYWlsLmNvbXBvbmVudC5qcz9kNmMyIl0sIm5hbWVzIjpbIkVESVRfRU1BSUxfQ09NUE9ORU5UIiwiZWRpdEVtYWlsQ29udHJvbENvbXBvbmVudCIsInRlbXBsYXRlIiwiYmluZGluZ3MiLCJueWFTZWxlY3QiLCJjb250cm9sbGVyIiwiJGluamVjdCIsImVkaXRFbWFpbENvbnRyb2xNb2R1bGVOYW1lIiwiYW5ndWxhciIsIm1vZHVsZSIsImNvbXBvbmVudCJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7OztBQUFPLElBQU1BLHNEQUF1QixrQkFBN0I7O0FBRUEsSUFBTUMsZ0VBQTRCO0FBQ3ZDQyxvbUlBRHVDO0FBaUl2Q0MsWUFBVTtBQUNSQyxlQUFXO0FBREgsR0FqSTZCO0FBb0l2Q0MsZ0NBR0Usc0NBQWM7QUFBQTtBQUViLEdBTEgsU0FFU0MsT0FGVCxHQUVtQixFQUZuQjtBQXBJdUMsQ0F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AgICAgIHt7JGN0cmwubnlhU2VsZWN0LnRlbXBvcnlDb25maWcuZm9ybWx5TGFiZWx9fVxuICAgICAgICAgICAgICA8c3BhblxuICAgICAgICAgICAgICAgIG5nLWlmPVwiJGN0cmwubnlhU2VsZWN0LnRlbXBvcnlDb25maWcuZm9ybWx5UmVxdWlyZWRcIlxuICAgICAgICAgICAgICAgIGNsYXNzPVwidGV4dENvbnRyb2xMYWJlbFwiPlxuICAgICAgICAgICAgICAgICpcbiAgICAgICAgICAgICAgPC9zcGFuPlxuICAgICAgICAgICAgPC9sYWJlbD5cbiAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJcIj5cbiAgICAgICAgICAgICAgPGlucHV0XG4gICAgICAgICAgICAgICAgdHlwZT1cInRleHRcIlxuICAgICAgICAgICAgICAgIGNsYXNzPVwiZm9ybS1jb250cm9sXCJcbiAgICAgICAgICAgICAgICBpZD1cImlucHV0RW1haWxcIlxuICAgICAgICAgICAgICAgIHBsYWNlaG9sZGVyPVwie3skY3RybC5ueWFTZWxlY3QudGVtcG9yeUNvbmZpZy5mb3JtbHlQbGFjZWhvbGRlcn19XCI+XG4gICAgICAgICAgICAgIDxwIGNsYXNzPVwiaGVscC1ibG9ja1wiPlxuICAgICAgICAgICAgICAgIHt7JGN0cmwubnlhU2VsZWN0LnRlbXBvcnlDb25maWcuZm9ybWx5RGVzY3JpcHRpb259fVxuICAgICAgICAgICAgICA8L3A+XG4gICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgPC9kaXY+XG4gICAgICA8L2Rpdj5cbiAgICA8L2Rpdj5cbiAgPC9kaXY+XG4gIDxkaXYgY2xhc3M9XCJwYW5lbCBwYW5lbC1kZWZhdWx0XCI+XG4gICAgPGRpdiBjbGFzcz1cInBhbmVsLWJvZHlcIj5cbiAgICAgIDxkaXYgY2xhc3M9XCJyb3dcIj5cbiAgICAgICAgPGRpdiBjbGFzcz1cImNvbC1tZC0xMlwiPlxuICAg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cm9scy9FbWFpbC9lZGl0RW1haWwvZWRpdEVtYWlsLmNvbXBvbmVudC5qcyJdLCJzb3VyY2VSb290IjoiIn0=");
|
||
|
||
/***/ },
|
||
/* 73 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar BasicSelectConfig = exports.BasicSelectConfig = {\n id: 'BasicSelect',\n name: 'Basic select',\n subtitle: 'Basic select',\n options: [],\n group: 'Select',\n formlyType: 'basicSelect',\n formlySubtype: '',\n formlyLabel: '',\n formlyRequired: false,\n formlyDescription: '',\n formlyOptions: [],\n formlyExpressionProperties: {},\n formlyValidators: {},\n formlyValidation: {\n messages: {\n required: function required(viewValue, modelValue, scope) {\n //return a required validation message :\n //-> '<label as name> is required '\n //-> or if not exists or empty just 'this field is required'\n var defaultReturnMsg = 'this Basic select field is required';\n var returnMsg = typeof scope.to.label !== 'undefined' ? scope.to.label !== '' ? scope.to.label + ' is required' : defaultReturnMsg : defaultReturnMsg;\n return returnMsg;\n }\n }\n }\n};//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9jb250cm9scy9iYXNpY1NlbGVjdC9jb25maWcvYmFzaWNTZWxlY3QuY29uZmlnLmpzPzQyYzQiXSwibmFtZXMiOlsiQmFzaWNTZWxlY3RDb25maWciLCJpZCIsIm5hbWUiLCJzdWJ0aXRsZSIsIm9wdGlvbnMiLCJncm91cCIsImZvcm1seVR5cGUiLCJmb3JtbHlTdWJ0eXBlIiwiZm9ybWx5TGFiZWwiLCJmb3JtbHlSZXF1aXJlZCIsImZvcm1seURlc2NyaXB0aW9uIiwiZm9ybWx5T3B0aW9ucyIsImZvcm1seUV4cHJlc3Npb25Qcm9wZXJ0aWVzIiwiZm9ybWx5VmFsaWRhdG9ycyIsImZvcm1seVZhbGlkY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GRlZmF1bHRSZXR1cm5Nc2c7XG4gICAgICAgIHJldHVybiByZXR1cm5Nc2c7XG4gICAgICB9XG4gICAgfVxuICB9XG59O1xuXG5cblxuLy8gV0VCUEFDSyBGT09URVIgLy9cbi8vIC4vc3JjL2FwcC9zdGVwd2F5L2NvbXBvbmVudHMvY29udHJvbHMvYmFzaWNTZWxlY3QvY29uZmlnL2Jhc2ljU2VsZWN0LmNvbmZpZy5qcyJdLCJzb3VyY2VSb290IjoiIn0=");
|
||
|
||
/***/ },
|
||
/* 74 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _class, _temp;\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar EDIT_BASIC_SELECT_COMPONENT = exports.EDIT_BASIC_SELECT_COMPONENT = 'editBasicSelectControl';\n\nvar editBasicSelectControlComponent = exports.editBasicSelectControlComponent = {\n template: '\\n <div class=\"panel panel-default\">\\n <div class=\"panel-body\">\\n <div class=\"row\">\\n <div class=\"col-md-12\">\\n <h5 class=\"greyText\">\\n <i class=\"fa fa-eye\"></i>\\n \\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 {{$ctrl.nyaSelect.temporyConfig.formlyLabel}}\\n <span\\n ng-if=\"$ctrl.nyaSelect.temporyConfig.formlyRequired\"\\n class=\"textControlLabel\">\\n *\\n </span>\\n </label>\\n <div class=\"\">\\n <ol\\n class=\"nya-bs-select col-sm-12 col-xs-12 col-md-12 col-lg12\"\\n ng-model=\"$ctrl.modelbasicSelect\"\\n id=\"basicSelect\"\\n disabled=\"$ctrl.basicSelectRowCollection.rows.length === 0\">\\n <li\\n class=\"nya-bs-option\"\\n nya-bs-option=\"basicSelectRow in $ctrl.basicSelectRowCollection.rows\"\\n value=\"$index\">\\n <a>\\n {{basicSelectRow.option}}\\n </a>\\n </li>\\n </ol>\\n <p class=\"help-block\">\\n {{$ctrl.nyaSelect.temporyConfig.formlyDescription}}\\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 \\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=\"$ctrl.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=\"$ctrl.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=\"$ctrl.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=\"$ctrl.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=\"$ctrl.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 $ctrl.basicSelectRowCollection.rows | filter:$ctrl.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=\"$ctrl.upThisRow({index: $index})\">\\n <i class=\"fa fa-arrow-up\"></i>\\n </button>\\n <button\\n class=\"btn btn-primary\"\\n ng-click=\"$ctrl.downThisRow({index: $index})\">\\n <i class=\"fa fa-arrow-down\"></i>\\n </button>\\n <button\\n class=\"btn btn-danger\"\\n ng-click=\"$ctrl.removeRow({index: $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=\"$ctrl.nyaSelect.temporyConfig.formlyLabel\"\\n id=\"inputTextLabelUpdate\"\\n placeholder=\"{{\\'ADD_EDIT_LABEL_HERE\\' | translate}}\">\\n </div>\\n </div>\\n </div>\\n <div class=\"marginTopFivepixels\"></div>\\n <div class=\"row\">\\n <div class=\"form-group\">\\n <label\\n for=\"inputTextRequiredUpdate\"\\n class=\"col-lg-3 control-label greyText editPropertiesLabel\">\\n Required :\\n </label>\\n <div class=\"col-lg-9\">\\n <div class=\"checkboxCssCorrection\">\\n \\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=\"$ctrl.nyaSelect.temporyConfig.formlyDescription\"\\n id=\"inputTextDescriptionUpdate\"\\n placeholder=\"{{\\'ADDEDIT_DESCRIPTION\\' | translate}}\">\\n </div>\\n </div>\\n </div>\\n </div>\\n </div>\\n </div>\\n ',\n bindings: {\n nyaSelect: '=',\n basicSelectRowCollection: '=',\n newOptionBasicSelect: '=',\n addNewOptionBasicSelect: '&',\n upThisRow: '&',\n downThisRow: '&',\n removeRow: '&'\n },\n controller: (_temp = _class = function editBasicSelectController() {\n _classCallCheck(this, editBasicSelectController);\n }, _class.$inject = [], _temp)\n};\n\nvar editBasicSelectModuleName = 'stepway.editBasicSelect.module';\nexports.default = angular.module(editBasicSelectModuleName, []).component(EDIT_BASIC_SELECT_COMPONENT, editBasicSelectContro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2VsZWN0LnRlbXBvcnlDb25maWcuZm9ybWx5TGFiZWx9fVxuICAgICAgICAgICAgICA8c3BhblxuICAgICAgICAgICAgICAgIG5nLWlmPVwiJGN0cmwubnlhU2VsZWN0LnRlbXBvcnlDb25maWcuZm9ybWx5UmVxdWlyZWRcIlxuICAgICAgICAgICAgICAgIGNsYXNzPVwidGV4dENvbnRyb2xMYWJlbFwiPlxuICAgICAgICAgICAgICAgICpcbiAgICAgICAgICAgICAgPC9zcGFuPlxuICAgICAgICAgICAgPC9sYWJlbD5cbiAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJcIj5cbiAgICAgICAgICAgICAgPG9sXG4gICAgICAgICAgICAgICAgY2xhc3M9XCJueWEtYnMtc2VsZWN0IGNvbC1zbS0xMiBjb2wteHMtMTIgY29sLW1kLTEyIGNvbC1sZzEyXCJcbiAgICAgICAgICAgICAgICBuZy1tb2RlbD1cIiRjdHJsLm1vZGVsYmFzaWNTZWxlY3RcIlxuICAgICAgICAgICAgICAgIGlkPVwiYmFzaWNTZWxlY3RcIlxuICAgICAgICAgICAgICAgIGRpc2FibGVkPVwiJGN0cmwuYmFzaWNTZWxlY3RSb3dDb2xsZWN0aW9uLnJvd3MubGVuZ3RoID09PSAwXCI+XG4gICAgICAgICAgICAgICAgPGxpXG4gICAgICAgICAgICAgICAgICBjbGFzcz1cIm55YS1icy1vcHRpb25cIlxuICAgICAgICAgICAgICAgICAgbnlhLWJzLW9wdGlvbj1cImJhc2ljU2VsZWN0Um93IGluICRjdHJsLmJhc2ljU2VsZWN0Um93Q29sbGVjdGlvbi5yb3dzXCJcbiAgICAgICAgICAgICAgICAgIHZhbHVlPVwiJGluZGV4XCI+XG4gICAgICAgICAgICAgICAgICA8YT5cbiAgICAgICAgICAgICAgICAgICAge3tiYXNpY1NlbGVjdFJvdy5vcHRpb259fVxuICAgICAgICAgICAgICAgICAgPC9hPlxuICAgICAgICAgICAgICAgIDwvbGk+XG4gICAgICAgICAgICAgIDwvb2w+XG4g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G4gICAgICAgIDwvZGl2PlxuICAgICAgPC9kaXY+XG4gICAgICA8ZGl2IGNsYXNzPVwicm93XCI+XG4gICAgICAgIDxkaXY+XG4gICAgICAgICAgPGRpdiBjbGFzcz1cImZvcm0tZ3JvdXBcIj5cbiAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJjb2wtc20tOSBjb2wteHMtOSBjb2wtbWQtOSBjb2wtbGctOVwiPlxuICAgICAgICAgICAgPGlucHV0XG4gICAgICAgICAgICAgIHR5cGU9XCJ0ZXh0XCJcbiAgICAgICAgICAgICAgY2xhc3M9XCJmb3JtLWNvbnRyb2xcIlxuICAgICAgICAgICAgICBpZD1cImlucHV0QWRkTmV3QmFzaWNPcHRpb25cIlxuICAgICAgICAgICAgICBwbGFjZWhvbGRlcj1cInt7J0FERF9BX05FV19PUFRJT04nIHwgdHJhbnNsYXRlfX1cIlxuICAgICAgICAgICAgICBuZy1tb2RlbD1cIiRjdHJsLm5ld09wdGlvbkJhc2ljU2VsZWN0LnNhaXNpZVwiPlxuICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICA8ZGl2IGNsYXNzPVwiY29sLXNtLTMgY29sLXhzLTMgY29sLW1kLTMgY29sLWxnLTNcIj5cbiAgICAgICAgICAgICAgPGJ1dHRvblxuICAgICAgICAgICAgICAgIGNsYXNzPVwiYnRuIGJ0bi1wcmltYXJ5XCJcbiAgICAgICAgICAgICAgICBuZy1jbGljaz1cIiRjdHJsLmFkZE5ld09wdGlvbkJhc2ljU2VsZWN0KClcIj5cbiAgICAgICAgICAgICAgICB7eydBREQnIHwgdHJhbnNsYXRlfX1cbiAgICAgICAgICAgICAgPC9idXR0b24+XG4gICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgPC9kaXY+XG4gICAgICA8L2Rpdj5cbiAgICAgIDxkaXYgY2xhc3M9XCJyb3dcIj5cbiAgICAgICAgPGRpdiBjbGFzcz1cImNvbC1sZy0zIGNvbC1tZC0zXCI+XG4gICAgICAgICAgPGxhYmVsIGNsYXNzPVwiIGNvbnRyb2wtbGFiZWwgZ3JleVRleHQgZWRpdFByb3BlcnRpZXNMYWJlbFwiPlxuICAgICAgICAgICAge3snRURJVF9SRU1PVkVfT1BUSU9OUycgfCB0cmFuc2xhdGV9fSA6XG4gICAgICAgICAgPC9sYWJlbD5cbiAgICAgICAgPC9kaXY+XG4gICAgICA8L2Rpdj5cbiAgICAgIDxkaXYgY2xhc3M9XCJyb3dcIj5cbiAgICAgICAgPGRpdiBjbGFzcz1cImZvcm0tZ3JvdXBcIj5cbiAgICAgICAgICA8ZGl2IGNsYXNzLVwiY29sLWxnLTEyIGNvbC1tZC0xMiBjb2wtc20tMTIgY29sLXhzLTEyXCI+XG4gICAgICAgICAgICA8ZGl2IGNsYXNzPVwiY29udGFpbmVyXCI+XG4gICAgICAgICAgICAgIDxkaXYgbmctaWY9XCIkY3RybC5iYXNpY1NlbGVjdFJvd0NvbGxlY3Rpb24ucm93cy5sZW5ndGggPT09IDBcIj5cbiAgICAgICAgICAgICAgICA8aDUgY2xhc3M9XCJ0ZXh0LWNlbnRlciBncmV5VGV4dFwiPlxuICAgICAgICAgICAgICAgICAgPGVtPlxuICAgICAgICAgICAgICAgICAgICAtIHt7J05PX09QVElPTl9BRERfTkVXJyB8IHRyYW5zbGF0ZX19IC1cbiAgICAgICAgICAgICAgICAgIDwvZW0+XG4gICAgICAgICAgICAgICAgPC9oNT5cbiAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICAgIDx0YWJsZVxuICAgICAgICAgICAgICAgIG5nLWlmPVwiJGN0cmwuYmFzaWNTZWxlY3RSb3dDb2xsZWN0aW9uLnJvd3MubGVuZ3RoID4gMFwiXG4gICAgICAgICAgICAgICAgY2xhc3M9XCJ0YWJsZSB0YWJsZS1zdHJpcGVkXCI+XG4gICAgICAgICAgICAgICAgPHRoZWFkPlxuICAgICAgICAgICAgICAgICAgPHRyPlxuICAgICAgICAgICAgICAgICAgICA8dGggc3QtcmF0aW89XCIyMFwiPlxuICAgICAgICAgICAgICAgICAgICAgIHt7J09SREVSJyB8IHRyYW5zbGF0ZX19XG4gICAgICAgICAgICAgICAgICAgIDwvdGg+XG4gICAgICAgICAgICAgICAgICAgIDx0aCBzdC1yYXRpbz1cIjU1XCI+XG4gICAgICAgICAgICAgICAgICAgICAge3snT1BUSU9OJyB8IHRyYW5zbGF0ZX19XG4gICAgICAgICAgICAgICAgICAgIDwvdGg+XG4gICAgICAgICAgICAgICAgICAgIDx0aCBzdC1yYXRpbz1cIjI1XCI+XG4gICAgICAgICAgICAgICAgICAgIDwvdGg+XG4gICAgICAgICAgICAgICAgICA8L3RyPlxuICAgICAgICAgICAgICAgICAgPHRyPlxuICAgICAgICAgICAgICAgICAgICA8dGggc3QtcmF0aW89XCIyMFwiPlxuICAgICAgICAgICAgICAgICAgICA8L3RoPlxuICAgICAgICAgICAgICAgICAgICA8dGggc3QtcmF0aW89XCI1NVwiPlxuICAgICAgICAgICAgICAgICAgICAgIDxpbnB1dFxuICAgICAgICAgICAgICAgICAgICAgICAgbmctbW9kZWw9XCIkY3RybC5iYXNpY1NlbGVjdEZpbHRlclwiXG4gICAgICAgICAgICAgICAgICAgICAgICBwbGFjZWhvbGRlcj1cInt7J1NFQVJDSF80X09QVElPTicgfCB0cmFuc2xhdGV9fVwiXG4gICAgICAgICAgICAgICAgICAgICAgICBjbGFzcz1cImlucHV0LXNtIGZvcm0tY29udHJvbFwiXG4gICAgICAgICAgICAgICAgICAgICAgICB0eXBlPVwic2VhcmNoXCJcbiAgICAgICAgICAgICAgICAgICAgICAvPlxuICAgICAgICAgICAgICAgICAgICA8L3RoPlxuICAgICAgICAgICAgICAgICAgICA8dGggc3QtcmF0aW89XCIyNVwiPlxuICAgICAgICAgICAgICAgICAgICA8L3RoPlxuICAgICAgICAgICAgICAgICAgPC90cj5cbiAgICAgICAgICAgICAgICA8L3RoZWFkPlxuICAgICAgICAgICAgICAgIDx0Ym9keT5cbiAgICAgICAgICAgICAgICAgIDx0ciBuZy1yZXBlYXQ9XCJiYXNpY1NlbGVjdFJvdyBpbiAkY3RybC5iYXNpY1NlbGVjdFJvd0NvbGxlY3Rpb24ucm93cyB8IGZpbHRlcjokY3RybC5iYXNpY1NlbGVjdEZpbHRlciBhcyBiYXNpY1NlbGVjdFJvd1wiPlxuICAgICAgICAgICAgICAgICAgICAgIDx0ZCBzdC1yYXRpbz1cIjIwXCI+XG4gICAgICAgICAgICAgICAgICAgICAgICB7eyRpbmRleH19XG4gICAgICAgICAgICAgICAgICAgICAgPC90ZD5cbiAgICAgICAgICAgICAgICAgICAgICA8dGQgc3QtcmF0aW89XCI1NVwiPlxuICAgICAgICAgICAgICAgICAgICAgICAge3tiYXNpY1NlbGVjdFJvdy5vcHRpb259fVxuICAgICAgICAgICAgICAgICAgICAgIDwvdGQ+XG4gICAgICAgICAgICAgICAgICAgICAgPHRkIHN0LXJhdGlvPVwiMjVcIj5cbiAgICAgICAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJwdWxsLXJpZ2h0XCI+XG4gICAgICAgICAgICAgICAgICAgICAgICAgIDxidXR0b25cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBjbGFzcz1cImJ0biBidG4tcHJpbWFyeVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgbmctY2xpY2s9XCIkY3RybC51cFRoaXNSb3coe2luZGV4OiAkaW5kZXh9KVwiPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxpIGNsYXNzPVwiZmEgZmEtYXJyb3ctdXBcIj48L2k+XG4gICAgICAgICAgICAgICAgICAgICAgICAgIDwvYnV0dG9uPlxuICAgICAgICAgICAgICAgICAgICAgICAgICA8YnV0dG9uXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3M9XCJidG4gYnRuLXByaW1hcnlcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIG5nLWNsaWNrPVwiJGN0cmwuZG93blRoaXNSb3coe2luZGV4OiAkaW5kZXh9KVwiPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxpIGNsYXNzPVwiZmEgZmEtYXJyb3ctZG93blwiPjwvaT5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgPC9idXR0b24+XG4gICAgICAgICAgICAgICAgICAgICAgICAgIDxidXR0b25cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBjbGFzcz1cImJ0biBidG4tZGFuZ2VyXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBuZy1jbGljaz1cIiRjdHJsLnJlbW92ZVJvdyh7aW5kZXg6ICRpbmRleH0pXCI+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPGkgY2xhc3M9XCJmYSBmYS10cmFzaC1vXCI+PC9pPlxuICAgICAgICAgICAgICAgICAgICAgICAgICA8L2J1dHRvbj5cbiAgICAgICAgICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgICAgICAgICAgIDwvdGQ+XG4gICAgICAgICAgICAgICAgICAgIDwvdHI+XG4gICAgICAgICAgICAgICAgICA8L3Rib2R5PlxuICAgICAgICAgICAgICAgIDwvdGFibGU+XG4gICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgPC9kaXY+XG4gICAgICAgIDwvZGl2PlxuICAgICAgICA8aHIvPlxuICAgICAgICA8ZGl2IGNsYXNzPVwicm93XCI+XG4gICAgICAgICAgPGRpdiBjbGFzcz1cImZvcm0tZ3JvdXBcIj5cbiAgICAgICAgICAgIDxsYWJlbFxuICAgICAgICAgICAgICBmb3I9XCJpbnB1dFRleHRMYWJlbFVwZGF0ZVwiXG4gICAgICAgICAgICAgIGNsYXNzPVwiY29sLWxnLTMgY29udHJvbC1sYWJlbCBncmV5VGV4dCBlZGl0UHJvcGVydGllc0xhYmVsXCI+XG4gICAgICAgICAgICAgIHt7J0xBQkVMX1RFWFQnIHwgdHJhbnNsYXRlfX0gOlxuICAgICAgICAgICAgPC9sYWJlbD5cbiAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJjb2wtbGctOVwiPlxuICAgICAgICAgICAgICA8aW5wdXRcbiAgICAgICAgICAgICAgICB0eXBlPVwidGV4dFwiXG4gICAgICAgICAgICAgICAgY2xhc3M9XCJmb3JtLWNvbnRyb2xcIlxuICAgICAgICAgICAgICAgIG5nLW1vZGVsPVwiJGN0cmwubnlhU2VsZWN0LnRlbXBvcnlDb25maWcuZm9ybWx5TGFiZWxcIlxuICAgICAgICAgICAgICAgIGlkPVwiaW5wdXRUZXh0TGFiZWxVcGRhdGVcIlxuICAgICAgICAgICAgICAgIHBsYWNlaG9sZGVyPVwie3snQUREX0VESVRfTEFCRUxfSEVSRScgfCB0cmFuc2xhdGV9fVwiPlxuICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgPC9kaXY+XG4gICAgICAgIDwvZGl2PlxuICAgICAgICA8ZGl2IGNsYXNzPVwibWFyZ2luVG9wRml2ZXBpeGVsc1wiPjwvZGl2PlxuICAgICAgICA8ZGl2IGNsYXNzPVwicm93XCI+XG4gICAgICAgICAgPGRpdiBjbGFzcz1cImZvcm0tZ3JvdXBcIj5cbiAgICAgICAgICAgIDxsYWJlbFxuICAgICAgICAgICAgICBmb3I9XCJpbnB1dFRleHRSZXF1aXJlZFVwZGF0ZVwiXG4gICAgICAgICAgICAgIGNsYXNzPVwiY29sLWxnLTMgY29udHJvbC1sYWJlbCBncmV5VGV4dCBlZGl0UHJvcGVydGllc0xhYmVsXCI+XG4gICAgICAgICAgICAgIFJlcXVpcmVkIDpcbiAgICAgICAgICAgIDwvbGFiZWw+XG4gICAgICAgICAgICA8ZGl2IGNsYXNzPVwiY29sLWxnLTlcIj5cbiAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cImNoZWNrYm94Q3NzQ29ycmVjdGlvblwiPlxuICAgICAgICAgICAgICAgICZuYnNwO1xuICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgICAgPGlucHV0XG4gICAgICAgICAgICAgICAgdHlwZT1cImNoZWNrYm94XCJcbiAgICAgICAgICAgICAgICBuZy1tb2RlbD1cIm55YVNlbGVjdC50ZW1wb3J5Q29uZmlnLmZvcm1seVJlcXVpcmVkXCJcbiAgICAgICAgICAgICAgICBpZD1cImlucHV0VGV4dFJlcXVpcmVkVXBkYXRlXCI+XG4gICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgPC9kaXY+XG4gICAgICAgIDxkaXYgY2xhc3M9XCJtYXJnaW5Ub3BGaXZlcGl4ZWxzXCI+PC9kaXY+XG4gICAgICAgIDxkaXYgY2xhc3M9XCJyb3dcIj5cbiAgICAgICAgICA8ZGl2IGNsYXNzPVwiZm9ybS1ncm91cFwiPlxuICAgICAgICAgICAgPGxhYmVsXG4gICAgICAgICAgICAgIGZvcj1cImlucHV0VGV4dERlc2NyaXB0aW9uVXBkYXRlXCJcbiAgICAgICAgICAgICAgY2xhc3M9XCJjb2wtbGctMyBjb250cm9sLWxhYmVsIGdyZXlUZXh0IGVkaXRQcm9wZXJ0aWVzTGFiZWxcIj5cbiAgICAgICAgICAgICAge3snREVTQ1JJUFRJT04nIHwgdHJhbnNsYXRlfX0gOlxuICAgICAgICAgICAgPC9sYWJlbD5cbiAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJjb2wtbGctOVwiPlxuICAgICAgICAgICAgICA8aW5wdXRcbiAgICAgICAgICAgICAgICB0eXBlPVwidGV4dFwiXG4gICAgICAgICAgICAgICAgY2xhc3M9XCJmb3JtLWNvbnRyb2xcIlxuICAgICAgICAgICAgICAgIG5nLW1vZGVsPVwiJGN0cmwubnlhU2VsZWN0LnRlbXBvcnlDb25maWcuZm9ybWx5RGVzY3JpcHRpb25cIlxuICAgICAgICAgICAgICAgIGlkPVwiaW5wdXRUZXh0RGVzY3JpcHRpb25VcGRhdGVcIlxuICAgICAgICAgICAgICAgIHBsYWNlaG9sZGVyPVwie3snQURERURJVF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XSwic291cmNlUm9vdCI6IiJ9");
|
||
|
||
/***/ },
|
||
/* 75 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar GroupedSelectConfig = exports.GroupedSelectConfig = {\n id: 'GroupedSelect',\n name: 'Grouped Select',\n subtitle: 'Grouped Select',\n options: [],\n group: 'Select',\n formlyType: 'groupedSelect',\n formlySubtype: '',\n formlyLabel: '',\n formlyRequired: false,\n formlyDescription: '',\n formlyOptions: [],\n formlyExpressionProperties: {},\n formlyValidators: {},\n formlyValidation: {\n messages: {\n required: function required(viewValue, modelValue, scope) {\n //return a required validation message :\n //-> '<label as name> is required '\n //-> or if not exists or empty just 'this field is required'\n var defaultReturnMsg = 'this Grouped Select field is required';\n var returnMsg = typeof scope.to.label !== 'undefined' ? scope.to.label !== '' ? scope.to.label + ' is required' : defaultReturnMsg : defaultReturnMsg;\n return returnMsg;\n }\n }\n }\n};//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9jb250cm9scy9ncm91cGVkU2VsZWN0L2NvbmZpZy9ncm91cGVkU2VsZWN0LmNvbmZpZy5qcz9kY2ZiIl0sIm5hbWVzIjpbIkdyb3VwZWRTZWxlY3RDb25maWciLCJpZCIsIm5hbWUiLCJzdWJ0aXRsZSIsIm9wdGlvbnMiLCJncm91cCIsImZvcm1seVR5cGUiLCJmb3JtbHlTdWJ0eXBlIiwiZm9ybWx5TGFiZWwiLCJmb3JtbHlSZXF1aXJlZCIsImZvcm1seURlc2NyaXB0aW9uIiwiZm9ybWx5T3B0aW9ucyIsImZvcm1seUV4cHJlc3Npb25Qcm9wZXJ0aWVzIiwiZm9ybWx5VmFsaWRhdG9ycyIsImZvcm1seVZhbGlkYXRpb24iLCJtZXNzYWdlcyIsInJlcXVpcmVkIiw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IHJldHVybk1zZztcbiAgICAgIH1cbiAgICB9XG4gIH1cbn07XG5cblxuXG4vLyBXRUJQQUNLIEZPT1RFUiAvL1xuLy8gLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9jb250cm9scy9ncm91cGVkU2VsZWN0L2NvbmZpZy9ncm91cGVkU2VsZWN0LmNvbmZpZy5qcyJdLCJzb3VyY2VSb290IjoiIn0=");
|
||
|
||
/***/ },
|
||
/* 76 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _class, _temp;\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar EDIT_GROUPED_SELECT_COMPONENT = exports.EDIT_GROUPED_SELECT_COMPONENT = 'editGroupedSelectControl';\n\nvar editGroupedSelectControlComponent = exports.editGroupedSelectControlComponent = {\n template: '\\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 \\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 {{$ctrl.nyaSelect.temporyConfig.formlyLabel}}\\n <span\\n ng-if=\"$ctrl.nyaSelect.temporyConfig.formlyRequired\"\\n class=\"textControlLabel\">\\n *\\n </span>\\n </label>\\n <div class=\"\">\\n <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=\"$ctrl.groupedSelectRowCollection.rows.length === 0\">\\n <li\\n nya-bs-option=\"groupedSelectRow in $ctrl.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 {{$ctrl.nyaSelect.temporyConfig.formlyDescription}}\\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 \\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=\"$ctrl.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=\"$ctrl.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=\"$ctrl.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=\"$ctrl.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=\"$ctrl.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=\"$ctrl.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=\"$ctrl.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 $ctrl.groupedSelectRowCollection.rows | filter:$ctrl.groupedSelectFilter as groupedSelectRow\">\\n <td st-ratio=\"20\">\\n {{$index}}\\n </td>\\n <td st-ratio=\"25\">\\n <div ng-if=\"$ctrl.groupSelectGroupClick.showList === true\">\\n <div ng-if=\"$ctrl.groupedSelectGroups.list.length === 0\">\\n <p class=\"text-left noGroupText\">- {{\\'NO_GROUP_ADD_NEW\\' | translate}} -</p>\\n </div>\\n <div ng-if=\"$ctrl.groupedSelectGroups.list.length > 0\">\\n <ol\\n class=\"nya-bs-select col-sm-12 col-xs-12 col-md-12 col-lg12 editGroupedSelectnyaSelect\"\\n ng-model=\"groupedSelectRow.group\"\\n id=\"modelGroupedOptionGroupedChoose\"\\n disabled=\"$ctrl.groupedSelectGroups.list.length === 0\">\\n <li\\n class=\"nya-bs-option\"\\n nya-bs-option=\"GroupedSelectGroup in $ctrl.groupedSelectGroups.list\"\\n value=\"GroupedSelectGroup\">\\n <a>{{GroupedSelectGroup}}</a>\\n </li>\\n </ol>\\n </div>\\n </div>\\n <div ng-if=\"$ctrl.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=\"$ctrl.upThisGroupedSelectRow({index: $index})\">\\n <i class=\"fa fa-arrow-up\"></i>\\n </button>\\n <button\\n class=\"btn btn-primary\"\\n ng-click=\"$ctrl.downThisGroupedSelectRow({index: $index})\">\\n <i class=\"fa fa-arrow-down\"></i>\\n </button>\\n <button\\n class=\"btn btn-warning\"\\n ng-click=\"$ctrl.showGroupListToChoose()\">\\n <i class=\"fa fa-pencil-square-o\"></i>\\n </button>\\n <button\\n class=\"btn btn-danger\"\\n ng-click=\"$ctrl.removeGroupedSelectRow({index: $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=\"$ctrl.nyaSelect.temporyConfig.formlyLabel\"\\n id=\"inputTextLabelUpdate\"\\n placeholder=\"{{\\'ADD_EDIT_LABEL_HERE\\' | translate}}\">\\n </div>\\n </div>\\n </div>\\n <div class=\"marginTopFivepixels\"></div>\\n <div class=\"marginTopFivepixels\"></div>\\n <div class=\"row\">\\n <div class=\"form-group\">\\n <label\\n for=\"inputTextDescriptionUpdate\"\\n class=\"col-lg-3 control-label greyText editPropertiesLabel\">\\n {{\\'DESCRIPTION\\' | translate}} :\\n </label>\\n <div class=\"col-lg-9\">\\n <input\\n type=\"text\"\\n class=\"form-control\"\\n ng-model=\"$ctrl.nyaSelect.temporyConfig.formlyDescription\"\\n id=\"inputTextDescriptionUpdate\"\\n placeholder=\"{{\\'ADDEDIT_DESCRIPTION\\' | translate}}\">\\n </div>\\n </div>\\n </div>\\n ',\n bindings: {\n nyaSelect: '=',\n groupedSelectRowCollection: '=',\n newOptionGroupedSelect: '=',\n newGroupGroupedSelect: '=',\n groupSelectGroupClick: '=',\n groupedSelectGroups: '=',\n\n addNewOptionGroupedSelect: '&',\n addNewGroupToGroupedSelect: '&',\n upThisGroupedSelectRow: '&',\n downThisGroupedSelectRow: '&',\n showGroupListToChoose: '&',\n removeGroupedSelectRow: '&'\n },\n controller: (_temp = _class = function editGroupedSelectControlController() {\n _classCallCheck(this, editGroupedSelectControlController);\n }, _class.$inject = [], _temp)\n};\n\nvar editGroupedSelectModuleName = 'stepway.editGroupedSelect.module';\n\nexports.default = angular.module(editGroupedSelectModuleName, []).component(EDIT_GROUPED_SELECT_COMPONENT, editGroupedSelectControlComponent);//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9jb250cm9scy9ncm91cGVkU2VsZWN0L2VkaXRHcm91cGVkU2VsZWN0L2VkaXRHcm91cGVkU2VsZWN0LmNvbXBvbmVudC5qcz84OTE4Il0sIm5hbWVzIjpbIkVESVRfR1JPVVBFRF9TRUxFQ1RfQ09NUE9ORU5UIiwiZWRpdEdyb3VwZWRTZWxlY3RDb250cm9sQ29tcG9uZW50IiwidGVtcGxhdGUiLCJiaW5kaW5ncyIsIm55YVNlbGVjdCIsImdyb3VwZWRTZWxlY3RSb3dDb2xsZWN0aW9uIiwibmV3T3B0aW9uR3JvdXBlZFNlbGVjdCIsIm5ld0dyb3VwR3JvdXBlZFNlbGVjdCIsImdyb3VwU2VsZWN0R3JvdXBDbGljayIsImdyb3VwZWRTZWxlY3RHcm91cHMiLCJhZGROZXdPcHRpb25Hcm91cGVkU2VsZWN0IiwiYWRkTmV3R3JvdXBUb0dyb3VwZWRTZWxlY3QiLCJ1cFRoaXNHcm91cGVkU2VsZWN0Um93IiwiZG93blRoaXNHcm91cGVkU2VsZWN0Um93Iiwic2hvd0dyb3VwTGlzdFRvQ2hvb3NlIiwicmVtb3ZlR3JvdXBlZFNlbGVjdFJvdyIsImNvbnRyb2xsZXIiLCIkaW5qZWN0IiwiZWRpdEdyb3VwZWRTZWxlY3RNb2R1bGVOYW1lIiwiYW5ndWxhciIsIm1vZHVsZSIsImNvbXBvbmVudCJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7OztBQUFPLElBQU1BLHdFQUFnQywwQkFBdEM7O0FBRUEsSUFBTUMsZ0ZBQW9DO0FBQy9DQywyZ1Z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AgICAgICAgICA8aSBjbGFzcz1cImZhIGZhLWV5ZVwiPjwvaT5cbiAgICAgICAgICAgICZuYnNwO1xuICAgICAgICAgICAge3snUFJFVklFV19UQUInIHwgdHJhbnNsYXRlfX0gOlxuICAgICAgICAgIDwvaDU+XG4gICAgICAgIDwvZGl2PlxuICAgICAgPC9kaXY+XG4gICAgICA8aHIvPlxuICAgICAgPGRpdiBjbGFzcz1cInJvd1wiPlxuICAgICAgICA8ZGl2IGNsYXNzPVwiY29sLW1kLTEyXCI+XG4gICAgICAgICAgPGRpdiBjbGFzcz1cImZvcm0tZ3JvdXBcIj5cbiAgICAgICAgICAgIDxsYWJlbFxuICAgICAgICAgICAgICBmb3I9XCJzZWxlY3RcIlxuICAgICAgICAgICAgICBjbGFzcz1cImNvbnRyb2wtbGFiZWwgdGV4dENvbnRyb2xMYWJlbFwiPlxuICAgICAgICAgICAgICB7eyRjdHJsLm55YVNlbGVjdC50ZW1wb3J5Q29uZmlnLmZvcm1seUxhYmVsfX1cbiAgICAgICAgICAgICAgPHNwYW5cbiAgICAgICAgICAgICAgICBuZy1pZj1cIiRjdHJsLm55YVNlbGVjdC50ZW1wb3J5Q29uZmlnLmZvcm1seVJlcXVpcmVkXCJcbiAgICAgICAgICAgICAgICBjbGFzcz1cInRleHRDb250cm9sTGFiZWxcIj5cbiAgICAgICAgICAgICAgICAqXG4gICAgICAgICAgICAgIDwvc3Bhbj5cbiAgICAgICAgICAgIDwvbGFiZWw+XG4gICAgICAgICAgICA8ZGl2IGNsYXNzPVwiXCI+XG4gICAgICAgICAgICAgIDxvbFxuICAgICAgICAgICAgICAgIGNsYXNzPVwibnlhLWJzLXNlbGVjdCBjb2wtc20tMTIgY29sLXhzLTEyIGNvbC1tZC0xMiBjb2wtbGcxMlwiXG4gICAgICAgICAgICAgICAgbmctbW9kZWw9XCJtb2RlbEdyb3VwZWRTZWxlY3RcIlxuICAgICAgICAgICAgICAgIGRhdGEtbGl2ZS1zZWFyY2g9XCJ0cnVlXCJcbiAgICAgICAgICAgICAgICBkaXNhYmxlZD1cIiRjdHJsLmdyb3VwZWRTZWxlY3RSb3dDb2xsZWN0aW9uLnJvd3MubGVuZ3RoID09PSAwXCI+XG4gICAgICAgICAgICAgICAgPGxpXG4gICAgICAgICAgICAgICAgICBueWEtYnMtb3B0aW9uPVwiZ3JvdXBlZFNlbGVjdFJvdyBpbiAkY3RybC5ncm91cGVkU2VsZWN0Um93Q29sbGVjdGlvbi5yb3dzIGdyb3VwIGJ5IGdyb3VwZWRTZWxlY3RSb3cuZ3JvdXBcIlxuICAgICAgICAgICAgICAgICAgdmFsdWU9XCIkaW5kZXhcIj5cbiAgICAgICAgICAgICAgICAgIDxzcGFuIGNsYXNzPVwiZHJvcGRvd24taGVhZGVyXCI+XG4gICAgICAgICAgICAgICAgICAgIHt7Z3JvdXBlZFNlbGVjdFJvdy5ncm91cH19XG4gICAgICAgICAgICAgICAgICA8L3NwYW4+XG4gICAgICAgICAgICAgICAgICA8YT5cbiAgICAgICAgICAgICAgICAgICAgPHNwYW4+XG4gICAgICAgICAgICAgICAgICAgICAge3tncm91cGVkU2VsZWN0Um93Lm9wdGlvbn19XG4gICAgICAgICAgICAgICAgICAgIDwvc3Bhbj5cbiAgICAgICAgICAgICAgICAgICAgPHNwYW4gY2xhc3M9XCJnbHlwaGljb24gZ2x5cGhpY29uLW9rIGNoZWNrLW1hcmtcIj5cbiAgICAgICAgICAgICAgICAgICAgPC9zcGFuPlxuICAgICAgICAgICAgICAgICAgPC9hPlxuICAgICAgICAgICAgICAgIDwvbGk+XG4gICAgICAgICAgICAgIDwvb2w+XG4gICAgICAgICAgICAgIDxwIGNsYXNzPVwiaGVscC1ibG9ja1wiPlxuICAgICAgICAgICAgICAgIHt7JGN0cmwubnlhU2VsZWN0LnRlbXBvcnlDb25maWcuZm9ybWx5RGVzY3JpcHRpb259fVxuICAgICAgICAgICAgICA8L3A+XG4gICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICA8L2Rpdj5c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b2wteHMtOSBjb2wtbWQtOSBjb2wtbGctOVwiPlxuICAgICAgICAgICAgICA8aW5wdXRcbiAgICAgICAgICAgICAgICB0eXBlPVwidGV4dFwiXG4gICAgICAgICAgICAgICAgY2xhc3M9XCJmb3JtLWNvbnRyb2xcIlxuICAgICAgICAgICAgICAgIGlkPVwiaW5wdXRBZGROZXdHcm91cGVkT3B0aW9uXCJcbiAgICAgICAgICAgICAgICBwbGFjZWhvbGRlcj1cInt7J0FERF9BX05FV19PUFRJT04nIHwgdHJhbnNsYXRlfX1cIlxuICAgICAgICAgICAgICAgIG5nLW1vZGVsPVwiJGN0cmwubmV3T3B0aW9uR3JvdXBlZFNlbGVjdC5zYWlzaWVcIj5cbiAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgPGRpdiBjbGFzcz1cImNvbC1zbS0zIGNvbC14cy0zIGNvbC1tZC0zIGNvbC1sZy0zXCI+XG4gICAgICAgICAgICAgIDxidXR0b25cbiAgICAgICAgICAgICAgICBjbGFzcz1cImJ0biBidG4tcHJpbWFyeVwiXG4gICAgICAgICAgICAgICAgbmctY2xpY2s9XCIkY3RybC5hZGROZXdPcHRpb25Hcm91cGVkU2VsZWN0KClcIj5cbiAgICAgICAgICAgICAgICB7eydBREQnIHwgdHJhbnNsYXRlfX1cbiAgICAgICAgICAgICAgPC9idXR0b24+XG4gICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgPC9kaXY+XG4gICAgICA8L2Rpdj5cbiAgICAgIDxkaXYgY2xhc3M9XCJyb3dcIj5cbiAgICAgICAgPGRpdiBjbGFzcz1cImNvbC1sZy0zIGNvbC1tZC0zXCI+XG4gICAgICAgICAgPGxhYmVsXG4gICAgICAgICAgICBmb3I9XCJncm91cGVkU2VsZWN0Um93Q29sbGVjdGlvblwiXG4gICAgICAgICAgICBjbGFzcz1cIiBjb250cm9sLWxhYmVsIGdyZXlUZXh0IGVkaXRQcm9wZXJ0aWVzTGFiZWxcIj5cbiAgICAgICAgICAgIHt7J0FERF9ORVdfR1JPVVBTJyB8IHRyYW5zbGF0ZX19IDpcbiAgICAgICAgICA8L2xhYmVsPlxuICAgICAgICA8L2Rpdj5cbiAgICAgIDwvZGl2PlxuICAgICAgPGRpdiBjbGFzcz1cInJvd1wiPlxuICAgICAgICA8ZGl2PlxuICAgICAgICAgIDxkaXYgY2xhc3M9XCJmb3JtLWdyb3VwXCI+XG4gICAgICAgICAgICA8ZGl2IGNsYXNzPVwiY29sLXNtLTkgY29sLXhzLTkgY29sLW1kLTkgY29sLWxnLTlcIj5cbiAgICAgICAgICAgICAgPGlucHV0XG4gICAgICAgICAgICAgICAgaWQ9XCJpbnB1dEFkZE5ld0dyb3VwR3JvdXBlZE9wdGlvblwiXG4gICAgICAgICAgICAgICAgdHlwZT1cInRleHRcIlxuICAgICAgICAgICAgICAgIGNsYXNzPVwiZm9ybS1jb250cm9sXCJcbiAgICAgICAgICAgICAgICBuZy1tb2RlbD1cIiRjdHJsLm5ld0dyb3VwR3JvdXBlZFNlbGVjdC5zYWlzaWVcIiBpZD1cImlucHV0VGV4dExhYmVsVXBkYXRlR3JvdXBlZFNlbGVjdFwiXG4gICAgICAgICAgICAgICAgcGxhY2Vob2xkZXI9XCJ7eydBRERfQV9ORVdfR1JPVVAnIHwgdHJhbnNsYXRlfX1cIj5cbiAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgPGRpdiBjbGFzcz1cImNvbC1zbS0zIGNvbC14cy0zIGNvbC1tZC0zIGNvbC1sZy0zXCI+XG4gICAgICAgICAgICAgIDxidXR0b25cbiAgICAgICAgICAgICAgICBjbGFzcz1cImJ0biBidG4tcHJpbWFyeVwiXG4gICAgICAgICAgICAgICAgbmctY2xpY2s9XCIkY3RybC5hZGROZXdHcm91cFRvR3JvdXBlZFNlbGVjdCgpXCI+XG4gICAgICAgICAgICAgICAge3snQUREJyB8IHRyYW5zbGF0ZX19XG4gICAgICAgICAgICAgIDwvYnV0dG9uPlxuICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgPC9kaXY+XG4gICAgICAgIDwvZGl2PlxuICAgICAgPC9kaXY+XG4gICAgICA8ZGl2IGNsYXNzPVwicm93XCI+XG4gICAgICAgIDxkaXYgY2xhc3M9XCJjb2wtbGctMyBjb2wtbWQtM1wiPlxuICAgICAgICAgIDxsYWJlbCAgY2xhc3M9XCIgY29udHJvbC1sYWJlbCBncmV5VGV4dCBlZGl0UHJvcGVydGllc0xhYmVsXCI+XG4gICAgICAgICAgICB7eydFRElUX0dST1VQU19PUFRJT05TJyB8IHRyYW5zbGF0ZX19IDpcbiAgICAgICAgICA8L2xhYmVsPlxuICAgICAgICA8L2Rpdj5cbiAgICAgIDwvZGl2PlxuICAgICAgPGRpdiBjbGFzcz1cInJvd1wiPlxuICAgICAgICA8ZGl2IGNsYXNzPVwiZm9ybS1ncm91cFwiPlxuICAgICAgICAgIDxkaXYgY2xhc3M9XCJjb2wtbGctMTIgY29sLW1kLTEyIGNvbC1zbS0xMiBjb2wteHMtMTJcIj5cbiAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJjb250YWluZXJcIj5cbiAgICAgICAgICAgICAgPGRpdiBuZy1pZj1cIiRjdHJsLmdyb3VwZWRTZWxlY3RSb3dDb2xsZWN0aW9uLnJvd3MubGVuZ3RoID09PSAwXCI+XG4gICAgICAgICAgICAgICAgPGg1IGNsYXNzPVwidGV4dC1jZW50ZXIgZ3JleVRleHRcIj5cbiAgICAgICAgICAgICAgICAgIDxlbT5cbiAgICAgICAgICAgICAgICAgICAgLSB7eydOT19PUFRJT05fQUREX05FVycgfCB0cmFuc2xhdGV9fSAtXG4gICAgICAgICAgICAgICAgICA8L2VtPlxuICAgICAgICAgICAgICAgIDwvaDU+XG4gICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgICA8dGFibGVcbiAgICAgICAgICAgICAgICBuZy1pZj1cIiRjdHJsLmdyb3VwZWRTZWxlY3RSb3dDb2xsZWN0aW9uLnJvd3MubGVuZ3RoID4gMFwiXG4gICAgICAgICAgICAgICAgY2xhc3M9XCJ0YWJsZSB0YWJsZS1zdHJpcGVkXCI+XG4gICAgICAgICAgICAgICAgPHRoZWFkPlxuICAgICAgICAgICAgICAgICAgPHRyPlxuICAgICAgICAgICAgICAgICAgICA8dGggc3QtcmF0aW89XCIyMFwiPlxuICAgICAgICAgICAgICAgICAgICAgIHt7J09SREVSJyB8IHRyYW5zbGF0ZX19XG4gICAgICAgICAgICAgICAgICAgIDwvdGg+XG4gICAgICAgICAgICAgICAgICAgIDx0aCBzdC1yYXRpbz1cIjI1XCI+XG4gICAgICAgICAgICAgICAgICAgICAge3snR1JPVVAnIHwgdHJhbnNsYXRlfX1cbiAgICAgICAgICAgICAgICAgICAgPC90aD5cbiAgICAgICAgICAgICAgICAgICAgPHRoIHN0LXJhdGlvPVwiMzBcIj5cbiAgICAgICAgICAgICAgICAgICAgICB7eydPUFRJT04nIHwgdHJhbnNsYXRlfX1cbiAgICAgICAgICAgICAgICAgICAgPC90aD5cbiAgICAgICAgICAgICAgICAgICAgPHRoIHN0LXJhdGlvPVwiMjVcIj5cbiAgICAgICAgICAgICAgICAgICAgPC90aD5cbiAgICAgICAgICAgICAgICAgIDwvdHI+XG4gICAgICAgICAgICAgICAgICA8dHI+XG4gICAgICAgICAgICAgICAgICAgIDx0aCBzdC1yYXRpbz1cIjIwXCI+XG4gICAgICAgICAgICAgICAgICAgIDwvdGg+XG4gICAgICAgICAgICAgICAgICAgIDx0aCBzdC1yYXRpbz1cIjI1XCI+XG4gICAgICAgICAgICAgICAgICAgIDwvdGg+XG4gICAgICAgICAgICAgICAgICAgIDx0aCBzdC1yYXRpbz1cIjMwXCI+XG4gICAgICAgICAgICAgICAgICAgICAgPGlucHV0XG4gICAgICAgICAgICAgICAgICAgICAgICBuZy1tb2RlbD1cIiRjdHJsLmdyb3VwZWRTZWxlY3RGaWx0ZXJcIlxuICAgICAgICAgICAgICAgICAgICAgICAgcGxhY2Vob2xkZXI9XCJ7eydTRUFSQ0hfNF9PUFRJT04nIHwgdHJhbnNsYXRlfX1cIlxuICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3M9XCJpbnB1dC1zbSBmb3JtLWNvbnRyb2xcIlxuICAgICAgICAgICAgICAgICAgICAgICAgdHlwZT1cInNlYXJjaFwiXG4gICAgICAgICAgICAgICAgICAgICAgLz5cbiAgICAgICAgICAgICAgICAgICAgPC90aD5cbiAgICAgICAgICAgICAgICAgICAgPHRoIHN0LXJhdGlvPVwiMjVcIj5cbiAgICAgICAgICAgICAgICAgICAgPC90aD5cbiAgICAgICAgICAgICAgICAgIDwvdHI+XG4gICAgICAgICAgICAgICAgICA8L3RoZWFkPlxuICAgICAgICAgICAgICAgICAgPHRib2R5PlxuICAgICAgICAgICAgICAgICAgPHRyIG5nLXJlcGVhdD1cImdyb3VwZWRTZWxlY3RSb3cgaW4gJGN0cmwuZ3JvdXBlZFNlbGVjdFJvd0NvbGxlY3Rpb24ucm93cyB8IGZpbHRlcjokY3RybC5ncm91cGVkU2VsZWN0RmlsdGVyIGFzIGdyb3VwZWRTZWxlY3RSb3dcIj5cbiAgICAgICAgICAgICAgICAgICAgPHRkIHN0LXJhdGlvPVwiMjBcIj5cbiAgICAgICAgICAgICAgICAgICAgICB7eyRpbmRleH19XG4gICAgICAgICAgICAgICAgICAgIDwvdGQ+XG4gICAgICAgICAgICAgICAgICAgIDx0ZCBzdC1yYXRpbz1cIjI1XCI+XG4gICAgICAgICAgICAgICAgICAgICAgPGRpdiBuZy1pZj1cIiRjdHJsLmdyb3VwU2VsZWN0R3JvdXBDbGljay5zaG93TGlzdCA9PT0gdHJ1ZVwiPlxuICAgICAgICAgICAgICAgICAgICAgICAgPGRpdiBuZy1pZj1cIiRjdHJsLmdyb3VwZWRTZWxlY3RHcm91cHMubGlzdC5sZW5ndGggPT09IDBcIj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgPHAgY2xhc3M9XCJ0ZXh0LWxlZnQgbm9Hcm91cFRleHRcIj4tIHt7J05PX0dST1VQX0FERF9ORVcnIHwgdHJhbnNsYXRlfX0gLTwvcD5cbiAgICAgICAgICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgICAgICAgICAgICAgPGRpdiBuZy1pZj1cIiRjdHJsLmdyb3VwZWRTZWxlY3RHcm91cHMubGlzdC5sZW5ndGggPiAwXCI+XG4gICAgICAgICAgICAgICAgICAgICAgICAgIDxvbFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNsYXNzPVwibnlhLWJzLXNlbGVjdCBjb2wtc20tMTIgY29sLXhzLTEyIGNvbC1tZC0xMiBjb2wtbGcxMiBlZGl0R3JvdXBlZFNlbGVjdG55YVNlbGVjdFwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgbmctbW9kZWw9XCJncm91cGVkU2VsZWN0Um93Lmdyb3VwXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZD1cIm1vZGVsR3JvdXBlZE9wdGlvbkdyb3VwZWRDaG9vc2VcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGRpc2FibGVkPVwiJGN0cmwuZ3JvdXBlZFNlbGVjdEdyb3Vwcy5saXN0Lmxlbmd0aCA9PT0gMFwiPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxsaVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3M9XCJueWEtYnMtb3B0aW9uXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIG55YS1icy1vcHRpb249XCJHcm91cGVkU2VsZWN0R3JvdXAgaW4gJGN0cmwuZ3JvdXBlZFNlbGVjdEdyb3Vwcy5saXN0XCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHZhbHVlPVwiR3JvdXBlZFNlbGVjdEdyb3VwXCI+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8YT57e0dyb3VwZWRTZWxlY3RHcm91cH19PC9hPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvbGk+XG4gICAgICAgICAgICAgICAgICAgICAgICAgIDwvb2w+XG4gICAgICAgICAgICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgICAgICAgICAgICA8ZGl2IG5nLWlmPVwiJGN0cmwuZ3JvdXBTZWxlY3RHcm91cENsaWNrLnNob3dMaXN0ID09PSBmYWxzZVwiPlxuICAgICAgICAgICAgICAgICAgICAgICAge3tncm91cGVkU2VsZWN0Um93Lmdyb3VwfX1cbiAgICAgICAgICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgICAgICAgICAgPC90ZD5cbiAgICAgICAgICAgICAgICAgICAgPHRkIHN0LXJhdGlvPVwiMzBcIj5cbiAgICAgICAgICAgICAgICAgICAgICB7e2dyb3VwZWRTZWxlY3RSb3cub3B0aW9ufX1cbiAgICAgICAgICAgICAgICAgICAgPC90ZD5cbiAgICAgICAgICAgICAgICAgICAgPHRkIHN0LXJhdGlvPVwiMjVcIj5cbiAgICAgICAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwicHVsbC1yaWdodFwiPlxuICAgICAgICAgICAgICAgICAgICAgICAgPGJ1dHRvblxuICAgICAgICAgICAgICAgICAgICAgICAgICBjbGFzcz1cImJ0biBidG4tcHJpbWFyeVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgIG5nLWNsaWNrPVwiJGN0cmwudXBUaGlzR3JvdXBlZFNlbGVjdFJvdyh7aW5kZXg6ICRpbmRleH0pXCI+XG4gICAgICAgICAgICAgICAgICAgICAgICAgIDxpIGNsYXNzPVwiZmEgZmEtYXJyb3ctdXBcIj48L2k+XG4gICAgICAgICAgICAgICAgICAgICAgICA8L2J1dHRvbj5cbiAgICAgICAgICAgICAgICAgICAgICAgIDxidXR0b25cbiAgICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3M9XCJidG4gYnRuLXByaW1hcnlcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICBuZy1jbGljaz1cIiRjdHJsLmRvd25UaGlzR3JvdXBlZFNlbGVjdFJvdyh7aW5kZXg6ICRpbmRleH0pXCI+XG4gICAgICAgICAgICAgICAgICAgICAgICAgIDxpIGNsYXNzPVwiZmEgZmEtYXJyb3ctZG93blwiPjwvaT5cbiAgICAgICAgICAgICAgICAgICAgICAgIDwvYnV0dG9uPlxuICAgICAgICAgICAgICAgICAgICAgICAgPGJ1dHRvblxuICAgICAgICAgICAgICAgICAgICAgICAgICBjbGFzcz1cImJ0biBidG4td2FybmluZ1wiXG4gICAgICAgICAgICAgICAgICAgICAgICAgIG5nLWNsaWNrPVwiJGN0cmwuc2hvd0dyb3VwTGlzdFRvQ2hvb3NlKClcIj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgPGkgY2xhc3M9XCJmYSBmYS1wZW5jaWwtc3F1YXJlLW9cIj48L2k+XG4gICAgICAgICAgICAgICAgICAgICAgICA8L2J1dHRvbj5cbiAgICAgICAgICAgICAgICAgICAgICAgIDxidXR0b25cbiAgICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3M9XCJidG4gYnRuLWRhbmdlclwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgIG5nLWNsaWNrPVwiJGN0cmwucmVtb3ZlR3JvdXBlZFNlbGVjdFJvdyh7aW5kZXg6ICRpbmRleH0pXCI+XG4gICAgICAgICAgICAgICAgICAgICAgICAgIDxpIGNsYXNzPVwiZmEgZmEtdHJhc2gtb1wiPjwvaT5cbiAgICAgICAgICAgICAgICAgICAgICAgIDwvYnV0dG9uPlxuICAgICAgICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgICAgICAgICA8L3RkPlxuICAgICAgICAgICAgICAgICAgPC90cj5cbiAgICAgICAgICAgICAgICA8L3Rib2R5PlxuICAgICAgICAgICAgICA8L3RhYmxlPlxuICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgPC9kaXY+XG4gICAgICAgIDwvZGl2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AgICcmJyxcbiAgICBkb3duVGhpc0dyb3VwZWRTZWxlY3RSb3c6ICAgJyYnLFxuICAgIHNob3dHcm91cExpc3RUb0Nob29zZTogICAgICAnJicsXG4gICAgcmVtb3ZlR3JvdXBlZFNlbGVjdFJvdzogICAgICcmJ1xuICB9LFxuICBjb250cm9sbGVyICAgIDpcbiAgY2xhc3MgZWRpdEdyb3VwZWRTZWxlY3RDb250cm9sQ29udHJvbGxlciB7XG4gICAgc3RhdGljICRpbmplY3QgPSBbXTtcblxuICAgIGNvbnN0cnVjdG9yKCkge1xuXG4gICAgfVxuICB9XG59O1xuXG5jb25zdCBlZGl0R3JvdXBlZFNlbGVjdE1vZHVsZU5hbWUgPSAnc3RlcHdheS5lZGl0R3JvdXBlZFNlbGVjdC5tb2R1bGUnO1xuXG5leHBvcnQgZGVmYXVsdCBhbmd1bGFyXG4gICAgICAgICAgICAgICAgLm1vZHVsZShlZGl0R3JvdXBlZFNlbGVjdE1vZHVsZU5hbWUsIFtdKVxuICAgICAgICAgICAgICAgIC5jb21wb25lbnQoRURJVF9HUk9VUEVEX1NFTEVDVF9DT01QT05FTlQsIGVkaXRHcm91cGVkU2VsZWN0Q29udHJvbENvbXBvbmVudCk7XG5cblxuXG4vLyBXRUJQQUNLIEZPT1RFUiAvL1xuLy8gLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9jb250cm9scy9ncm91cGVkU2VsZWN0L2VkaXRHcm91cGVkU2VsZWN0L2VkaXRHcm91cGVkU2VsZWN0LmNvbXBvbmVudC5qcyJdLCJzb3VyY2VSb290IjoiIn0=");
|
||
|
||
/***/ },
|
||
/* 77 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar HeaderConfig = exports.HeaderConfig = {\n id: 'Header',\n name: 'Header',\n subtitle: 'no control',\n group: 'Decoration',\n formlyType: 'header',\n formlySubtype: '',\n formlyLabel: '',\n formlyRequired: false,\n formlyDescription: '',\n formlyOptions: [],\n formlyExpressionProperties: {},\n formlyValidators: {},\n formlyValidation: {}\n};//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9jb250cm9scy9oZWFkZXIvY29uZmlnL2hlYWRlci5jb25maWcuanM/NDBmZSJdLCJuYW1lcyI6WyJIZWFkZXJDb25maWciLCJpZCIsIm5hbWUiLCJzdWJ0aXRsZSIsImdyb3VwIiwiZm9ybWx5VHlwZSIsImZvcm1seVN1YnR5cGUiLCJmb3JtbHlMYWJlbCIsImZvcm1seVJlcXVpcmVkIiwiZm9ybWx5RGVzY3JpcHRpb24iLCJmb3JtbHlPcHRpb25zIiwiZm9ybWx5RXhwcmVzc2lvblByb3BlcnRpZXMiLCJmb3JtbHlWYWxpZGF0b3JzIiwiZm9ybWx5VmFsaWRhdGlvbiJdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBTyxJQUFNQSxzQ0FBZTtBQUMxQkMsTUFBSSxRQURzQjtBQUUxQkMsUUFBTSxRQUZvQjtBQUcxQkMsWUFBVSxZQUhnQjtBQUkxQkMsU0FBTyxZQUptQjtBQUsxQkMsY0FBWSxRQUxjO0FBTTFCQyxpQkFBZSxFQU5XO0FBTzFCQyxlQUFhLEVBUGE7QUFRMUJDLGtCQUFnQixLQVJVO0FBUzFCQyxxQkFBbUIsRUFUTztBQVUxQkMsaUJBQWUsRUFWVztBQVcxQkMsOEJBQTRCLEVBWEY7QUFZMUJDLG9CQUFrQixFQVpRO0FBYTFCQyxvQkFBa0I7QUFiUSxDQUFyQiIsImZpbGUiOiI3Ny5qcyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBjb25zdCBIZWFkZXJDb25maWcgPSB7XG4gIGlkOiAnSGVhZGVyJyxcbiAgbmFtZTogJ0hlYWRlcicsXG4gIHN1YnRpdGxlOiAnbm8gY29udHJvbCcsXG4gIGdyb3VwOiAnRGVjb3JhdGlvbicsXG4gIGZvcm1seVR5cGU6ICdoZWFkZXInLFxuICBmb3JtbHlTdWJ0eXBlOiAnJyxcbiAgZm9ybWx5TGFiZWw6ICcnLFxuICBmb3JtbHlSZXF1aXJlZDogZmFsc2UsXG4gIGZvcm1seURlc2NyaXB0aW9uOiAnJyxcbiAgZm9ybWx5T3B0aW9uczogW10gLFxuICBmb3JtbHlFeHByZXNzaW9uUHJvcGVydGllczoge30sXG4gIGZvcm1seVZhbGlkYXRvcnM6IHt9LFxuICBmb3JtbHlWYWxpZGF0aW9uOiB7fVxufTtcblxuXG5cbi8vIFdFQlBBQ0sgRk9PVEVSIC8vXG4vLyAuL3NyYy9hcHAvc3RlcHdheS9jb21wb25lbnRzL2NvbnRyb2xzL2hlYWRlci9jb25maWcvaGVhZGVyLmNvbmZpZy5qcyJdLCJzb3VyY2VSb290IjoiIn0=");
|
||
|
||
/***/ },
|
||
/* 78 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _class, _temp;\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar EDIT_HEADER_CONTROL_COMPONENT = exports.EDIT_HEADER_CONTROL_COMPONENT = 'editHeaderControl';\n\nvar editHeaderControlComponent = exports.editHeaderControlComponent = {\n template: '\\n <div class=\"panel panel-default\">\\n <div class=\"panel-body\">\\n <div class=\"row\">\\n <div class=\"col-md-12\">\\n <h5 class=\"greyText\"><i class=\"fa fa-eye\"></i>\\n \\n {{\\'PREVIEW_TAB\\' | translate}} :\\n </h5>\\n </div>\\n </div>\\n <hr/>\\n <div class=\"row\">\\n <div class=\"col-md-12\">\\n <div class=\"form-group\">\\n <div class=\"\">\\n <h2 class=\"text-center\">\\n {{$ctrl.nyaSelect.temporyConfig.formlyPlaceholder}}\\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 \\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=\"inputHeaderTextUpdate\"\\n class=\"col-lg-3 control-label greyText editPropertiesLabel\">\\n {{\\'HEADER_TEXT\\' | translate}} :\\n </label>\\n <div class=\"col-lg-9\">\\n <input\\n type=\"text\"\\n class=\"form-control\"\\n ng-model=\"$ctrl.nyaSelect.temporyConfig.formlyPlaceholder\"\\n id=\"inputHeaderTextUpdate\"\\n placeholder=\"{{\\'ADD_EDIT_HEADER_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=\"inputTextDescriptionUpdate\"\\n class=\"col-lg-3 control-label greyText editPropertiesLabel\">\\n {{\\'DESCRIPTION\\' | translate}} :\\n </label>\\n <div class=\"col-lg-9\">\\n <input\\n type=\"text\"\\n class=\"form-control\"\\n ng-model=\"$ctrl.nyaSelect.temporyConfig.formlyDescription\"\\n id=\"inputTextDescriptionUpdate\"\\n placeholder=\"{{\\'ADDEDIT_DESCRIPTION\\' | translate}}\">\\n </div>\\n </div>\\n </div>\\n </div>\\n </div>\\n ',\n bindings: {\n nyaSelect: '='\n },\n controller: (_temp = _class = function editHeaderControlController() {\n //\n\n _classCallCheck(this, editHeaderControlController);\n }, _class.$inject = [], _temp)\n};\n\nvar editHeaderControlModuleName = 'stepway.editHeaderControl.module';\n\nexports.default = angular.module(editHeaderControlModuleName, []).component(EDIT_HEADER_CONTROL_COMPONENT, editHeaderControlComponent);//# sourceMappingURL=data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cyBlZGl0SGVhZGVyQ29udHJvbENvbnRyb2xsZXIge1xuICAgIHN0YXRpYyAkaW5qZWN0ID0gW107XG5cbiAgICBjb25zdHJ1Y3RvcigpIHtcbiAgICAgIC8vXG4gICAgfVxuICB9XG59O1xuXG5jb25zdCBlZGl0SGVhZGVyQ29udHJvbE1vZHVsZU5hbWUgPSAnc3RlcHdheS5lZGl0SGVhZGVyQ29udHJvbC5tb2R1bGUnO1xuXG5leHBvcnQgZGVmYXVsdCBhbmd1bGFyXG4gICAgICAgICAgICAgICAgLm1vZHVsZShlZGl0SGVhZGVyQ29udHJvbE1vZHVsZU5hbWUsIFtdKVxuICAgICAgICAgICAgICAgIC5jb21wb25lbnQoRURJVF9IRUFERVJfQ09OVFJPTF9DT01QT05FTlQsIGVkaXRIZWFkZXJDb250cm9sQ29tcG9uZW50KTtcblxuXG4vLyBXRUJQQUNLIEZPT1RFUiAvL1xuLy8gLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9jb250cm9scy9oZWFkZXIvZWRpdEhlYWRlci9lZGl0SGVhZGVyQ29udHJvbC5jb21wb25lbnQuanMiXSwic291cmNlUm9vdCI6IiJ9");
|
||
|
||
/***/ },
|
||
/* 79 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar PasswordConfig = exports.PasswordConfig = {\n id: 'Password',\n name: 'Password',\n subtitle: 'Password',\n group: 'input',\n formlyType: 'input',\n formlySubtype: 'password',\n formlyLabel: '',\n formlyRequired: false,\n formlyDescription: '',\n formlyOptions: [],\n formlyExpressionProperties: {},\n formlyValidators: {},\n formlyValidation: {\n messages: {\n required: function required(viewValue, modelValue, scope) {\n var defaultReturnMsg = 'this Password field is required';\n var returnMsg = typeof scope.to.label !== 'undefined' ? scope.to.label !== '' ? scope.to.label + ' is required' : defaultReturnMsg : defaultReturnMsg;\n return returnMsg;\n }\n }\n }\n};//# sourceMappingURL=data:application/json;charset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5sYWJlbCAhPT0gJ3VuZGVmaW5lZCcpID8gKChzY29wZS50by5sYWJlbCAhPT0gJycpID8gc2NvcGUudG8ubGFiZWwgKyAnIGlzIHJlcXVpcmVkJyA6IGRlZmF1bHRSZXR1cm5Nc2cpIDogZGVmYXVsdFJldHVybk1zZztcbiAgICAgICAgcmV0dXJuIHJldHVybk1zZztcbiAgICAgIH1cbiAgICB9XG4gIH1cbn07XG5cblxuXG4vLyBXRUJQQUNLIEZPT1RFUiAvL1xuLy8gLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9jb250cm9scy9wYXNzd29yZC9jb25maWcvcGFzc3dvcmQuY29uZmlnLmpzIl0sInNvdXJjZVJvb3QiOiIifQ==");
|
||
|
||
/***/ },
|
||
/* 80 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _class, _temp;\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar EDIT_PASSWORD_CONTROL_COMPONENT = exports.EDIT_PASSWORD_CONTROL_COMPONENT = 'editPasswordControl';\n\nvar editPasswordControlComponent = exports.editPasswordControlComponent = {\n template: '\\n <div class=\"panel panel-default\">\\n <div class=\"panel-body\">\\n <div class=\"row\">\\n <div class=\"col-md-12\">\\n <h5 class=\"greyText\">\\n <i class=\"fa fa-eye\"></i>\\n \\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 {{$ctrl.nyaSelect.temporyConfig.formlyLabel}}\\n <span\\n ng-if=\"$ctrl.nyaSelect.temporyConfig.formlyRequired\"\\n class=\"textControlLabel\">\\n *\\n </span>\\n </label>\\n <div class=\"\">\\n <input\\n type=\"password\"\\n class=\"form-control\"\\n id=\"inputPassword\"\\n placeholder=\"{{$ctrl.nyaSelect.temporyConfig.formlyPlaceholder}}\">\\n <p class=\"help-block\">\\n {{$ctrl.nyaSelect.temporyConfig.formlyDescription}}\\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 \\n {{\\'EDIT_PROPERTIES\\' | translate}} :\\n </h5>\\n </div>\\n </div>\\n <hr/>\\n <div class=\"row\">\\n <div class=\"form-group\">\\n <label\\n for=\"inputTextLabelUpdate\"\\n class=\"col-lg-3 control-label greyText editPropertiesLabel\">\\n {{\\'LABEL_TEXT\\' | translate}} :\\n </label>\\n <div class=\"col-lg-9\">\\n <input\\n type=\"text\"\\n class=\"form-control\"\\n ng-model=\"$ctrl.nyaSelect.temporyConfig.formlyLabel\"\\n id=\"inputTextLabelUpdate\"\\n placeholder=\"{{\\'ADD_EDIT_LABEL_HERE\\' | translate}}\">\\n </div>\\n </div>\\n </div>\\n <div class=\"marginTopFivepixels\"></div>\\n <div class=\"row\">\\n <div class=\"form-group\">\\n <label\\n for=\"inputTextplaceholderUpdate\"\\n class=\"col-lg-3 control-label greyText editPropertiesLabel\">\\n {{\\'PLACEHOLDER\\' | translate}} :\\n </label>\\n <div class=\"col-lg-9\">\\n <input\\n type=\"text\"\\n class=\"form-control\"\\n ng-model=\"$ctrl.nyaSelect.temporyConfig.formlyPlaceholder\"\\n id=\"inputTextplaceholderUpdate\"\\n placeholder=\"{{\\'ADD_EDIT_PLACEHOLD\\' | translate}}\">\\n </div>\\n </div>\\n </div>\\n <div class=\"marginTopFivepixels\"></div>\\n <div class=\"row\">\\n <div class=\"form-group\">\\n <label\\n for=\"inputTextRequiredUpdate\"\\n class=\"col-lg-3 control-label greyText editPropertiesLabel\">\\n {{\\'REQUIRED\\' | translate}} :\\n </label>\\n <div class=\"col-lg-9\">\\n <div class=\"checkboxCssCorrection\">\\n \\n </div>\\n <input\\n type=\"checkbox\"\\n ng-model=\"$ctrl.nyaSelect.temporyConfig.formlyRequired\"\\n id=\"inputTextRequiredUpdate\">\\n </div>\\n </div>\\n </div>\\n <div class=\"marginTopFivepixels\"></div>\\n <div class=\"row\">\\n <div class=\"form-group\">\\n <label\\n for=\"inputTextDescriptionUpdate\"\\n class=\"col-lg-3 control-label greyText editPropertiesLabel\">\\n {{\\'DESCRIPTION\\' | translate}} :\\n </label>\\n <div class=\"col-lg-9\">\\n <input\\n type=\"text\"\\n class=\"form-control\"\\n ng-model=\"$ctrl.nyaSelect.temporyConfig.formlyDescription\"\\n id=\"inputTextDescriptionUpdate\"\\n placeholder=\"{{\\'ADDEDIT_DESCRIPTION\\' | translate}}\">\\n </div>\\n </div>\\n </div>\\n </div>\\n </div>\\n ',\n bindings: {\n nyaSelect: '='\n },\n controller: (_temp = _class = function editPasswordControlController() {\n //\n\n _classCallCheck(this, editPasswordControlController);\n }, _class.$inject = [], _temp)\n};\n\nvar editeditPasswordModuleName = 'stepway.editPasswordControl.module';\n\nexports.default = angular.module(editeditPasswordModuleName, []).component(EDIT_PASSWORD_CONTROL_COMPONENT, editPasswordControlComponent);//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9jb250cm9scy9wYXNzd29yZC9lZGl0UGFzc3dvcmQvZWRpdFBhc3N3b3JkLmNvbXBvbmVudC5qcz8zYjA2Il0sIm5hbWVzIjpbIkVESVRfUEFTU1dPUkRfQ09OVFJPTF9DT01QT05FTlQiLCJlZGl0UGFzc3dvcmRDb250cm9sQ29tcG9uZW50IiwidGVtcGxhdGUiLCJiaW5kaW5ncyIsIm55YVNlbGVjdCIsImNvbnRyb2xsZXIiLCIkaW5qZWN0IiwiZWRp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G4gICAgICAgICAgPC9oNT5cbiAgICAgICAgPC9kaXY+XG4gICAgICA8L2Rpdj5cbiAgICAgIDxoci8+XG4gICAgICA8ZGl2IGNsYXNzPVwicm93XCI+XG4gICAgICAgIDxkaXYgY2xhc3M9XCJjb2wtbWQtMTJcIj5cbiAgICAgICAgICA8ZGl2IGNsYXNzPVwiZm9ybS1ncm91cFwiPlxuICAgICAgICAgICAgPGxhYmVsXG4gICAgICAgICAgICAgIGZvcj1cImlucHV0UGFzc3dvcmRcIlxuICAgICAgICAgICAgICBjbGFzcz1cImNvbnRyb2wtbGFiZWwgdGV4dENvbnRyb2xMYWJlbFwiPlxuICAgICAgICAgICAgICB7eyRjdHJsLm55YVNlbGVjdC50ZW1wb3J5Q29uZmlnLmZvcm1seUxhYmVsfX1cbiAgICAgICAgICAgICAgPHNwYW5cbiAgICAgICAgICAgICAgICBuZy1pZj1cIiRjdHJsLm55YVNlbGVjdC50ZW1wb3J5Q29uZmlnLmZvcm1seVJlcXVpcmVkXCJcbiAgICAgICAgICAgICAgICBjbGFzcz1cInRleHRDb250cm9sTGFiZWxcIj5cbiAgICAgICAgICAgICAgICAqXG4gICAgICAgICAgICAgIDwvc3Bhbj5cbiAgICAgICAgICAgIDwvbGFiZWw+XG4gICAgICAgICAgICA8ZGl2IGNsYXNzPVwiXCI+XG4gICAgICAgICAgICAgIDxpbnB1dFxuICAgICAgICAgICAgICAgIHR5cGU9XCJwYXNzd29yZFwiXG4gICAgICAgICAgICAgICAgY2xhc3M9XCJmb3JtLWNvbnRyb2xcIlxuICAgICAgICAgICAgICAgIGlkPVwiaW5wdXRQYXNzd29yZFwiXG4gICAgICAgICAgICAgICAgcGxhY2Vob2xkZXI9XCJ7eyRjdHJsLm55YVNlbGVjdC50ZW1wb3J5Q29uZmlnLmZvcm1seVBsYWNlaG9sZGVyfX1cIj5cbiAgICAgICAgICAgICAgICA8cCBjbGFzcz1cImhlbHAtYmxvY2tcIj5cbiAgICAgICAgICAgICAgICAgIHt7J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uICAgIH1cbiAgfVxufTtcblxuY29uc3QgZWRpdGVkaXRQYXNzd29yZE1vZHVsZU5hbWUgPSAnc3RlcHdheS5lZGl0UGFzc3dvcmRDb250cm9sLm1vZHVsZSc7XG5cbmV4cG9ydCBkZWZhdWx0IGFuZ3VsYXJcbiAgICAgICAgICAgICAgICAubW9kdWxlKGVkaXRlZGl0UGFzc3dvcmRNb2R1bGVOYW1lLCBbXSlcbiAgICAgICAgICAgICAgICAuY29tcG9uZW50KEVESVRfUEFTU1dPUkRfQ09OVFJPTF9DT01QT05FTlQsIGVkaXRQYXNzd29yZENvbnRyb2xDb21wb25lbnQpO1xuXG5cblxuLy8gV0VCUEFDSyBGT09URVIgLy9cbi8vIC4vc3JjL2FwcC9zdGVwd2F5L2NvbXBvbmVudHMvY29udHJvbHMvcGFzc3dvcmQvZWRpdFBhc3N3b3JkL2VkaXRQYXNzd29yZC5jb21wb25lbnQuanMiXSwic291cmNlUm9vdCI6IiJ9");
|
||
|
||
/***/ },
|
||
/* 81 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar RadioConfig = exports.RadioConfig = {\n id: 'Radio',\n name: 'Radio',\n subtitle: 'Radio',\n options: [],\n group: 'Radio',\n formlyType: 'radio',\n formlySubtype: '',\n formlyLabel: '',\n formlyRequired: false,\n formlyDescription: '',\n formlyOptions: [],\n formlyExpressionProperties: {},\n formlyValidators: {},\n formlyValidation: {\n messages: {\n required: function required(viewValue, modelValue, scope) {\n //return a required validation message :\n //-> '<label as name> is required '\n //-> or if not exists or empty just 'this field is required'\n var defaultReturnMsg = 'this Password field is required';\n var returnMsg = typeof scope.to.label !== 'undefined' ? scope.to.label !== '' ? scope.to.label + ' is required' : defaultReturnMsg : defaultReturnMsg;\n return returnMsg;\n }\n }\n }\n};//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s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yIGlmIG5vdCBleGlzdHMgb3IgZW1wdHkganVzdCAndGhpcyBmaWVsZCBpcyByZXF1aXJlZCdcbiAgICAgICAgY29uc3QgZGVmYXVsdFJldHVybk1zZyA9ICd0aGlzIFBhc3N3b3JkIGZpZWxkIGlzIHJlcXVpcmVkJztcbiAgICAgICAgY29uc3QgcmV0dXJuTXNnID0gKHR5cGVvZiBzY29wZS50by5sYWJlbCAhPT0gJ3VuZGVmaW5lZCcpID8gKChzY29wZS50by5sYWJlbCAhPT0gJycpID8gc2NvcGUudG8ubGFiZWwgKyAnIGlzIHJlcXVpcmVkJyA6IGRlZmF1bHRSZXR1cm5Nc2cpIDogZGVmYXVsdFJldHVybk1zZztcbiAgICAgICAgcmV0dXJuIHJldHVybk1zZztcbiAgICAgIH1cbiAgICB9XG4gIH1cbn07XG5cblxuXG4vLyBXRUJQQUNLIEZPT1RFUiAvL1xuLy8gLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9jb250cm9scy9yYWRpby9jb25maWcvc3RlcHdheS5yYWRpby5jb25maWcuanMiXSwic291cmNlUm9vdCI6IiJ9");
|
||
|
||
/***/ },
|
||
/* 82 */
|
||
/***/ function(module, exports, __webpack_require__) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.editRadioControlComponent = exports.EDIT_RADIO_CONTROL_COMPONENT = 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; }; }();\n\nvar _stepwayEditRadioTemplate = __webpack_require__(83);\n\nvar _stepwayEditRadioTemplate2 = _interopRequireDefault(_stepwayEditRadioTemplate);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar EDIT_RADIO_CONTROL_COMPONENT = exports.EDIT_RADIO_CONTROL_COMPONENT = 'editRadioControl';\n\nvar editRadioControlComponent = exports.editRadioControlComponent = {\n template: _stepwayEditRadioTemplate2.default,\n bindings: {\n nyaSelect: '=',\n radioRowCollection: '=',\n newOptionRadio: '=',\n addNewOptionRadio: '&',\n upThisRadioRow: '&',\n downThisRadioRow: '&',\n removeRadioRow: '&'\n },\n controller: function () {\n function editRadioControlController() {\n //\n\n _classCallCheck(this, editRadioControlController);\n }\n\n _createClass(editRadioControlController, null, [{\n key: '$inject',\n get: function get() {\n return [];\n }\n }]);\n\n return editRadioControlController;\n }()\n};//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9jb250cm9scy9yYWRpby9lZGl0UmFkaW8vc3RlcHdheS5lZGl0UmFkaW8uY29tcG9uZW50LmpzPzQyODMiXSwibmFtZXMiOlsiRURJVF9SQURJT19DT05UUk9MX0NPTVBPTkVOVCIsImVkaXRSYWRpb0NvbnRyb2xDb21wb25lbnQiLCJ0ZW1wbGF0ZSIsImJpbmRpbmdzIiwibnlhU2VsZWN0IiwicmFkaW9Sb3dDb2xsZWN0aW9uIiwibmV3T3B0aW9uUmFkaW8iLCJhZGROZXdPcHRpb25SYWRpbyIsInVwVGhpc1JhZGlvUm93IiwiZG93blRoaXNSYWRpb1JvdyIsInJlbW92ZVJhZGlvUm93IiwiY29udHJvbGxlciJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7O0FBQUE7Ozs7Ozs7O0FBRU8sSUFBTUEsc0VBQStCLGtCQUFyQzs7QUFFQSxJQUFNQyxnRUFBNEI7QUF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yb2xsZXIge1xuICAgIGNvbnN0cnVjdG9yKCkge1xuICAgICAgLy9cbiAgICB9XG5cbiAgICBzdGF0aWMgZ2V0ICRpbmplY3QoKSB7XG4gICAgICByZXR1cm4gW107XG4gICAgfVxuICB9XG59O1xuXG5cblxuLy8gV0VCUEFDSyBGT09URVIgLy9cbi8vIC4vc3JjL2FwcC9zdGVwd2F5L2NvbXBvbmVudHMvY29udHJvbHMvcmFkaW8vZWRpdFJhZGlvL3N0ZXB3YXkuZWRpdFJhZGlvLmNvbXBvbmVudC5qcyJdLCJzb3VyY2VSb290IjoiIn0=");
|
||
|
||
/***/ },
|
||
/* 83 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("module.exports = \"<div class=\\\"panel panel-default\\\">\\n <div class=\\\"panel-body\\\">\\n <div class=\\\"row\\\">\\n <div class=\\\"col-md-12\\\">\\n <h5 class=\\\"greyText\\\">\\n <i class=\\\"fa fa-eye\\\"></i>\\n \\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 {{$ctrl.nyaSelect.temporyConfig.formlyLabel}}\\n <span\\n ng-if=\\\"$ctrl.nyaSelect.temporyConfig.formlyRequired\\\"\\n class=\\\"textControlLabel\\\">\\n *\\n </span>\\n </label>\\n <div class=\\\"\\\">\\n <div\\n class=\\\"radio\\\"\\n ng-repeat=\\\"radioRow in $ctrl.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 {{$ctrl.nyaSelect.temporyConfig.formlyDescription}}\\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 \\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=\\\"$ctrl.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=\\\"$ctrl.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=\\\"$ctrl.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=\\\"$ctrl.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=\\\"$ctrl.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 $ctrl.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=\\\"$ctrl.upThisRadioRow({index: $index})\\\">\\n <i class=\\\"fa fa-arrow-up\\\"></i>\\n </button>\\n <button\\n class=\\\"btn btn-primary\\\"\\n ng-click=\\\"$ctrl.downThisRadioRow({index: $index})\\\">\\n <i class=\\\"fa fa-arrow-down\\\"></i>\\n </button>\\n <button\\n class=\\\"btn btn-danger\\\"\\n ng-click=\\\"$ctrl.removeRadioRow({index: $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=\\\"$ctrl.nyaSelect.temporyConfig.formlyLabel\\\"\\n id=\\\"inputTextLabelUpdate\\\"\\n placeholder=\\\"{{'ADD_EDIT_LABEL_HERE' | translate}}\\\">\\n </div>\\n </div>\\n </div>\\n <div class=\\\"marginTopFivepixels\\\"></div>\\n <div class=\\\"row\\\">\\n <div class=\\\"form-group\\\">\\n <label\\n for=\\\"inputTextRequiredUpdate\\\"\\n class=\\\"col-lg-3 control-label greyText editPropertiesLabel\\\">{{'REQUIRED' | translate}} :\\n </label>\\n <div class=\\\"col-lg-9\\\">\\n <div class=\\\"checkboxCssCorrection\\\">\\n \\n </div>\\n <input\\n type=\\\"checkbox\\\"\\n ng-model=\\\"$ctrl.nyaSelect.temporyConfig.formlyRequired\\\"\\n id=\\\"inputTextRequiredUpdate\\\">\\n </div>\\n </div>\\n </div>\\n <div class=\\\"marginTopFivepixels\\\"></div>\\n <div class=\\\"row\\\">\\n <div class=\\\"form-group\\\">\\n <label\\n for=\\\"inputTextDescriptionUpdate\\\"\\n class=\\\"col-lg-3 control-label greyText editPropertiesLabel\\\">{{'DESCRIPTION' | translate}} :\\n </label>\\n <div class=\\\"col-lg-9\\\">\\n <input\\n type=\\\"text\\\"\\n class=\\\"form-control\\\"\\n ng-model=\\\"$ctrl.nyaSelect.temporyConfig.formlyDescription\\\"\\n id=\\\"inputTextDescriptionUpdate\\\"\\n placeholder=\\\"{{'ADDEDIT_DESCRIPTION' | translate}}\\\">\\n </div>\\n </div>\\n </div>\\n </div>\\n </div>\\n</div>\\n\"//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N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ZX19IDpcXG4gICAgICAgIDwvaDU+XFxuICAgICAgPC9kaXY+XFxuICAgIDwvZGl2PlxcbiAgICA8aHIvPlxcbiAgICA8ZGl2IGNsYXNzPVxcXCJyb3dcXFwiPlxcbiAgICAgIDxkaXYgY2xhc3M9XFxcImNvbC1tZC0xMlxcXCI+XFxuICAgICAgICA8ZGl2IGNsYXNzPVxcXCJmb3JtLWdyb3VwXFxcIj5cXG4gICAgICAgICAgPGxhYmVsXFxuICAgICAgICAgICAgZm9yPVxcXCJiYXNpY1NlbGVjdFxcXCJcXG4gICAgICAgICAgICBjbGFzcz1cXFwiY29udHJvbC1sYWJlbCB0ZXh0Q29udHJvbExhYmVsXFxcIj5cXG4gICAgICAgICAgICB7eyRjdHJsLm55YVNlbGVjdC50ZW1wb3J5Q29uZmlnLmZvcm1seUxhYmVsfX1cXG4gICAgICAgICAgICA8c3BhblxcbiAgICAgICAgICAgICAgbmctaWY9XFxcIiRjdHJsLm55YVNlbGVjdC50ZW1wb3J5Q29uZmlnLmZvcm1seVJlcXVpcmVkXFxcIlxcbiAgICAgICAgICAgICAgY2xhc3M9XFxcInRleHRDb250cm9sTGFiZWxcXFwiPlxcbiAgICAgICAgICAgICAgKlxcbiAgICAgICAgICAgIDwvc3Bhbj5cXG4gICAgICAgICAgPC9sYWJlbD5cXG4gICAgICAgICAgPGRpdiBjbGFzcz1cXFwiXFxcIj5cXG4gICAgICAgICAgICA8ZGl2XFxuICAgICAgICAgICAgICBjbGFzcz1cXFwicmFkaW9cXFwiXFxuICAgICAgICAgICAgICBuZy1yZXBlYXQ9XFxcInJhZGlvUm93IGluICRjdHJsLnJhZGlvUm93Q29sbGVjdGlvbi5yb3dzXFxcIj5cXG4gICAgICAgICAgICAgIDxsYWJlbD5cXG4gICAgICAgICAgICAgICAgPGlucHV0XFxuICAgICAgICAgICAgICAgICAgdHlwZT1cXFwicmFkaW9cXFwiXFxuICAgICAgICAgICAgICAgICAgbmFtZT1cXFwib3B0aW9uc1JhZGlvc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z1cXFwicm93XFxcIj5cXG4gICAgICA8ZGl2IGNsYXNzPVxcXCJjb2wtbGctMyBjb2wtbWQtM1xcXCI+XFxuICAgICAgICA8bGFiZWxcXG4gICAgICAgICAgZm9yPVxcXCJyYWRpb1Jvd0NvbGxlY3Rpb25cXFwiXFxuICAgICAgICAgIGNsYXNzPVxcXCIgY29udHJvbC1sYWJlbCBncmV5VGV4dCBlZGl0UHJvcGVydGllc0xhYmVsXFxcIj5cXG4gICAgICAgICAge3snQUREX05FV19SQURJTycgfCB0cmFuc2xhdGV9fSA6XFxuICAgICAgICA8L2xhYmVsPlxcbiAgICAgIDwvZGl2PlxcbiAgICA8L2Rpdj5cXG4gICAgPGRpdiBjbGFzcz1cXFwicm93XFxcIj5cXG4gICAgICA8ZGl2PlxcbiAgICAgICAgPGRpdiBjbGFzcz1cXFwiZm9ybS1ncm91cFxcXCI+XFxuICAgICAgICAgIDxkaXYgY2xhc3M9XFxcImNvbC1zbS05IGNvbC14cy05IGNvbC1tZC05IGNvbC1sZy05XFxcIj5cXG4gICAgICAgICAgICA8aW5wdXRcXG4gICAgICAgICAgICAgIHR5cGU9XFxcInRleHRcXFwiXFxuICAgICAgICAgICAgICBjbGFzcz1cXFwiZm9ybS1jb250cm9sXFxcIlxcbiAgICAgICAgICAgICAgaWQ9XFxcImlucHV0QWRkTmV3UmFkaW9PcHRpb25cXFwiXFxuICAgICAgICAgICAgICBwbGFjZWhvbGRlcj1cXFwie3snQUREX1JBRElPX1BMQUNFSE9MRCcgfCB0cmFuc2xhdGV9fVxcXCJcXG4gICAgICAgICAgICAgIG5nLW1vZGVsPVxcXCIkY3RybC5uZXdPcHRpb25SYWRpby5zYWlzaWVcXFwiPlxcbiAgICAgICAgICA8L2Rpdj5cXG4gICAgICAgICAgPGRpdiBjbGFzcz1cXFwiY29sLXNtLTMgY29sLXhzLTMgY29sLW1kLTMgY29sLWxnLTNcXFwiPlxcbiAgICAgICAgICAgIDxidXR0b25cXG4gICAgICAgICAgICAgI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udGVyIGdyZXlUZXh0XFxcIj5cXG4gICAgICAgICAgICAgICAgICA8ZW0+XFxuICAgICAgICAgICAgICAgICAgICAtIHt7J05PX1JBRElPX0FERF9ORVcnIHwgdHJhbnNsYXRlfX0gLVxcbiAgICAgICAgICAgICAgICAgIDwvZW0+XFxuICAgICAgICAgICAgICAgIDwvaDU+XFxuICAgICAgICAgICAgICA8L2Rpdj5cXG4gICAgICAgICAgICAgIDx0YWJsZVxcbiAgICAgICAgICAgICAgICBuZy1pZj1cXFwiJGN0cmwucmFkaW9Sb3dDb2xsZWN0aW9uLnJvd3MubGVuZ3RoID4gMFxcXCJcXG4gICAgICAgICAgICAgICAgY2xhc3M9XFxcInRhYmxlIHRhYmxlLXN0cmlwZWRcXFwiPlxcbiAgICAgICAgICAgICAgICA8dGhlYWQ+XFxuICAgICAgICAgICAgICAgIDx0cj5cXG4gICAgICAgICAgICAgICAgICA8dGggc3QtcmF0aW89XFxcIjIwXFxcIj5cXG4gICAgICAgICAgICAgICAgICAgIHt7J09SREVSJyB8IHRyYW5zbGF0ZX19XFxuICAgICAgICAgICAgICAgICAgPC90aD5cXG4gICAgICAgICAgICAgICAgICA8dGggc3QtcmF0aW89XFxcIjU1XFxcIj5cXG4gICAgICAgICAgICAgICAgICAgIHt7J09QVElPTicgfCB0cmFuc2xhdGV9fVxcbiAgICAgICAgICAgICAgICAgIDwvdGg+XFxuICAgICAgICAgICAgICAgICAgPHRoIHN0LXJhdGlvPVxcXCIyNVxcXCI+XFxuICAgICAgICAgICAgICAgICAgPC90aD5cXG4gICAgICAgICAgICAgICAgPC90cj5cXG4gICAgICAgICAgICAgICAgPHRyPlxcbiAgICAgICAgICAgICAgICAgIDx0aCBzdC1yYXRpbz1cXFwiMjBcXFwiPlxcbiAgICAgICAgICAgICAgICAgIDwvdGg+XFxuICAgICAgICAgICAgICAgICAgPHRoIHN0LXJhdGlvPVxcXCI1NVxcXCI+XFxuICAgICAgICAgICAgICAgICAgICA8aW5wdXRcXG4gICAgICAgICAgICAgICAgICAgICAgbmctbW9kZWw9XFxcIiRjdHJsLnJhZGlvRmlsdGVyXFxcIlxcbiAgICAgICAgICAgICAgICAgICAgICBwbGFjZWhvbGRlcj1cXFwie3snU0VBUkNIXzRfT1BUSU9OJyB8IHRyYW5zbGF0ZX19XFxcIlxcbiAgICAgICAgICAgICAgICAgICAgICBjbGFzcz1cXFwiaW5wdXQtc20gZm9ybS1jb250cm9sXFxcIlxcbiAgICAgICAgICAgICAgICAgICAgICB0eXBlPVxcXCJzZWFyY2hcXFwiXFxuICAgICAgICAgICAgICAgICAgICAvPlxcbiAgICAgICAgICAgICAgICAgIDwvdGg+XFxuICAgICAgICAgICAgICAgICAgPHRoIHN0LXJhdGlvPVxcXCIyNVxcXCI+XFxuICAgICAgICAgICAgICAgICAgPC90aD5cXG4gICAgICAgICAgICAgICAgPC90cj5cXG4gICAgICAgICAgICAgICAgPC90aGVhZD5cXG4gICAgICAgICAgICAgICAgPHRib2R5PlxcbiAgICAgICAgICAgICAgICAgIDx0ciBuZy1yZXBlYXQ9XFxcInJhZGlvUm93IGluICRjdHJsLnJhZGlvUm93Q29sbGVjdGlvbi5yb3dzIHwgZmlsdGVyOnJhZGlvRmlsdGVyIGFzIHJhZGlvUm93XFxcIj5cXG4gICAgICAgICAgICAgICAgICAgIDx0ZCBzdC1yYXRpbz1cXFwiMjBcXFwiPlxcbiAgICAgICAgICAgICAgICAgICAgICB7eyRpbmRleH19XFxuICAgICAgICAgICAgICAgICAgICA8L3RkPlxcbiAgICAgICAgICAgICAgICAgICAgPHRkIHN0LXJhdGlvPVxcXCI1NVxcXCI+XFxuICAgICAgICAgICAgICAgICAgICAgIHt7cmFkaW9Sb3cub3B0aW9ufX1cXG4gICAgICAgICAgICAgICAgICAgIDwvdGQ+XFxuICAgICAgICAgICAgICAgICAgICA8dGQgc3QtcmF0aW89XFxcIjI1XFxcIj5cXG4gICAgICAgICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cXFwicHVsbC1yaWdodFxcXCI+XFxuICAgICAgICAgICAgICAgICAgICAgICAgPGJ1dHRvblxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3M9XFxcImJ0biBidG4tcHJpbWFyeVxcXCJcXG4gICAgICAgICAgICAgICAgICAgICAgICAgIG5nLWNsaWNrPVxcXCIkY3RybC51cFRoaXNSYWRpb1Jvdyh7aW5kZXg6ICRpbmRleH0pXFxcIj5cXG4gICAgICAgICAgICAgICAgICAgICAgICAgIDxpIGNsYXNzPVxcXCJmYSBmYS1hcnJvdy11cFxcXCI+PC9pPlxcbiAgICAgICAgICAgICAgICAgICAgICAgIDwvYnV0dG9uPlxcbiAgICAgICAgICAgICAgICAgICAgICAgIDxidXR0b25cXG4gICAgICAgICAgICAgICAgICAgICAgICAgIGNsYXNzPVxcXCJidG4gYnRuLXByaW1hcnlcXFwiXFxuICAgICAgICAgICAgICAgICAgICAgICAgICBuZy1jbGljaz1cXFwiJGN0cmwuZG93blRoaXNSYWRpb1Jvdyh7aW5kZXg6ICRpbmRleH0pXFxcIj5cXG4gICAgICAgICAgICAgICAgICAgICAgICAgIDxpIGNsYXNzPVxcXCJmYSBmYS1hcnJvdy1kb3duXFxcIj48L2k+XFxuICAgICAgICAgICAgICAgICAgICAgICAgPC9idXR0b24+XFxuICAgICAgICAgICAgICAgICAgICAgICAgPGJ1dHRvblxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3M9XFxcImJ0biBidG4tZGFuZ2VyXFxcIlxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgbmctY2xpY2s9XFxcIiRjdHJsLnJlbW92ZVJhZGlvUm93KHtpbmRleDogJGluZGV4fSlcXFwiPlxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgPGkgY2xhc3M9XFxcImZhIGZhLXRyYXNoLW9cXFwiPjwvaT5cXG4gICAgICAgICAgICAgICAgICAgICAgICA8L2J1dHRvbj5cXG4gICAgICAgICAgICAgICAgICAgICAgPC9kaXY+XFxuICAgICAg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8udGVtcGxhdGUuaHRtbFxuLy8gbW9kdWxlIGlkID0gODNcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sInNvdXJjZVJvb3QiOiIifQ==");
|
||
|
||
/***/ },
|
||
/* 84 */
|
||
/***/ function(module, exports, __webpack_require__) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _stepwayEditRadio = __webpack_require__(82);\n\nvar editRadioControlModuleName = 'stepway.editRadioControl.module';\n\nexports.default = angular.module(editRadioControlModuleName, []).component(_stepwayEditRadio.EDIT_RADIO_CONTROL_COMPONENT, _stepwayEditRadio.editRadioControlComponent);//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9jb250cm9scy9yYWRpby9lZGl0UmFkaW8vc3RlcHdheS5lZGl0UmFkaW8ubW9kdWxlLmpzPzM5NGQiXSwibmFtZXMiOlsiZWRpdFJhZGlvQ29udHJvbE1vZHVsZU5hbWUiLCJhbmd1bGFyIiwibW9kdWxlIiwiY29tcG9uZW50Il0sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQTs7QUFLQSxJQUFNQSw2QkFBNkIsaUNBQW5DOztrQkFFZUMsUUFDRUMsTUFERixDQUNTRiwwQkFEVCxFQUNxQyxFQURyQyxFQUVFRyxTQUZGLDZGIiwiZmlsZSI6Ijg0LmpzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtcbiAgZWRpdFJhZGlvQ29udHJvbENvbXBvbmVudCxcbiAgRURJVF9SQURJT19DT05UUk9MX0NPTVBPTkVOVFxufSBmcm9tICcuL3N0ZXB3YXkuZWRpdFJhZGlvLmNvbXBvbmVudCc7XG5cbmNvbnN0IGVkaXRSYWRpb0NvbnRyb2xNb2R1bGVOYW1lID0gJ3N0ZXB3YXkuZWRpdFJhZGlvQ29udHJvbC5tb2R1bGUnO1xuXG5leHBvcnQgZGVmYXVsdCBhbmd1bGFyXG4gICAgICAgICAgICAgICAgLm1vZHVsZShlZGl0UmFkaW9Db250cm9sTW9kdWxlTmFtZSwgW10pXG4gICAgICAgICAgICAgICAgLmNvbXBvbmVudChFRElUX1JBRElPX0NPTlRST0xfQ09NUE9ORU5ULCBlZGl0UmFkaW9Db250cm9sQ29tcG9uZW50KTtcblxuXG5cbi8vIFdFQlBBQ0sgRk9PVEVSIC8vXG4vLyAuL3NyYy9hcHAvc3RlcHdheS9jb21wb25lbnRzL2NvbnRyb2xzL3JhZGlvL2VkaXRSYWRpby9zdGVwd2F5LmVkaXRSYWRpby5tb2R1bGUuanMiXSwic291cmNlUm9vdCI6IiJ9");
|
||
|
||
/***/ },
|
||
/* 85 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar RichTextEditorConfig = exports.RichTextEditorConfig = {\n id: 'RichTextEditor',\n name: 'RichTextEditor',\n subtitle: 'RichTextEditor',\n group: 'Textarea',\n formlyType: 'richEditor',\n formlySubtype: '',\n formlyLabel: '',\n formlyRequired: false,\n formlyDescription: '',\n formlyOptions: [],\n formlyExpressionProperties: {},\n formlyValidators: {},\n formlyValidation: {\n messages: {\n required: function required(viewValue, modelValue, scope) {\n //return a required validation message :\n //-> '<label as name> is required '\n //-> or if not exists or empty just 'this field is required'\n var defaultReturnMsg = 'this RichTextEditor field is required';\n var returnMsg = typeof scope.to.label !== 'undefined' ? scope.to.label !== '' ? scope.to.label + ' is required' : defaultReturnMsg : defaultReturnMsg;\n return returnMsg;\n }\n }\n }\n};//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9jb250cm9scy9yaWNoVGV4dEVkaXRvci9jb25maWcvc3RlcHdheS5ya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XMgcmVxdWlyZWQnXG4gICAgICAgIGNvbnN0IGRlZmF1bHRSZXR1cm5Nc2cgID0gJ3RoaXMgUmljaFRleHRFZGl0b3IgZmllbGQgaXMgcmVxdWlyZWQnO1xuICAgICAgICBjb25zdCByZXR1cm5Nc2cgICAgICAgICA9ICh0eXBlb2Ygc2NvcGUudG8ubGFiZWwgIT09ICd1bmRlZmluZWQnKSA/ICgoc2NvcGUudG8ubGFiZWwgIT09ICcnKSA/IHNjb3BlLnRvLmxhYmVsICsgJyBpcyByZXF1aXJlZCcgOiBkZWZhdWx0UmV0dXJuTXNnKSA6IGRlZmF1bHRSZXR1cm5Nc2c7XG4gICAgICAgIHJldHVybiByZXR1cm5Nc2c7XG4gICAgICB9XG4gICAgfVxuICB9XG59O1xuXG5cblxuLy8gV0VCUEFDSyBGT09URVIgLy9cbi8vIC4vc3JjL2FwcC9zdGVwd2F5L2NvbXBvbmVudHMvY29udHJvbHMvcmljaFRleHRFZGl0b3IvY29uZmlnL3N0ZXB3YXkucmljaFRleHRFZGl0b3IuY29uZmlnLmpzIl0sInNvdXJjZVJvb3QiOiIifQ==");
|
||
|
||
/***/ },
|
||
/* 86 */
|
||
/***/ function(module, exports, __webpack_require__) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.editRichTextEditorControlComponent = exports.EDIT_RICH_TEXT_EDITOR_COMPONENT = 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; }; }();\n\nvar _stepwayEditRichTextEditorTemplate = __webpack_require__(87);\n\nvar _stepwayEditRichTextEditorTemplate2 = _interopRequireDefault(_stepwayEditRichTextEditorTemplate);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar EDIT_RICH_TEXT_EDITOR_COMPONENT = exports.EDIT_RICH_TEXT_EDITOR_COMPONENT = 'editRichTextEditorControl';\n\nvar editRichTextEditorControlComponent = exports.editRichTextEditorControlComponent = {\n template: _stepwayEditRichTextEditorTemplate2.default,\n bindings: {\n nyaSelect: '='\n },\n controller: function () {\n function editRichTextEditorControlController() {\n //\n\n _classCallCheck(this, editRichTextEditorControlController);\n }\n\n _createClass(editRichTextEditorControlController, null, [{\n key: '$inject',\n get: function get() {\n return [];\n }\n }]);\n\n return editRichTextEditorControlController;\n }()\n};//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9jb250cm9scy9yaWNoVGV4dEVkaXRvci9lZGl0UmljaFRleHRFZGl0b3Ivc3RlcHdheS5lZGl0UmljaFRleHRFZGl0b3IuY29tcG9uZW50LmpzP2Q3ZTIiXSwibmFtZXMiOlsiRURJVF9SSUNIX1RFWFRfRURJVE9SX0NPTVBPTkVOVCIsImVkaXRSaWNoVGV4dEVkaXRvckNvbnRyb2xDb21wb25lbnQiLCJ0ZW1wbGF0ZSIsImJpbmRpbmdzIiwibnlhU2VsZWN0IiwiY29udHJvbGxlciJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7O0FBQUE7Ozs7Ozs7O0FBRU8sSUFBTUEsNEVBQWtDLDJCQUF4Qzs7QUFFQSxJQUFNQyxrRkFBcUM7QUFDaERDLHVEQURnRDtBQUVoREMsWUFBZ0I7QUFDZEMsZUFBVztBQURHLEdBRmdDO0FBS2hEQztBQUVFLG1EQUFjO0FBQ1o7O0FBRFk7QUFFYjs7QUFKSDtBQUFBO0FBQUEsMEJBTXVCO0FBQ25CLGVBQU8sRUFBUDtBQUNEO0FBUkg7O0FBQUE7QUFBQTtBQUxnRCxDQUEzQyIsImZpbGUiOiI4Ni5qcyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBlZGl0UmljaFRleHRFZGl0b3JDb250cm9sVGVtcGxhdGUgZnJvbSAnLi9zdGVwd2F5LmVkaXRSaWNoVGV4dEVkaXRvci50ZW1wbGF0ZS5odG1sJztcblxuZXhwb3J0IGNvbnN0IEVESVRfUklDSF9URVhUX0VESVRPUl9DT01QT05FTlQgPSAnZWRpdFJpY2hUZXh0RWRpdG9yQ29udHJvbCc7XG5cbmV4cG9ydCBjb25zdCBlZGl0UmljaFRleHRFZGl0b3JDb250cm9sQ29tcG9uZW50ID0ge1xuICB0ZW1wbGF0ZSAgICAgIDogZWRpdFJpY2hUZXh0RWRpdG9yQ29udHJvbFRlbXBsYXRlLFxuICBiaW5kaW5ncyAgICAgIDoge1xuICAgIG55YVNlbGVjdDogJz0nXG4gIH0sXG4gIGNvbnRyb2xsZXIgICAgOlxuICBjbGFzcyBlZGl0UmljaFRleHRFZGl0b3JDb250cm9sQ29udHJvbGxlciB7XG4gICAgY29uc3RydWN0b3IoKSB7XG4gICAgICAvL1xuICAgIH1cblxuICAgIHN0YXRpYyBnZXQgJGluamVjdCgpIHtcbiAgICAgIHJldHVybiBbXTtcbiAgICB9XG4gIH1cbn07XG5cblxuXG4vLyBXRUJQQUNLIEZPT1RFUiAvL1xuLy8gLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9jb250cm9scy9yaWNoVGV4dEVkaXRvci9lZGl0UmljaFRleHRFZGl0b3Ivc3RlcHdheS5lZGl0UmljaFRleHRFZGl0b3IuY29tcG9uZW50LmpzIl0sInNvdXJjZVJvb3QiOiIifQ==");
|
||
|
||
/***/ },
|
||
/* 87 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("module.exports = \"<div class=\\\"panel panel-default\\\">\\n <div class=\\\"panel-body\\\">\\n <div class=\\\"row\\\">\\n <div class=\\\"col-md-12\\\">\\n <h5 class=\\\"greyText\\\">\\n <i class=\\\"fa fa-eye\\\"></i>\\n \\n {{'PREVIEW_TAB' | translate}} :\\n </h5>\\n </div>\\n </div>\\n <hr/>\\n <div class=\\\"row\\\">\\n <div class=\\\"col-md-12\\\">\\n <div class=\\\"form-group\\\">\\n <label\\n for=\\\"RichTextEditor\\\"\\n class=\\\"control-label textControlLabel\\\">\\n {{$ctrl.nyaSelect.temporyConfig.formlyLabel}}\\n <span\\n ng-if=\\\"$ctrl.nyaSelect.temporyConfig.formlyRequired\\\"\\n class=\\\"textControlLabel\\\">\\n *\\n </span>\\n </label>\\n <div class=\\\"\\\">\\n <text-angular\\n ng-model=\\\"$ctrl.model[options.key]\\\">\\n </text-angular>\\n <p class=\\\"help-block\\\">\\n {{$ctrl.nyaSelect.temporyConfig.formlyDescription}}\\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 \\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 \\n </div>\\n <input\\n type=\\\"checkbox\\\"\\n ng-model=\\\"nyaSelect.temporyConfig.formlyRequired\\\" id=\\\"inputTextRequiredUpdate\\\">\\n </div>\\n </div>\\n </div>\\n <div class=\\\"marginTopFivepixels\\\"></div>-->\\n <div class=\\\"row\\\">\\n <div class=\\\"form-group\\\">\\n <label\\n for=\\\"inputTextDescriptionUpdate\\\"\\n class=\\\"col-lg-3 control-label greyText editPropertiesLabel\\\">\\n {{'DESCRIPTION' | translate}} :\\n </label>\\n <div class=\\\"col-lg-9\\\">\\n <input\\n type=\\\"text\\\"\\n class=\\\"form-control\\\"\\n ng-model=\\\"$ctrl.nyaSelect.temporyConfig.formlyDescription\\\"\\n id=\\\"inputTextDescriptionUpdate\\\"\\n placeholder=\\\"{{'ADDEDIT_DESCRIPTION' | translate}}\\\">\\n </div>\\n </div>\\n </div>\\n </div>\\n</div>\\n\"//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9jb250cm9scy9yaWNoVGV4dEVkaXRvci9lZGl0UmljaFRleHRFZGl0b3Ivc3RlcHdheS5lZGl0UmljaFRleHRFZGl0b3IudGVtcGxhdGUuaHRtbD9hM2Y2Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLHVPQUF1TyxjQUFjLDJCQUEyQixpUkFBaVIsMkNBQTJDLGdZQUFnWSxpREFBaUQsbVVBQW1VLGNBQWMsK0JBQStCLHljQUF5YyxpZEFBaWQsMkJBQTJCLDhSQUE4UixtQ0FBbUMiLCJmaWxlIjoiODcuanMiLCJzb3VyY2VzQ29udGVudCI6WyJtb2R1bGUuZXhwb3J0cyA9IFwiPGRpdiBjbGFzcz1cXFwicGFuZWwgcGFuZWwtZGVmYXVsdFxcXCI+XFxuICA8ZGl2IGNsYXNzPVxcXCJwYW5lbC1ib2R5XFxcIj5cXG4gICAgPGRpdiBjbGFzcz1cXFwicm93XFxcIj5cXG4gICAgICA8ZGl2IGNsYXNzPVxcXCJjb2wtbWQtMTJcXFwiPlxcbiAgICAgICAgPGg1IGNsYXNzPVxcXCJncmV5VGV4dFx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BjbGFzcz1cXFwiZm9ybS1jb250cm9sXFxcIlxcbiAgICAgICAgICAgIG5nLW1vZGVsPVxcXCIkY3RybC5ueWFTZWxlY3QudGVtcG9yeUNvbmZpZy5mb3JtbHlEZXNjcmlwdGlvblxcXCJcXG4gICAgICAgICAgICBpZD1cXFwiaW5wdXRUZXh0RGVzY3JpcHRpb25VcGRhdGVcXFwiXFxuICAgICAgICAgICAgcGxhY2Vob2xkZXI9XFxcInt7J0FEREVESVRfREVTQ1JJUFRJT04nIHwgdHJhbnNsYXRlfX1cXFwiPlxcbiAgICAgICAgPC9kaXY+XFxuICAgICAgPC9kaXY+XFxuICAgIDwvZGl2PlxcbiAgPC9kaXY+XFxuPC9kaXY+XFxuXCJcblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL3NyYy9hcHAvc3RlcHdheS9jb21wb25lbnRzL2NvbnRyb2xzL3JpY2hUZXh0RWRpdG9yL2VkaXRSaWNoVGV4dEVkaXRvci9zdGVwd2F5LmVkaXRSaWNoVGV4dEVkaXRvci50ZW1wbGF0ZS5odG1sXG4vLyBtb2R1bGUgaWQgPSA4N1xuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwic291cmNlUm9vdCI6IiJ9");
|
||
|
||
/***/ },
|
||
/* 88 */
|
||
/***/ function(module, exports, __webpack_require__) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _stepwayEditRichTextEditor = __webpack_require__(86);\n\nvar editRichTextEditorModuleName = 'stepway.editRichTextEditor.module';\n\nexports.default = angular.module(editRichTextEditorModuleName, []).component(_stepwayEditRichTextEditor.EDIT_RICH_TEXT_EDITOR_COMPONENT, _stepwayEditRichTextEditor.editRichTextEditorControlComponent);//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0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JpY2hUZXh0RWRpdG9yLm1vZHVsZS5qcyJdLCJzb3VyY2VSb290IjoiIn0=");
|
||
|
||
/***/ },
|
||
/* 89 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar SubTitleConfig = exports.SubTitleConfig = {\n id: 'Subtitle',\n name: 'Subtitle',\n subtitle: 'no control',\n group: 'Decoration',\n formlyType: 'subTitle',\n formlySubtype: '',\n formlyLabel: '',\n formlyRequired: false,\n formlyDescription: '',\n formlyOptions: [],\n formlyExpressionProperties: {},\n formlyValidators: {},\n formlyValidation: {}\n};//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9jb250cm9scy9zdWJUaXRsZS9jb25maWcvc3RlcHdheS5zdWJUaXRsZS5jb25maWcuanM/NWZjYiJdLCJuYW1lcyI6WyJTdWJUaXRsZUNvbmZpZyIsImlkIiwibmFtZSIsInN1YnRpdGxlIiwiZ3JvdXAiLCJmb3JtbHlUeXBlIiwiZm9ybWx5U3VidHlwZSIsImZvcm1seUxhYmVsIiwiZm9ybWx5UmVxdWlyZWQiLCJmb3JtbHlEZXNjcmlwdGlvbiIsImZvcm1seU9wdGlvbnMiLCJmb3JtbHlFeHByZXNzaW9uUHJvcGVydGllcyIsImZvcm1seVZhbGlkYXRvcnMiLCJmb3JtbHlWYWxpZGF0aW9uIl0sIm1hcHBpbmdzIjoiOzs7OztBQUFPLElBQU1BLDBDQUF1QjtBQUNsQ0MsTUFBSSxVQUQ4QjtBQUVsQ0MsUUFBTSxVQUY0QjtBQUdsQ0MsWUFBVSxZQUh3QjtBQUlsQ0MsU0FBTyxZQUoyQjtBQUtsQ0MsY0FBWSxVQUxzQjtBQU1sQ0MsaUJBQWUsRUFObUI7QUFPbENDLGVBQWEsRUFQcUI7QUFRbENDLGtCQUFnQixLQVJrQjtBQVNsQ0MscUJBQW1CLEVBVGU7QUFVbENDLGlCQUFlLEVBVm1CO0FBV2xDQyw4QkFBNEIsRUFYTTtBQVlsQ0Msb0JBQWtCLEVBWmdCO0FBYWxDQyxvQkFBa0I7QUFiZ0IsQ0FBN0IiLCJmaWxlIjoiODkuanMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgY29uc3QgU3ViVGl0bGVDb25maWcgPSAgICAgICB7XG4gIGlkOiAnU3VidGl0bGUnLFxuICBuYW1lOiAnU3VidGl0bGUnLFxuICBzdWJ0aXRsZTogJ25vIGNvbnRyb2wnLFxuICBncm91cDogJ0RlY29yYXRpb24nLFxuICBmb3JtbHlUeXBlOiAnc3ViVGl0bGUnLFxuICBmb3JtbHlTdWJ0eXBlOiAnJyxcbiAgZm9ybWx5TGFiZWw6ICcnLFxuICBmb3JtbHlSZXF1aXJlZDogZmFsc2UsXG4gIGZvcm1seURlc2NyaXB0aW9uOiAnJyxcbiAgZm9ybWx5T3B0aW9uczogW10gLFxuICBmb3JtbHlFeHByZXNzaW9uUHJvcGVydGllczoge30sXG4gIGZvcm1seVZhbGlkYXRvcnM6IHt9LFxuICBmb3JtbHlWYWxpZGF0aW9uOiB7fVxufTtcblxuXG5cbi8vIFdFQlBBQ0sgRk9PVEVSIC8vXG4vLyAuL3NyYy9hcHAvc3RlcHdheS9jb21wb25lbnRzL2NvbnRyb2xzL3N1YlRpdGxlL2NvbmZpZy9zdGVwd2F5LnN1YlRpdGxlLmNvbmZpZy5qcyJdLCJzb3VyY2VSb290IjoiIn0=");
|
||
|
||
/***/ },
|
||
/* 90 */
|
||
/***/ function(module, exports, __webpack_require__) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.editSubTitleControlComponent = exports.EDIT_SUBTITLE_CONTROL_COMPONENT = 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; }; }();\n\nvar _stepwayEditSubTitleTemplate = __webpack_require__(91);\n\nvar _stepwayEditSubTitleTemplate2 = _interopRequireDefault(_stepwayEditSubTitleTemplate);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar EDIT_SUBTITLE_CONTROL_COMPONENT = exports.EDIT_SUBTITLE_CONTROL_COMPONENT = 'editSubTitleControl';\n\nvar editSubTitleControlComponent = exports.editSubTitleControlComponent = {\n template: _stepwayEditSubTitleTemplate2.default,\n bindings: {\n nyaSelect: '='\n },\n controller: function () {\n function editSubTitleControlController() {\n //\n\n _classCallCheck(this, editSubTitleControlController);\n }\n\n _createClass(editSubTitleControlController, null, [{\n key: '$inject',\n get: function get() {\n return [];\n }\n }]);\n\n return editSubTitleControlController;\n }()\n};//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9jb250cm9scy9zdWJUaXRsZS9lZGl0U3ViVGl0bGUvc3RlcHdheS5lZGl0U3ViVGl0bGUuY29tcG9uZW50LmpzPzc4NzgiXSwibmFtZXMiOlsiRURJVF9TVUJUSVRMRV9DT05UUk9MX0NPTVBPTkVOVCIsImVkaXRTdWJUaXRsZUNvbnRyb2xDb21wb25lbnQiLCJ0ZW1wbGF0ZSIsImJpbmRpbmdzIiwibnlhU2VsZWN0IiwiY29udHJvbGxlciJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7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ZGl0U3ViVGl0bGUuY29tcG9uZW50LmpzIl0sInNvdXJjZVJvb3QiOiIifQ==");
|
||
|
||
/***/ },
|
||
/* 91 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("module.exports = \"<div class=\\\"panel panel-default\\\">\\n <div class=\\\"panel-body\\\">\\n <div class=\\\"row\\\">\\n <div class=\\\"col-md-12\\\">\\n <h5\\n class=\\\"greyText\\\">\\n <i class=\\\"fa fa-eye\\\"></i>\\n \\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 {{$ctrl.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 \\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=\\\"$ctrl.nyaSelect.temporyConfig.formlyPlaceholder\\\"\\n id=\\\"inputSubTitleTextUpdate\\\"\\n placeholder=\\\"{{'ADD_EDIT_SUBTIL_HERE' | translate}}\\\">\\n </div>\\n </div>\\n </div>\\n </div>\\n</div>\\n\"//# sourceMappingURL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/ function(module, exports, __webpack_require__) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _stepwayEditSubTitle = __webpack_require__(90);\n\nvar editSubTitleModuleName = 'stepway.editSubTitleControl.module';\n\nexports.default = angular.module(editSubTitleModuleName, []).component(_stepwayEditSubTitle.EDIT_SUBTITLE_CONTROL_COMPONENT, _stepwayEditSubTitle.editSubTitleControlComponent);//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9jb250cm9scy9zdWJUaXRsZS9lZGl0U3ViVGl0bGUvc3RlcHdheS5lZGl0U3ViVGl0bGUubW9kdWxlLmpzPzlmNTkiXSwibmFtZXMiOlsiZWRpdFN1YlRpdGxlTW9kdWxlTmFtZSIsImFuZ3VsYXIiLCJtb2R1bGUiLCJjb21wb25lbnQiXSwibWFwcGluZ3MiOiI7Ozs7OztBQUFBOztBQUtBLElBQU1BLHlCQUF5QixvQ0FBL0I7O2tCQUVlQyxRQUNFQyxNQURGLENBQ1NGLHNCQURULEVBQ2lDLEVBRGpDLEVBRUVHLFNBRkYseUciLCJmaWxlIjoiOTIuanMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge1xuICBlZGl0U3ViVGl0bGVDb250cm9sQ29tcG9uZW50LFxuICBFRElUX1NVQlRJVExFX0NPTlRST0xfQ09NUE9ORU5UXG59IGZyb20gJy4vc3RlcHdheS5lZGl0U3ViVGl0bGUuY29tcG9uZW50JztcblxuY29uc3QgZWRpdFN1YlRpdGxlTW9kdWxlTmFtZSA9ICdzdGVwd2F5LmVkaXRTdWJUaXRsZUNvbnRyb2wubW9kdWxlJztcblxuZXhwb3J0IGRlZmF1bHQgYW5ndWxhclxuICAgICAgICAgICAgICAgIC5tb2R1bGUoZWRpdFN1YlRpdGxlTW9kdWxlTmFtZSwgW10pXG4gICAgICAgICAgICAgICAgLmNvbXBvbmVudChFRElUX1NVQlRJVExFX0NPTlRST0xfQ09NUE9ORU5ULCBlZGl0U3ViVGl0bGVDb250cm9sQ29tcG9uZW50KTtcblxuXG5cbi8vIFdFQlBBQ0sgRk9PVEVSIC8vXG4vLyAuL3NyYy9hcHAvc3RlcHdheS9jb21wb25lbnRzL2NvbnRyb2xzL3N1YlRpdGxlL2VkaXRTdWJUaXRsZS9zdGVwd2F5LmVkaXRTdWJUaXRsZS5tb2R1bGUuanMiXSwic291cmNlUm9vdCI6IiJ9");
|
||
|
||
/***/ },
|
||
/* 93 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar TextAreaConfig = exports.TextAreaConfig = {\n id: 'Texarea',\n name: 'Textarea',\n subtitle: 'Textarea',\n group: 'Textarea',\n formlyType: 'textarea',\n formlySubtype: '',\n formlyLabel: '',\n formlyRequired: false,\n formlyDescription: '',\n formlyOptions: [],\n formlyExpressionProperties: {},\n formlyValidators: {},\n formlyValidation: {\n messages: {\n required: function required(viewValue, modelValue, scope) {\n //return a required validation message :\n //-> '<label as name> is required '\n //-> or if not exists or empty just 'this field is required'\n var defaultReturnMsg = 'this Textarea field is required';\n var returnMsg = typeof scope.to.label !== 'undefined' ? scope.to.label !== '' ? scope.to.label + ' is required' : defaultReturnMsg : defaultReturnMsg;\n return returnMsg;\n }\n }\n }\n};//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9jb250cm9scy90ZXh0QXJlYS9jb25maWcvc3RlcHdheS50ZXh0QXJlYS5jb25maWcuanM/ODJmYyJdLCJuYW1lcyI6WyJUZXh0QXJlYUNvbmZpZyIsImlkIiwibmFtZSIsInN1YnRpdGxlIiwiZ3JvdXAiLCJmb3JtbHlUeXB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E9PSAndW5kZWZpbmVkJykgPyAoKHNjb3BlLnRvLmxhYmVsICE9PSAnJykgPyBzY29wZS50by5sYWJlbCArICcgaXMgcmVxdWlyZWQnIDogZGVmYXVsdFJldHVybk1zZykgOiBkZWZhdWx0UmV0dXJuTXNnO1xuICAgICAgICByZXR1cm4gcmV0dXJuTXNnO1xuICAgICAgfVxuICAgIH1cbiAgfVxufTtcblxuXG5cbi8vIFdFQlBBQ0sgRk9PVEVSIC8vXG4vLyAuL3NyYy9hcHAvc3RlcHdheS9jb21wb25lbnRzL2NvbnRyb2xzL3RleHRBcmVhL2NvbmZpZy9zdGVwd2F5LnRleHRBcmVhLmNvbmZpZy5qcyJdLCJzb3VyY2VSb290IjoiIn0=");
|
||
|
||
/***/ },
|
||
/* 94 */
|
||
/***/ function(module, exports, __webpack_require__) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.editTextareaControlComponent = exports.EDIT_TEXTAREA_CONTROL_COMPONENT = 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; }; }();\n\nvar _stepwayEditTextAreaTemplate = __webpack_require__(95);\n\nvar _stepwayEditTextAreaTemplate2 = _interopRequireDefault(_stepwayEditTextAreaTemplate);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar EDIT_TEXTAREA_CONTROL_COMPONENT = exports.EDIT_TEXTAREA_CONTROL_COMPONENT = 'editTextareaControl';\n\nvar editTextareaControlComponent = exports.editTextareaControlComponent = {\n template: _stepwayEditTextAreaTemplate2.default,\n bindings: {\n nyaSelect: '='\n },\n controller: function () {\n function editTextareaControlController() {\n //\n\n _classCallCheck(this, editTextareaControlController);\n }\n\n _createClass(editTextareaControlController, null, [{\n key: '$inject',\n get: function get() {\n return [];\n }\n }]);\n\n return editTextareaControlController;\n }()\n};//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9jb250cm9scy90ZXh0QXJlYS9lZGl0VGV4dEFyZWEvc3RlcHdheS5lZGl0VGV4dEFyZWEuY29tcG9uZW50LmpzPzAzZTQiXSwibmFtZXMiOlsiRURJVF9URVhUQVJFQV9DT05UUk9MX0NPTVBPTkVOVCIsImVkaXRUZXh0YXJlYUNvbnRyb2xDb21wb25lbnQiLCJ0ZW1wbGF0ZSIsImJpbmRpbmdzIiwibnlhU2VsZWN0IiwiY29udHJvbGxlciJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7O0FBQUE7Ozs7Ozs7O0FBRU8sSUFBTUEsNEVBQWtDLHFCQUF4Qzs7QUFFQSxJQUFNQyxzRUFBK0I7QUFDMUNDLGlEQUQwQztBQUUxQ0MsWUFBZ0I7QUFDZEMsZUFBVztBQURHLEdBRjBCO0FBSzFDQztBQUVFLDZDQUFjO0FBQ1o7O0FBRFk7QUFFYjs7QUFKSDtBQUFBO0FBQUEsMEJBTXVCO0FBQ25CLGVBQU8sRUFBUDtBQUNEO0FBUkg7O0FBQUE7QUFBQTtBQUwwQyxDQUFyQyIsImZpbGUiOiI5NC5qcyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBlZGl0VGV4dGFyZWFDb250cm9sVGVtcGxhdGUgZnJvbSAnLi9zdGVwd2F5LmVkaXRUZXh0QXJlYS50ZW1wbGF0ZS5odG1sJztcblxuZXhwb3J0IGNvbnN0IEVESVRfVEVYVEFSRUFfQ09OVFJPTF9DT01QT05FTlQgPSAnZWRpdFRleHRhcmVhQ29udHJvbCc7XG5cbmV4cG9ydCBjb25zdCBlZGl0VGV4dGFyZWFDb250cm9sQ29tcG9uZW50ID0ge1xuICB0ZW1wbGF0ZSAgICAgIDogZWRpdFRleHRhcmVhQ29udHJvbFRlbXBsYXRlLFxuICBiaW5kaW5ncyAgICAgIDoge1xuICAgIG55YVNlbGVjdDogJz0nXG4gIH0sXG4gIGNvbnRyb2xsZXIgICAgOlxuICBjbGFzcyBlZGl0VGV4dGFyZWFDb250cm9sQ29udHJvbGxlciB7XG4gICAgY29uc3RydWN0b3IoKSB7XG4gICAgICAvL1xuICAgIH1cblxuICAgIHN0YXRpYyBnZXQgJGluamVjdCgpIHtcbiAgICAgIHJldHVybiBbXTtcbiAgICB9XG4gIH1cbn07XG5cblxuXG4vLyBXRUJQQUNLIEZPT1RFUiAvL1xuLy8gLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9jb250cm9scy90ZXh0QXJlYS9lZGl0VGV4dEFyZWEvc3RlcHdheS5lZGl0VGV4dEFyZWEuY29tcG9uZW50LmpzIl0sInNvdXJjZVJvb3QiOiIifQ==");
|
||
|
||
/***/ },
|
||
/* 95 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("module.exports = \"<div class=\\\"panel panel-default\\\">\\n <div class=\\\"panel-body\\\">\\n <div class=\\\"row\\\">\\n <div class=\\\"col-md-12\\\">\\n <h5 class=\\\"greyText\\\">\\n <i class=\\\"fa fa-eye\\\"></i>\\n \\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 {{$ctrl.nyaSelect.temporyConfig.formlyLabel}}\\n <span\\n ng-if=\\\"$ctrl.nyaSelect.temporyConfig.formlyRequired\\\"\\n class=\\\"textControlLabel\\\">\\n *\\n </span>\\n </label>\\n <div class=\\\"\\\">\\n <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 {{$ctrl.nyaSelect.temporyConfig.formlyDescription}}\\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 \\n {{'EDIT_PROPERTIES' | translate}} :\\n </h5>\\n </div>\\n </div>\\n <hr/>\\n <div class=\\\"row\\\">\\n <div class=\\\"form-group\\\">\\n <label\\n for=\\\"inputTextLabelUpdate\\\"\\n class=\\\"col-lg-3 control-label greyText editPropertiesLabel\\\">\\n {{'LABEL_TEXT' | translate}} :\\n </label>\\n <div class=\\\"col-lg-9\\\">\\n <input\\n type=\\\"text\\\"\\n class=\\\"form-control\\\"\\n ng-model=\\\"$ctrl.nyaSelect.temporyConfig.formlyLabel\\\"\\n id=\\\"inputTextLabelUpdate\\\"\\n placeholder=\\\"{{'ADD_EDIT_LABEL_HERE' | translate}}\\\">\\n </div>\\n </div>\\n </div>\\n <div class=\\\"marginTopFivepixels\\\"></div>\\n <div class=\\\"row\\\">\\n <div class=\\\"form-group\\\">\\n <label\\n for=\\\"inputTextRequiredUpdate\\\"\\n class=\\\"col-lg-3 control-label greyText editPropertiesLabel\\\">\\n {{'REQUIRED' | translate}} :\\n </label>\\n <div class=\\\"col-lg-9\\\">\\n <div class=\\\"checkboxCssCorrection\\\">\\n \\n </div>\\n <input\\n type=\\\"checkbox\\\"\\n ng-model=\\\"$ctrl.nyaSelect.temporyConfig.formlyRequired\\\"\\n id=\\\"inputTextRequiredUpdate\\\">\\n </div>\\n </div>\\n </div>\\n <div class=\\\"marginTopFivepixels\\\"></div>\\n <div class=\\\"row\\\">\\n <div class=\\\"form-group\\\">\\n <label\\n for=\\\"inputTextDescriptionUpdate\\\"\\n class=\\\"col-lg-3 control-label greyText editPropertiesLabel\\\">{{'DESCRIPTION' | translate}} :\\n </label>\\n <div class=\\\"col-lg-9\\\">\\n <input\\n type=\\\"text\\\"\\n class=\\\"form-control\\\"\\n ng-model=\\\"$ctrl.nyaSelect.temporyConfig.formlyDescription\\\"\\n id=\\\"inputTextDescriptionUpdate\\\"\\n placeholder=\\\"{{'ADDEDIT_DESCRIPTION' | translate}}\\\">\\n </div>\\n </div>\\n </div>\\n </div>\\n </div>\\n\"//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9jb250cm9scy90ZXh0QXJlYS9lZGl0VGV4dEFyZWEvc3RlcHdheS5lZGl0VGV4dEFyZWEudGVtcGxhdGUuaHRtbD80YmMwIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLHVPQUF1TyxjQUFjLDJCQUEyQiwyUUFBMlEsMkNBQTJDLGlkQUFpZCxpREFBaUQsbVVBQW1VLGNBQWMsK0JBQStCLGlRQUFpUSwwQkFBMEIsa1JBQWtSLG1DQUFtQyxzVEFBc1Qsd0JBQXdCLG1JQUFtSSxpZkFBaWYsMkJBQTJCLDhTQUE4UyxtQ0FBbUMiLCJmaWxlIjoiOTUuanMiLCJzb3VyY2VzQ29udGVudCI6WyJtb2R1bGUuZXhwb3J0cyA9IFwiPGRpdiBjbGFzcz1cXFwicGFuZWwgcGFuZWwtZGVmYXVsdFxcXCI+XFxuICA8ZGl2IGNsYXNzPVxcXCJwYW5lbC1ib2R5XFxcIj5cXG4gICAgPGRpdiBjbGFzcz1cXFwicm93XFxcIj5cXG4gICAgICA8ZGl2IGNs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JcXG4gICAgICAgICAgICAgIGNsYXNzPVxcXCJmb3JtLWNvbnRyb2xcXFwiXFxuICAgICAgICAgICAgICBuZy1tb2RlbD1cXFwiJGN0cmwubnlhU2VsZWN0LnRlbXBvcnlDb25maWcuZm9ybWx5RGVzY3JpcHRpb25cXFwiXFxuICAgICAgICAgICAgICBpZD1cXFwiaW5wdXRUZXh0RGVzY3JpcHRpb25VcGRhdGVcXFwiXFxuICAgICAgICAgICAgICBwbGFjZWhvbGRlcj1cXFwie3snQURERURJVF9ERVNDUklQVElPTicgfCB0cmFuc2xhdGV9fVxcXCI+XFxuICAgICAgICAgIDwvZGl2PlxcbiAgICAgICAgPC9kaXY+XFxuICAgICAgPC9kaXY+XFxuICAgIDwvZGl2PlxcbiAgPC9kaXY+XFxuXCJcblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL3NyYy9hcHAvc3RlcHdheS9jb21wb25lbnRzL2NvbnRyb2xzL3RleHRBcmVhL2VkaXRUZXh0QXJlYS9zdGVwd2F5LmVkaXRUZXh0QXJlYS50ZW1wbGF0ZS5odG1sXG4vLyBtb2R1bGUgaWQgPSA5NVxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwic291cmNlUm9vdCI6IiJ9");
|
||
|
||
/***/ },
|
||
/* 96 */
|
||
/***/ function(module, exports, __webpack_require__) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _stepwayEditTextArea = __webpack_require__(94);\n\nvar edittextareaControlModuleName = 'stepway.editTextAreaControl.module';\n\nexports.default = angular.module(edittextareaControlModuleName, []).component(_stepwayEditTextArea.EDIT_TEXTAREA_CONTROL_COMPONENT, _stepwayEditTextArea.editTextareaControlComponent);//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkv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6IiJ9");
|
||
|
||
/***/ },
|
||
/* 97 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar TextInputConfig = exports.TextInputConfig = {\n id: 'TextInput',\n name: 'Text input',\n subtitle: 'Text input',\n group: 'input',\n formlyType: 'input',\n formlySubtype: '',\n formlyLabel: '',\n formlyRequired: false,\n formlyDescription: '',\n formlyDefaultValue: '',\n formlyOptions: [],\n formlyExpressionProperties: {},\n formlyValidators: {},\n formlyValidation: {\n messages: {\n required: function required(viewValue, modelValue, scope) {\n //return a required validation message :\n //-> '<label as name> is required '\n //-> or if not exists or empty just 'this field is required'\n var defaultReturnMsg = 'this Text input field is required';\n var returnMsg = typeof scope.to.label !== 'undefined' ? scope.to.label !== '' ? scope.to.label + ' is required' : defaultReturnMsg : defaultReturnMsg;\n return returnMsg;\n }\n }\n }\n};//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9jb250cm9scy90ZXh0SW5wdXQvY29uZmlnL3N0ZXB3YXkudGV4dElucHV0LmNvbmZpZy5qcz9lYzBiIl0sIm5hbWVzIjpbIlRleHRJbnB1dENvbmZpZyIsImlkIiwibmFtZSIsInN1YnRpdGxlIiwiZ3JvdXAiLCJmb3JtbHlUeXBlIiwiZm9ybWx5U3VidHlwZSIsImZvcm1seUxhYmVsIiwiZm9ybWx5UmVxdWlyZWQiLCJmb3JtbHlEZXNjcmlwdGlvbiIsImZvcm1seURlZmF1bHRWYWx1ZSIsImZvcm1seU9wdGlvbnMiLCJmb3JtbHlFeHByZXNzaW9uUHJvcGVydGllcyIsImZvcm1seVZhbGlkYXRvcnMiLCJmb3JtbHlWYWxpZGF0aW9uIiwibWVzc2FnZXMiLCJyZXF1aXJlZCIsInZpZXdWYWx1ZSIsIm1vZGVsVmFsd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cbiAgICB9XG4gIH1cbn07XG5cblxuXG4vLyBXRUJQQUNLIEZPT1RFUiAvL1xuLy8gLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9jb250cm9scy90ZXh0SW5wdXQvY29uZmlnL3N0ZXB3YXkudGV4dElucHV0LmNvbmZpZy5qcyJdLCJzb3VyY2VSb290IjoiIn0=");
|
||
|
||
/***/ },
|
||
/* 98 */
|
||
/***/ function(module, exports, __webpack_require__) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.editTextInputControlComponent = exports.EDIT_TEXTINPUT_CONTROL_COMPONENT = 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; }; }();\n\nvar _stepwayEditTextInputTemplate = __webpack_require__(99);\n\nvar _stepwayEditTextInputTemplate2 = _interopRequireDefault(_stepwayEditTextInputTemplate);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar EDIT_TEXTINPUT_CONTROL_COMPONENT = exports.EDIT_TEXTINPUT_CONTROL_COMPONENT = 'editTextInputControl';\n\nvar editTextInputControlComponent = exports.editTextInputControlComponent = {\n template: _stepwayEditTextInputTemplate2.default,\n bindings: {\n nyaSelect: '='\n },\n controller: function () {\n function editTextInputControlController() {\n //\n\n _classCallCheck(this, editTextInputControlController);\n }\n\n _createClass(editTextInputControlController, null, [{\n key: '$inject',\n get: function get() {\n return [];\n }\n }]);\n\n return editTextInputControlController;\n }()\n};//# sour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hdGUsXG4gIGJpbmRpbmdzICAgICAgOiB7XG4gICAgbnlhU2VsZWN0OiAnPSdcbiAgfSxcbiAgY29udHJvbGxlciAgICA6XG4gIGNsYXNzIGVkaXRUZXh0SW5wdXRDb250cm9sQ29udHJvbGxlciB7XG4gICAgY29uc3RydWN0b3IoKSB7XG4gICAgICAvL1xuICAgIH1cblxuICAgIHN0YXRpYyBnZXQgJGluamVjdCgpIHtcbiAgICAgIHJldHVybiBbXTtcbiAgICB9XG4gIH1cbn07XG5cblxuXG4vLyBXRUJQQUNLIEZPT1RFUiAvL1xuLy8gLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9jb250cm9scy90ZXh0SW5wdXQvZWRpdFRleHRJbnB1dC9zdGVwd2F5LmVkaXRUZXh0SW5wdXQuY29tcG9uZW50LmpzIl0sInNvdXJjZVJvb3QiOiIifQ==");
|
||
|
||
/***/ },
|
||
/* 99 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("module.exports = \"<div class=\\\"panel panel-default\\\">\\n <div class=\\\"panel-body\\\">\\n <div class=\\\"row\\\">\\n <div class=\\\"col-md-12\\\">\\n <h5 class=\\\"greyText\\\">\\n <i class=\\\"fa fa-eye\\\"></i>\\n \\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 {{$ctrl.nyaSelect.temporyConfig.formlyLabel}}\\n <span\\n ng-if=\\\"$ctrl.nyaSelect.temporyConfig.formlyRequired\\\"\\n class=\\\"textControlLabel\\\">\\n *\\n </span>\\n </label>\\n <div class=\\\"\\\">\\n <input\\n type=\\\"text\\\"\\n class=\\\"form-control\\\"\\n id=\\\"inputText\\\"\\n placeholder=\\\"{{$ctrl.nyaSelect.temporyConfig.formlyPlaceholder}}\\\">\\n <p class=\\\"help-block\\\">\\n {{$ctrl.nyaSelect.temporyConfig.formlyDescription}}\\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 \\n {{'EDIT_PROPERTIES' | translate}} :\\n </h5>\\n </div>\\n </div>\\n <hr/>\\n <div class=\\\"row\\\">\\n <div class=\\\"form-group\\\">\\n <label\\n for=\\\"inputTextLabelUpdate\\\"\\n class=\\\"col-lg-3 control-label greyText editPropertiesLabel\\\">\\n {{'LABEL_TEXT' | translate}} :\\n </label>\\n <div class=\\\"col-lg-9\\\">\\n <input\\n type=\\\"text\\\"\\n class=\\\"form-control\\\"\\n ng-model=\\\"$ctrl.nyaSelect.temporyConfig.formlyLabel\\\"\\n id=\\\"inputTextLabelUpdate\\\"\\n placeholder=\\\"{{'ADD_EDIT_LABEL_HERE' | translate}}\\\">\\n </div>\\n </div>\\n </div>\\n <div class=\\\"marginTopFivepixels\\\"></div>\\n <div class=\\\"row\\\">\\n <div class=\\\"form-group\\\">\\n <label\\n for=\\\"inputTextplaceholderUpdate\\\"\\n class=\\\"col-lg-3 control-label greyText editPropertiesLabel\\\">\\n {{'PLACEHOLDER' | translate}} :\\n </label>\\n <div class=\\\"col-lg-9\\\">\\n <input\\n type=\\\"text\\\"\\n class=\\\"form-control\\\"\\n ng-model=\\\"$ctrl.nyaSelect.temporyConfig.formlyPlaceholder\\\"\\n id=\\\"inputTextplaceholderUpdate\\\"\\n placeholder=\\\"{{'ADD_EDIT_PLACEHOLD' | translate}}\\\">\\n </div>\\n </div>\\n </div>\\n <div class=\\\"marginTopFivepixels\\\"></div>\\n <div class=\\\"row\\\">\\n <div class=\\\"form-group\\\">\\n <label\\n for=\\\"inputTextRequiredUpdate\\\"\\n class=\\\"col-lg-3 control-label greyText editPropertiesLabel\\\">\\n {{'REQUIRED' | translate}} :\\n </label>\\n <div class=\\\"col-lg-9\\\">\\n <div class=\\\"checkboxCssCorrection\\\"> </div>\\n <input\\n type=\\\"checkbox\\\"\\n ng-model=\\\"$ctrl.nyaSelect.temporyConfig.formlyRequired\\\"\\n id=\\\"inputTextRequiredUpdate\\\">\\n </div>\\n </div>\\n </div>\\n <div class=\\\"marginTopFivepixels\\\"></div>\\n <div class=\\\"row\\\">\\n <div class=\\\"form-group\\\">\\n <label\\n for=\\\"inputTextDescriptionUpdate\\\"\\n class=\\\"col-lg-3 control-label greyText editPropertiesLabel\\\">\\n {{'DESCRIPTION' | translate}} :\\n </label>\\n <div class=\\\"col-lg-9\\\">\\n <input\\n type=\\\"text\\\"\\n class=\\\"form-control\\\"\\n ng-model=\\\"$ctrl.nyaSelect.temporyConfig.formlyDescription\\\"\\n id=\\\"inputTextDescriptionUpdate\\\"\\n placeholder=\\\"{{'ADDEDIT_DESCRIPTION' | 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=\\\"inputTextDefaultValueUpdate\\\"\\n class=\\\"col-lg-3 control-label greyText editPropertiesLabel\\\">\\n {{'DEFAULTVALUE' | translate}} :\\n </label>\\n <div class=\\\"col-lg-9\\\">\\n <input\\n type=\\\"text\\\"\\n class=\\\"form-control\\\"\\n ng-model=\\\"$ctrl.nyaSelect.temporyConfig.formlyDefaultValue\\\"\\n id=\\\"inputTextDefaultValueUpdate\\\"\\n placeholder=\\\"{{'ADD_EDIT_DEFAULTVALUE_PLACEHOLD' | translate}}\\\">\\n </div>\\n </div>\\n </div>\\n </div>\\n</div>\\n\"//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9jb250cm9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BkYXRlXFxcIlxcbiAgICAgICAgICBjbGFzcz1cXFwiY29sLWxnLTMgY29udHJvbC1sYWJlbCBncmV5VGV4dCBlZGl0UHJvcGVydGllc0xhYmVsXFxcIj5cXG4gICAgICAgICAge3snREVGQVVMVFZBTFVFJyB8IHRyYW5zbGF0ZX19IDpcXG4gICAgICAgIDwvbGFiZWw+XFxuICAgICAgICA8ZGl2IGNsYXNzPVxcXCJjb2wtbGctOVxcXCI+XFxuICAgICAgICAgIDxpbnB1dFxcbiAgICAgICAgICAgIHR5cGU9XFxcInRleHRcXFwiXFxuICAgICAgICAgICAgY2xhc3M9XFxcImZvcm0tY29udHJvbFxcXCJcXG4gICAgICAgICAgICBuZy1tb2RlbD1cXFwiJGN0cmwubnlhU2VsZWN0LnRlbXBvcnlDb25maWcuZm9ybWx5RGVmYXVsdFZhbHVlXFxcIlxcbiAgICAgICAgICAgIGlkPVxcXCJpbnB1dFRleHREZWZhdWx0VmFsdWVVcGRhdGVcXFwiXFxuICAgICAgICAgICAgcGxhY2Vob2xkZXI9XFxcInt7J0FERF9FRElUX0RFRkFVTFRWQUxVRV9QTEFDRUhPTEQnIHwgdHJhbnNsYXRlfX1cXFwiPlxcbiAgICAgICAgPC9kaXY+XFxuICAgICAgPC9kaXY+XFxuICAgIDwvZGl2PlxcbiAgPC9kaXY+XFxuPC9kaXY+XFxuXCJcblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL3NyYy9hcHAvc3RlcHdheS9jb21wb25lbnRzL2NvbnRyb2xzL3RleHRJbnB1dC9lZGl0VGV4dElucHV0L3N0ZXB3YXkuZWRpdFRleHRJbnB1dC50ZW1wbGF0ZS5odG1sXG4vLyBtb2R1bGUgaWQgPSA5OVxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwic291cmNlUm9vdCI6IiJ9");
|
||
|
||
/***/ },
|
||
/* 100 */
|
||
/***/ function(module, exports, __webpack_require__) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _stepwayEditTextInput = __webpack_require__(98);\n\nvar editTextInputControlModuleName = 'stepway.editTextInputControl.module';\n\nexports.default = angular.module(editTextInputControlModuleName, []).component(_stepwayEditTextInput.EDIT_TEXTINPUT_CONTROL_COMPONENT, _stepwayEditTextInput.editTextInputControlComponent);//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9jb250cm9scy90ZXh0SW5wdXQvZWRpdFRleHRJbnB1dC9zdGVwd2F5LmVkaXRUZXh0SW5wdXQubW9kdWxlLmpzPzc5NDQiXSwibmFtZXMiOlsiZWRpdFRleHRJbnB1dENvbnRyb2xNb2R1bGVOYW1lIiwiYW5ndWxhciIsIm1vZHVsZSIsImNvbXBvbmVudCJdLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBQUE7O0FBS0EsSUFBTUEsaUNBQWlDLHFDQUF2Qzs7a0JBRWVDLFFBQ0VDLE1BREYsQ0FDU0YsOEJBRFQsRUFDeUMsRUFEekMsRUFFRUcsU0FGRiw2RyIsImZpbGUiOiIxMDAuanMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge1xuICBlZGl0VGV4dElucHV0Q29udHJvbENvbXBvbmVudCxcbiAgRURJVF9URVhUSU5QVVRfQ09OVFJPTF9DT01QT05FTlRcbn0gZnJvbSAnLi9zdGVwd2F5LmVkaXRUZXh0SW5wdXQuY29tcG9uZW50JztcblxuY29uc3QgZWRpdFRleHRJbnB1dENvbnRyb2xNb2R1bGVOYW1lID0gJ3N0ZXB3YXkuZWRpdFRleHRJbnB1dENvbnRyb2wubW9kdWxlJztcblxuZXhwb3J0IGRlZmF1bHQgYW5ndWxhclxuICAgICAgICAgICAgICAgIC5tb2R1bGUoZWRpdFRleHRJbnB1dENvbnRyb2xNb2R1bGVOYW1lLCBbXSlcbiAgICAgICAgICAgICAgICAuY29tcG9uZW50KEVESVRfVEVYVElOUFVUX0NPTlRST0xfQ09NUE9ORU5ULCBlZGl0VGV4dElucHV0Q29udHJvbENvbXBvbmVudCk7XG5cblxuXG4vLyBXRUJQQUNLIEZPT1RFUiAvL1xuLy8gLi9zcmMvYXBwL3N0ZXB3YXkvY29tcG9uZW50cy9jb250cm9scy90ZXh0SW5wdXQvZWRpdFRleHRJbnB1dC9zdGVwd2F5LmVkaXRUZXh0SW5wdXQubW9kdWxlLmpzIl0sInNvdXJjZVJvb3QiOiIifQ==");
|
||
|
||
/***/ },
|
||
/* 101 */
|
||
/***/ function(module, exports, __webpack_require__) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.MODAL_PROXY_MODULE_NAME = exports.CONTROLLER_MODAL_PROXY_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; }; }();\n\nvar _modalProxyServiceHelpers = __webpack_require__(102);\n\nfunction _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar CONTROLLER_MODAL_PROXY_SERVICE = exports.CONTROLLER_MODAL_PROXY_SERVICE = '$modalProxy';\n\nvar $modalProxy = function () {\n function $modalProxy(easyFormSteWayConfig) {\n _classCallCheck(this, $modalProxy);\n\n this.easyFormSteWayConfig = easyFormSteWayConfig;\n }\n\n _createClass($modalProxy, [{\n key: 'initNyaSelect',\n value: function initNyaSelect(nyaSelectObj) {\n return (0, _modalProxyServiceHelpers.resetNyaSelect)(nyaSelectObj);\n }\n }, {\n key: 'getControlsDefinition',\n value: function getControlsDefinition() {\n var controls = {};\n (0, _modalProxyServiceHelpers.resetNyaSelect)(controls);\n return controls;\n }\n }, {\n key: 'getNyASelectFromSelectedLineColumn',\n value: function getNyASelectFromSelectedLineColumn(nyaSelectObj, configurationObj, indexLine, numcolumn) {\n (0, _modalProxyServiceHelpers.resetNyaSelect)(nyaSelectObj);\n /**\n * data send to modal controller\n */\n var controlAtThisLineThisCol = configurationObj.lines[indexLine].columns[numcolumn].control;\n\n if (controlAtThisLineThisCol && controlAtThisLineThisCol.templateOptions) {\n nyaSelectObj.temporyConfig = {\n selectedControl: controlAtThisLineThisCol.selectedControl ? controlAtThisLineThisCol.selectedControl : 'none',\n formlyLabel: controlAtThisLineThisCol.templateOptions.label ? controlAtThisLineThisCol.templateOptions.label : '',\n formlyRequired: controlAtThisLineThisCol.templateOptions.required ? controlAtThisLineThisCol.templateOptions.required : '',\n formlyDescription: controlAtThisLineThisCol.templateOptions.description ? controlAtThisLineThisCol.templateOptions.description : '',\n formlyDefaultValue: controlAtThisLineThisCol.defaultValue ? controlAtThisLineThisCol.defaultValue : '',\n formlyPlaceholder: controlAtThisLineThisCol.templateOptions.placeholder ? controlAtThisLineThisCol.templateOptions.placeholder : '',\n formlyOptions: controlAtThisLineThisCol.templateOptions.options ? controlAtThisLineThisCol.templateOptions.options : '',\n formlyExpressionProperties: controlAtThisLineThisCol.formlyExpressionProperties ? angular.copy(controlAtThisLineThisCol.formlyExpressionProperties) : {},\n formlyValidators: controlAtThisLineThisCol.formlyValidators ? angular.copy(controlAtThisLineThisCol.formlyValidators) : {},\n formlyValidation: controlAtThisLineThisCol.formlyValidation ? angular.copy(controlAtThisLineThisCol.formlyValidation) : {}\n };\n // particular case : datepicker needs an additionnal property:\n if (nyaSelectObj.temporyConfig.selectedControl === 'Date') {\n nyaSelectObj.temporyConfig.datepickerOptions = controlAtThisLineThisCol.templateOptions.datepickerOptions ? angular.copy(controlAtThisLineThisCol.templateOptions.datepickerOptions) : { format: '' };\n }\n }\n return nyaSelectObj;\n }\n }, {\n key: 'bindConfigurationModelFromModalReturn',\n value: function bindConfigurationModelFromModalReturn(indexLine, numcolumn, modalAddCtrlModel, configurationObj) {\n var extractedProps = (0, _modalProxyServiceHelpers.returnControlFromAddCtrlModalModel)(modalAddCtrlModel);\n\n var updatedControl = {\n selectedControl: extractedProps.selectedControl,\n type: extractedProps.formlyType,\n subtype: extractedProps.formlySubtype,\n defaultValue: extractedProps.defaultValue,\n templateOptions: {\n label: extractedProps.formlyLabel,\n required: extractedProps.formlyRequired,\n description: extractedProps.formlyDescription,\n placeholder: extractedProps.formlyPlaceholder,\n options: [].concat(_toConsumableArray(extractedProps.formlyOptions))\n },\n formlyExpressionProperties: angular.copy(extractedProps.formlyExpressionProperties),\n formlyValidators: angular.copy(extractedProps.formlyValidators),\n formlyValidation: angular.copy(extractedProps.formlyValidation)\n };\n // particular case: datepicker : additionnal prop datepickerOptions\n if (updatedControl.type === 'datepicker') {\n updatedControl.templateOptions.datepickerOptions = angular.copy(extractedProps.datepickerOptions);\n }\n /**\n * unique key (set only first time) in this model is formly control type + Date.now();\n */\n // 1st attempt\n var newKey = updatedControl.type + '-' + Date.now();\n if ((0, _modalProxyServiceHelpers.validKeyUniqueness)(newKey, configurationObj) === true) {\n updatedControl.key = newKey;\n } else {\n // 2nd attempt\n newKey = updatedControl.type + '-' + Date.now();\n if ((0, _modalProxyServiceHelpers.validKeyUniqueness)(newKey, configurationObj) === true) {\n updatedControl.key = newKey;\n } else {\n // 3rd attempt\n updatedControl.type + '-' + Date.now();\n }\n }\n updatedControl.edited = true;\n // ///////////////////////\n // finally bind it:\n // ///////////////////////\n configurationObj.lines[indexLine].columns[numcolumn].control = angular.copy(updatedControl);\n }\n }, {\n key: 'applyConfigToSelectedControl',\n value: function applyConfigToSelectedControl(nyaSelectObj) {\n /**\n * used in modal (edit control)\n */\n var selectedControl = nyaSelectObj.selectedControl;\n\n nyaSelectObj.controls.forEach(function (control) {\n if (control.id === selectedControl) {\n control.formlyLabel = nyaSelectObj.temporyConfig.formlyLabel, control.formlyRequired = nyaSelectObj.temporyConfig.formlyRequired;\n control.formlyDescription = nyaSelectObj.temporyConfig.formlyDescription;\n control.formlyDefaultValue = nyaSelectObj.temporyConfig.formlyDefaultValue;\n control.formlyPlaceholder = nyaSelectObj.temporyConfig.formlyPlaceholder;\n control.formlyOptions = nyaSelectObj.temporyConfig.formlyOptions;\n }\n\n if (control.id === 'Date') {\n control.datepickerOptions = angular.copy(nyaSelectObj.temporyConfig.datepickerOptions);\n }\n });\n }\n }, {\n key: 'resetTemporyConfig',\n value: function resetTemporyConfig() {\n return (0, _modalProxyServiceHelpers.getResetConfig)();\n }\n\n /**\n * loading forms will not be able to retrieve formlyExpressionProperties\n * -> here does the job\n */\n\n }, {\n key: 'refreshControlFormlyExpressionProperties',\n value: function refreshControlFormlyExpressionProperties(configurationModel) {\n var _this = this;\n\n if (angular.isObject(configurationModel)) {\n //iterates lines\n angular.forEach(configurationModel.lines, function (line) {\n angular.forEach(line.columns, function (column) {\n var _controlsDefinition = _this.getControlsDefinition();\n angular.forEach(_controlsDefinition.controls, function (aControl) {\n if (column.control.type === aControl.formlyType && column.control.subtype === aControl.formlySubtype) {\n //----> update control formlyExpressionProperties property\n column.control.formlyExpressionProperties = aControl.formlyExpressionProperties;\n }\n });\n });\n });\n }\n }\n\n /**\n * loading forms will not be able to retrieve formlyValidators\n * -> here does the job\n */\n\n }, {\n key: 'refreshControlFormlyValidators',\n value: function refreshControlFormlyValidators(configurationModel) {\n var _this2 = this;\n\n if (angular.isObject(configurationModel)) {\n //iterates lines\n angular.forEach(configurationModel.lines, function (line) {\n angular.forEach(line.columns, function (column) {\n var _controlsDefinition = _this2.getControlsDefinition();\n angular.forEach(_controlsDefinition.controls, function (aControl) {\n if (column.control.type === aControl.formlyType && column.control.subtype === aControl.formlySubtype) {\n //----> update control formlyValidators property\n column.control.formlyValidators = aControl.formlyValidators;\n }\n });\n });\n });\n }\n }\n\n /**\n * loading forms will not be able to retrieve formlyValidation\n * -> here does the job\n */\n\n }, {\n key: 'refreshControlFormlyValidation',\n value: function refreshControlFormlyValidation(configurationModel) {\n var _this3 = this;\n\n if (angular.isObject(configurationModel)) {\n //iterates lines\n angular.forEach(configurationModel.lines, function (line) {\n angular.forEach(line.columns, function (column) {\n var _controlsDefinition = _this3.getControlsDefinition();\n angular.forEach(_controlsDefinition.controls, function (aControl) {\n if (column.control.type === aControl.formlyType && column.control.subtype === aControl.formlySubtype) {\n //----> update control formlyValidation property\n column.control.formlyValidation = aControl.formlyValidation;\n }\n });\n });\n });\n }\n }\n }, {\n key: 'filterDisabledControl',\n value: function filterDisabledControl(nyaSelectObj) {\n var listAllEnabledControl = this.easyFormSteWayConfig.getListEnabledControl();\n var filteredNyaList = [];\n angular.forEach(listAllEnabledControl, function (enabledControl) {\n angular.forEach(nyaSelectObj.controls, function (nyaControl) {\n if (nyaControl.id === enabledControl.name && enabledControl.enabled === true) {\n filteredNyaList = filteredNyaList.concat(nyaControl);\n }\n });\n });\n return filteredNyaList;\n }\n }, {\n key: 'getFilteredNyaSelectObject',\n value: function getFilteredNyaSelectObject() {\n var newNyaSelectObj = {};\n (0, _modalProxyServiceHelpers.resetNyaSelect)(newNyaSelectObj);\n return angular.copy(this.filterDisabledControl(angular.copy(newNyaSelectObj)));\n //return angular.copy(angular.copy(newNyaSelectObj));\n }\n }]);\n\n return $modalProxy;\n}();\n\n$modalProxy.$inject = ['easyFormSteWayConfig'];\nvar MODAL_PROXY_MODULE_NAME = exports.MODAL_PROXY_MODULE_NAME = 'modalProxyModule';\nexports.default = angular.module(MODAL_PROXY_MODULE_NAME, []).service(CONTROLLER_MODAL_PROXY_SERVICE, $modalProxy);//# sourceMappingURL=data:application/json;charset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R0ZW1wdFxuICAgICAgbmV3S2V5ID0gdXBkYXRlZENvbnRyb2wudHlwZSArICctJyArIERhdGUubm93KCk7XG4gICAgICBpZiAodmFsaWRLZXlVbmlxdWVuZXNzKG5ld0tleSwgY29uZmlndXJhdGlvbk9iaikgPT09IHRydWUpIHtcbiAgICAgICAgdXBkYXRlZENvbnRyb2wua2V5ID0gbmV3S2V5O1xuICAgICAgfSBlbHNlIHtcbiAgICAgICAgLy8gM3JkIGF0dGVtcHRcbiAgICAgICAgdXBkYXRlZENvbnRyb2wudHlwZSArICctJyArIERhdGUubm93KCk7XG4gICAgICB9XG4gICAgfVxuICAgIHVwZGF0ZWRDb250cm9sLmVkaXRlZCA9IHRydWU7XG4gICAgLy8gLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy9cbiAgICAvLyBmaW5hbGx5IGJpbmQgaXQ6XG4gICAgLy8gLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy9cbiAgICBjb25maWd1cmF0aW9uT2JqLmxpbmVzW2luZGV4TGluZV0uY29sdW1uc1tudW1jb2x1bW5dLmNvbnRyb2wgPSBhbmd1bGFyLmNvcHkodXBkYXRlZENvbnRyb2wpO1xuICB9XG5cblxuICBhcHBseUNvbmZpZ1RvU2VsZWN0ZWRDb250cm9sKG55YVNlbGVjdE9iail7XG4gICAgLyoqXG4gICAgICAqIHVzZWQgaW4gbW9kYWwgKGVkaXQgY29udHJvbClcbiAgICAgICovXG4gICAgY29uc3Qgc2VsZWN0ZWRDb250cm9sID0gbnlhU2VsZWN0T2JqLnNlbGVjdGVkQ29udHJvbDtcblxuICAgIG55YVNlbGVjdE9iai5jb250cm9scy5mb3JFYWNoKFxuICAgICAgY29udHJvbCA9PiB7XG4gICAgICAgIGlmIChjb250cm9sLmlkID09PSBzZWxlY3RlZENvbnRyb2wpIHtcbiAgICAgICAgICBjb250cm9sLmZvcm1seUxhYmVsID0gbnlhU2VsZWN0T2JqLnRlbXBvcnlDb25maWcuZm9ybWx5TGFiZWwsX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MTEVSX01PREFMX1BST1hZX1NFUlZJQ0UsICAkbW9kYWxQcm94eSk7XG5cblxuXG4vLyBXRUJQQUNLIEZPT1RFUiAvL1xuLy8gLi9zcmMvYXBwL3N0ZXB3YXkvc2VydmljZXMvbW9kYWxQcm94eS9tb2RhbFByb3h5LnNlcnZpY2UuanMiXSwic291cmNlUm9vdCI6IiJ9");
|
||
|
||
/***/ },
|
||
/* 102 */
|
||
/***/ function(module, exports, __webpack_require__) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.getResetConfig = exports.validKeyUniqueness = exports.returnControlFromAddCtrlModalModel = exports.resetNyaSelect = undefined;\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nvar _controls = __webpack_require__(62);\n\nfunction _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }\n\nvar resetNyaSelect = function resetNyaSelect(nyaSelectObj) {\n //reset\n angular.copy({\n controls: [].concat(_toConsumableArray(_controls.configs)),\n selectedControl: 'none',\n temporyConfig: {\n selectedControl: 'none',\n formlyLabel: 'label',\n formlyRequired: false,\n formlyDescription: '',\n formlyPlaceholder: '',\n formlyDefaultValue: '',\n formlyOptions: [],\n //expressions/validation fields\n formlyExpressionProperties: {},\n formlyValidators: {},\n formlyValidation: {}\n }\n }, nyaSelectObj);\n return true;\n};\n\nvar getResetConfig = function getResetConfig() {\n return {\n formlyLabel: '',\n formlyRequired: false,\n formlyPlaceholder: '',\n formlyDescription: '',\n formlyDefaultValue: '',\n formlyOptions: []\n };\n};\n\n/**\n * data passed back to parent controller\n * after control being finsihed editing in modal\n */\nvar returnControlFromAddCtrlModalModel = function returnControlFromAddCtrlModalModel(CtrlModalModel) {\n if (CtrlModalModel && CtrlModalModel.selectedControl && Array.isArray(CtrlModalModel.controls)) {\n var _ret = function () {\n var selectedControl = CtrlModalModel.selectedControl;\n var controlRef = CtrlModalModel.controls.find(function (control) {\n return control.id === selectedControl;\n });\n // return a deep copy of selected control:\n if (controlRef) {\n var returnCtrl = {\n selectedControl: selectedControl,\n formlyType: controlRef.formlyType,\n formlySubtype: controlRef.formlySubtype,\n formlyLabel: controlRef.formlyLabel,\n formlyRequired: controlRef.formlyRequired,\n formlyDescription: controlRef.formlyDescription,\n formlyPlaceholder: controlRef.formlyPlaceholder,\n formlyOptions: [].concat(_toConsumableArray(controlRef.formlyOptions)),\n //validation fields\n formlyExpressionProperties: angular.copy(controlRef.formlyExpressionProperties),\n formlyValidators: angular.copy(controlRef.formlyValidators),\n formlyValidation: angular.copy(controlRef.formlyValidation)\n };\n // particular case: date picker needs an additional property\n if (controlRef.formlyType === 'datepicker') {\n returnCtrl.datepickerOptions = controlRef.datepickerOptions;\n }\n return {\n v: returnCtrl\n };\n }\n }();\n\n if ((typeof _ret === 'undefined' ? 'undefined' : _typeof(_ret)) === \"object\") return _ret.v;\n }\n // by default: returns an empty control object:\n return {\n selectedControl: 'none',\n formlyType: 'none',\n formlySubtype: 'none',\n formlyLabel: '',\n formlyRequired: false,\n formlyDescription: '',\n formlyPlaceholder: '',\n formlyOptions: [],\n //validation fields\n formlyExpressionProperties: {},\n formlyValidators: {},\n formlyValidation: {}\n };\n};\n\n/**\n * validKeyUniqueness\n * to be sure the \"keys\" are unique (in same formly field model)\n */\nvar validKeyUniqueness = function validKeyUniqueness(thisKey, configurationObj) {\n var lines = configurationObj.lines;\n return !lines.map(function (line) {\n return line.columns.some(function (column) {\n return column.control.key === thisKey;\n });\n }).reduce(function (prev, next) {\n return prev || next;\n }, false);\n};\n\nexports.resetNyaSelect = resetNyaSelect;\nexports.returnControlFromAddCtrlModalModel = returnControlFromAddCtrlModalModel;\nexports.validKeyUniqueness = validKeyUniqueness;\nexports.getResetConfig = getResetConfig;//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvc2VydmljZXMvbW9kYWxQcm94eS9tb2RhbFByb3h5LnNlcnZpY2UuaGVscGVycy5qcz85NGJlIl0sIm5hbWVzIjpbInJlc2V0TnlhU2VsZWN0IiwibnlhU2VsZWN0T2JqIiwiYW5ndWxhciIsImNvcHkiLCJjb250cm9scyIsInNlbGVjdGVkQ29udHJvbCIsInRlbXBvcnlDb25maWciLCJmb3JtbHlMYWJlbCIsImZvcm1seVJlcXVpcmVkIiwiZm9ybWx5RGVzY3JpcHRpb24iLCJmb3JtbHlQbGFjZWhvbGRlciIsImZvcm1seURlZmF1bHRWYWx1ZSIsImZvcm1seU9wdGlvbnMiLCJmb3JtbHlFeHByZXNzaW9uUHJvcGVydGllcyIsImZvcm1seVZhbGlkYXRvcnMiLCJmb3JtbHlWYWxpZGF0aW9uIiwiZ2V0UmVzZXRDb25maWciLCJyZXR1cm5Db250cm9sRnJvbUFkZEN0cmxNb2RhbE1vZGVsIiwiQ3RybE1vZGFsTW9kZWwiLCJBcnJheSIsImlzQXJyYXkiLCJjb250cm9sUmVmIiwiZmluZCIsImNvbnRyb2wiLCJpZCIsInJldHVybkN0cmwiLCJmb3JtbHlUeXBlIiwiZm9ybWx5U3VidHlwZSIsImRhdGVwaWNrZXJPcHRpb25zIiwidmFsaWRLZXlVbmlxdWVuZXNzIiwidGhpc0tleSIsImNvbmZpZ3VyYXRpb25PYmoiLCJsaW5lcyIsIm1hcCIsImxpbmUiLCJjb2x1bW5zIiwic29tZSIsImNvbHVtbiIsImtleSIsInJlZHVjZSIsInByZXYiLCJuZXh0Il0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7QUFBQTs7OztBQUVBLElBQU1BLGlCQUFpQixTQUFqQkEsY0FBaUIsQ0FBQ0MsWUFB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GVsKVxuICAqL1xuY29uc3QgdmFsaWRLZXlVbmlxdWVuZXNzID0gKHRoaXNLZXksIGNvbmZpZ3VyYXRpb25PYmopID0+IHtcbiAgY29uc3QgbGluZXMgPSBjb25maWd1cmF0aW9uT2JqLmxpbmVzO1xuICByZXR1cm4gIWxpbmVzXG4gICAgICAgICAgICAgIC5tYXAobGluZSA9PiBsaW5lLmNvbHVtbnMuc29tZShjb2x1bW4gPT4gY29sdW1uLmNvbnRyb2wua2V5ID09PSB0aGlzS2V5KSlcbiAgICAgICAgICAgICAgLnJlZHVjZSgocHJldiwgbmV4dCkgPT4gcHJldiB8fCBuZXh0LCBmYWxzZSk7XG59O1xuXG5leHBvcnQge1xuICByZXNldE55YVNlbGVjdCxcbiAgcmV0dXJuQ29udHJvbEZyb21BZGRDdHJsTW9kYWxNb2RlbCxcbiAgdmFsaWRLZXlVbmlxdWVuZXNzLFxuICBnZXRSZXNldENvbmZpZ1xuXG59O1xuXG5cblxuLy8gV0VCUEFDSyBGT09URVIgLy9cbi8vIC4vc3JjL2FwcC9zdGVwd2F5L3NlcnZpY2VzL21vZGFsUHJveHkvbW9kYWxQcm94eS5zZXJ2aWNlLmhlbHBlcnMuanMiXSwic291cmNlUm9vdCI6IiJ9");
|
||
|
||
/***/ },
|
||
/* 103 */
|
||
/***/ function(module, exports, __webpack_require__) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.FORMLY_PROXY_MODULE_NAME = exports.FORMLY_PROXY_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; }; }();\n\nvar _formlyProxyService = __webpack_require__(104);\n\nfunction _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar FORMLY_PROXY_SERVICE = exports.FORMLY_PROXY_SERVICE = '$formlyProxy';\n\nvar $formlyProxy = function () {\n function $formlyProxy() {\n _classCallCheck(this, $formlyProxy);\n }\n\n _createClass($formlyProxy, [{\n key: 'initConfigurationEditFromScratch',\n value: function initConfigurationEditFromScratch(configurationModel) {\n angular.copy(_formlyProxyService.configurationModelInit, configurationModel);\n }\n }, {\n key: 'bindConfigurationLines',\n value: function bindConfigurationLines(configurationModel, lines) {\n if (angular.isArray(lines)) {\n var configModelResult = _formlyProxyService.configurationModelResult;\n configModelResult.lines = [].concat(_toConsumableArray(lines));\n angular.copy(configModelResult, configurationModel);\n return this.getMessageObject('configuration model is bound', 'lines are bound to configuration model.');\n } else {\n return this.getErrorObject('lines is not an array', 'Checks lines type, it is not an array.');\n }\n }\n }, {\n key: 'applyConfigurationToformlyModel',\n value: function applyConfigurationToformlyModel(configurationModel, formlyModel, formlyDataModel) {\n (0, _formlyProxyService.resetFormlyModel)(formlyModel);\n (0, _formlyProxyService.resetDataModel)(formlyDataModel);\n\n configurationModel.lines.forEach(function (line, lineIndex) {\n if (line.columns.length === 1) {\n (0, _formlyProxyService.addOneColumnControl)(formlyModel, configurationModel, lineIndex);\n }\n if (line.columns.length === 2) {\n (0, _formlyProxyService.addTwoColumnControl)(formlyModel, configurationModel, lineIndex);\n }\n if (line.columns.length === 3) {\n (0, _formlyProxyService.addThreeColumnControl)(formlyModel, configurationModel, lineIndex);\n }\n });\n }\n }, {\n key: 'getMessageObject',\n value: function getMessageObject(messageTitle, messageBody) {\n var messageObj = {\n noError: true,\n title: messageTitle,\n Message: messageBody\n };\n return messageObj;\n }\n }]);\n\n return $formlyProxy;\n}();\n\n$formlyProxy.$inject = [];\nvar FORMLY_PROXY_MODULE_NAME = exports.FORMLY_PROXY_MODULE_NAME = 'formlyProxyModule';\nexports.default = angular.module(FORMLY_PROXY_MODULE_NAME, []).service(FORMLY_PROXY_SERVICE, $formlyProxy);//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvc2VydmljZXMvZm9ybWx5UHJveHkvZm9ybWx5UHJveHkuc2VydmljZS5qcz8yZjM2Il0sIm5hbWVzIjpbIkZPUk1MWV9QUk9YWV9TRVJWSUNFIiwiJGZvcm1seVByb3h5IiwiY29uZmlndXJhdGlvbk1vZGVsIiwiYW5ndWxhciIsImNvcHkiLCJsaW5lcyIsImlzQXJyYXkiLCJjb25maWdNb2RlbFJlc3VsdCIsImdldE1lc3NhZ2VPYmplY3QiLCJnZXRFcnJvck9iamVjdCIsImZvcm1seU1vZGVsIiwiZm9ybWx5RGF0YU1vZGVsIiwiZm9yRWFjaCIsImxpbmUiLCJsaW5lSW5kZXgiLCJjb2x1bW5zIiwibGVuZ3RoIiwibWVzc2FnZVRpdGxlIiwibWVzc2FnZUJvZHkiLCJtZXNzYWdlT2JqIiwibm9FcnJvciIsInRpdGxlIiwiTWVzc2FnZSIsIiRpbmplY3QiLCJGT1JNTFlfUFJPWFlfTU9EVUxFX05BTUUiLCJtb2R1bGUiLCJzZXJ2aWNlIl0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7QUFBQTs7Ozs7O0FBVU8sSUFBTUEsc0RBQXVCLGNBQTdCOztJQUVEQyxZO0FBR0osMEJBQWM7QUFBQTtBQUViOzs7O3FEQUVnQ0Msa0IsRUFBb0I7QUFDbkRDLGNBQVFDLElBQVIsNkNBQXFDRixrQkFBckM7QUFDRDs7OzJDQUVzQkEsa0IsRUFBb0JHLEssRUFBTztBQUNoRCxVQUFJR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gICAgICAgYWRkVHdvQ29sdW1uQ29udHJvbChmb3JtbHlNb2RlbCwgY29uZmlndXJhdGlvbk1vZGVsLCBsaW5lSW5kZXgpO1xuICAgICAgICB9XG4gICAgICAgIGlmIChsaW5lLmNvbHVtbnMubGVuZ3RoID09PSAzKSB7XG4gICAgICAgICAgYWRkVGhyZWVDb2x1bW5Db250cm9sKGZvcm1seU1vZGVsLCBjb25maWd1cmF0aW9uTW9kZWwsIGxpbmVJbmRleCk7XG4gICAgICAgIH1cbiAgICAgIH1cbiAgICApO1xuICB9XG5cbiAgZ2V0TWVzc2FnZU9iamVjdChtZXNzYWdlVGl0bGUsIG1lc3NhZ2VCb2R5KSB7XG4gICAgY29uc3QgbWVzc2FnZU9iaiA9IHtcbiAgICAgIG5vRXJyb3I6IHRydWUsXG4gICAgICB0aXRsZTogbWVzc2FnZVRpdGxlLFxuICAgICAgTWVzc2FnZTogbWVzc2FnZUJvZHlcbiAgICB9O1xuICAgIHJldHVybiBtZXNzYWdlT2JqO1xuICB9XG59XG5cbmV4cG9ydCBjb25zdCBGT1JNTFlfUFJPWFlfTU9EVUxFX05BTUUgPSAnZm9ybWx5UHJveHlNb2R1bGUnO1xuZXhwb3J0IGRlZmF1bHQgYW5ndWxhclxuICAgICAgICAgICAgICAgICAgLm1vZHVsZShGT1JNTFlfUFJPWFlfTU9EVUxFX05BTUUsIFtdKVxuICAgICAgICAgICAgICAgICAgLnNlcnZpY2UoRk9STUxZX1BST1hZX1NFUlZJQ0UsICRmb3JtbHlQcm94eSk7XG5cblxuXG4vLyBXRUJQQUNLIEZPT1RFUiAvL1xuLy8gLi9zcmMvYXBwL3N0ZXB3YXkvc2VydmljZXMvZm9ybWx5UHJveHkvZm9ybWx5UHJveHkuc2VydmljZS5qcyJdLCJzb3VyY2VSb290IjoiIn0=");
|
||
|
||
/***/ },
|
||
/* 104 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar configurationModelInit = {\n activeLine: 1,\n listConfigStep: ['init', 'first', 'second', 'third'],\n stepIndicators: [true, false, false, false],\n configStepCounter: 0,\n submitButtonText: 'submit',\n cancelButtonText: 'cancel',\n lines: [{\n line: 1,\n activeColumn: 1,\n columns: [{\n numColumn: 1,\n exist: true,\n control: {\n type: 'none',\n key: 'none' // ,\n // templateOptions: {\n // label: 'none',\n // placeholder: 'none',\n // required: false,\n // description: 'Descriptive text'\n // }\n }\n }]\n }]\n};\n\nvar configurationModelResult = {\n activeLine: 1,\n listConfigStep: ['init', 'first', 'second', 'third'],\n stepIndicators: [true, false, false, false],\n configStepCounter: 0,\n submitButtonText: 'submit',\n cancelButtonTex: 'cancel',\n lines: []\n};\n\nvar isTemplateOptionDefined = function isTemplateOptionDefined(obj) {\n var defaultValue = false;\n if (obj && obj.templateOptions) {\n return true;\n }\n return defaultValue;\n};\n\nvar extractTemplateOptionLabel = function extractTemplateOptionLabel(obj) {\n var defaultValue = '';\n if (isTemplateOptionDefined(obj) && obj.templateOptions.label) {\n return obj.templateOptions.label;\n }\n return defaultValue;\n};\n\nvar extractTemplateOptionDatepickerOptions = function extractTemplateOptionDatepickerOptions(obj) {\n var defaultValue = { format: '' };\n if (isTemplateOptionDefined(obj) && obj.templateOptions.datepickerOptions) {\n return _extends({}, obj.templateOptions.datepickerOptions);\n }\n return defaultValue;\n};\n\nvar extractTemplateOptionRequired = function extractTemplateOptionRequired(obj) {\n var defaultValue = false;\n if (isTemplateOptionDefined(obj) && obj.templateOptions.required) {\n return true;\n }\n return defaultValue;\n};\n\nvar extractTemplateOptionOptions = function extractTemplateOptionOptions(obj) {\n var defaultValue = '';\n if (isTemplateOptionDefined(obj) && obj.templateOptions.options) {\n return obj.templateOptions.options;\n }\n return defaultValue;\n};\n\nvar extractTemplateOptionType = function extractTemplateOptionType(obj) {\n var defaultValue = '';\n if (obj && obj.subtype) {\n return obj.subtype;\n }\n return defaultValue;\n};\n\nvar extractTemplateOptionPlaceholder = function extractTemplateOptionPlaceholder(obj) {\n var defaultValue = '';\n if (isTemplateOptionDefined(obj) && obj.templateOptions.placeholder) {\n return obj.templateOptions.placeholder;\n }\n return defaultValue;\n};\n\nvar extractTemplateOptionDescription = function extractTemplateOptionDescription(obj) {\n var defaultValue = '';\n if (isTemplateOptionDefined(obj) && obj.templateOptions.description) {\n return obj.templateOptions.description;\n }\n return defaultValue;\n};\n\nvar extractDefaultValue = function extractDefaultValue(obj) {\n var defaultValue = '';\n if (obj && obj.defaultValue) {\n return obj.defaultValue;\n }\n return defaultValue;\n};\n\nvar extractFormlyExpressionProperties = function extractFormlyExpressionProperties(obj) {\n var defaultValue = {};\n if (obj && obj.formlyExpressionProperties) {\n return angular.copy(obj.formlyExpressionProperties);\n }\n return defaultValue;\n};\n\nvar extractFormlyValidators = function extractFormlyValidators(obj) {\n var defaultValue = {};\n if (obj && obj.formlyValidators) {\n return angular.copy(obj.formlyValidators);\n }\n return defaultValue;\n};\n\nvar extractFormlyValidation = function extractFormlyValidation(obj) {\n var defaultValue = {};\n if (obj && obj.formlyValidation) {\n return angular.copy(obj.formlyValidation);\n }\n return defaultValue;\n};\n\nvar addDatepickerOptionsProperty = function addDatepickerOptionsProperty(fieldToPush, configurationModel, lineIndex) {\n var control = _extends({}, configurationModel.lines[lineIndex].columns[0].control);\n fieldToPush.templateOptions.datepickerOptions = extractTemplateOptionDatepickerOptions(control);\n};\n\n// const addOneColumnHeader = (formlyModel, configurationModel, lineIndex) => {\n// const control = { ...configurationModel.lines[lineIndex].columns[0].control };\n// const defaultTemplate = '<div></div>';\n// const headerTemplateCol0 = {\n// template : `\n// <div class=\"row\">\n// <div class=\"\">\n// <h2 class=\"text-center\">\n// ${extractTemplateOptionDescription(control)}\n// </h2>\n// <hr/>\n// </div>\n// </div>\n// `\n// };\n// if (control.type && control.type === 'header') {\n// return formlyModel.push({\n// template: headerTemplateCol0.template\n// });\n// }\n// return formlyModel.push({\n// template : defaultTemplate\n// });\n// };\n\nvar addOneColumnControl = function addOneColumnControl(formlyModel, configurationModel, lineIndex) {\n var control = _extends({}, configurationModel.lines[lineIndex].columns[0].control);\n var fieldToPush = {\n className: 'col-xs-12',\n type: control && control.type && control.type !== 'none' ? control.type : 'blank',\n key: control && control.key ? control.key : 'blank' + Date.now(),\n templateOptions: {\n type: extractTemplateOptionType(control),\n label: extractTemplateOptionLabel(control),\n required: extractTemplateOptionRequired(control),\n placeholder: extractTemplateOptionPlaceholder(control),\n description: extractTemplateOptionDescription(control),\n options: extractTemplateOptionOptions(control)\n },\n defaultValue: extractDefaultValue(control),\n expressionProperties: extractFormlyExpressionProperties(control),\n validators: extractFormlyValidators(control),\n validation: extractFormlyValidation(control)\n };\n //////////////////////////////////////////////\n //datepicker additionnal particular property\n //////////////////////////////////////////////\n if (control.type === 'datepicker') {\n addDatepickerOptionsProperty(fieldToPush, configurationModel, lineIndex);\n }\n formlyModel.push(fieldToPush);\n};\n\nvar addTwoColumnControl = function addTwoColumnControl(formlyModel, configurationModel, lineIndex) {\n var control0 = _extends({}, configurationModel.lines[lineIndex].columns[0].control);\n //text header is stored in \"description\" in templateOtion model\n var headerTemplateCol0 = {\n className: 'col-xs-6',\n template: '\\n <div class=\"row\">\\n <div class=\"\">\\n <h2 class=\"text-center\">\\n ' + extractTemplateOptionDescription(control0) + '\\n </h2>\\n <hr/>\\n </div>\\n </div>\\n '\n };\n var controlCol0 = {\n className: 'col-xs-6',\n type: control0 && control0.type && control0.type !== 'none' ? control0.type : 'blank',\n key: control0 && control0.key ? control0.key : 'blank' + Date.now(),\n templateOptions: {\n type: extractTemplateOptionType(control0),\n label: extractTemplateOptionLabel(control0),\n required: extractTemplateOptionRequired(control0),\n placeholder: extractTemplateOptionPlaceholder(control0),\n description: extractTemplateOptionDescription(control0),\n options: extractTemplateOptionOptions(control0)\n },\n defaultValue: extractDefaultValue(control0),\n expressionProperties: extractFormlyExpressionProperties(control0),\n validators: extractFormlyValidators(control0),\n validation: extractFormlyValidation(control0)\n };\n //////////////////////////////////////////////\n //datepicker additionnal particular property\n //////////////////////////////////////////////\n if (control0.type === 'datepicker') {\n addDatepickerOptionsProperty(controlCol0, configurationModel, lineIndex);\n }\n\n var control1 = _extends({}, configurationModel.lines[lineIndex].columns[1].control);\n var headerTemplateCol1 = {\n className: 'col-xs-6',\n template: '\\n <div class=\"row\">\\n <div class=\"\">\\n <h2 class=\"text-center\">\\n ' + extractTemplateOptionDescription(control1) + '\\n </h2>\\n <hr/>\\n </div>\\n </div>\\n '\n };\n var controlCol1 = {\n className: 'col-xs-6',\n type: control1 && control1.type && control1.type !== 'none' ? control1.type : 'none',\n key: control1 && control1.key ? control1.key : 'blank' + Date.now(),\n templateOptions: {\n type: extractTemplateOptionType(control1),\n label: extractTemplateOptionLabel(control1),\n required: extractTemplateOptionRequired(control1),\n placeholder: extractTemplateOptionPlaceholder(control1),\n description: extractTemplateOptionDescription(control1),\n options: extractTemplateOptionOptions(control1)\n },\n defaultValue: extractDefaultValue(control1),\n expressionProperties: extractFormlyExpressionProperties(control1),\n validators: extractFormlyValidators(control1),\n validation: extractFormlyValidation(control1)\n };\n //////////////////////////////////////////////\n // datepicker additionnal particular property\n //////////////////////////////////////////////\n if (control1.type === 'datepicker') {\n addDatepickerOptionsProperty(controlCol1, configurationModel, lineIndex);\n }\n\n var FieldGroup = [];\n\n if (control0.type === 'header') {\n FieldGroup.push(headerTemplateCol0);\n } else {\n FieldGroup.push(controlCol0);\n }\n\n if (control1.type === 'header') {\n FieldGroup.push(headerTemplateCol1);\n } else {\n FieldGroup.push(controlCol1);\n }\n\n formlyModel.push({\n className: 'row',\n fieldGroup: FieldGroup\n });\n};\n\nvar addThreeColumnControl = function addThreeColumnControl(formlyModel, configurationModel, lineIndex) {\n var control0 = _extends({}, configurationModel.lines[lineIndex].columns[0].control);\n //text header is stored in \"description\" in templateOtion model\n var headerTemplateCol0 = {\n className: 'col-xs-4',\n template: '\\n <div class=\"row\">\\n <div class=\"\">\\n <h2 class=\"text-center\">\\n ' + extractTemplateOptionDescription(control0) + '\\n </h2>\\n <hr/>\\n </div>\\n </div>\\n '\n };\n var controlCol0 = {\n className: 'col-xs-4',\n type: control0 && control0.type && control0.type !== 'none' ? control0.type : 'blank',\n key: control0 && control0.key ? control0.key : 'blank' + Date.now(),\n templateOptions: {\n type: extractTemplateOptionType(control0),\n label: extractTemplateOptionLabel(control0),\n required: extractTemplateOptionRequired(control0),\n placeholder: extractTemplateOptionPlaceholder(control0),\n description: extractTemplateOptionDescription(control0),\n options: extractTemplateOptionOptions(control0)\n },\n defaultValue: extractDefaultValue(control0),\n expressionProperties: extractFormlyExpressionProperties(control0),\n validators: extractFormlyValidators(control0),\n validation: extractFormlyValidation(control0)\n };\n //////////////////////////////////////////////\n //datepicker additionnal particular property\n //////////////////////////////////////////////\n if (control0.type === 'datepicker') {\n addDatepickerOptionsProperty(controlCol0, configurationModel, lineIndex);\n }\n\n var control1 = _extends({}, configurationModel.lines[lineIndex].columns[1].control);\n var headerTemplateCol1 = {\n className: 'col-xs-4',\n template: '\\n <div class=\"row\">\\n <div class=\"\">\\n <h2 class=\"text-center\">\\n ' + extractTemplateOptionDescription(control1) + '\\n </h2>\\n <hr/>\\n </div>\\n </div>\\n '\n };\n var controlCol1 = {\n className: 'col-xs-4',\n type: control1 && control1.type && control1.type !== 'none' ? control1.type : 'blank',\n key: control1 && control1.key ? control1.key : 'blank' + Date.now(),\n templateOptions: {\n type: extractTemplateOptionType(control1),\n label: extractTemplateOptionLabel(control1),\n required: extractTemplateOptionRequired(control1),\n placeholder: extractTemplateOptionPlaceholder(control1),\n description: extractTemplateOptionDescription(control1),\n options: extractTemplateOptionOptions(control1)\n },\n defaultValue: extractDefaultValue(control1),\n expressionProperties: extractFormlyExpressionProperties(control1),\n validators: extractFormlyValidators(control1),\n validation: extractFormlyValidation(control1)\n };\n //////////////////////////////////////////////\n //datepicker additionnal particular property\n //////////////////////////////////////////////\n if (control1.type === 'datepicker') {\n addDatepickerOptionsProperty(controlCol1, configurationModel, lineIndex);\n }\n\n var control2 = _extends({}, configurationModel.lines[lineIndex].columns[2].control);\n var headerTemplateCol2 = {\n className: 'col-xs-4',\n template: '\\n <div class=\"row\">\\n <div class=\"\">\\n <h2 class=\"text-center\">\\n ' + extractTemplateOptionDescription(control2) + '\\n </h2>\\n <hr/>\\n </div>\\n </div>\\n '\n };\n var controlCol2 = {\n className: 'col-xs-4',\n type: control2 && control2.type && control2.type !== 'none' ? control2.type : 'blank',\n key: control2 && control2.key ? control2.key : 'blank' + Date.now(),\n templateOptions: {\n type: extractTemplateOptionType(control2),\n label: extractTemplateOptionLabel(control2),\n required: extractTemplateOptionRequired(control2),\n placeholder: extractTemplateOptionPlaceholder(control2),\n description: extractTemplateOptionDescription(control2),\n options: extractTemplateOptionOptions(control2)\n },\n defaultValue: extractDefaultValue(control2),\n expressionProperties: extractFormlyExpressionProperties(control2),\n validators: extractFormlyValidators(control2),\n validation: extractFormlyValidation(control2)\n };\n //////////////////////////////////////////////\n //datepicker additionnal particular property\n //////////////////////////////////////////////\n if (control2.type === 'datepicker') {\n addDatepickerOptionsProperty(controlCol2, configurationModel, lineIndex);\n }\n\n var FieldGroup = [];\n\n if (control0.type === 'header') {\n FieldGroup.push(headerTemplateCol0);\n } else {\n FieldGroup.push(controlCol0);\n }\n\n if (control1.type === 'header') {\n FieldGroup.push(headerTemplateCol1);\n } else {\n FieldGroup.push(controlCol1);\n }\n\n if (control2.type === 'header') {\n FieldGroup.push(headerTemplateCol2);\n } else {\n FieldGroup.push(controlCol2);\n }\n\n formlyModel.push({\n className: 'row',\n fieldGroup: FieldGroup\n });\n};\n\nvar resetDataModel = function resetDataModel(obj) {\n var emptyDataModel = {};\n angular.copy(emptyDataModel, obj);\n return true;\n};\n\nvar resetFormlyModel = function resetFormlyModel(formlyModel) {\n var resetformly = [];\n angular.copy(resetformly, formlyModel);\n};\n\nexports.configurationModelInit = configurationModelInit;\nexports.configurationModelResult = configurationModelResult;\nexports.resetDataModel = resetDataModel;\nexports.resetFormlyModel = resetFormlyModel;\nexports.isTemplateOptionDefined = isTemplateOptionDefined;\nexports.extractTemplateOptionLabel = extractTemplateOptionLabel;\nexports.extractTemplateOptionDatepickerOptions = extractTemplateOptionDatepickerOptions;\nexports.extractDefaultValue = extractDefaultValue;\nexports.extractFormlyExpressionProperties = extractFormlyExpressionProperties;\nexports.extractFormlyValidators = extractFormlyValidators;\nexports.extractFormlyValidation = extractFormlyValidation;\nexports.extractTemplateOptionRequired = extractTemplateOptionRequired;\nexports.extractTemplateOptionOptions = extractTemplateOptionOptions;\nexports.extractTemplateOptionType = extractTemplateOptionType;\nexports.extractTemplateOptionPlaceholder = extractTemplateOptionPlaceholder;\nexports.extractTemplateOptionDescription = extractTemplateOptionDescription;\nexports.addDatepickerOptionsProperty = addDatepickerOptionsProperty;\nexports.addOneColumnControl = addOneColumnControl;\nexports.addTwoColumnControl = addTwoColumnControl;\nexports.addThreeColumnControl = addThreeColumnControl;//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvc2VydmljZXMvZm9ybWx5UHJveHkvZm9ybWx5UHJveHkuc2VydmljZS5oZWxwZXJzLmpzPzgxNjgiXSwibmFtZXMiOlsiY29uZmlndXJhdGlvbk1vZGVsSW5pdCIsImFjdGl2ZUxpbmUiLCJsaXN0Q29uZmlnU3RlcCIsInN0ZXBJbmRpY2F0b3JzIiwiY29uZmlnU3RlcENvdW50ZXIiLCJzdWJtaXRCdXR0b25UZXh0IiwiY2FuY2VsQnV0dG9uVGV4dCIsImxpbmVzIiwibGluZSIsImFjdGl2ZUNvbHVtbiIsImNvbHVtbnMiLCJudW1Db2x1bW4iLCJleGlzdCIsImNvbnRyb2wiL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vbnNQcm9wZXJ0eSxcbiAgYWRkT25lQ29sdW1uQ29udHJvbCxcbiAgYWRkVHdvQ29sdW1uQ29udHJvbCxcbiAgYWRkVGhyZWVDb2x1bW5Db250cm9sXG59O1xuXG5cblxuLy8gV0VCUEFDSyBGT09URVIgLy9cbi8vIC4vc3JjL2FwcC9zdGVwd2F5L3NlcnZpY2VzL2Zvcm1seVByb3h5L2Zvcm1seVByb3h5LnNlcnZpY2UuaGVscGVycy5qcyJdLCJzb3VyY2VSb290IjoiIn0=");
|
||
|
||
/***/ },
|
||
/* 105 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: 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 SELECT_OPTION_MANAGE_NAME = exports.SELECT_OPTION_MANAGE_NAME = 'selectOptionManage';\n\nvar selectOptionManage = function () {\n function selectOptionManage() {\n _classCallCheck(this, selectOptionManage);\n }\n\n _createClass(selectOptionManage, [{\n key: 'initModel',\n value: function initModel(selectObj) {\n this.resetModel(selectObj);\n }\n }, {\n key: 'resetModel',\n value: function resetModel(selectObj) {\n var zeroModel = { rows: [] };\n angular.copy(zeroModel, selectObj);\n }\n }, {\n key: 'isOptionUnique',\n value: function isOptionUnique(selectObj, textValue) {\n return !selectObj.rows.some(function (row) {\n return row.option === textValue;\n });\n }\n }, {\n key: 'isOptionValidFormat',\n value: function isOptionValidFormat(textValue) {\n if (textValue !== '') return true;\n return false;\n }\n }, {\n key: 'addNewOptionRadio',\n value: function addNewOptionRadio(selectObj, newOptionText) {\n var fullResponse = {\n resultFlag: false,\n details: ''\n };\n var checkResult = this.validOption(selectObj, newOptionText);\n if (checkResult.resultFlag === true) {\n var newOption = {\n option: newOptionText,\n order: selectObj.rows.length\n };\n selectObj.rows.push(newOption);\n fullResponse.resultFlag = true;\n fullResponse.details = '';\n return fullResponse;\n } else {\n angular.copy(checkResult, fullResponse);\n return fullResponse;\n }\n }\n }, {\n key: 'addNewOptionBasicSelect',\n value: function addNewOptionBasicSelect(selectObj, newOptionText) {\n var fullResponse = {\n resultFlag: false,\n details: ''\n };\n var checkResult = this.validOption(selectObj, newOptionText);\n if (checkResult.resultFlag === true) {\n var newOption = {\n option: newOptionText,\n order: selectObj.rows.length\n };\n selectObj.rows.push(newOption);\n fullResponse.resultFlag = true;\n fullResponse.details = '';\n return fullResponse;\n } else {\n angular.copy(checkResult, fullResponse);\n return fullResponse;\n }\n }\n }, {\n key: 'addNewOptionGroupedSelect',\n value: function addNewOptionGroupedSelect(selectObj, newOptionText, newOptionGroup) {\n var fullResponse = {\n resultFlag: false,\n details: ''\n };\n var checkResult = this.validOption(selectObj, newOptionText);\n if (checkResult.resultFlag === true) {\n var newOption = {\n option: newOptionText,\n group: newOptionGroup,\n order: selectObj.rows.length\n };\n selectObj.rows.push(newOption);\n fullResponse.resultFlag = true;\n fullResponse.details = '';\n return fullResponse;\n } else {\n angular.copy(checkResult, fullResponse);\n return fullResponse;\n }\n }\n }, {\n key: 'removeOption',\n value: function removeOption(selectObj, AtIndex) {\n var fullResponse = {\n resultFlag: false,\n details: ''\n };\n if (AtIndex !== -1) {\n selectObj.rows.splice(AtIndex, 1);\n fullResponse.resultFlag = true;\n fullResponse.details = '';\n return fullResponse;\n } else {\n fullResponse.resultFlag = false;\n fullResponse.details = 'Option index not valid';\n return fullResponse;\n }\n }\n }, {\n key: 'upthisOption',\n value: function upthisOption(selectObj, indexOption) {\n var fullResponse = {\n resultFlag: false,\n details: ''\n };\n if (indexOption > -1) {\n if (indexOption > 0) {\n if (selectObj.rows[indexOption - 1]) {\n var currentOption = selectObj.rows[indexOption];\n selectObj.rows.splice(indexOption, 1);\n selectObj.rows.splice(indexOption - 1, 0, currentOption);\n fullResponse.resultFlag = true;\n fullResponse.details = '';\n return fullResponse;\n } else {\n fullResponse.resultFlag = false;\n fullResponse.details = 'Can\\'t retrieve option from option index';\n return fullResponse;\n }\n } else {\n fullResponse.resultFlag = true;\n fullResponse.details = '';\n return fullResponse;\n }\n } else {\n fullResponse.resultFlag = false;\n fullResponse.details = 'Option index not valid';\n return fullResponse;\n }\n }\n }, {\n key: 'downthisOption',\n value: function downthisOption(selectObj, indexOption) {\n var fullResponse = {\n resultFlag: false,\n details: ''\n };\n if (indexOption > -1) {\n if (indexOption < selectObj.rows.length - 1) {\n if (selectObj.rows[indexOption + 1]) {\n var currentOption = selectObj.rows[indexOption];\n selectObj.rows.splice(indexOption, 1);\n selectObj.rows.splice(indexOption + 1, 0, currentOption);\n fullResponse.resultFlag = true;\n fullResponse.details = '';\n return fullResponse;\n } else {\n fullResponse.resultFlag = false;\n fullResponse.details = 'Can\\'t retreive option from option index';\n return fullResponse;\n }\n } else {\n fullResponse.resultFlag = true;\n fullResponse.details = '';\n return fullResponse;\n }\n } else {\n fullResponse.resultFlag = false;\n fullResponse.details = 'Option index not valid';\n return fullResponse;\n }\n }\n }, {\n key: 'validOption',\n value: function validOption(selectObj, newOptionText) {\n var fullResponse = {\n resultFlag: false,\n details: ''\n };\n if (typeof newOptionText === 'undefined') {\n fullResponse.resultFlag = false;\n fullResponse.details = 'Entered option is empty';\n return fullResponse;\n }\n if (newOptionText !== '') {\n for (var i = selectObj.rows.length - 1; i >= 0; i--) {\n if (selectObj.rows[i].option === newOptionText) {\n fullResponse.resultFlag = false;\n fullResponse.details = 'Entered option is not unique';\n return fullResponse;\n }\n }\n fullResponse.resultFlag = true;\n fullResponse.details = '';\n return fullResponse;\n }\n fullResponse.resultFlag = false;\n fullResponse.details = 'Entered option is empty';\n return fullResponse;\n }\n }]);\n\n return selectOptionManage;\n}();\n\nselectOptionManage.$inject = [];\n\n\nvar SELECT_OPTION_MANAGE_MODULE_NAME = 'stepway.selectOpionManage.module';\nexports.default = angular.module(SELECT_OPTION_MANAGE_MODULE_NAME, []).service(SELECT_OPTION_MANAGE_NAME, selectOptionManage);//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvc2VydmljZXMvc2VsZWN0T3B0aW9uTWFuYWdlL3NlbGVjdE9wdGlvbk1hbmFnZS5zZXJ2aWNlLmpzPzBjYjMiXSwibmFtZXMiOlsiU0VMRUNUX09QVElPTl9NQU5BR0VfTkFNRSIsInNlbGVjdE9wdGlvbk1hbmFnZSIsInNlbGVjdE9iaiIsInJlc2V0TW9kZWwiLCJ6ZXJvTW9kZWwiLCJyb3dzIiwiYW5ndWxhciIsImNvcHkiLCJ0ZXh0VmFsdWUiLCJzb21lIiwicm93Iiwib3B0aW9uIiwibmV3T3B0aW9uVGV4dCIsImZ1bGxSZXNwb25zZSIsInJlc3VsdEZsYWciLCJkZXRhaWxzIiwiY2hlY2tSZXN1bHQiLCJ2YWxpZE9wdGlvbiIsIm5ld09wdGlvbiIsIm9yZGVyIiwibGVuZ3RoIiwicHVzaCIsIm5ld09wdGlvbkdyb3VwIiwiZ3JvdXAiLCJBdEluZGV4Iiwic3BsaWNlIiwiaW5kZXhPcHRpb24iLCJjdXJyZW50T3B0aW9uIiwiaSIsIiRpbmplY3QiLCJTRUxFQ1RfT1BUSU9OX01BTkFHRV9NT0RVTEVfTkFNRSIsIm1vZHVsZSIsInNlcnZpY2UiXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7QUFBTyxJQUFNQSxnRUFBNEIsb0JBQWxDOztJQUVEQyxrQjtBQUdKLGdDQUFjO0FBQUE7QUFFYjs7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Vwd2F5L3NlcnZpY2VzL3NlbGVjdE9wdGlvbk1hbmFnZS9zZWxlY3RPcHRpb25NYW5hZ2Uuc2VydmljZS5qcyJdLCJzb3VyY2VSb290IjoiIn0=");
|
||
|
||
/***/ },
|
||
/* 106 */
|
||
/***/ function(module, exports) {
|
||
|
||
eval("// removed by extract-text-webpack-plugin//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL3N0ZXB3YXkvc3R5bGUvaW5kZXguc2Nzcz81MTRkIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBIiwiZmlsZSI6IjEwNi5qcyIsInNvdXJjZXNDb250ZW50IjpbIi8vIHJlbW92ZWQgYnkgZXh0cmFjdC10ZXh0LXdlYnBhY2stcGx1Z2luXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9zcmMvYXBwL3N0ZXB3YXkvc3R5bGUvaW5kZXguc2Nzc1xuLy8gbW9kdWxlIGlkID0gMTA2XG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJzb3VyY2VSb290IjoiIn0=");
|
||
|
||
/***/ }
|
||
/******/ ]); |