560 satır
No EOL
1,3 MiB
560 satır
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__(6);\n\n__webpack_require__(10);//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2luZGV4LmpzPzQ1NmMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQTs7QUFDQTs7QUFDQSIsImZpbGUiOiIwLmpzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0ICcuL3ZlbmRvcnMnO1xuaW1wb3J0ICcuL3N0eWxlL2RyYWdfYW5kX2Ryb3Auc2Nzcyc7XG5pbXBvcnQgJy4vbWFpbic7XG5cblxuXG4vLyBXRUJQQUNLIEZPT1RFUiAvL1xuLy8gLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2luZGV4LmpzIl0sInNvdXJjZVJvb3QiOiIifQ==");
|
|
|
|
/***/ },
|
|
/* 1 */
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
eval("'use strict';\n\n__webpack_require__(2);\n\n__webpack_require__(3);\n\n__webpack_require__(5);//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L3ZlbmRvcnMuanM/YjcxMyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBOztBQUNBOztBQUNBIiwiZmlsZSI6IjEuanMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgJ2FwaS1jaGVjayc7IC8vIE5PVEU6IGFsd2F5cyBpbXBvcnRlZCBiZWZvcmUgYW5ndWxhci1mb3JtbHkhXG5pbXBvcnQgJ2FuZ3VsYXItZm9ybWx5JztcbmltcG9ydCAnYW5ndWxhci1mb3JtbHktdGVtcGxhdGVzLWJvb3RzdHJhcCc7XG5cblxuXG4vLyBXRUJQQUNLIEZPT1RFUiAvL1xuLy8gLi9zcmMvYXBwL2RyYWdkcm9wd2F5L3ZlbmRvcnMuanMiXSwic291cmNlUm9vdCI6IiJ9");
|
|
|
|
/***/ },
|
|
/* 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+L2FwaS1jaGVjay9kaXN0L2FwaS1jaGVjay5qcz83ZWE5Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLENBQUM7QUFDRCxvQ0FBb0M7QUFDcEM7QUFDQTs7QUFFQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0EsdUJBQXVCO0FBQ3ZCO0FBQ0E7QUFDQTs7QUFFQTtBQUNBOztBQUVBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBOzs7QUFHQTtBQUNBOztBQUVBO0FBQ0E7O0FBRUE7QUFDQTs7QUFFQTtBQUNBO0FBQ0EsVUFBVTtBQUNWO0FBQ0E7QUFDQTtBQUNBOztBQUVBOztBQUVBO0FBQ0E7QUFDQSxFQUFFOztBQUVGLHVDQUF1Qyx1Q0FBdUMsa0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1bGUgaWQgPSAyXG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJzb3VyY2VSb290IjoiIn0=");
|
|
|
|
/***/ },
|
|
/* 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+L2FuZ3VsYXItZm9ybWx5L2Rpc3QvZm9ybWx5LmpzPzUxZmEiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsQ0FBQztBQUNELG9DQUFvQztBQUNwQztBQUNBOztBQUVBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQSx1QkFBdUI7QUFDdkI7QUFDQTtBQUNBOztBQUVBO0FBQ0E7O0FBRUE7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7OztBQUdBO0FBQ0E7O0FBRUE7QUFDQTs7QUFFQTtBQUNBOztBQUVBO0FBQ0E7QUFDQSxVQUFVO0FBQ1Y7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7O0FBRUEsdUNBQXVDLHFEQUFxRDs7QUFFNUY7O0FBRUE7O0FBRUEsT0FBTztBQUNQO0FBQ0E7O0FBRUE7O0FBRUEsdUNBQXVDLHFEQUFxRDs7QUFFNUY7O0FBRUE7O0FBRUE7O0FBRUE7O0FBRUE7O0FBRUE7O0FBRUE7O0FBRUE7O0FBRUE7O0FBRUE7O0FBRUE7O0F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bGlkKSB7XG5cdCAgICAgICAgICAgICAgICAgIGN0cmwuJHNldFZhbGlkaXR5KG5hbWUsIHRydWUpO1xuXHQgICAgICAgICAgICAgICAgfVxuXHQgICAgICAgICAgICAgIH0pW1wiY2F0Y2hcIl0oZnVuY3Rpb24gKCkge1xuXHQgICAgICAgICAgICAgICAgaWYgKGluRmxpZ2h0VmFsaWRhdG9yID09PSBpc1ZhbGlkKSB7XG5cdCAgICAgICAgICAgICAgICAgIGN0cmwuJHNldFZhbGlkaXR5KG5hbWUsIGZhbHNlKTtcblx0ICAgICAgICAgICAgICAgIH1cblx0ICAgICAgICAgICAgICB9KVtcImZpbmFsbHlcIl0oZnVuY3Rpb24gKCkge1xuXHQgICAgICAgICAgICAgICAgaWYgKE9iamVjdC5rZXlzKGN0cmwuJHBlbmRpbmcpLmxlbmd0aCA9PT0gMSkge1xuXHQgICAgICAgICAgICAgICAgICBkZWxldGUgY3RybC4kcGVuZGluZztcblx0ICAgICAgICAgICAgICAgIH0gZWxzZSB7XG5cdCAgICAgICAgICAgICAgICAgIGRlbGV0ZSBjdHJsLiRwZW5kaW5nW25hbWVdO1xuXHQgICAgICAgICAgICAgICAgfVxuXHQgICAgICAgICAgICAgIH0pO1xuXHQgICAgICAgICAgICB9IGVsc2Uge1xuXHQgICAgICAgICAgICAgIGN0cmwuJHNldFZhbGlkaXR5KG5hbWUsIGlzVmFsaWQpO1xuXHQgICAgICAgICAgICB9XG5cdCAgICAgICAgICAgIHJldHVybiB2aWV3VmFsdWU7XG5cdCAgICAgICAgICB9KTtcblx0ICAgICAgICB9XG5cdCAgICAgIH0pO1xuXHQgICAgfVxuXHQgIH07XG5cblx0ICBmdW5jdGlvbiBpc1Byb21pc2VMaWtlKG9iaikge1xuXHQgICAgcmV0dXJuIG9iaiAmJiBhbmd1bGFyLmlzRnVuY3Rpb24ob2JqLnRoZW4pO1xuXHQgIH1cblxuXHQgIGZ1bmN0aW9uIGNoZWNrVmFsaWRhdG9ycyh2YWxpZGF0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bi8qKioqKiovIF0pXG59KTtcbjtcblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL34vYW5ndWxhci1mb3JtbHkvZGlzdC9mb3JtbHkuanNcbi8vIG1vZHVsZSBpZCA9IDNcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sInNvdXJjZVJvb3QiOiIifQ==");
|
|
|
|
/***/ },
|
|
/* 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/******/ ])\n});\n;\n//# sourceMappingURL=angular-formly-templates-bootstrap.js.map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sgPyAncG9pbnRlcicgOiAnaW5oZXJpdCd9XFxcIlxcbiAgICAgICAgIG5nLWNsaWNrPVxcXCJ0by5hZGRvblJpZ2h0Lm9uQ2xpY2sob3B0aW9ucywgdGhpcylcXFwiPlxcbiAgICAgICAgPGkgY2xhc3M9XFxcInt7dG8uYWRkb25SaWdodC5jbGFzc319XFxcIiBuZy1pZj1cXFwidG8uYWRkb25SaWdodC5jbGFzc1xcXCI+PC9pPlxcbiAgICAgICAgPHNwYW4gbmctaWY9XFxcInRvLmFkZG9uUmlnaHQudGV4dFxcXCI+e3t0by5hZGRvblJpZ2h0LnRleHR9fTwvc3Bhbj5cXG4gICAgPC9kaXY+XFxuPC9kaXY+XFxuXCJcblxuLyoqKi8gfVxuLyoqKioqKi8gXSlcbn0pO1xuO1xuLy8jIHNvdXJjZU1hcHBpbmdVUkw9YW5ndWxhci1mb3JtbHktdGVtcGxhdGVzLWJvb3RzdHJhcC5qcy5tYXBcblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL34vYW5ndWxhci1mb3JtbHktdGVtcGxhdGVzLWJvb3RzdHJhcC9kaXN0L2FuZ3VsYXItZm9ybWx5LXRlbXBsYXRlcy1ib290c3RyYXAuanNcbi8vIG1vZHVsZSBpZCA9IDVcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sInNvdXJjZVJvb3QiOiIifQ==");
|
|
|
|
/***/ },
|
|
/* 6 */
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
eval("// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = __webpack_require__(7);\nif(typeof content === 'string') content = [[module.id, content, '']];\n// add the styles to the DOM\nvar update = __webpack_require__(9)(content, {});\nif(content.locals) module.exports = content.locals;\n// Hot Module Replacement\nif(false) {\n\t// When the styles change, update the <style> tags\n\tif(!content.locals) {\n\t\tmodule.hot.accept(\"!!./../../../../node_modules/css-loader/index.js!./../../../../node_modules/postcss-loader/index.js!./../../../../node_modules/sass-loader/index.js!./drag_and_drop.scss\", function() {\n\t\t\tvar newContent = require(\"!!./../../../../node_modules/css-loader/index.js!./../../../../node_modules/postcss-loader/index.js!./../../../../node_modules/sass-loader/index.js!./drag_and_drop.scss\");\n\t\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\t\t\tupdate(newContent);\n\t\t});\n\t}\n\t// When the module is disposed, remove the <style> tags\n\tmodule.hot.dispose(function() { update(); });\n}//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L3N0eWxlL2RyYWdfYW5kX2Ryb3Auc2Nzcz80OWVjIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsK0NBQXlGO0FBQ3pGO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLEdBQUc7QUFDSDtBQUNBO0FBQ0EsZ0NBQWdDLFVBQVUsRUFBRTtBQUM1QyIsImZpbGUiOiI2LmpzIiwic291cmNlc0NvbnRlbnQiOlsiLy8gc3R5bGUtbG9hZGVyOiBBZGRzIHNvbWUgY3NzIHRvIHRoZSBET00gYnkgYWRkaW5nIGEgPHN0eWxlPiB0YWdcblxuLy8gbG9hZCB0aGUgc3R5bGVzXG52YXIgY29udGVudCA9IHJlcXVpcmUoXCIhIS4vLi4vLi4vLi4vLi4vbm9kZV9tb2R1bGVzL2Nzcy1sb2FkZXIvaW5kZXguanMhLi8uLi8uLi8uLi8uLi9ub2RlX21vZHVsZXMvcG9zdGNzcy1sb2FkZXIvaW5kZXguanMhLi8uLi8uLi8uLi8uLi9ub2RlX21vZHVsZXMvc2Fzcy1sb2FkZXIvaW5kZXguanMhLi9kcmFnX2FuZF9kcm9wLnNjc3NcIik7X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WYodHlwZW9mIG5ld0NvbnRlbnQgPT09ICdzdHJpbmcnKSBuZXdDb250ZW50ID0gW1ttb2R1bGUuaWQsIG5ld0NvbnRlbnQsICcnXV07XG5cdFx0XHR1cGRhdGUobmV3Q29udGVudCk7XG5cdFx0fSk7XG5cdH1cblx0Ly8gV2hlbiB0aGUgbW9kdWxlIGlzIGRpc3Bvc2VkLCByZW1vdmUgdGhlIDxzdHlsZT4gdGFnc1xuXHRtb2R1bGUuaG90LmRpc3Bvc2UoZnVuY3Rpb24oKSB7IHVwZGF0ZSgpOyB9KTtcbn1cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL3NyYy9hcHAvZHJhZ2Ryb3B3YXkvc3R5bGUvZHJhZ19hbmRfZHJvcC5zY3NzXG4vLyBtb2R1bGUgaWQgPSA2XG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJzb3VyY2VSb290IjoiIn0=");
|
|
|
|
/***/ },
|
|
/* 7 */
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
eval("exports = module.exports = __webpack_require__(8)();\n// imports\n\n\n// module\nexports.push([module.id, \"/*=========================================================\\n colors const\\n===========================================================*/\\n/*=========================================================\\n fonts const\\n===========================================================*/\\n/*=========================================================\\n common\\n===========================================================*/\\n.ta-hidden-input {\\n width: 1px;\\n height: 1px;\\n border: none;\\n margin: 0;\\n padding: 0;\\n position: absolute;\\n top: -10000px;\\n left: -10000px;\\n opacity: 0;\\n overflow: hidden; }\\n\\n.ta-root.focussed > .ta-scroll-window.form-control {\\n border-color: #66afe9;\\n outline: 0;\\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6); }\\n\\n.ta-editor.ta-html, .ta-scroll-window.form-control {\\n min-height: 300px;\\n height: auto;\\n overflow: auto;\\n font-family: inherit;\\n font-size: 100%; }\\n\\n.ta-scroll-window.form-control {\\n position: relative;\\n padding: 0; }\\n\\n.ta-scroll-window > .ta-bind {\\n height: auto;\\n min-height: 300px;\\n padding: 6px 12px; }\\n\\n.ta-editor:focus {\\n -webkit-user-select: text;\\n -moz-user-select: text;\\n -ms-user-select: text;\\n user-select: text; }\\n\\n.ta-resizer-handle-overlay {\\n z-index: 100;\\n position: absolute;\\n display: none; }\\n\\n.ta-resizer-handle-overlay > .ta-resizer-handle-info {\\n position: absolute;\\n bottom: 16px;\\n right: 16px;\\n border: 1px solid #000;\\n background-color: #FFF;\\n padding: 0 4px;\\n opacity: .7; }\\n\\n.ta-resizer-handle-overlay > .ta-resizer-handle-background {\\n position: absolute;\\n bottom: 5px;\\n right: 5px;\\n left: 5px;\\n top: 5px;\\n border: 1px solid #000;\\n background-color: rgba(0, 0, 0, 0.2); }\\n\\n.ta-resizer-handle-overlay > .ta-resizer-handle-corner {\\n width: 10px;\\n height: 10px;\\n position: absolute; }\\n\\n.ta-resizer-handle-overlay > .ta-resizer-handle-corner-tl {\\n top: 0;\\n left: 0;\\n border-left: 1px solid #000;\\n border-top: 1px solid #000; }\\n\\n.ta-resizer-handle-overlay > .ta-resizer-handle-corner-tr {\\n top: 0;\\n right: 0;\\n border-right: 1px solid #000;\\n border-top: 1px solid #000; }\\n\\n.ta-resizer-handle-overlay > .ta-resizer-handle-corner-bl {\\n bottom: 0;\\n left: 0;\\n border-left: 1px solid #000;\\n border-bottom: 1px solid #000; }\\n\\n.ta-resizer-handle-overlay > .ta-resizer-handle-corner-br {\\n bottom: 0;\\n right: 0;\\n border: 1px solid #000;\\n cursor: se-resize;\\n background-color: #fff; }\\n\\n.popover {\\n position: absolute;\\n top: 0;\\n left: 0;\\n z-index: 1060;\\n display: none;\\n max-width: 276px;\\n padding: 1px;\\n font-size: 14px;\\n font-weight: 400;\\n line-height: 1.42857143;\\n text-align: left;\\n white-space: normal;\\n background-color: #fff;\\n background-clip: padding-box;\\n border: 1px solid #ccc;\\n border: 1px solid rgba(0, 0, 0, 0.2);\\n border-radius: 6px;\\n box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); }\\n\\n.popover.top {\\n margin-top: -10px; }\\n\\n.popover.bottom {\\n margin-top: 10px; }\\n\\n.popover-title {\\n padding: 8px 14px;\\n margin: 0;\\n font-size: 14px;\\n background-color: #f7f7f7;\\n border-bottom: 1px solid #ebebeb;\\n border-radius: 5px 5px 0 0; }\\n\\n.popover-content {\\n padding: 9px 14px; }\\n\\n.popover > .arrow, .popover > .arrow:after {\\n position: absolute;\\n display: block;\\n width: 0;\\n height: 0;\\n border-color: transparent;\\n border-style: solid; }\\n\\n.popover > .arrow {\\n border-width: 11px; }\\n\\n.popover > .arrow:after {\\n content: \\\"\\\";\\n border-width: 10px; }\\n\\n.popover.top > .arrow {\\n bottom: -11px;\\n left: 50%;\\n margin-left: -11px;\\n border-top-color: #999;\\n border-top-color: rgba(0, 0, 0, 0.25);\\n border-bottom-width: 0; }\\n\\n.popover.top > .arrow:after {\\n bottom: 1px;\\n margin-left: -10px;\\n content: \\\" \\\";\\n border-top-color: #fff;\\n border-bottom-width: 0; }\\n\\n.popover.bottom > .arrow {\\n top: -11px;\\n left: 50%;\\n margin-left: -11px;\\n border-top-width: 0;\\n border-bottom-color: #999;\\n border-bottom-color: rgba(0, 0, 0, 0.25); }\\n\\n.popover.bottom > .arrow:after {\\n top: 1px;\\n margin-left: -10px;\\n content: \\\" \\\";\\n border-top-width: 0;\\n border-bottom-color: #fff; }\\n\\n/*=========================================================\\n common\\n===========================================================*/\\nbody {\\n padding-top: 50px;\\n padding-bottom: 20px;\\n height: 100%;\\n background-color: #F2F2F2;\\n font-family: \\\"Roboto\\\", \\\"Helvetica Neue\\\", Helvetica, Arial, sans-serif; }\\n\\n.margintop60px {\\n margin-top: 80px; }\\n\\n.margintop120px {\\n margin-top: 120px; }\\n\\n.vAlignMiddle {\\n vertical-align: middle; }\\n\\n[ng\\\\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {\\n display: none !important; }\\n\\n/*=========================================================\\n bootstrap overrides\\n===========================================================*/\\n.nav .open > a, .nav .open > a:hover, .nav .open > a:focus {\\n background-color: #0d87e9;\\n border-color: #2196f3; }\\n\\n/*correction bug sur theme bootstrap journal*/\\n.modal-backdrop {\\n z-index: -1; }\\n\\n.navbar-right {\\n margin-right: 20px; }\\n\\ntextarea, textarea.form-control, input.form-control,\\ninput[type=text], input[type=password], input[type=email],\\ninput[type=number], [type=text].form-control, [type=password].form-control,\\n[type=email].form-control, [type=tel].form-control, [contenteditable].form-control {\\n font-size: 13px; }\\n\\nselect, select.form-control {\\n font-size: 13px; }\\n\\n/*container to 100%*/\\n@media (min-width: 1200px) {\\n .container {\\n width: 100%;\\n margin-right: 20px; } }\\n\\n@media (min-width: 768px) {\\n .container {\\n width: 100%;\\n margin-right: 20px; } }\\n\\n@media (min-width: 992px) {\\n .container {\\n width: 100%; } }\\n\\n.container-fluid {\\n margin-right: auto;\\n margin-left: auto; }\\n\\n.container-fluid padding {\\n left: 30px;\\n right: 30px; }\\n\\n.panel-default > .panel-heading {\\n color: #212121;\\n background-color: #fff;\\n border-color: #eee; }\\n\\n.navbar-nav > li > a {\\n line-height: 30px; }\\n\\n.navbar-default .navbar-brand {\\n line-height: initial; }\\n\\n.panel-heading {\\n background-color: none;\\n border-bottom: solid 1px #eee; }\\n\\n.navBtnGroup {\\n padding-top: 20px;\\n padding-bottom: 22px;\\n padding-right: 15px;\\n padding-left: 15px; }\\n\\n.table > thead > tr > th,\\n.table > tbody > tr > th,\\n.table > tfoot > tr > th,\\n.table > thead > tr > td,\\n.table > tbody > tr > td,\\n.table > tfoot > tr > td {\\n vertical-align: middle; }\\n\\na:hover {\\n color: #fff; }\\n\\na:focus {\\n color: #fff; }\\n\\n/*Forms setup*/\\n.form-control {\\n border-radius: 0;\\n box-shadow: none;\\n height: auto; }\\n\\n.float-label {\\n font-size: 10px; }\\n\\n.socialIcon {\\n font-size: 32px; }\\n .socialIcon:hover {\\n color: #F2F2F2; }\\n\\ninput[type=\\\"text\\\"].form-control,\\ninput[type=\\\"search\\\"].form-control {\\n border: none;\\n border-bottom: 1px dotted #CFCFCF; }\\n\\ntextarea {\\n border: 1px dotted #CFCFCF !important;\\n height: 130px !important; }\\n\\n/*Content Container*/\\n.content-container {\\n background-color: #fff;\\n padding: 35px 20px;\\n margin-bottom: 20px; }\\n\\nh1.content-title {\\n font-size: 32px;\\n font-weight: 300;\\n text-align: center;\\n margin-top: 0;\\n margin-bottom: 20px;\\n font-family: \\\"Open Sans\\\", sans-serif !important; }\\n\\n/*paper theme bootstrap*/\\n.form-control {\\n font-family: \\\"Roboto\\\", \\\"Helvetica Neue\\\", Helvetica, Arial, sans-serif;\\n display: block;\\n width: 100%;\\n height: 39px;\\n padding: 8px 12px;\\n font-size: 13px;\\n line-height: 1.42857143;\\n color: #777777;\\n background-color: #ffffff;\\n background-image: none;\\n border: 1px solid #cccccc;\\n border-radius: 4px;\\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);\\n transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; }\\n\\n.form-control:focus {\\n border-color: #66afe9;\\n outline: 0;\\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6); }\\n\\n.form-control::-moz-placeholder {\\n color: #999999;\\n opacity: 1; }\\n\\n.form-control:-ms-input-placeholder {\\n color: #999999; }\\n\\n.form-control::-webkit-input-placeholder {\\n color: #999999; }\\n\\n.form-control[disabled],\\n.form-control[readonly],\\nfieldset[disabled] .form-control {\\n background-color: #eeeeee;\\n opacity: 1; }\\n\\n.form-control[disabled],\\nfieldset[disabled] .form-control {\\n cursor: not-allowed; }\\n\\ntextarea.form-control {\\n height: auto; }\\n\\n.fakeControl[disabled] {\\n background-color: #fff;\\n opacity: 1; }\\n\\n.fakeControl[disabled] {\\n cursor: all-scroll; }\\n\\n.radio input[type=radio].fakeCheck {\\n cursor: all-scroll; }\\n\\n.checkbox input[type=checkbox].fakeCheck {\\n cursor: all-scroll; }\\n\\nlabel.fakeCheck {\\n cursor: all-scroll; }\\n\\n/* animation ng-repeat\\neasy customize animation from here : http://www.nganimate.org/angularjs/ng-repeat/yo-yo-css3-keyframes-animation*/\\n.animate-enter {\\n animation: enter 600ms cubic-bezier(0.445, 0.05, 0.55, 0.95);\\n display: block;\\n position: relative; }\\n\\n@keyframes enter {\\n from {\\n opacity: 0;\\n height: 0px;\\n left: -70px; }\\n 75% {\\n left: 15px; }\\n to {\\n opacity: 1;\\n height: 30px;\\n left: 0px; } }\\n\\n.animate-leave {\\n animation: leave 600ms cubic-bezier(0.445, 0.05, 0.55, 0.95);\\n display: block;\\n position: relative; }\\n\\n@keyframes leave {\\n to {\\n opacity: 0;\\n height: 0px;\\n left: -70px; }\\n 25% {\\n left: 15px; }\\n from {\\n opacity: 1;\\n height: 30px;\\n left: 0px; } }\\n\\n/* td table in myprofile */\\n.tdCommun, .td40, .td60 {\\n height: 75px;\\n vertical-align: none; }\\n\\n.td40 {\\n width: 40%; }\\n\\n.td60 {\\n width: 60%; }\\n\\n.table-user-information > thead > tr > th,\\n.table-user-information > tbody > tr > th,\\n.table-user-information > tfoot > tr > th,\\n.table-user-information > thead > tr > td,\\n.table-user-information > tbody > tr > td,\\n.table-user-information > tfoot > tr > td {\\n vertical-align: middle; }\\n\\n/*=========================================================\\n ANGULAR ANIMATIONS (in pair on animate.css)\\n===========================================================*/\\n/* animation on ng-switch */\\n.switchAngularFadeIn .ng-enter {\\n animation: fadeIn 1s; }\\n\\n/*=========================================================\\n wfEdit\\n===========================================================*/\\n#pageWfEdit {\\n margin-top: 40px;\\n /* right:2%;\\n left:2%; */\\n padding-top: 30px;\\n padding-bottom: 30px;\\n background-color: #F2F2F2;\\n /* border-top: solid 3px white;\\n border-bottom: solid 3px white; */ }\\n\\n.lineCommandButtons {\\n padding-bottom: 25px; }\\n\\n.addNewLine {\\n font-size: 24px;\\n vertical-align: middle;\\n color: #666666; }\\n\\n#editor {\\n margin-top: 0px;\\n margin-bottom: 0px;\\n height: 150px;\\n background-color: #52B3D9;\\n border-bottom: solid 1px #2C3E50; }\\n\\n#editor-content {\\n /* padding-top: 25px; */\\n /* padding-bottom: 25px; */\\n text-align: center;\\n color: white;\\n font-size: 13px; }\\n\\n#preview {\\n margin-top: 0px;\\n margin-bottom: 0px;\\n /* background-color: #E4F1FE; */\\n border: solid 1 px #2C3E50;\\n -o-box-shadow: 0px 0px 10px 0px #ddd;\\n box-shadow: 0px 0px 10px 0px #ddd;\\n filter: progid:DXImageTransform.Microsoft.Shadow(color=#ddd, Direction=NaN, Strength=10); }\\n\\n#preview-content {\\n background-color: #FFF;\\n padding-bottom: 25px;\\n /*text-align: center;*/\\n color: black;\\n /*font-size: 13px;*/ }\\n\\n#commandPanel {\\n padding-top: 25px;\\n padding-bottom: 25px; }\\n\\n/* #commandPanel.affix {\\n position: fixed;\\n top: 0;\\n width:25%;\\n margin-top: -45px;\\n } */\\n#visualPanel {\\n padding-top: 25px;\\n padding-bottom: 25px; }\\n\\n.customPagerButton {\\n width: 100px; }\\n\\n.numberOfColumnsLabel {\\n font-size: 32px;\\n text-align: center;\\n padding-top: 25%;\\n padding-bottom: 25%;\\n font-weight: bold;\\n text-align: center;\\n color: #666666; }\\n\\n.btnMinusColumns {\\n margin-top: 10px; }\\n\\n.btnAddColumns {\\n margin-top: 10px; }\\n\\n.numberOfcolumsText {\\n color: #666666; }\\n\\n.greyText {\\n color: #666666; }\\n\\n.blackText {\\n color: #000; }\\n\\n/*=========================================================\\n ANIMATE NG-SWITCH\\n=========================================================*/\\n.animate-switch-container {\\n position: relative;\\n background: white;\\n border-top: solid 1px #ECECEC;\\n border-bottom: solid 1px #ECECEC;\\n overflow: scroll; }\\n .animate-switch-container .well {\\n background-color: #89C4F4;\\n margin-bottom: 0px;\\n color: #ECECEC; }\\n\\n.linesList {\\n margin-top: 5px; }\\n\\n/*switch 1 : move top*/\\n.animate-switch {\\n padding: 10px; }\\n\\n.animate-switch.ng-animate {\\n transition: all cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.6s;\\n position: absolute;\\n top: 0;\\n left: 0;\\n right: 0;\\n bottom: 0; }\\n\\n.animate-switch.ng-leave.ng-leave-active,\\n.animate-switch.ng-enter {\\n left: 0px;\\n top: -500px;\\n opacity: 0; }\\n\\n.animate-switch.ng-leave,\\n.animate-switch.ng-enter.ng-enter-active {\\n left: 0px;\\n top: 0px;\\n opacity: 0.8; }\\n\\n/*=========================================================\\n STEP INDICATOR\\n=========================================================*/\\n.stepwizardTopmargin {\\n margin-top: 25px; }\\n\\n.stepwizard-step p {\\n margin-top: 10px;\\n color: #666666; }\\n\\n.stepwizard-row {\\n display: table-row; }\\n\\n.stepwizard {\\n display: table;\\n width: 100%;\\n position: relative; }\\n\\n.stepwizard-step button[disabled] {\\n opacity: 1 !important;\\n filter: alpha(opacity=100) !important; }\\n\\n.stepwizard-row:before {\\n top: 14px;\\n bottom: 0;\\n position: absolute;\\n content: \\\" \\\";\\n width: 100%;\\n height: 1px;\\n background-color: #ccc;\\n z-order: 0; }\\n\\n.stepwizard-step {\\n display: table-cell;\\n text-align: center;\\n position: relative; }\\n\\n.btn-circle {\\n width: 30px;\\n height: 30px;\\n text-align: center;\\n padding: 6px 0;\\n font-size: 12px;\\n line-height: 1.428571429;\\n border-radius: 15px; }\\n\\n.panelDebugScope {\\n color: #000; }\\n\\n/*=========================================================\\n Modal add control\\n=========================================================*/\\n.texteRouge {\\n color: #CF000F; }\\n\\n.editPropertiesLabel {\\n margin-top: 6px; }\\n\\n.textControlLabel {\\n color: #000; }\\n\\n.marginTopFivepixels {\\n margin-top: 5px; }\\n\\n.marginTopTenpixels {\\n margin-top: 5px; }\\n\\n.checkboxCssCorrection {\\n font-size: 4px; }\\n\\n.noGroupText {\\n margin-bottom: 0px; }\\n\\n.nya-bs-select {\\n margin-bottom: 16px; }\\n\\n.ta-scroll-window {\\n margin-bottom: 16px; }\\n\\n.formly-field-checkbox {\\n margin-top: 28px; }\\n\\n#inputAddNewRadioOption {\\n margin-bottom: 20px; }\\n\\n#inputAddNewBasicOption {\\n margin-bottom: 20px; }\\n\\n#inputAddNewGroupedOption {\\n margin-bottom: 20px; }\\n\\n#inputAddNewGroupGroupedOption {\\n margin-bottom: 20px; }\\n\\n.editGroupedSelectnyaSelect {\\n margin-bottom: 0px; }\\n\\n.heading-preview {\\n cursor: pointer; }\\n\\n/*=========================================================\\n specific drag and drop test (will change or be deleted)\\n===========================================================*/\\n/***************************** pageSlide directive css *****************************/\\n/* Needed for hiding crollbars when pushing */\\nhtml {\\n overflow-x: hidden; }\\n\\n.ng-pageslide {\\n background: #eee;\\n box-shadow: 5px 1px 12px 0px rgba(188, 183, 183, 0.7);\\n -moz-box-shadow: 5px 1px 12px 0px rgba(188, 183, 183, 0.7);\\n -webkit-box-shadow: 5px 1px 12px 0px rgba(188, 183, 183, 0.7); }\\n\\n#controlEditLeftPanel {\\n margin-top: 95px;\\n padding-top: 20px;\\n padding-bottom: 20px;\\n padding-right: 10px;\\n padding-left: 10px;\\n height: 85%;\\n overflow-y: scroll; }\\n\\n.separator10pixel {\\n margin-top: 5px;\\n margin-bottom: 5px;\\n height: 25px; }\\n\\n.panelControlWidth {\\n width: 45%; }\\n\\n/***************************** Required styles *****************************/\\n/**\\n * For the correct positioning of the placeholder element, the dnd-list and\\n * it's children must have position: relative\\n */\\n.advancedDemo ul[dnd-list],\\n.advancedDemo ul[dnd-list] > li {\\n position: relative;\\n border: solid 1px #F1F1F1; }\\n\\n/***************************** Dropzone Styling *****************************/\\n/**\\n * The dnd-list should always have a min-height,\\n * otherwise you can't drop to it once it's empty\\n */\\n.advancedDemo .dropzone ul[dnd-list] {\\n min-height: 42px;\\n margin: 0px;\\n padding-left: 0px; }\\n\\n/**\\n * The dnd-lists's child elements currently MUST have\\n * position: relative. Otherwise we can not determine\\n * whether the mouse pointer is in the upper or lower\\n * half of the element we are dragging over. In other\\n * browsers we can use event.offsetY for this.\\n */\\n.advancedDemo .dropzone li {\\n display: block; }\\n\\n/**\\n * Reduce opacity of elements during the drag operation. This allows the user\\n * to see where he is dropping his element, even if the element is huge. The\\n * .dndDragging class is automatically set during the drag operation.\\n */\\n.advancedDemo .dropzone .dndDragging {\\n opacity: 0.7;\\n border: 2px dotted #000; }\\n\\n/**\\n * The dndDraggingSource class will be applied to the source element of a drag\\n * operation. It makes sense to hide it to give the user the feeling that he's\\n * actually moving it. Note that the source element has also .dndDragging class.\\n */\\n.advancedDemo .dropzone .dndDraggingSource {\\n display: none; }\\n\\n/**\\n * An element with .dndPlaceholder class will be added as child of the dnd-list\\n * while the user is dragging over it.\\n */\\n.advancedDemo .dropzone .dndPlaceholder {\\n background-color: #ddd !important;\\n min-height: 155px;\\n display: block;\\n position: relative;\\n -o-box-shadow: inset 0px 0px 5px 0px #343434;\\n box-shadow: inset 0px 0px 5px 0px #343434;\\n filter: progid:DXImageTransform.Microsoft.Shadow(color=#343434, Direction=NaN, Strength=5); }\\n\\n/***************************** Element type specific styles *****************************/\\n.advancedDemo .dropzone .itemlist {\\n min-height: 115px !important; }\\n\\nul.itemlist.ng-scope {\\n border: none; }\\n\\n.effect1ForDragDropItem, #itemContent {\\n box-shadow: 0 10px 6px -6px #777;\\n min-height: 115px; }\\n\\n.advancedDemo .dropzone .itemlist > li {\\n border: none;\\n min-width: 180px;\\n border-radius: .25em;\\n float: left;\\n font-weight: 700;\\n height: 135px; }\\n\\n#itemContent {\\n background-color: #fff;\\n border: 2px outset #0d87e9;\\n border-radius: .25em;\\n color: #fff;\\n float: left;\\n font-weight: 700;\\n height: 115px;\\n margin: 5px;\\n padding: 3px;\\n text-align: center;\\n width: 100%;\\n cursor: all-scroll; }\\n\\n.dragItemtextarea {\\n height: 60px; }\\n\\ntextarea {\\n border: 1px dotted #CFCFCF !important;\\n height: 50px !important; }\\n\\n.advancedDemo .dropzone .container-element {\\n margin: 10px; }\\n\\n.isCollapsableZone {\\n cursor: pointer; }\\n\\n.buttonHeaderAddNewLine {\\n margin-top: 15px;\\n margin-bottom: 0px; }\\n\\n.buttonCloneLineHidden {\\n visibility: hidden; }\\n\\n.buttonCloseLine {\\n margin-top: -10px;\\n margin-right: -10px;\\n border-radius: 50%;\\n height: 45px; }\\n\\n.interligne {\\n padding-bottom: 10px; }\\n\\n.confirmLineDelete {\\n margin-top: 0;\\n margin-bottom: 0;\\n background-color: #F5F5F5;\\n opacity: 1.0;\\n animation: shake 1.3s infinite; }\\n\\n.demoddDatepicker {\\n padding-left: 0;\\n margin-left: 0; }\\n\\n.selectfordemo {\\n margin-top: 30px; }\\n\\n/*=========================================================\\n animation shake\\n===========================================================*/\\n\\n@keyframes shake {\\n 0%, 100% {\\n transform: translate3d(0, 0, 0); }\\n 10%, 30%, 50%, 70%, 90% {\\n transform: translate3d(-10px, 0, 0); }\\n 20%, 40%, 60%, 80% {\\n transform: translate3d(10px, 0, 0); } }\\n\\n.shake {\\n animation-name: shake; }\\n\\n.previewControlinItem {\\n margin-top: 2%;\\n background-color: #fff;\\n padding-top: 5px;\\n padding-bottom: 5px;\\n padding-left: 10px;\\n padding-right: 10px;\\n border-radius: 5px;\\n color: #F1F1F1;\\n font-size: 18px; }\\n\\n.vertical-line {\\n border-left: thick solid #000; }\\n\\n/*=========================================================\\n animation glyphicon rotate\\n===========================================================*/\\n.gly-spin {\\n animation: spin 2s infinite linear; }\\n\\n@keyframes spin {\\n 0% {\\n transform: rotate(0deg); }\\n 100% {\\n transform: rotate(359deg); } }\\n\\n.gly-rotate-90 {\\n filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);\\n transform: rotate(90deg); }\\n\\n.gly-rotate-180 {\\n filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);\\n transform: rotate(180deg); }\\n\\n.gly-rotate-270 {\\n filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);\\n transform: rotate(270deg); }\\n\\n.gly-flip-horizontal {\\n filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1);\\n transform: scale(-1, 1); }\\n\\n.gly-flip-vertical {\\n filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1);\\n transform: scale(1, -1); }\\n\\n.rightClickCtrl {\\n opacity: 1.0;\\n transition: opacity .3s ease-in; }\\n\\n.rightClickCtrlSelected {\\n opacity: 0.5; }\\n\", \"\"]);\n\n// exports\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L3N0eWxlL2RyYWdfYW5kX2Ryb3Auc2Nzcz9iODY4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0E7OztBQUdBO0FBQ0EsK2NBQStjLGVBQWUsZ0JBQWdCLGlCQUFpQixjQUFjLGVBQWUsdUJBQXVCLGtCQUFrQixtQkFBbUIsZUFBZSxxQkFBcUIsRUFBRSx3REFBd0QsMEJBQTBCLGVBQWUsdUZBQXVGLEVBQUUsd0RBQXdELHNCQUFzQixpQkFBaUIsbUJBQW1CLHlCQUF5QixvQkFBb0IsRUFBRSxvQ0FBb0MsdUJBQXVCLGVBQWUsRUFBRSxrQ0FBa0MsaUJBQWlCLHNCQUFzQixzQkFBc0IsRUFBRSxzQkFBc0IsOEJBQThCLDhCQUE4Qiw4QkFBOEIsOEJBQThCLEVBQUUsZ0NBQWdDLGlCQUFpQix1QkFBdUIsa0JBQWtCLEVBQUUsMERBQTBELHVCQUF1QixpQkFBaUIsZ0JBQWdCLDJCQUEyQiwyQkFBMkIsbUJBQW1CLGdCQUFnQixFQUFFLGdFQUFnRSx1QkFBdUIsZ0JBQWdCLGVBQWUsY0FBYyxhQUFhLDJCQUEyQix5Q0FBeUMsRUFBRSw0REFBNEQsZ0JBQWdCLGlCQUFpQix1QkFBdUIsRUFBRSwrREFBK0QsV0FBVyxZQUFZLGdDQUFnQywrQkFBK0IsRUFBRSwrREFBK0QsV0FBVyxhQUFhLGlDQUFpQywrQkFB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FQUErRSw0QkFBNEIsRUFBRSx3QkFBd0IsK0VBQStFLDRCQUE0QixFQUFFLHFCQUFxQixpQkFBaUIsb0NBQW9DLEVBQUUsNkJBQTZCLGlCQUFpQixFQUFFOztBQUU3MXBCIiwiZmlsZSI6IjcuanMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnRzID0gbW9kdWxlLmV4cG9ydHMgPSByZXF1aXJlKFwiLi8uLi8uLi8uLi8uLi9ub2RlX21vZHVsZXMvY3NzLWxvYWRlci9saWIvY3NzLWJhc2UuanNcIikoKTtcbi8vIGltcG9ydHNcblxuXG4vLyBtb2R1bGVcbmV4cG9ydHMucHVzaChbbW9kdWxlLmlkLCBcIi8qPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XFxuICAgIGNvbG9ycyBjb25zdFxcbj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ki9cXG4vKj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxcbiAgICBmb250cyBjb25zdFxcbj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ki9cXG4vKj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxcbiAgICBjb21tb25cXG49PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PSovXFxuLnRhLWhpZGRlbi1pbnB1dCB7XFxuICB3aWR0aDogMXB4O1xcbiAgaGVpZ2h0OiAxcHg7XFxuICBib3JkZXI6IG5vbmU7XFxuICBtYXJnaW46IDA7XFxuICBwYWRkaW5nOiAwO1xcbiAgcG9zaXRpb246IGFic29sdXRlO1xcbiAgdG9wOiAtMTAwMDBweDtcXG4gIGxlZnQ6IC0xMDAwMHB4O1xcbiAgb3BhY2l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cbi50YWJsZS11c2VyLWluZm9ybWF0aW9uID4gdGhlYWQgPiB0ciA+IHRkLFxcbi50YWJsZS11c2VyLWluZm9ybWF0aW9uID4gdGJvZHkgPiB0ciA+IHRkLFxcbi50YWJsZS11c2VyLWluZm9ybWF0aW9uID4gdGZvb3QgPiB0ciA+IHRkIHtcXG4gIHZlcnRpY2FsLWFsaWduOiBtaWRkbGU7IH1cXG5cXG4vKj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxcbiAgIEFOR1VMQVIgQU5JTUFUSU9OUyAoaW4gcGFpciBvbiBhbmltYXRlLmNzcylcXG49PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PSovXFxuLyogYW5pbWF0aW9uIG9uIG5nLXN3aXRjaCAqL1xcbi5zd2l0Y2hBbmd1bGFyRmFkZUluIC5uZy1lbnRlciB7XFxuICBhbmltYXRpb246IGZhZGVJbiAxczsgfVxcblxcbi8qPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XFxuICAgd2ZFZGl0XFxuPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0qL1xcbiNwYWdlV2ZFZGl0IHtcXG4gIG1hcmdpbi10b3A6IDQwcHg7XFxuICAvKiAgICByaWdodDoyJTtcXG4gICAgbGVmdDoyJTsgKi9cXG4gIHBhZGRpbmctdG9wOiAzMHB4O1xcbiAgcGFkZGluZy1ib3R0b206IDMwcHg7XFxuICBiYWNrZ3JvdW5kLWNvbG9yOiAjRjJGMkYyO1xcbiAgLyogYm9yZGVyLXRvcDogc29saWQgM3B4IHdoaXRlO1xcbiAgYm9yZGVyLWJvdHRvbTogc29saWQgM3B4IHdoaXRlOyAqLyB9XFxuXFxuLmxpbmVDb21tYW5kQnV0dG9ucyB7XFxuICBwYWRkaW5nLWJvdHRvbTog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GF0ZSgyNzBkZWcpOyB9XFxuXFxuLmdseS1mbGlwLWhvcml6b250YWwge1xcbiAgZmlsdGVyOiBwcm9naWQ6RFhJbWFnZVRyYW5zZm9ybS5NaWNyb3NvZnQuQmFzaWNJbWFnZShyb3RhdGlvbj0wLCBtaXJyb3I9MSk7XFxuICB0cmFuc2Zvcm06IHNjYWxlKC0xLCAxKTsgfVxcblxcbi5nbHktZmxpcC12ZXJ0aWNhbCB7XFxuICBmaWx0ZXI6IHByb2dpZDpEWEltYWdlVHJhbnNmb3JtLk1pY3Jvc29mdC5CYXNpY0ltYWdlKHJvdGF0aW9uPTIsIG1pcnJvcj0xKTtcXG4gIHRyYW5zZm9ybTogc2NhbGUoMSwgLTEpOyB9XFxuXFxuLnJpZ2h0Q2xpY2tDdHJsIHtcXG4gIG9wYWNpdHk6IDEuMDtcXG4gIHRyYW5zaXRpb246IG9wYWNpdHkgLjNzIGVhc2UtaW47IH1cXG5cXG4ucmlnaHRDbGlja0N0cmxTZWxlY3RlZCB7XFxuICBvcGFjaXR5OiAwLjU7IH1cXG5cIiwgXCJcIl0pO1xuXG4vLyBleHBvcnRzXG5cblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL34vY3NzLWxvYWRlciEuL34vcG9zdGNzcy1sb2FkZXIhLi9+L3Nhc3MtbG9hZGVyIS4vc3JjL2FwcC9kcmFnZHJvcHdheS9zdHlsZS9kcmFnX2FuZF9kcm9wLnNjc3Ncbi8vIG1vZHVsZSBpZCA9IDdcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sInNvdXJjZVJvb3QiOiIifQ==");
|
|
|
|
/***/ },
|
|
/* 8 */
|
|
/***/ function(module, exports) {
|
|
|
|
eval("/*\r\n\tMIT License http://www.opensource.org/licenses/mit-license.php\r\n\tAuthor Tobias Koppers @sokra\r\n*/\r\n// css base code, injected by the css-loader\r\nmodule.exports = function() {\r\n\tvar list = [];\r\n\r\n\t// return the list of modules as css string\r\n\tlist.toString = function toString() {\r\n\t\tvar result = [];\r\n\t\tfor(var i = 0; i < this.length; i++) {\r\n\t\t\tvar item = this[i];\r\n\t\t\tif(item[2]) {\r\n\t\t\t\tresult.push(\"@media \" + item[2] + \"{\" + item[1] + \"}\");\r\n\t\t\t} else {\r\n\t\t\t\tresult.push(item[1]);\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn result.join(\"\");\r\n\t};\r\n\r\n\t// import a list of modules into the list\r\n\tlist.i = function(modules, mediaQuery) {\r\n\t\tif(typeof modules === \"string\")\r\n\t\t\tmodules = [[null, modules, \"\"]];\r\n\t\tvar alreadyImportedModules = {};\r\n\t\tfor(var i = 0; i < this.length; i++) {\r\n\t\t\tvar id = this[i][0];\r\n\t\t\tif(typeof id === \"number\")\r\n\t\t\t\talreadyImportedModules[id] = true;\r\n\t\t}\r\n\t\tfor(i = 0; i < modules.length; i++) {\r\n\t\t\tvar item = modules[i];\r\n\t\t\t// skip already imported module\r\n\t\t\t// this implementation is not 100% perfect for weird media query combinations\r\n\t\t\t// when a module is imported multiple times with different media queries.\r\n\t\t\t// I hope this will never occur (Hey this way we have smaller bundles)\r\n\t\t\tif(typeof item[0] !== \"number\" || !alreadyImportedModules[item[0]]) {\r\n\t\t\t\tif(mediaQuery && !item[2]) {\r\n\t\t\t\t\titem[2] = mediaQuery;\r\n\t\t\t\t} else if(mediaQuery) {\r\n\t\t\t\t\titem[2] = \"(\" + item[2] + \") and (\" + mediaQuery + \")\";\r\n\t\t\t\t}\r\n\t\t\t\tlist.push(item);\r\n\t\t\t}\r\n\t\t}\r\n\t};\r\n\treturn list;\r\n};\r\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9+L2Nzcy1sb2FkZXIvbGliL2Nzcy1iYXNlLmpzP2RhMDQiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQ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ZHVsZSBpcyBpbXBvcnRlZCBtdWx0aXBsZSB0aW1lcyB3aXRoIGRpZmZlcmVudCBtZWRpYSBxdWVyaWVzLlxyXG5cdFx0XHQvLyAgSSBob3BlIHRoaXMgd2lsbCBuZXZlciBvY2N1ciAoSGV5IHRoaXMgd2F5IHdlIGhhdmUgc21hbGxlciBidW5kbGVzKVxyXG5cdFx0XHRpZih0eXBlb2YgaXRlbVswXSAhPT0gXCJudW1iZXJcIiB8fCAhYWxyZWFkeUltcG9ydGVkTW9kdWxlc1tpdGVtWzBdXSkge1xyXG5cdFx0XHRcdGlmKG1lZGlhUXVlcnkgJiYgIWl0ZW1bMl0pIHtcclxuXHRcdFx0XHRcdGl0ZW1bMl0gPSBtZWRpYVF1ZXJ5O1xyXG5cdFx0XHRcdH0gZWxzZSBpZihtZWRpYVF1ZXJ5KSB7XHJcblx0XHRcdFx0XHRpdGVtWzJdID0gXCIoXCIgKyBpdGVtWzJdICsgXCIpIGFuZCAoXCIgKyBtZWRpYVF1ZXJ5ICsgXCIpXCI7XHJcblx0XHRcdFx0fVxyXG5cdFx0XHRcdGxpc3QucHVzaChpdGVtKTtcclxuXHRcdFx0fVxyXG5cdFx0fVxyXG5cdH07XHJcblx0cmV0dXJuIGxpc3Q7XHJcbn07XHJcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vfi9jc3MtbG9hZGVyL2xpYi9jc3MtYmFzZS5qc1xuLy8gbW9kdWxlIGlkID0gOFxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwic291cmNlUm9vdCI6IiJ9");
|
|
|
|
/***/ },
|
|
/* 9 */
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
eval("/*\r\n\tMIT License http://www.opensource.org/licenses/mit-license.php\r\n\tAuthor Tobias Koppers @sokra\r\n*/\r\nvar stylesInDom = {},\r\n\tmemoize = function(fn) {\r\n\t\tvar memo;\r\n\t\treturn function () {\r\n\t\t\tif (typeof memo === \"undefined\") memo = fn.apply(this, arguments);\r\n\t\t\treturn memo;\r\n\t\t};\r\n\t},\r\n\tisOldIE = memoize(function() {\r\n\t\treturn /msie [6-9]\\b/.test(window.navigator.userAgent.toLowerCase());\r\n\t}),\r\n\tgetHeadElement = memoize(function () {\r\n\t\treturn document.head || document.getElementsByTagName(\"head\")[0];\r\n\t}),\r\n\tsingletonElement = null,\r\n\tsingletonCounter = 0,\r\n\tstyleElementsInsertedAtTop = [];\r\n\r\nmodule.exports = function(list, options) {\r\n\tif(false) {\r\n\t\tif(typeof document !== \"object\") throw new Error(\"The style-loader cannot be used in a non-browser environment\");\r\n\t}\r\n\r\n\toptions = options || {};\r\n\t// Force single-tag solution on IE6-9, which has a hard limit on the # of <style>\r\n\t// tags it will allow on a page\r\n\tif (typeof options.singleton === \"undefined\") options.singleton = isOldIE();\r\n\r\n\t// By default, add <style> tags to the bottom of <head>.\r\n\tif (typeof options.insertAt === \"undefined\") options.insertAt = \"bottom\";\r\n\r\n\tvar styles = listToStyles(list);\r\n\taddStylesToDom(styles, options);\r\n\r\n\treturn function update(newList) {\r\n\t\tvar mayRemove = [];\r\n\t\tfor(var i = 0; i < styles.length; i++) {\r\n\t\t\tvar item = styles[i];\r\n\t\t\tvar domStyle = stylesInDom[item.id];\r\n\t\t\tdomStyle.refs--;\r\n\t\t\tmayRemove.push(domStyle);\r\n\t\t}\r\n\t\tif(newList) {\r\n\t\t\tvar newStyles = listToStyles(newList);\r\n\t\t\taddStylesToDom(newStyles, options);\r\n\t\t}\r\n\t\tfor(var i = 0; i < mayRemove.length; i++) {\r\n\t\t\tvar domStyle = mayRemove[i];\r\n\t\t\tif(domStyle.refs === 0) {\r\n\t\t\t\tfor(var j = 0; j < domStyle.parts.length; j++)\r\n\t\t\t\t\tdomStyle.parts[j]();\r\n\t\t\t\tdelete stylesInDom[domStyle.id];\r\n\t\t\t}\r\n\t\t}\r\n\t};\r\n}\r\n\r\nfunction addStylesToDom(styles, options) {\r\n\tfor(var i = 0; i < styles.length; i++) {\r\n\t\tvar item = styles[i];\r\n\t\tvar domStyle = stylesInDom[item.id];\r\n\t\tif(domStyle) {\r\n\t\t\tdomStyle.refs++;\r\n\t\t\tfor(var j = 0; j < domStyle.parts.length; j++) {\r\n\t\t\t\tdomStyle.parts[j](item.parts[j]);\r\n\t\t\t}\r\n\t\t\tfor(; j < item.parts.length; j++) {\r\n\t\t\t\tdomStyle.parts.push(addStyle(item.parts[j], options));\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tvar parts = [];\r\n\t\t\tfor(var j = 0; j < item.parts.length; j++) {\r\n\t\t\t\tparts.push(addStyle(item.parts[j], options));\r\n\t\t\t}\r\n\t\t\tstylesInDom[item.id] = {id: item.id, refs: 1, parts: parts};\r\n\t\t}\r\n\t}\r\n}\r\n\r\nfunction listToStyles(list) {\r\n\tvar styles = [];\r\n\tvar newStyles = {};\r\n\tfor(var i = 0; i < list.length; i++) {\r\n\t\tvar item = list[i];\r\n\t\tvar id = item[0];\r\n\t\tvar css = item[1];\r\n\t\tvar media = item[2];\r\n\t\tvar sourceMap = item[3];\r\n\t\tvar part = {css: css, media: media, sourceMap: sourceMap};\r\n\t\tif(!newStyles[id])\r\n\t\t\tstyles.push(newStyles[id] = {id: id, parts: [part]});\r\n\t\telse\r\n\t\t\tnewStyles[id].parts.push(part);\r\n\t}\r\n\treturn styles;\r\n}\r\n\r\nfunction insertStyleElement(options, styleElement) {\r\n\tvar head = getHeadElement();\r\n\tvar lastStyleElementInsertedAtTop = styleElementsInsertedAtTop[styleElementsInsertedAtTop.length - 1];\r\n\tif (options.insertAt === \"top\") {\r\n\t\tif(!lastStyleElementInsertedAtTop) {\r\n\t\t\thead.insertBefore(styleElement, head.firstChild);\r\n\t\t} else if(lastStyleElementInsertedAtTop.nextSibling) {\r\n\t\t\thead.insertBefore(styleElement, lastStyleElementInsertedAtTop.nextSibling);\r\n\t\t} else {\r\n\t\t\thead.appendChild(styleElement);\r\n\t\t}\r\n\t\tstyleElementsInsertedAtTop.push(styleElement);\r\n\t} else if (options.insertAt === \"bottom\") {\r\n\t\thead.appendChild(styleElement);\r\n\t} else {\r\n\t\tthrow new Error(\"Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.\");\r\n\t}\r\n}\r\n\r\nfunction removeStyleElement(styleElement) {\r\n\tstyleElement.parentNode.removeChild(styleElement);\r\n\tvar idx = styleElementsInsertedAtTop.indexOf(styleElement);\r\n\tif(idx >= 0) {\r\n\t\tstyleElementsInsertedAtTop.splice(idx, 1);\r\n\t}\r\n}\r\n\r\nfunction createStyleElement(options) {\r\n\tvar styleElement = document.createElement(\"style\");\r\n\tstyleElement.type = \"text/css\";\r\n\tinsertStyleElement(options, styleElement);\r\n\treturn styleElement;\r\n}\r\n\r\nfunction createLinkElement(options) {\r\n\tvar linkElement = document.createElement(\"link\");\r\n\tlinkElement.rel = \"stylesheet\";\r\n\tinsertStyleElement(options, linkElement);\r\n\treturn linkElement;\r\n}\r\n\r\nfunction addStyle(obj, options) {\r\n\tvar styleElement, update, remove;\r\n\r\n\tif (options.singleton) {\r\n\t\tvar styleIndex = singletonCounter++;\r\n\t\tstyleElement = singletonElement || (singletonElement = createStyleElement(options));\r\n\t\tupdate = applyToSingletonTag.bind(null, styleElement, styleIndex, false);\r\n\t\tremove = applyToSingletonTag.bind(null, styleElement, styleIndex, true);\r\n\t} else if(obj.sourceMap &&\r\n\t\ttypeof URL === \"function\" &&\r\n\t\ttypeof URL.createObjectURL === \"function\" &&\r\n\t\ttypeof URL.revokeObjectURL === \"function\" &&\r\n\t\ttypeof Blob === \"function\" &&\r\n\t\ttypeof btoa === \"function\") {\r\n\t\tstyleElement = createLinkElement(options);\r\n\t\tupdate = updateLink.bind(null, styleElement);\r\n\t\tremove = function() {\r\n\t\t\tremoveStyleElement(styleElement);\r\n\t\t\tif(styleElement.href)\r\n\t\t\t\tURL.revokeObjectURL(styleElement.href);\r\n\t\t};\r\n\t} else {\r\n\t\tstyleElement = createStyleElement(options);\r\n\t\tupdate = applyToTag.bind(null, styleElement);\r\n\t\tremove = function() {\r\n\t\t\tremoveStyleElement(styleElement);\r\n\t\t};\r\n\t}\r\n\r\n\tupdate(obj);\r\n\r\n\treturn function updateStyle(newObj) {\r\n\t\tif(newObj) {\r\n\t\t\tif(newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap)\r\n\t\t\t\treturn;\r\n\t\t\tupdate(obj = newObj);\r\n\t\t} else {\r\n\t\t\tremove();\r\n\t\t}\r\n\t};\r\n}\r\n\r\nvar replaceText = (function () {\r\n\tvar textStore = [];\r\n\r\n\treturn function (index, replacement) {\r\n\t\ttextStore[index] = replacement;\r\n\t\treturn textStore.filter(Boolean).join('\\n');\r\n\t};\r\n})();\r\n\r\nfunction applyToSingletonTag(styleElement, index, remove, obj) {\r\n\tvar css = remove ? \"\" : obj.css;\r\n\r\n\tif (styleElement.styleSheet) {\r\n\t\tstyleElement.styleSheet.cssText = replaceText(index, css);\r\n\t} else {\r\n\t\tvar cssNode = document.createTextNode(css);\r\n\t\tvar childNodes = styleElement.childNodes;\r\n\t\tif (childNodes[index]) styleElement.removeChild(childNodes[index]);\r\n\t\tif (childNodes.length) {\r\n\t\t\tstyleElement.insertBefore(cssNode, childNodes[index]);\r\n\t\t} else {\r\n\t\t\tstyleElement.appendChild(cssNode);\r\n\t\t}\r\n\t}\r\n}\r\n\r\nfunction applyToTag(styleElement, obj) {\r\n\tvar css = obj.css;\r\n\tvar media = obj.media;\r\n\r\n\tif(media) {\r\n\t\tstyleElement.setAttribute(\"media\", media)\r\n\t}\r\n\r\n\tif(styleElement.styleSheet) {\r\n\t\tstyleElement.styleSheet.cssText = css;\r\n\t} else {\r\n\t\twhile(styleElement.firstChild) {\r\n\t\t\tstyleElement.removeChild(styleElement.firstChild);\r\n\t\t}\r\n\t\tstyleElement.appendChild(document.createTextNode(css));\r\n\t}\r\n}\r\n\r\nfunction updateLink(linkElement, obj) {\r\n\tvar css = obj.css;\r\n\tvar sourceMap = obj.sourceMap;\r\n\r\n\tif(sourceMap) {\r\n\t\t// http://stackoverflow.com/a/26603875\r\n\t\tcss += \"\\n/*# sourceMappingURL=data:application/json;base64,\" + btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))) + \" */\";\r\n\t}\r\n\r\n\tvar blob = new Blob([css], { type: \"text/css\" });\r\n\r\n\tvar oldSrc = linkElement.href;\r\n\r\n\tlinkElement.href = URL.createObjectURL(blob);\r\n\r\n\tif(oldSrc)\r\n\t\tURL.revokeObjectURL(oldSrc);\r\n}\r\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9+L3N0eWxlLWxvYWRlci9hZGRTdHlsZXMuanM/Yjk4MCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLG9CQUFvQjtBQUNwQjtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSxFQUFFO0FBQ0Y7QUFDQTtBQUNBLEVBQUU7QUFDRjtBQUNBO0FBQ0EsRUFBRTtBQUNGO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBOztBQUVBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBLGdCQUFnQixtQkFBbUI7QUFDbkM7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsZ0JBQWdCLHNCQUFzQjtBQUN0QztBQUNBO0FBQ0Esa0JBQWtCLDJCQUEyQjtBQUM3QztBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQSxlQUFlLG1CQUFtQjtBQUNsQztBQUNBO0FBQ0E7QUFDQTtBQUNBLGlCQUFpQiwyQkFBMkI7QUFDNUM7QUFDQTt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5naWZ5KHNvdXJjZU1hcCkpKSkgKyBcIiAqL1wiO1xyXG5cdH1cclxuXHJcblx0dmFyIGJsb2IgPSBuZXcgQmxvYihbY3NzXSwgeyB0eXBlOiBcInRleHQvY3NzXCIgfSk7XHJcblxyXG5cdHZhciBvbGRTcmMgPSBsaW5rRWxlbWVudC5ocmVmO1xyXG5cclxuXHRsaW5rRWxlbWVudC5ocmVmID0gVVJMLmNyZWF0ZU9iamVjdFVSTChibG9iKTtcclxuXHJcblx0aWYob2xkU3JjKVxyXG5cdFx0VVJMLnJldm9rZU9iamVjdFVSTChvbGRTcmMpO1xyXG59XHJcblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vfi9zdHlsZS1sb2FkZXIvYWRkU3R5bGVzLmpzXG4vLyBtb2R1bGUgaWQgPSA5XG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJzb3VyY2VSb290IjoiIn0=");
|
|
|
|
/***/ },
|
|
/* 10 */
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _edaDragDropWayFormlyConfig = __webpack_require__(11);\n\nvar _edaDragDropWayFormlyConfig2 = _interopRequireDefault(_edaDragDropWayFormlyConfig);\n\nvar _edaDragDropWayDragDropConfig = __webpack_require__(12);\n\nvar _edaDragDropWayDragDropConfig2 = _interopRequireDefault(_edaDragDropWayDragDropConfig);\n\nvar _edaDragDropWayCore = __webpack_require__(14);\n\nvar _edaDragDropWayCore2 = _interopRequireDefault(_edaDragDropWayCore);\n\nvar _edaDragDropWayLeftPanel = __webpack_require__(15);\n\nvar _edaDragDropWayLeftPanel2 = _interopRequireDefault(_edaDragDropWayLeftPanel);\n\nvar _edaDragDropWayFormlyProxyFormFieldManage = __webpack_require__(49);\n\nvar _edaDragDropWayFormlyProxyFormFieldManage2 = _interopRequireDefault(_edaDragDropWayFormlyProxyFormFieldManage);\n\nvar _edaDragDropWayDragdrop = __webpack_require__(53);\n\nvar _edaDragDropWayDragdrop2 = _interopRequireDefault(_edaDragDropWayDragdrop);\n\nvar _edaDragDropWayRightClick = __webpack_require__(67);\n\nvar _edaDragDropWayRightClick2 = _interopRequireDefault(_edaDragDropWayRightClick);\n\nvar _edaDragDropWayConfigurationModelProxy = __webpack_require__(70);\n\nvar _edaDragDropWayConfigurationModelProxy2 = _interopRequireDefault(_edaDragDropWayConfigurationModelProxy);\n\nvar _dragAndDropList = __webpack_require__(72);\n\nvar _dragAndDropList2 = _interopRequireDefault(_dragAndDropList);\n\nvar _pageslide = __webpack_require__(75);\n\nvar _pageslide2 = _interopRequireDefault(_pageslide);\n\nvar _edaDragDropWayEdaDragdropWayEasyFormGen = __webpack_require__(77);\n\nvar _edaDragDropWayEdaDragdropWayEasyFormGen2 = _interopRequireDefault(_edaDragDropWayEdaDragdropWayEasyFormGen);\n\nvar _edaDragDropWayTrustThis = __webpack_require__(84);\n\nvar _edaDragDropWayTrustThis2 = _interopRequireDefault(_edaDragDropWayTrustThis);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar DRAG_DROP_WAY_MODULE_NAME = 'eda.easyformGen.dragDropWay';\n\nvar DRAG_DROP_MODULES_INJECT = [_edaDragDropWayCore2.default.name, _edaDragDropWayConfigurationModelProxy2.default.name, _edaDragDropWayTrustThis2.default.name, _edaDragDropWayLeftPanel2.default.name, _edaDragDropWayFormlyProxyFormFieldManage2.default.name, _edaDragDropWayDragdrop2.default.name, _edaDragDropWayEdaDragdropWayEasyFormGen2.default.name, _edaDragDropWayRightClick2.default.name, _dragAndDropList2.default.name, _pageslide2.default.name];\n\nvar mainModule = angular.module(DRAG_DROP_WAY_MODULE_NAME, DRAG_DROP_MODULES_INJECT).config(_edaDragDropWayDragDropConfig2.default).config(_edaDragDropWayFormlyConfig2.default).value(_edaDragDropWayDragDropConfig.EASY_FORM_DD_VERSION_NAME, _ed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kdWxlLm5hbWUsXG4gIHBhZ2VTbGlkZU1vZHVsZS5uYW1lXG5dO1xuXG5jb25zdCBtYWluTW9kdWxlID0gYW5ndWxhclxuICAgICAgICAgICAgICAgICAgLm1vZHVsZShEUkFHX0RST1BfV0FZX01PRFVMRV9OQU1FLCBEUkFHX0RST1BfTU9EVUxFU19JTkpFQ1QpXG4gICAgICAgICAgICAgICAgICAuY29uZmlnKGRyYWdEcm9wQ29uZmlnRnVudClcbiAgICAgICAgICAgICAgICAgIC5jb25maWcoZm9ybWx5Q29uZmlnRnVuY3QpXG4gICAgICAgICAgICAgICAgICAudmFsdWUoRUFTWV9GT1JNX0REX1ZFUlNJT05fTkFNRSwgRUFTWV9GT1JNX0REX1ZFUlNJT05fVkFMVUUpO1xuXG5leHBvcnQgZGVmYXVsdCBtYWluTW9kdWxlO1xuXG5cblxuLy8gV0VCUEFDSyBGT09URVIgLy9cbi8vIC4vc3JjL2FwcC9kcmFnZHJvcHdheS9tYWluLmpzIl0sInNvdXJjZVJvb3QiOiIifQ==");
|
|
|
|
/***/ },
|
|
/* 11 */
|
|
/***/ function(module, exports) {
|
|
|
|
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nfunction formlyConfig(formlyConfigProvider, EasyFormGenFormlyBindingModelsProvider, easyFormDragWayConfigProvider) {\n\n formlyConfigProvider.setType({\n name: 'blank',\n template: '<div></div>'\n });\n\n EasyFormGenFormlyBindingModelsProvider.addEasyFormControlToList({\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 formlyDesciption: '',\n formlyOptions: []\n });\n\n easyFormDragWayConfigProvider.addControlToDragDropPresentationModel({\n label: '<div class=\"col-md-12\">\\n <div class=\"form-group\">\\n <div class=\"\">\\n </div>\\n </div>\\n </div>',\n control: 'empty',\n cssClass: 'col-xs-12'\n }, {\n addToGroupCtrl: 'blank'\n });\n\n EasyFormGenFormlyBindingModelsProvider.addEasyFormControlToList({\n id: 'Header',\n name: 'Header',\n subtitle: 'no control',\n group: 'Decoration',\n formlyType: 'header',\n formlySubtype: '',\n formlyLabel: '',\n formlyRequired: false,\n formlyDesciption: '',\n formlyOptions: []\n });\n\n easyFormDragWayConfigProvider.addControlToDragDropPresentationModel({\n label: ['<div class=\"col-md-12\">\\n <div class=\"form-group\">\\n <div class=\"\">\\n <h2 class=\"text-center\">Header</h2>\\n <hr/>\\n </div>\\n </div>\\n </div>'].join(''),\n control: 'Header',\n cssClass: 'col-xs-12'\n }, {\n addToGroupCtrl: 'headers'\n });\n\n var subTitleTemplate = '\\n <div class=\"row\">\\n <div class=\"\">\\n <h4 class=\"text-center\">{{options.templateOptions.placeholder}}<h4>\\n <hr/>\\n </div>\\n </div>';\n\n formlyConfigProvider.setType({\n name: 'subTitle',\n template: subTitleTemplate\n });\n\n EasyFormGenFormlyBindingModelsProvider.addEasyFormControlToList({\n id: 'Subtitle',\n name: 'Subtitle',\n subtitle: 'no control',\n group: 'Decoration',\n formlyType: 'subTitle',\n formlySubtype: '',\n formlyLabel: '',\n formlyRequired: false,\n formlyDesciption: '',\n formlyOptions: []\n });\n\n easyFormDragWayConfigProvider.addControlToDragDropPresentationModel({\n 'label': '<div class=\"col-md-12\">\\n <div class=\"form-group\">\\n <div class=\"\">\\n <h4 class=\"text-center\">SubTitle</h4>\\n <hr/>\\n </div>\\n </div>\\n </div>',\n 'control': 'Subtitle',\n 'cssClass': 'col-xs-12'\n }, {\n addToGroupCtrl: 'headers'\n });\n\n EasyFormGenFormlyBindingModelsProvider.addEasyFormControlToList({\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 formlyDesciption: '',\n formlyOptions: []\n });\n\n /**\n * drag and drop text input (basic) control template\n *\n *\n * @PARAM 1 : control template object (drag an drop)\n * @PARAM 2 : object to indicates in which group of control it will be inserted\n * \t\t\t\t\t(related to _dragDropConfigModel.containerConfig.decoration in dragDropConfig provider)\n */\n easyFormDragWayConfigProvider.addControlToDragDropPresentationModel({\n 'label': '<div class=\"col-md-12\">\\n <div class=\"form-group\">\\n <label for=\"inputText\" class=\"control-label textControlLabel pull-left\">\\n title for text input<span class=\"textControlLabel ng-scope\">*</span>\\n </label>\\n <div class=\"\">\\n <input type=\"text\" disabled class=\"form-control fakeControl\" id=\"inputText\" placeholder=\"basic input\">\\n <p class=\"help-block pull-left\">Description</p>\\n </div>\\n </div>\\n </div>',\n 'control': 'TextInput',\n 'cssClass': 'col-xs-12'\n }, {\n addToGroupCtrl: 'inputs'\n });\n\n /**\n * Add text input (Password)\n *\n * note : formly template already exists\n * no need to create a custom one\n *\n * just declare in EasyFormGenFormlyBindingModelsProvider\n */\n EasyFormGenFormlyBindingModelsProvider.addEasyFormControlToList({\n id: 'Password',\n name: 'Password',\n subtitle: 'Password',\n group: 'input',\n formlyType: 'input',\n formlySubtype: 'password',\n formlyLabel: '',\n formlyRequired: false,\n formlyDesciption: '',\n formlyOptions: []\n });\n /**\n * drag and drop text input — password —control template\n *\n *\n * @PARAM 1 : control template object (drag an drop)\n * @PARAM 2 : object to indicates in which group of control it will be inserted\n * \t\t\t\t\t(related to _dragDropConfigModel.containerConfig.decoration in dragDropConfig provider)\n */\n easyFormDragWayConfigProvider.addControlToDragDropPresentationModel({\n 'label': '<div class=\"col-md-12\">\\n <div class=\"form-group\">\\n <label for=\"inputPass\" class=\"control-label textControlLabel ng-binding pull-left\">\\n title for password input<span class=\"textControlLabel ng-scope\">*</span>\\n </label>\\n <div class=\"\">\\n <input type=\"password\" disabled class=\"form-control fakeControl\" id=\"inputPass\" placeholder=\"password input\">\\n <p class=\"help-block ng-binding pull-left\">Description</p>\\n </div>\\n </div>\\n </div>',\n 'control': 'Password',\n 'cssClass': 'col-xs-12'\n }, {\n addToGroupCtrl: 'inputs'\n });\n\n /**\n * Add angular UI date picker\n *\n * thx Kent C. Dodds for formly config template (since it was a huge config)\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', 'uib-datepicker-popup', 'show-button-bar', 'current-text', 'clear-text', 'close-text', 'close-on-date-selection', 'datepicker-append-to-body'];\n\n var bindings = ['datepicker-mode', 'min-date', 'max-date'];\n\n var ngModelAttrs = {};\n\n angular.forEach(attributes, function (attr) {\n return ngModelAttrs[camelize(attr)] = { attribute: attr };\n });\n angular.forEach(bindings, function (binding) {\n return ngModelAttrs[camelize(binding)] = { bound: binding };\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 var angularUIDatePickerTemplate = '\\n <input\\n id=\"{{id}}\"\\n class=\"form-control\"\\n ng-click=\"open($event)\"\\n uib-datepicker-popup\\n ng-model=\"model[options.key || index]\" is-open=\"to.isOpen\"\\n ng-click=\"to.isOpen = true\"\\n datepicker-options=\"to.datepickerOptions\"/>';\n\n formlyConfigProvider.setType({\n name: 'datepicker',\n template: angularUIDatePickerTemplate,\n wrapper: ['bootstrapLabel', 'bootstrapHasError'],\n controller: ['$scope', function ($scope) {\n $scope.open = function ($event) {\n $event.preventDefault();\n $event.stopPropagation();\n $scope.opened = true;\n };\n }],\n defaultOptions: {\n ngModelAttrs: ngModelAttrs,\n templateOptions: {\n addonLeft: {\n class: 'glyphicon glyphicon-calendar',\n onClick: function onClick(options) {\n return options.templateOptions.isOpen = !options.templateOptions.isOpen;\n }\n },\n onFocus: function onFocus($viewValue, $modelValue, scope) {\n return scope.to.isOpen = !scope.to.isOpen;\n },\n datepickerOptions: {}\n }\n }\n });\n\n EasyFormGenFormlyBindingModelsProvider.addEasyFormControlToList({\n id: 'Date',\n name: 'Date',\n subtitle: 'Date',\n group: 'input',\n formlyType: 'datepicker',\n formlySubtype: '',\n formlyLabel: '',\n formlyRequired: false,\n formlyDesciption: '',\n formlyOptions: [],\n datepickerPopup: 'dd-MMMM-yyyy'\n });\n /**\n * drag and drop text input — date — control template (using angular UI datepicker)\n *\n *\n * @PARAM 1 : control template object (drag an drop)\n * @PARAM 2 : object to indicates in which group of control it will be inserted\n * \t\t\t\t\t(related to _dragDropConfigModel.containerConfig.decoration in dragDropConfig provider)\n */\n easyFormDragWayConfigProvider.addControlToDragDropPresentationModel({\n label: '\\n <div class=\"col-md-12\">\\n <div class=\"form-group\">\\n <label for=\"inputDate\" class=\"control-label textControlLabel ng-binding pull-left\">\\n title for date input<span class=\"textControlLabel ng-scope\">*</span>\\n </label>\\n <div class=\"col-xs-12 col-sm-12 col-md-12 demoddDatepicker\">\\n\\t\\t\\t\\t\\t<div class=\"input-group\">\\n \\t\\t\\t\\t\\t<span class=\"input-group-addon\"><span class=\"glyphicon glyphicon-calendar\"></span></span>\\n \\t\\t\\t\\t\\t<input type=\"text\" disabled class=\"form-control fakeControl\">\\n\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t</div>\\n <p class=\"help-block pull-left\">description</p>\\n </div>\\n </div>',\n control: 'Date',\n cssClass: 'col-xs-12'\n }, {\n addToGroupCtrl: 'inputs'\n });\n\n /**\n * Add textarea\n *\n * note : formly template already exists\n * no need to create a custom one\n *\n * just declare in EasyFormGenFormlyBindingModelsProvider\n */\n EasyFormGenFormlyBindingModelsProvider.addEasyFormControlToList({\n id: 'Texarea',\n name: 'Textarea',\n subtitle: 'Textarea',\n group: 'Textarea',\n formlyType: 'textarea',\n formlySubtype: '',\n formlyLabel: '',\n formlyRequired: false,\n formlyDesciption: '',\n formlyOptions: []\n });\n /**\n * drag and drop textarea control template\n *\n *\n * @PARAM 1 : control template object (drag an drop)\n * @PARAM 2 : object to indicates in which group of control it will be inserted\n * \t\t\t\t\t(related to _dragDropConfigModel.containerConfig.decoration in dragDropConfig provider)\n */\n easyFormDragWayConfigProvider.addControlToDragDropPresentationModel({\n 'label': '\\n <div class=\"col-md-12\">\\n <div class=\"form-group\">\\n <label for=\"textArea\" class=\"control-label\\n \\t\\t\\t\\t\\t\\t\\ttextControlLabel pull-left\">title for textarea <span class=\"textControlLabel\">*</span></label>\\n <div class=\"\">\\n <textarea disabled class=\"form-control dragItemtextarea fakeControl\" ng-model=\"model[options.key]\" rows=\"1\" id=\"textArea\"></textarea>\\n <p class=\"help-block pull-left\">description</p>\\n </div>\\n </div>\\n </div>',\n 'control': 'Texarea',\n 'cssClass': 'col-xs-12'\n }, {\n addToGroupCtrl: 'textareas'\n });\n\n /**\n * Add rich text editor control (using textAngular)\n *\n */\n var richTexEditorTemplate = '\\n <text-angular name=\"{{id}}\"\\n class=\"richTextAngular\"\\n ng-model=\"model[options.key || index]\">\\n </text-angular>';\n\n formlyConfigProvider.setType({\n name: 'richEditor',\n template: richTexEditorTemplate\n });\n\n EasyFormGenFormlyBindingModelsProvider.addEasyFormControlToList({\n id: 'RichTextEditor',\n name: 'RichTextEditor',\n subtitle: 'RichTextEditor',\n group: 'Textarea',\n formlyType: 'richEditor',\n formlySubtype: '',\n formlyLabel: '',\n formlyRequired: false,\n formlyDesciption: '',\n formlyOptions: []\n });\n /**\n * drag and drop rich text editor control template (using textAngular)\n *\n *\n * @PARAM 1 : control template object (drag an drop)\n * @PARAM 2 : object to indicates in which group of control it will be inserted\n * \t\t\t\t\t(related to _dragDropConfigModel.containerConfig.decoration in dragDropConfig provider)\n */\n easyFormDragWayConfigProvider.addControlToDragDropPresentationModel({\n label: '\\n <div class=\"col-md-12\">\\n <div class=\"form-group\">\\n <label for=\"textArea\" class=\"control-label\\n \\t\\t\\t\\t\\t\\t\\ttextControlLabel pull-left\">title for rich text editor <span class=\"textControlLabel\">*</span></label>\\n <div class=\"\">\\n <textarea disabled class=\"form-control dragItemtextarea fakeControl\" ng-model=\"model[options.key]\" rows=\"1\" id=\"textArea\"></textarea>\\n <p class=\"help-block\">description</p>\\n </div>\\n </div>\\n </div>',\n control: 'RichTextEditor',\n cssClass: 'col-xs-12'\n }, {\n addToGroupCtrl: 'textareas'\n });\n\n /**\n * Add radio\n *\n * note : formly template already exists\n * no need to create a custom one\n *\n * just declare in EasyFormGenFormlyBindingModelsProvider\n */\n EasyFormGenFormlyBindingModelsProvider.addEasyFormControlToList({\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 formlyDesciption: '',\n formlyOptions: []\n });\n /**\n * drag and drop radio control template (using textAngular)\n *\n *\n * @PARAM 1 : control template object (drag an drop)\n * @PARAM 2 : object to indicates in which group of control it will be inserted\n * \t\t\t\t\t(related to _dragDropConfigModel.containerConfig.decoration in dragDropConfig provider)\n */\n easyFormDragWayConfigProvider.addControlToDragDropPresentationModel({\n 'label': '\\n <div class=\"col-md-12\">\\n <div class=\"form-group\">\\n <label for=\"vertRadio\" class=\"control-label textControlLabel pull-left\">title for radio <span class=\"textControlLabel\">*</span></label>\\n <div class=\"interligne\"></div>\\n <div class=\"pull-left\">\\n <div class=\"radio\">\\n <label class=\"fakeCheck\">\\n <input type=\"radio\" disabled name=\"optionsRadios\" class=\"fakeCheck\" id=\"optionsRadio-0\" value=\"verticalRadio0\" checked=\"\">\\n option1\\n </label>\\n </div>\\n <div class=\"radio\">\\n <label class=\"fakeCheck\">\\n <input type=\"radio\" disabled name=\"optionsRadios\" class=\"fakeCheck\" id=\"optionsRadio-1\" value=\"verticalRadio1\" checked=\"\">\\n option2\\n </label>\\n </div>\\n <p class=\"help-block pull-left\">description</p>\\n </div>\\n </div>\\n </div>',\n 'control': 'Radio',\n 'cssClass': 'col-xs-12'\n }, {\n addToGroupCtrl: 'radios'\n });\n\n /**\n * Add checkbox\n *\n * note : formly template already exists\n * no need to create a custom one\n *\n * just declare in EasyFormGenFormlyBindingModelsProvider\n */\n EasyFormGenFormlyBindingModelsProvider.addEasyFormControlToList({\n id: 'Checkbox',\n name: 'Checkbox',\n subtitle: 'Checkbox',\n group: 'Checkbox',\n formlyType: 'checkbox',\n formlySubtype: '',\n formlyLabel: '',\n formlyRequired: false,\n formlyDesciption: '',\n formlyOptions: []\n });\n /**\n * drag and drop checkbox control template (using textAngular)\n *\n *\n * @PARAM 1 : control template object (drag an drop)\n * @PARAM 2 : object to indicates in which group of control it will be inserted\n * \t\t\t\t\t(related to _dragDropConfigModel.containerConfig.decoration in dragDropConfig provider)\n */\n easyFormDragWayConfigProvider.addControlToDragDropPresentationModel({\n label: '\\n <div class=\"col-md-12\">\\n <div class=\"checkbox\">\\n <label class=\"fakeCheck\">\\n <input type=\"checkbox\" disabled class=\"fakeCheck\" id=\"checkBox\">\\n \\t\\t<span class=\"blackText ng-binding\">label for checkbox </span>\\n \\t\\t<span class=\"textControlLabel ng-scope\">*</span>\\n </label>\\n </div>\\n <p class=\"help-block ng-binding\">description</p>\\n </div>',\n control: 'Checkbox',\n cssClass: 'col-xs-12'\n }, {\n addToGroupCtrl: 'checkboxes'\n });\n\n /**\n * Add basic Select control\n *\n * using nya-bs-select\n */\n var basicSelectTemplate = '\\n <ol class=\"nya-bs-select col-sm-12 col-xs-12 col-md-12 col-lg12\"\\n \\t\\tng-model=\"model[options.key || index]\"\\n \\t\\tid=\"{{id}}\"\\n \\t\\tdisabled=\"options.templateOptions.options.length === 0\">\\n <li class=\"nya-bs-option\" nya-bs-option=\"option in options.templateOptions.options\">\\n <a>{{option.name}}</a>\\n </li>\\n </ol> ';\n\n formlyConfigProvider.setType({\n name: 'basicSelect',\n template: basicSelectTemplate\n });\n\n EasyFormGenFormlyBindingModelsProvider.addEasyFormControlToList({\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 formlyDesciption: '',\n formlyOptions: []\n });\n\n /**\n * drag and drop basic select control template (using textAngular)\n *\n *\n * @PARAM 1 : control template object (drag an drop)\n * @PARAM 2 : object to indicates in which group of control it will be inserted\n * \t\t\t\t\t(related to _dragDropConfigModel.containerConfig.decoration in dragDropConfig provider)\n */\n easyFormDragWayConfigProvider.addControlToDragDropPresentationModel({\n label: '\\n <div class=\"col-md-12\">\\n <div class=\"form-group\">\\n <div class=\"col-xs-12 col-sm-12 col-md-12 col-lg-12 selectfordemo\">\\n\\n <ol class=\"nya-bs-select col-xs-12 col-sm-12 col-md-12 col-lg-12 ng-valid btn-group ng-dirty ng-valid-parse ng-touched\"\\n \\tng-model=\"fakeModelNyaSelectBasic\"\\n \\tdata-live-search=\"false\">\\n\\n <button class=\"btn btn-default dropdown-toggle\" disabled type=\"button\">\\n \\t\\t <span class=\"pull-left filter-option\">\\n \\t\\t\\t <span class=\"ng-binding\">Basic select</span>\\n \\t\\t</span>\\n \\t\\t <span class=\"caret\"></span>\\n </button>\\n\\n </div>\\n </div>',\n control: 'BasicSelect',\n cssClass: 'col-xs-12'\n }, {\n addToGroupCtrl: 'selects'\n });\n\n /**\n * Add Grouped Select control\n *\n * using nya-bs-select\n */\n var groupedSelectTemplate = '\\n <ol class=\"nya-bs-select col-sm-12 col-xs-12 col-md-12 col-lg12\"\\n\\t\\t ng-model=\"model[options.key || index]\"\\n data-live-search=\"true\"\\n disabled=\"options.templateOptions.options.length === 0\">\\n <li nya-bs-option=\"option in options.templateOptions.options group by option.group\">\\n <span class=\"dropdown-header\">{{$group}}</span>\\n <a>\\n <span>{{option.name}}</span>\\n <span class=\"glyphicon glyphicon-ok check-mark\"></span>\\n </a>\\n </li>\\n </ol>';\n\n formlyConfigProvider.setType({\n name: 'groupedSelect',\n template: groupedSelectTemplate\n });\n\n EasyFormGenFormlyBindingModelsProvider.addEasyFormControlToList({\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 formlyDesciption: '',\n formlyOptions: []\n });\n /**\n * drag and drop grouped select control template (using textAngular)\n *\n *\n * @PARAM 1 : control template object (drag an drop)\n * @PARAM 2 : object to indicates in which group of control it will be inserted\n * \t\t\t\t\t(related to _dragDropConfigModel.containerConfig.decoration in dragDropConfig provider)\n */\n easyFormDragWayConfigProvider.addControlToDragDropPresentationModel({\n label: '\\n <div class=\"col-md-12\">\\n <div class=\"form-group\">\\n <div class=\"col-xs-12 col-sm-12 col-md-12 col-lg-12 selectfordemo\">\\n <ol class=\"nya-bs-select col-xs-12 col-sm-12 col-md-12 col-lg-12 ng-valid btn-group ng-dirty ng-valid-parse ng-touched\"\\n \\tng-model=\"fakeModelNyaSelectBasic\"\\n \\tdata-live-search=\"false\">\\n <button class=\"btn btn-default dropdown-toggle\" disabled type=\"button\">\\n \\t\\t <span class=\"pull-left filter-option\">\\n \\t\\t\\t <span class=\"ng-binding\">Grouped select</span>\\n \\t\\t</span>\\n \\t\\t <span class=\"caret\"></span>\\n </button>\\n </div>\\n </div>',\n control: 'GroupedSelect',\n cssClass: 'col-xs-12'\n }, {\n addToGroupCtrl: 'selects'\n });\n}\n\nformlyConfig.$inject = ['formlyConfigProvider', 'EasyFormGenFormlyBindingModelsProvider', 'easyFormDragWayConfigProvider'];\n\nexports.default = formlyConfig;//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbmZpZy9lZGFEcmFnRHJvcFdheS5mb3JtbHlDb25maWcuY29uZmlnLmpzPzVmODIiXSwibmFtZXMiOlsiZm9ybWx5Q29uZmlnIiwiZm9ybWx5Q29uZmlnUHJvdmlkZXIiLCJFYXN5Rm9ybUdlbkZvcm1seUJpbmRpbmdNb2RlbHNQcm92aWRlciIsImVhc3lGb3J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zcGFuPlxuICAgICAgXHRcdCZuYnNwOzxzcGFuIGNsYXNzPVwiY2FyZXRcIj48L3NwYW4+XG4gICAgICA8L2J1dHRvbj5cbiAgICAgIDwvZGl2PlxuICAgICAgPC9kaXY+YCxcbiAgICBjb250cm9sXHQ6ICdHcm91cGVkU2VsZWN0JyxcbiAgICBjc3NDbGFzczogJ2NvbC14cy0xMidcbiAgfSxcbiAge1xuICAgIGFkZFRvR3JvdXBDdHJsIDogJ3NlbGVjdHMnXG4gIH0pO1xuXG5cbn1cblxuZm9ybWx5Q29uZmlnLiRpbmplY3QgPSBbXG4gICdmb3JtbHlDb25maWdQcm92aWRlcicsXG4gICdFYXN5Rm9ybUdlbkZvcm1seUJpbmRpbmdNb2RlbHNQcm92aWRlcicsXG4gICdlYXN5Rm9ybURyYWdXYXlDb25maWdQcm92aWRlcidcbl07XG5cbmV4cG9ydCBkZWZhdWx0IGZvcm1seUNvbmZpZztcblxuXG5cbi8vIFdFQlBBQ0sgRk9PVEVSIC8vXG4vLyAuL3NyYy9hcHAvZHJhZ2Ryb3B3YXkvY29uZmlnL2VkYURyYWdEcm9wV2F5LmZvcm1seUNvbmZpZy5jb25maWcuanMiXSwic291cmNlUm9vdCI6IiJ9");
|
|
|
|
/***/ },
|
|
/* 12 */
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.EASY_FORM_DD_VERSION_VALUE = exports.EASY_FORM_DD_VERSION_NAME = undefined;\n\nvar _easyFormConfig = __webpack_require__(13);\n\nvar _easyFormConfig2 = _interopRequireDefault(_easyFormConfig);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar EASY_FORM_DD_VERSION_NAME = 'easyFormGenVersion';\nvar EASY_FORM_DD_VERSION_VALUE = _easyFormConfig2.default.dragdropway.version;\n\nfunction dragDropConfigFunct(easyFormDragWayConfigProvider) {\n easyFormDragWayConfigProvider.setItemsNotTocount({\n //placeholder : '',\n itemBeingDragged: 'dndDraggingSource'\n });\n}\n\ndragDropConfigFunct.$inject = ['easyFormDragWayConfigProvider'];\n\nexports.default = dragDropConfigFunct;\nexports.EASY_FORM_DD_VERSION_NAME = EASY_FORM_DD_VERSION_NAME;\nexports.EASY_FORM_DD_VERSION_VALUE = EASY_FORM_DD_VERSION_VALUE;//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbmZpZy9lZGFEcmFnRHJvcFdheS5kcmFnRHJvcENvbmZpZy5jb25maWcuanM/ZjU4NCJdLCJuYW1lcyI6WyJFQVNZX0ZPUk1fRERfVkVSU0lPTl9OQU1FIiwiRUFTWV9GT1JNX0REX1ZFUlNJT05fVkFMVUUiLCJkcmFnZHJvcHdheSIsInZlcnNpb24iLCJkcmFnRHJvcENvbmZpZ0Z1bmN0IiwiZWFzeUZvcm1EcmFnV2F5Q29uZmlnUHJvdmlkZXIiLCJzZXRJdGVtc05vdFRvY291bnQiLCJpdGVtQmVpbmdEcmFnZ2VkIiwiJGluamVjdCJdLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUFBOzs7Ozs7QUFFQSxJQUFNQSw0QkFBNkIsb0JBQW5DO0FBQ0EsSUFBTUMsNkJBQTZCLHlCQUFlQyxXQUFmLENBQTJCQyxPQUE5RDs7QUFFQSxTQUFTQyxtQkFBVCxDQUE2QkMsNkJBQTdCLEVBQTREO0FBQzFEQSxnQ0FBOEJDLGtCQUE5QixDQUFpRDtBQUMvQztBQUNBQyxzQkFBc0I7QUFGeUIsR0FBakQ7QUFJRDs7QUFFREgsb0JBQW9CSSxPQUFwQixHQUE4QixDQUM1QiwrQkFENEIsQ0FBOUI7O2tCQUllSixtQjtRQUdiSix5QixHQUFBQSx5QjtRQUNBQywwQixHQUFBQSwwQiIsImZpbGUiOiIxMi5qc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way\": {\n\t\t\"version\": \"2.0.0\"\n\t},\n\t\"dragdropway\": {\n\t\t\"version\": \"2.0.0\"\n\t},\n\t\"formviewer\": {\n\t\t\"version\": \"2.0.0\"\n\t}\n};//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2Vhc3lGb3JtQ29uZmlnLmpzb24/MzFjYSJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQSxFQUFFO0FBQ0Y7QUFDQTtBQUNBLEVBQUU7QUFDRjtBQUNBO0FBQ0E7QUFDQSIsImZpbGUiOiIxMy5qcyIsInNvdXJjZXNDb250ZW50IjpbIm1vZHVsZS5leHBvcnRzID0ge1xuXHRcInN0ZXB3YXlcIjoge1xuXHRcdFwidmVyc2lvblwiOiBcIjIuMC4wXCJcblx0fSxcblx0XCJkcmFnZHJvcHdheVwiOiB7XG5cdFx0XCJ2ZXJzaW9uXCI6IFwiMi4wLjBcIlxuXHR9LFxuXHRcImZvcm12aWV3ZXJcIjoge1xuXHRcdFwidmVyc2lvblwiOiBcIjIuMC4wXCJcblx0fVxufTtcblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL3NyYy9hcHAvZWFzeUZvcm1Db25maWcuanNvblxuLy8gbW9kdWxlIGlkID0gMTNcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sInNvdXJjZVJvb3QiOiIifQ==");
|
|
|
|
/***/ },
|
|
/* 14 */
|
|
/***/ function(module, exports) {
|
|
|
|
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\nvar CORE_MODULES = ['textAngular', 'textAngularSetup', 'ngAnimate', 'toaster', 'formly', 'formlyBootstrap', 'ui.bootstrap', 'nya.bootstrap.select', 'mgcrea.ngStrap.affix'\n// 'pascalprecht.translate'\t\n];\n\nexports.default = angular.module('easyFormGen.dragDropWay.core', CORE_MODULES);//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvcmUvZWRhRHJhZ0Ryb3BXYXkuY29yZS5tb2R1bGUuanM/OTY2YyJdLCJuYW1lcyI6WyJDT1JFX01PRFVMRVMiLCJhbmd1bGFyIiwibW9kdWxlIl0sIm1hcHBpbmdzIjoiOzs7OztBQUFBLElBQU1BLGVBQWUsQ0FDcEIsYUFEb0IsRUFFcEIsa0JBRm9CLEVBR3BCLFdBSG9CLEVBSXBCLFNBSm9CLEVBS3BCLFFBTG9CLEVBTXBCLGlCQU5vQixFQU9wQixjQVBvQixFQVFwQixzQkFSb0IsRUFTcEI7QUFDQTtBQVZvQixDQUFyQjs7a0JBYWVDLFFBQ05DLE1BRE0sQ0FDQyw4QkFERCxFQUNpQ0YsWUFEakMsQyIsImZpbGUiOiIxNC5qcyIsInNvdXJjZXNDb250ZW50IjpbImNvbnN0IENPUkVfTU9EVUxFUyA9IFtcdFxuXHQndGV4dEFuZ3VsYXInLFxuXHQndGV4dEFuZ3VsYXJTZXR1cCcsXG5cdCduZ0FuaW1hdGUnLFxuXHQndG9hc3RlcicsXHRcdFx0XHRcdFx0XHRcdFx0XHRcdFxuXHQnZm9ybWx5JywgXG5cdCdmb3JtbHlCb290c3RyYXAnLFxuXHQndWkuYm9vdHN0cmFwJyxcblx0J255YS5ib290c3RyYXAuc2VsZWN0Jyxcblx0J21nY3JlYS5uZ1N0cmFwLmFmZml4J1xuXHQvLyAncGFzY2FscHJlY2h0LnRyYW5zbGF0ZSdcdFxuXTtcblxuZXhwb3J0IGRlZmF1bHQgYW5ndWxhclxuXHRcdFx0XHRcdFx0XHRcdC5tb2R1bGUoJ2Vhc3lGb3JtR2VuLmRyYWdEcm9wV2F5LmNvcmUnLCBDT1JFX01PRFVMRVMpO1xuXG5cblxuLy8gV0VCUEFDSyBGT09URVIgLy9cbi8vIC4vc3JjL2FwcC9kcmFnZHJvcHdheS9jb3JlL2VkYURyYWdEcm9wV2F5LmNvcmUubW9kdWxlLmpzIl0sInNvdXJjZVJvb3QiOiIifQ==");
|
|
|
|
/***/ },
|
|
/* 15 */
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _edaDragDropWayLeftPanel = __webpack_require__(16);\n\nvar _edaDragDropWayLeftPanel2 = _interopRequireDefault(_edaDragDropWayLeftPanel);\n\nvar _edaDragDropWayLeftPanel3 = __webpack_require__(18);\n\nvar _edaDragDropWayLeftPanel4 = _interopRequireDefault(_edaDragDropWayLeftPanel3);\n\nvar _edaDragDropWayLeftPanelSelectOptionManage = __webpack_require__(20);\n\nvar _edaDragDropWayLeftPanelSelectOptionManage2 = _interopRequireDefault(_edaDragDropWayLeftPanelSelectOptionManage);\n\nvar _edaDragDropWayLeftPanelControllerModalProxy = __webpack_require__(22);\n\nvar _edaDragDropWayLeftPanelControllerModalProxy2 = _interopRequireDefault(_edaDragDropWayLeftPanelControllerModalProxy);\n\nvar _edaDragDropWayLeftpanelValidEditFooter = __webpack_require__(23);\n\nvar _edaDragDropWayLeftpanelValidEditFooter2 = _interopRequireDefault(_edaDragDropWayLeftpanelValidEditFooter);\n\nvar _edaDragDropWayLeftpanelTextInputControl = __webpack_require__(25);\n\nvar _edaDragDropWayLeftpanelTextInputControl2 = _interopRequireDefault(_edaDragDropWayLeftpanelTextInputControl);\n\nvar _edaDragDropWayLeftpanelTextareaControl = __webpack_require__(27);\n\nvar _edaDragDropWayLeftpanelTextareaControl2 = _interopRequireDefault(_edaDragDropWayLeftpanelTextareaControl);\n\nvar _edaDragDropWayLeftpanelSubtitleControl = __webpack_require__(29);\n\nvar _edaDragDropWayLeftpanelSubtitleControl2 = _interopRequireDefault(_edaDragDropWayLeftpanelSubtitleControl);\n\nvar _edaDragDropWayLeftpanelRichTextEditorControl = __webpack_require__(31);\n\nvar _edaDragDropWayLeftpanelRichTextEditorControl2 = _interopRequireDefault(_edaDragDropWayLeftpanelRichTextEditorControl);\n\nvar _edaDragDropWayLeftpanelRadioControl = __webpack_require__(33);\n\nvar _edaDragDropWayLeftpanelRadioControl2 = _interopRequireDefault(_edaDragDropWayLeftpanelRadioControl);\n\nvar _edaDragDropWayLeftpanelPasswordControl = __webpack_require__(35);\n\nvar _edaDragDropWayLeftpanelPasswordControl2 = _interopRequireDefault(_edaDragDropWayLeftpanelPasswordControl);\n\nvar _edaDragDropWayLeftpanelHeaderControl = __webpack_require__(37);\n\nvar _edaDragDropWayLeftpanelHeaderControl2 = _interopRequireDefault(_edaDragDropWayLeftpanelHeaderControl);\n\nvar _edaDragDropWayLeftpanelGroupedSelectControl = __webpack_require__(39);\n\nvar _edaDragDropWayLeftpanelGroupedSelectControl2 = _interopRequireDefault(_edaDragDropWayLeftpanelGroupedSelectControl);\n\nvar _edaDragDropWayLeftpanelDateControl = __webpack_require__(41);\n\nvar _edaDragDropWayLeftpanelDateControl2 = _interopRequireDefault(_edaDragDropWayLeftpanelDateControl);\n\nvar _edaDragDropWayLeftpanelCheckBoxControl = __webpack_require__(43);\n\nvar _edaDragDropWayLeftpanelCheckBoxControl2 = _interopRequireDefault(_edaDragDropWayLeftpanelCheckBoxControl);\n\nvar _edaDragDropWayLeftpanelBlankControl = __webpack_require__(45);\n\nvar _edaDragDropWayLeftpanelBlankControl2 = _interopRequireDefault(_edaDragDropWayLeftpanelBlankControl);\n\nvar _edaDragDropWayLeftpanelBasicSelectControl = __webpack_require__(47);\n\nvar _edaDragDropWayLeftpanelBasicSelectControl2 = _interopRequireDefault(_edaDragDropWayLeftpanelBasicSelectControl);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar LEFT_PANEL_MODULE = 'edaDragDropWay.leftPanel.module'; /* global angular */\nexports.default = angular.module(LEFT_PANEL_MODULE, []).directive(_edaDragDropWayLeftPanel3.LEFT_PANEL_DIRECTIVE, _edaDragDropWayLeftPanel4.default).controller(_edaDragDropWayLeftPanel.LEFT_PANEL_CONTROLLER, _edaDragDropWayLeftPanel2.default).service(_edaDragDropWayLeftPanelSelectOptionManage.LEFT_PANEL_SELECT_OPTION_MANAGE_SERVICE, _edaDragDropWayLeftPanelSelectOptionManage2.default).service(_edaDragDropWayLeftPanelControllerModalProxy.CONTROLLER_MODAL_PROXY, _edaDragDropWayLeftPanelControllerModalProxy2.default).directive(_edaDragDropWayLeftpanelValidEditFooter.LEFT_PANEL_VALID_EDIT_FOOTER_DIRECTIVE, _edaDragDropWayLeftpanelValidEditFooter2.default).directive(_edaDragDropWayLeftpanelTextInputControl.LEFT_PANEL_TEXT_INPUT_CONTROL_DIRECTIVE, _edaDragDropWayLeftpanelTextInputControl2.default).directive(_edaDragDropWayLeftpanelTextareaControl.LEFT_PANEL_TEXTAREA_CONTROL_DIRECTIVE, _edaDragDropWayLeftpanelTextareaControl2.default).directive(_edaDragDropWayLeftpanelSubtitleControl.LEFT_PANEL_SUBTITLE_CONTROL_DIRECTIVE, _edaDragDropWayLeftpanelSubtitleControl2.default).directive(_edaDragDropWayLeftpanelRichTextEditorControl.LEFT_PANEL_RICH_TEXT_EDITOR_CONTROL_DIRECTIVE, _edaDragDropWayLeftpanelRichTextEditorControl2.default).directive(_edaDragDropWayLeftpanelRadioControl.LEFT_PANEL_RADIO_CONTROL_DIRECTIVE, _edaDragDropWayLeftpanelRadioControl2.default).directive(_edaDragDropWayLeftpanelPasswordControl.LEFT_PANEL_PASSWORD_CONTROL_DIRECTIVE, _edaDragDropWayLeftpanelPasswordControl2.default).directive(_edaDragDropWayLeftpanelHeaderControl.LEFT_PANEL_HEADER_CONTROL_DIRECTIVE, _edaDragDropWayLeftpanelHeaderControl2.default).directive(_edaDragDropWayLeftpanelGroupedSelectControl.LEFT_PANEL_GROUPED_SELECT_CONTROL_DIRECTIVE, _edaDragDropWayLeftpanelGroupedSelectControl2.default).directive(_edaDragDropWayLeftpanelDateControl.LEFT_PANEL_DATE_CONTROL_DIRECTIVE, _edaDragDropWayLeftpanelDateControl2.default).directive(_edaDragDropWayLeftpanelCheckBoxControl.LEFT_PANEL_CHECKBOX_CONTROL_DIRECTIVE, _edaDragDropWayLeftpanelCheckBoxControl2.default).directive(_edaDragDropWayLeftpanelBlankControl.LEFT_PANEL_BLANK_CONTROL_DIRECTIVE, _edaDragDropWayLeftpanelBlankControl2.default).directive(_edaDragDropWayLeftpanelBasicSelectControl.LEFT_PANEL_BASIC_SELECT_CONTROL_DIRECTIVE, _edaDragDropWayLeftpanelBasicSelectControl2.default);//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvbGVmdFBhbmVsL2VkYURyYWdEcm9wV2F5LmxlZnRQYW5lbC5tb2R1bGUuanM/NzA3OCJdLCJuYW1lcyI6WyJMRUZUX1BBTkVMX01PRFVMRSIsImFuZ3VsYXIiLCJtb2R1bGUiLCJkaXJlY3RpdmUiLCJjb250cm9sbGVyIiwic2VydmljZSJdLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBQ0E7Ozs7QUFHQTs7OztBQUdBOzs7O0FBR0E7Ozs7QUFHQTs7OztBQUdBOzs7O0FBR0E7Ozs7QUFHQTs7OztBQUdBOzs7O0FBR0E7Ozs7QUFHQTs7OztBQUdBOzs7O0FBR0E7Ozs7QUFHQTs7OztBQUdBOzs7O0FBR0E7Ozs7QUFHQTs7Ozs7O0FBS0EsSUFBTUEsb0JBQW9CLGlDQUExQixDLENBdERBO2tCQXdEZUMsUUFDTkMsTUFETSxDQUNDRixpQkFERCxFQUNvQixFQURwQixFQUVORyxTQUZNLG9GQUdOQyxVQUhNLG9GQUlFQyxPQUpGLDBJQUtFQSxPQUxGLDZI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b3BXYXkubGVmdFBhbmVsLm1vZHVsZS5qcyJdLCJzb3VyY2VSb290IjoiIn0=");
|
|
|
|
/***/ },
|
|
/* 16 */
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\nexports.LEFT_PANEL_CONTROLLERAS = exports.LEFT_PANEL_CONTROLLER = 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 _edaDragDropWayLeftPanelController = __webpack_require__(17);\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar LEFT_PANEL_CONTROLLER = 'leftPanelController';\nvar LEFT_PANEL_CONTROLLERAS = 'leftPanelCtrl';\n\nvar leftPanelController = function () {\n\tfunction leftPanelController(toaster, $timeout, $selectOptionMange, controllerModalProxy) {\n\t\t_classCallCheck(this, leftPanelController);\n\n\t\tthis.toaster = toaster;\n\t\tthis.$timeout = $timeout;\n\t\tthis.$selectOptionMange = $selectOptionMange;\n\t\tthis.controllerModalProxy = controllerModalProxy;\n\n\t\tthis.init();\n\t}\n\n\t_createClass(leftPanelController, [{\n\t\tkey: 'init',\n\t\tvalue: function init() {\n\t\t\tthis.proxyModel = this.controllerModalProxy.proxyModel;\n\t\t\tthis.proxyModel.selectedControl = this.proxyModel.temporyConfig.selectedControl;\n\t\t\tthis.basicSelectRowCollection = this.controllerModalProxy.basicSelectRowCollection;\n\t\t\tthis.newOptionBasicSelect = this.controllerModalProxy.newOptionBasicSelect;\n\n\t\t\tthis.groupedSelectRowCollection = this.controllerModalProxy.groupedSelectRowCollection;\n\t\t\tthis.newOptionGroupedSelect = this.controllerModalProxy.newOptionGroupedSelect;\n\t\t\tthis.GroupedSelectGroups = this.controllerModalProxy.GroupedSelectGroups;\n\t\t\tthis.newGroupGroupedSelect = this.controllerModalProxy.newGroupGroupedSelect;\n\t\t\tthis.groupSelectGroupClick = this.controllerModalProxy.groupSelectGroupClick;\n\n\t\t\tthis.radioRowCollection = this.controllerModalProxy.radioRowCollection;\n\t\t\tthis.newOptionRadio = this.controllerModalProxy.newOptionRadio;\n\n\t\t\tthis.demodt = {};\n\t\t\tthis.demodt.formats = _edaDragDropWayLeftPanelController.dateFormats;\n\t\t\tthis.dateOptions = this.getDateOptions();\n\n\t\t\t// this.controllerModalProxy.resetAllTemporyModels();\n\t\t\tthis.initNyaSelectConformingSelectedControl();\n\t\t}\n\t}, {\n\t\tkey: 'getDateOptions',\n\t\tvalue: function getDateOptions() {\n\t\t\tvar dateOptions = {\n\t\t\t\tformatYear: 'yy',\n\t\t\t\tstartingDay: 1,\n\t\t\t\tshowWeeks: true,\n\t\t\t\tinitDate: null\n\t\t\t};\n\t\t\treturn dateOptions;\n\t\t}\n\t}, {\n\t\tkey: 'initNyaSelectConformingSelectedControl',\n\t\tvalue: function initNyaSelectConformingSelectedControl() {\n\t\t\t//place proxyModel to selection if not none :\n\t\t\tif (this.proxyModel.temporyConfig.selectedControl !== 'none') {\n\t\t\t\tfor (var i = this.proxyModel.controls.length - 1; i >= 0; i--) {\n\t\t\t\t\tif (this.proxyModel.controls[i].id === this.proxyModel.temporyConfig.selectedControl) this.modelproxyModel = this.proxyModel.controls[i];\n\t\t\t\t}\n\t\t\t\tif (this.proxyModel.temporyConfig.selectedControl === 'BasicSelect') this.controllerModalProxy.bindBasicSelectFromProxyModel(self.basicSelectRowCollection);\n\t\t\t\tif (this.proxyModel.temporyConfig.selectedControl === 'GroupedSelect') this.controllerModalProxy.bindGroupedSelectFromProxyModel(this.groupedSelectRowCollection, this.GroupedSelectGroups);\n\t\t\t\tif (this.proxyModel.temporyConfig.selectedControl === 'Radio') this.controllerModalProxy.bindRadioFromProxyModel(this.radioRowCollection);\n\t\t\t}\n\t\t}\n\t}, {\n\t\tkey: 'updateSpecialControl',\n\t\tvalue: function updateSpecialControl() {\n\t\t\t//refresh service data for particular controls as selects and radio\n\t\t\tthis.proxyModel.basicSelectRowCollection = this.basicSelectRowCollection;\n\t\t\tthis.proxyModel.newOptionBasicSelect = this.newOptionBasicSelect;\n\t\t\tthis.proxyModel.groupedSelectRowCollection = this.groupedSelectRowCollection;\n\t\t\tthis.proxyModel.newOptionGroupedSelect = this.newOptionGroupedSelect;\n\t\t\tthis.proxyModel.GroupedSelectGroups = this.GroupedSelectGroups;\n\t\t\tthis.proxyModel.newGroupGroupedSelect = this.newGroupGroupedSelect;\n\t\t\tthis.proxyModel.groupSelectGroupClick = this.groupSelectGroupClick;\n\t\t\tthis.proxyModel.radioRowCollection = this.radioRowCollection;\n\t\t\tthis.proxyModel.newOptionRadio = this.newOptionRadio;\n\t\t\t//force apply update proxyModel\n\t\t\tthis.controllerModalProxy.bindSpecialCtrlTemporyModelsToProxyModel();\n\t\t\treturn true;\n\t\t}\n\t}, {\n\t\tkey: 'resetTemporyConfig',\n\t\tvalue: function resetTemporyConfig() {\n\t\t\tthis.proxyModel.temporyConfig = {\n\t\t\t\tformlyLabel: '',\n\t\t\t\tformlyRequired: false,\n\t\t\t\tformlyPlaceholder: '',\n\t\t\t\tformlyDesciption: '',\n\t\t\t\tformlyOptions: []\n\t\t\t};\n\t\t}\n\t}, {\n\t\tkey: 'resetControl',\n\t\tvalue: function resetControl() {\n\t\t\tthis.proxyModel.temporyConfig.formlyLabel = '';\n\t\t\tthis.proxyModel.temporyConfig.formlyRequired = false;\n\t\t\tthis.proxyModel.temporyConfig.formlyPlaceholder = '';\n\t\t\tthis.proxyModel.temporyConfig.formlyDesciption = '';\n\t\t\tthis.proxyModel.temporyConfig.formlyOptions = [];\n\t\t\tthis.proxyModel.temporyConfig.datepickerPopup = this.initDatePicker();\n\t\t}\n\t}, {\n\t\tkey: 'initDatePicker',\n\t\tvalue: function initDatePicker() {\n\t\t\tthis.proxyModel.temporyConfig.datepickerPopup = this.demodt.formats[0];\n\t\t}\n\t}, {\n\t\tkey: 'selectThisControl',\n\t\tvalue: function selectThisControl(controlName) {\n\t\t\tthis.proxyModel.selectedControl = 'none';\n\t\t\tthis.resetTemporyConfig();\n\t\t\tfor (var i = this.proxyModel.controls.length - 1; i >= 0; i--) {\n\t\t\t\tif (this.proxyModel.controls[i].id === controlName) {\n\t\t\t\t\tthis.proxyModel.selectedControl = this.proxyModel.controls[i].id;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (this.proxyModel.selectedControl === 'Date') this.initDatePicker();\n\t\t}\n\n\t\t/**\n \t* ==============================================================\n \t* specific controls management\n \t* (display, properties.... : ex : grouped Select)\n \t* ==============================================================\n \t*/\n\n\t}, {\n\t\tkey: 'addNewOptionRadio',\n\t\tvalue: function addNewOptionRadio() {\n\t\t\tvar result = this.$selectOptionMange.addNewOptionRadio(this.radioRowCollection, this.newOptionRadio.saisie);\n\t\t\tif (result.resultFlag === false) {\n\t\t\t\tthis.toaster.pop({\n\t\t\t\t\ttype: 'warning',\n\t\t\t\t\ttimeout: 2000,\n\t\t\t\t\ttitle: result.details,\n\t\t\t\t\tbody: '\\'' + this.newOptionRadio.saisie + '\\' cannot be added.',\n\t\t\t\t\tshowCloseButton: true\n\t\t\t\t});\n\t\t\t}\n\t\t\t//reset input\n\t\t\tthis.newOptionRadio = { saisie: '' };\n\t\t}\n\t}, {\n\t\tkey: 'removeRadioRow',\n\t\tvalue: function removeRadioRow(index) {\n\t\t\tvar result = this.$selectOptionMange.removeOption(this.radioRowCollection, index);\n\t\t\tif (result.resultFlag === false) {\n\t\t\t\tthis.toaster.pop({\n\t\t\t\t\ttype: 'warning',\n\t\t\t\t\ttimeout: 2000,\n\t\t\t\t\ttitle: result.details,\n\t\t\t\t\tbody: 'Delete was cancelled.',\n\t\t\t\t\tshowCloseButton: true\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t}, {\n\t\tkey: 'upThisRadioRow',\n\t\tvalue: function upThisRadioRow(index) {\n\t\t\tvar result = this.$selectOptionMange.upthisOption(this.radioRowCollection, index);\n\t\t\tif (result.resultFlag === false) {\n\t\t\t\tthis.toaster.pop({\n\t\t\t\t\ttype: 'warning',\n\t\t\t\t\ttimeout: 2000,\n\t\t\t\t\ttitle: result.details,\n\t\t\t\t\tbody: 'Operation cancelled.',\n\t\t\t\t\tshowCloseButton: true\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t}, {\n\t\tkey: 'downThisRadioRow',\n\t\tvalue: function downThisRadioRow(index) {\n\t\t\tvar result = this.$selectOptionMange.downthisOption(this.radioRowCollection, index);\n\t\t\tif (result.resultFlag === false) {\n\t\t\t\tthis.toaster.pop({\n\t\t\t\t\ttype: 'warning',\n\t\t\t\t\ttimeout: 2000,\n\t\t\t\t\ttitle: result.details,\n\t\t\t\t\tbody: 'Operation cancelled.',\n\t\t\t\t\tshowCloseButton: true\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t}, {\n\t\tkey: 'addNewOptionBasicSelect',\n\t\tvalue: function addNewOptionBasicSelect() {\n\t\t\tvar result = this.$selectOptionMange.addNewOptionBasicSelect(this.basicSelectRowCollection, this.newOptionBasicSelect.saisie);\n\t\t\tif (result.resultFlag === false) {\n\t\t\t\tthis.toaster.pop({\n\t\t\t\t\ttype: 'warning',\n\t\t\t\t\ttimeout: 2000,\n\t\t\t\t\ttitle: result.details,\n\t\t\t\t\tbody: '\\'' + this.newOptionBasicSelect.saisie + '\\' cannot be added.',\n\t\t\t\t\tshowCloseButton: true\n\t\t\t\t});\n\t\t\t}\n\t\t\tthis.newOptionBasicSelect = { saisie: '' }; //reset input\n\t\t}\n\t}, {\n\t\tkey: 'removeRow',\n\t\tvalue: function removeRow(index) {\n\t\t\tvar result = this.$selectOptionMange.removeOption(this.basicSelectRowCollection, index);\n\t\t\tif (result.resultFlag === false) {\n\t\t\t\tthis.toaster.pop({\n\t\t\t\t\ttype: 'warning',\n\t\t\t\t\ttimeout: 2000,\n\t\t\t\t\ttitle: result.details,\n\t\t\t\t\tbody: 'Delete was cancelled.',\n\t\t\t\t\tshowCloseButton: true\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t}, {\n\t\tkey: 'upThisRow',\n\t\tvalue: function upThisRow(index) {\n\t\t\tvar result = this.$selectOptionMange.upthisOption(this.basicSelectRowCollection, index);\n\t\t\tif (result.resultFlag === false) {\n\t\t\t\tthis.toaster.pop({\n\t\t\t\t\ttype: 'warning',\n\t\t\t\t\ttimeout: 2000,\n\t\t\t\t\ttitle: result.details,\n\t\t\t\t\tbody: 'Operation cancelled.',\n\t\t\t\t\tshowCloseButton: true\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t}, {\n\t\tkey: 'downThisRow',\n\t\tvalue: function downThisRow(index) {\n\t\t\tvar result = this.$selectOptionMange.downthisOption(this.basicSelectRowCollection, index);\n\t\t\tif (result.resultFlag === false) {\n\t\t\t\tthis.toaster.pop({\n\t\t\t\t\ttype: 'warning',\n\t\t\t\t\ttimeout: 2000,\n\t\t\t\t\ttitle: result.details,\n\t\t\t\t\tbody: 'Operation cancelled.',\n\t\t\t\t\tshowCloseButton: true\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t}, {\n\t\tkey: 'showGroupListToChoose',\n\t\tvalue: function showGroupListToChoose() {\n\t\t\tthis.groupSelectGroupClick.showList = !this.groupSelectGroupClick.showList;\n\t\t}\n\t}, {\n\t\tkey: 'addNewGroupToGroupedSelect',\n\t\tvalue: function addNewGroupToGroupedSelect() {\n\t\t\tif (this.newGroupGroupedSelect.saisie !== '') {\n\t\t\t\tfor (var i = this.GroupedSelectGroups.list.length - 1; i >= 0; i--) {\n\t\t\t\t\tif (this.GroupedSelectGroups.list[i] === this.newGroupGroupedSelect.saisie) {\n\t\t\t\t\t\tthis.toaster.pop({\n\t\t\t\t\t\t\ttype: 'warning',\n\t\t\t\t\t\t\ttimeout: 2000,\n\t\t\t\t\t\t\ttitle: 'Group already exists',\n\t\t\t\t\t\t\tbody: 'No group added.',\n\t\t\t\t\t\t\tshowCloseButton: true\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tthis.GroupedSelectGroups.list.push(this.newGroupGroupedSelect.saisie);\n\t\t\t} else {\n\t\t\t\tthis.toaster.pop({\n\t\t\t\t\ttype: 'warning',\n\t\t\t\t\ttimeout: 2000,\n\t\t\t\t\ttitle: 'Not a valid group to add',\n\t\t\t\t\tbody: 'No group added.',\n\t\t\t\t\tshowCloseButton: true\n\t\t\t\t});\n\t\t\t}\n\t\t\tthis.newGroupGroupedSelect.saisie = '';\n\t\t}\n\t}, {\n\t\tkey: 'addNewOptionGroupedSelect',\n\t\tvalue: function addNewOptionGroupedSelect() {\n\t\t\tvar result = this.$selectOptionMange.addNewOptionGroupedSelect(this.groupedSelectRowCollection, this.newOptionGroupedSelect.saisie, '');\n\t\t\tif (result.resultFlag === false) {\n\t\t\t\tthis.toaster.pop({\n\t\t\t\t\ttype: 'warning',\n\t\t\t\t\ttimeout: 2000,\n\t\t\t\t\ttitle: result.details,\n\t\t\t\t\tbody: '\\'' + this.newOptionGroupedSelect.saisie + '\\' cannot be added.',\n\t\t\t\t\tshowCloseButton: true\n\t\t\t\t});\n\t\t\t}\n\t\t\t//bind nya : dont bind here $apply is not done fast enough\n\t\t\t//bindGroupedSelectToNya();\n\t\t\t//reset input\n\t\t\tthis.newOptionGroupedSelect = { saisie: '' };\n\t\t}\n\t}, {\n\t\tkey: 'removeGroupedSelectRow',\n\t\tvalue: function removeGroupedSelectRow(index) {\n\t\t\tvar result = this.$selectOptionMange.removeOption(this.groupedSelectRowCollection, index);\n\t\t\tif (result.resultFlag === false) {\n\t\t\t\tthis.toaster.pop({\n\t\t\t\t\ttype: 'warning',\n\t\t\t\t\ttimeout: 2000,\n\t\t\t\t\ttitle: result.details,\n\t\t\t\t\tbody: 'Delete was cancelled.',\n\t\t\t\t\tshowCloseButton: true\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t}, {\n\t\tkey: 'upThisGroupedSelectRow',\n\t\tvalue: function upThisGroupedSelectRow(index) {\n\t\t\tvar result = this.$selectOptionMange.upthisOption(this.groupedSelectRowCollection, index);\n\t\t\tif (result.resultFlag === false) {\n\t\t\t\tthis.toaster.pop({\n\t\t\t\t\ttype: 'warning',\n\t\t\t\t\ttimeout: 2000,\n\t\t\t\t\ttitle: result.details,\n\t\t\t\t\tbody: 'Operation cancelled.',\n\t\t\t\t\tshowCloseButton: true\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t}, {\n\t\tkey: 'downThisGroupedSelectRow',\n\t\tvalue: function downThisGroupedSelectRow(index) {\n\t\t\tvar result = this.$selectOptionMange.downthisOption(this.groupedSelectRowCollection, index);\n\t\t\tif (result.resultFlag === false) {\n\t\t\t\tthis.toaster.pop({\n\t\t\t\t\ttype: 'warning',\n\t\t\t\t\ttimeout: 2000,\n\t\t\t\t\ttitle: result.details,\n\t\t\t\t\tbody: 'Operation cancelled.',\n\t\t\t\t\tshowCloseButton: true\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t}, {\n\t\tkey: 'today',\n\t\tvalue: function today() {\n\t\t\t(0, _edaDragDropWayLeftPanelController.setToday)(this.demodt);\n\t\t}\n\t}, {\n\t\tkey: 'clear',\n\t\tvalue: function clear() {\n\t\t\t(0, _edaDragDropWayLeftPanelController.clearDateTime)(this.demodt);\n\t\t}\n\t}, {\n\t\tkey: 'open',\n\t\tvalue: function open($event) {\n\t\t\t$event.preventDefault();\n\t\t\t$event.stopPropagation();\n\t\t\tthis.demodt.opened = true;\n\t\t}\n\t}]);\n\n\treturn leftPanelController;\n}();\n\nleftPanelController.$inject = ['toaster', '$timeout', '$selectOptionMange', 'controllerModalProxy'];\n\nexports.default = leftPanelController;\nexports.LEFT_PANEL_CONTROLLER = LEFT_PANEL_CONTROLLER;\nexports.LEFT_PANEL_CONTROLLERAS = LEFT_PANEL_CONTROLLERAS;//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvbGVmdFBhbmVsL2VkYURyYWdEcm9wV2F5LmxlZnRQYW5lbC5jb250cm9sbGVyLmpzPzNlZWQiXSwibmFtZXMiOlsiTEVGVF9QQU5FTF9DT05UUk9MTEVSIiwiTEVGVF9QQU5FTF9DT05UUk9MTEVSQVMiLCJsZWZ0UGFuZWxDb250cm9sbGVyIiwidG9hc3RlciIsIiR0aW1lb3V0IiwiJHNlbGVjdE9wdGlvbk1hbmdlIiwiY29udHJvbGxlck1vZGFsUHJveHkiLCJpbml0IiwicHJveHlNb2RlbCIsInNlbGVjdGVkQ29udHJvbCIsInRlbXBvcnlDb25maWciLCJiYXNpY1NlbGVjdFJvd0NvbGxlY3Rpb24iLCJuZXdPcHRpb25CYXNpY1NlbGVjdCIsImdyb3VwZWRTZWxlY3RSb3dDb2xsZWN0aW9uIiwibmV3T3B0aW9uR3JvdXBlZFNlbGVjdCIsIkdyb3VwZWRTZWxlY3RHcm91cHMiLCJuZXdHcm91cEdyb3VwZWRTZWxlY3QiLCJncm91cFNlbGVjdEdyb3VwQ2xpY2siLCJyYWRpb1Jvd0NvbGxlY3Rpb24iLCJuZXdPcHRpb25SYWRpbyIsImRlbW9kdCIsImZvcm1hdHMiLCJkYXRlT3B0aW9ucyIsImdldERhdGVPcHRpb25zIiwiaW5pdE55YVNlbGVjdENvbmZvcm1pbmdTZWxlY3RlZENvbnRyb2wiLCJmb3JtYXRZZWFyIiwic3RhcnRpbmdEYXkiLCJzaG93V2Vla3MiLCJpbml0RGF0ZSIsImkiLCJjb250cm9scyIsImxlbmd0aCIsImlkIiwibW9kZWxwcm94eU1vZGVsIiwiYmluZEJhc2ljU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lcGlja2VyUG9wdXAgICA9IHRoaXMuaW5pdERhdGVQaWNrZXIoKTtcblx0fVxuXG5cdGluaXREYXRlUGlja2VyKCkge1xuXHRcdHRoaXMucHJveHlNb2RlbC50ZW1wb3J5Q29uZmlnLmRhdGVwaWNrZXJQb3B1cCA9IHRoaXMuZGVtb2R0LmZvcm1hdHNbMF07XG5cdH1cblxuXHRzZWxlY3RUaGlzQ29udHJvbChjb250cm9sTmFtZSl7XG5cdFx0dGhpcy5wcm94eU1vZGVsLnNlbGVjdGVkQ29udHJvbCA9ICdub25lJztcblx0XHR0aGlzLnJlc2V0VGVtcG9yeUNvbmZpZygpO1xuXHRcdGZvciAobGV0IGkgPSB0aGlzLnByb3h5TW9kZWwuY29udHJvbHMubGVuZ3RoIC0gMTsgaSA+PSAwOyBpLS0pIHtcblx0XHRcdGlmICh0aGlzLnByb3h5TW9kZWwuY29udHJvbHNbaV0uaWQgPT09IGNvbnRyb2xOYW1lKSB7XG5cdFx0XHRcdHRoaXMucHJveHlNb2RlbC5zZWxlY3RlZENvbnRyb2wgPSB0aGlzLnByb3h5TW9kZWwuY29udHJvbHNbaV0uaWQ7XG5cdFx0XHR9XG5cdFx0fVxuXHRcdGlmICh0aGlzLnByb3h5TW9kZWwuc2VsZWN0ZWRDb250cm9sID09PSAnRGF0ZScpIHRoaXMuaW5pdERhdGVQaWNrZXIoKTtcblx0fVxuXG5cblx0LyoqXG5cdFx0KiA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXHRcdCogc3BlY2lmaWMgY29udHJvbHMgbWFuYWdlbWVudFxuXHRcdCogKGRpc3BsYXksIHByb3BlcnRpZXMuLi4uIDogZXggOiBncm91cGVkIFNlbGVjdClcblx0XHQqID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG5cdFx0Ki9cblx0XHRhZGROZXdPcHRpb25SYWRpbygpe1xu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0aW9uIGNhbmNlbGxlZC4nLFxuXHRcdFx0XHRcdHNob3dDbG9zZUJ1dHRvbjogdHJ1ZVxuXHRcdFx0XHR9KTtcblx0XHRcdH1cblx0fVxuXG5cblx0dG9kYXkoKXtcblx0XHRzZXRUb2RheSh0aGlzLmRlbW9kdCk7XG5cdH1cblxuXG5cdGNsZWFyKCl7XG5cdFx0Y2xlYXJEYXRlVGltZSh0aGlzLmRlbW9kdCk7XG5cdH1cblxuXG5cdG9wZW4oJGV2ZW50KSB7XG5cdFx0JGV2ZW50LnByZXZlbnREZWZhdWx0KCk7XG5cdFx0JGV2ZW50LnN0b3BQcm9wYWdhdGlvbigpO1xuXHRcdHRoaXMuZGVtb2R0Lm9wZW5lZCA9IHRydWU7XG5cdH1cblxuXG5cbn1cblxubGVmdFBhbmVsQ29udHJvbGxlci4kaW5qZWN0ID0gW1xuXHQndG9hc3RlcicsXG5cdCckdGltZW91dCcsXG5cdCckc2VsZWN0T3B0aW9uTWFuZ2UnLFxuXHQnY29udHJvbGxlck1vZGFsUHJveHknXG5dO1xuXG5leHBvcnQgZGVmYXVsdCBsZWZ0UGFuZWxDb250cm9sbGVyO1xuXG5leHBvcnQge1xuXHRMRUZUX1BBTkVMX0NPTlRST0xMRVIsXG5cdExFRlRfUEFORUxfQ09OVFJPTExFUkFTXG59O1xuXG5cblxuLy8gV0VCUEFDSyBGT09URVIgLy9cbi8vIC4vc3JjL2FwcC9kcmFnZHJvcHdheS9jb21wb25lbnRzL2xlZnRQYW5lbC9lZGFEcmFnRHJvcFdheS5sZWZ0UGFuZWwuY29udHJvbGxlci5qcyJdLCJzb3VyY2VSb290IjoiIn0=");
|
|
|
|
/***/ },
|
|
/* 17 */
|
|
/***/ function(module, exports) {
|
|
|
|
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\nvar dateFormats = ['dd-MMMM-yyyy', 'yyyy/MM/dd', 'dd.MM.yyyy', 'shortDate'];\n\nvar setToday = function setToday(datetimePickerModel) {\n\tdatetimePickerModel.dt = new Date();\n};\n\nvar clearDateTime = function clearDateTime(datetimePickerModel) {\n\tdatetimePickerModel.dt = new Date();\n};\n\nexports.dateFormats = dateFormats;\nexports.setToday = setToday;\nexports.clearDateTime = clearDateTime;//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvbGVmdFBhbmVsL2VkYURyYWdEcm9wV2F5LmxlZnRQYW5lbC5jb250cm9sbGVyLmhlbHBlcnMuanM/MDMyNCJdLCJuYW1lcyI6WyJkYXRlRm9ybWF0cyIsInNldFRvZGF5IiwiZGF0ZXRpbWVQaWNrZXJNb2RlbCIsImR0IiwiRGF0ZSIsImNsZWFyRGF0ZVRpbWUiXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsSUFBTUEsY0FBYyxDQUFDLGNBQUQsRUFBaUIsWUFBakIsRUFBK0IsWUFBL0IsRUFBNkMsV0FBN0MsQ0FBcEI7O0FBRUEsSUFBTUMsV0FBVyxTQUFYQSxRQUFXLENBQUNDLG1CQUFELEVBQXVCO0FBQ3ZDQSxxQkFBb0JDLEVBQXBCLEdBQXlCLElBQUlDLElBQUosRUFBekI7QUFDQSxDQUZEOztBQUlBLElBQU1DLGdCQUFnQixTQUFoQkEsYUFBZ0IsQ0FBQ0gsbUJBQUQsRUFBdUI7QUFDNUNBLHFCQUFvQkMsRUFBcEIsR0FBeUIsSUFBSUMsSUFBSixFQUF6QjtBQUNBLENBRkQ7O1FBS0NKLFcsR0FBQUEsVztRQUNBQyxRLEdBQUFBLFE7UUFDQUksYSxHQUFBQSxhIiwiZmlsZSI6IjE3LmpzIiwic291cmNlc0NvbnRlbnQiOlsiY29uc3QgZGF0ZUZvcm1hdHMgPSBbJ2RkLU1NTU0teXl5eScsICd5eXl5L01NL2RkJywgJ2RkLk1NLnl5eXknLCAnc2hvcnREYXRlJ107XG5cbmNvbnN0IHNldFRvZGF5ID0gKGRhdGV0aW1lUGlja2VyTW9kZWwpPT57XG5cdGRhdGV0aW1lUGlja2VyTW9kZWwuZHQgPSBuZXcgRGF0ZSgpO1xufTtcblxuY29uc3QgY2xlYXJEYXRlVGltZSA9IChkYXRldGltZVBpY2tlck1vZGVsKT0+e1xuXHRkYXRldGltZVBpY2tlck1vZGVsLmR0ID0gbmV3IERhdGUoKTtcbn07XG5cbmV4cG9ydCB7XG5cdGRhdGVGb3JtYXRzLFxuXHRzZXRUb2RheSxcblx0Y2xlYXJEYXRlVGltZVxufTtcblxuXG5cblxuLy8gV0VCUEFDSyBGT09URVIgLy9cbi8vIC4vc3JjL2FwcC9kcmFnZHJvcHdheS9jb21wb25lbnRzL2xlZnRQYW5lbC9lZGFEcmFnRHJvcFdheS5sZWZ0UGFuZWwuY29udHJvbGxlci5oZWxwZXJzLmpzIl0sInNvdXJjZVJvb3QiOiIifQ==");
|
|
|
|
/***/ },
|
|
/* 18 */
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\nexports.LEFT_PANEL_DIRECTIVE = undefined;\n\nvar _edaDragDropWayLeftPanel = __webpack_require__(16);\n\nvar _edaDragDropWayLeftPanelTemplate = __webpack_require__(19);\n\nvar _edaDragDropWayLeftPanelTemplate2 = _interopRequireDefault(_edaDragDropWayLeftPanelTemplate);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar LEFT_PANEL_DIRECTIVE = 'leftPanel';\n\nfunction leftPanel() {\n\tvar directive = {\n\t\trestrict: 'E',\n\t\ttemplate: _edaDragDropWayLeftPanelTemplate2.default,\n\t\tscope: {},\n\t\tcontroller: _edaDragDropWayLeftPanel.LEFT_PANEL_CONTROLLER,\n\t\tcontrollerAs: _edaDragDropWayLeftPanel.LEFT_PANEL_CONTROLLERAS,\n\t\tbindToController: {\n\t\t\tcloseEditPanel: '&',\n\t\t\tselectedControl: '&',\n\t\t\tsaveFromEditPanel: '&'\n\t\t}\n\t};\n\treturn directive;\n}\n\nleftPanel.$inject = [];\n\nexports.default = leftPanel;\nexports.LEFT_PANEL_DIRECTIVE = LEFT_PANEL_DIRECTIVE;//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvbGVmdFBhbmVsL2VkYURyYWdEcm9wV2F5LmxlZnRQYW5lbC5kaXJlY3RpdmUuanM/ZDg0YSJdLCJuYW1lcyI6WyJMRUZUX1BBTkVMX0RJUkVDVElWRSIsImxlZnRQYW5lbCIsImRpcmVjdGl2ZSIsInJlc3RyaWN0IiwidGVtcGxhdGUiLCJzY29wZSIsImNvbnRyb2xsZXIiLCJjb250cm9sbGVyQXMiLCJiaW5kVG9Db250cm9sbGVyIiwiY2xvc2VFZGl0UGFuZWwiLCJzZWxlY3RlZENvbnRyb2wiLCJzYXZlRnJvbUVkaXRQYW5lbCIsIiRpbmplY3QiXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFBQTs7QUFLQTs7Ozs7O0FBRUEsSUFBTUEsdUJBQXVCLFdBQTdCOztBQUdBLFNBQVNDLFNBQVQsR0FBb0I7QUFDbkIsS0FBSUMsWUFBWTtBQUNmQyxZQUFnQixHQUREO0FBRWZDLHFEQUZlO0FBR2ZDLFNBQWMsRUFIQztBQUlmQyw0REFKZTtBQUtmQyxnRUFMZTtBQU1mQyxvQkFBbUI7QUFDbEJDLG1CQUF3QixHQUROO0FBRWZDLG9CQUF3QixHQUZUO0FBR2ZDLHNCQUF3QjtBQUhUO0FBTkosRUFBaEI7QUFZQSxRQUFPVCxTQUFQO0FBQ0E7O0FBRURELFVBQVVXLE9BQVYsR0FBb0IsRUFBcEI7O2tCQUVlWCxTO1FBR2RELG9CLEdB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HRMRUZUX1BBTkVMX0RJUkVDVElWRVxufTtcblxuXG5cbi8vIFdFQlBBQ0sgRk9PVEVSIC8vXG4vLyAuL3NyYy9hcHAvZHJhZ2Ryb3B3YXkvY29tcG9uZW50cy9sZWZ0UGFuZWwvZWRhRHJhZ0Ryb3BXYXkubGVmdFBhbmVsLmRpcmVjdGl2ZS5qcyJdLCJzb3VyY2VSb290IjoiIn0=");
|
|
|
|
/***/ },
|
|
/* 19 */
|
|
/***/ function(module, exports) {
|
|
|
|
eval("module.exports = \"<div id=\\\"controlEditLeftPanel\\\">\\n\\t<div class=\\\"pull-right\\\">\\n\\t\\t<button\\n type=\\\"button\\\"\\n class=\\\"close\\\"\\n ng-click=\\\"leftPanelCtrl.closeEditPanel()\\\"\\n aria-label=\\\"Close\\\">\\n\\t\\t\\t<span\\n aria-hidden=\\\"true\\\">\\n ×\\n </span>\\n\\t\\t</button>\\n\\t</div>\\n\\t<div class=\\\"separator10pixel\\\"></div>\\n\\t<div ng-switch on=\\\"leftPanelCtrl.proxyModel.temporyConfig.selectedControl\\\">\\n\\t\\t<div ng-switch-when=\\\"none\\\">\\n\\t\\t\\t<div class=\\\"row\\\">\\n\\t\\t\\t\\t<div class=\\\"col-sm-12\\\">\\n\\t\\t\\t\\t\\t<h5 class=\\\"text-center texteRouge\\\">\\n <i class=\\\"fa fa-arrow-up\\\"></i>\\n \\n Select a control\\n </h5>\\n\\t\\t\\t\\t</div>\\n\\t\\t\\t</div>\\n\\t\\t</div>\\n\\t\\t<div ng-switch-when=\\\"empty\\\">\\n\\t\\t\\t<left-panel-blank-control />\\n\\t\\t</div>\\n\\t\\t<div ng-switch-when=\\\"Header\\\">\\n\\t\\t\\t<left-panel-header-control />\\n\\t\\t</div>\\n\\t\\t<div ng-switch-when=\\\"Subtitle\\\">\\n\\t\\t\\t<left-panel-subtitle-control />\\n\\t\\t</div>\\n\\t\\t<div ng-switch-when=\\\"TextInput\\\">\\n\\t\\t\\t<left-panel-text-input-control />\\n\\t\\t</div>\\n\\t\\t<div ng-switch-when=\\\"Password\\\">\\n\\t\\t\\t<left-panel-password-control />\\n\\t\\t</div>\\n\\t\\t<div ng-switch-when=\\\"Date\\\">\\n\\t\\t\\t<left-panel-date-control />\\n\\t\\t</div>\\n\\t\\t<div ng-switch-when=\\\"Texarea\\\">\\n\\t\\t\\t<left-panel-textarea-control />\\n\\t\\t</div>\\n\\t\\t<div ng-switch-when=\\\"RichTextEditor\\\">\\n\\t\\t\\t<left-panel-rich-text-editor-control />\\n\\t\\t</div>\\n\\t\\t<div ng-switch-when=\\\"Radio\\\">\\n\\t\\t\\t<left-panel-radio-control />\\n\\t\\t</div>\\n\\t\\t<div ng-switch-when=\\\"Checkbox\\\">\\n\\t\\t\\t<left-panel-check-box-control />\\n\\t\\t</div>\\n\\t\\t<div ng-switch-when=\\\"BasicSelect\\\">\\n\\t\\t\\t<left-panel-basic-select-control />\\n\\t\\t</div>\\n\\t\\t<div ng-switch-when=\\\"GroupedSelect\\\">\\n\\t\\t\\t<left-panel-grouped-select-control />\\n\\t\\t</div>\\n\\t</div>\\n\\t<button\\n class=\\\"btn btn-primary btn-block pull-right\\\"\\n ng-click=\\\"leftPanelCtrl.closeEditPanel()\\\">\\n Close\\n </button>\\n</div>\\n\"//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvbGVmdFBhbmVsL2VkYURyYWdEcm9wV2F5LmxlZnRQYW5lbC50ZW1wbGF0ZS5odG1sPzI3NDQiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEseVJBQXlSLHVYQUF1WCIsImZpbGUiOiIxOS5qcyIsInNvdXJjZXNDb250ZW50IjpbIm1vZHVsZS5leHBvcnRzID0gXCI8ZGl2IGlkPVxcXCJjb250cm9sRWRpdExlZnRQYW5lbFxcXCI+XFxuXFx0PGRpdiBj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R1bGUgaWQgPSAxOVxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwic291cmNlUm9vdCI6IiJ9");
|
|
|
|
/***/ },
|
|
/* 20 */
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.LEFT_PANEL_SELECT_OPTION_MANAGE_SERVICE = undefined;\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); /* global angular */\n\n\nvar _edaDragDropWayLeftPanelSelectOptionManageService = __webpack_require__(21);\n\nvar helpers = _interopRequireWildcard(_edaDragDropWayLeftPanelSelectOptionManageService);\n\nfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar LEFT_PANEL_SELECT_OPTION_MANAGE_SERVICE = '$selectOptionMange';\n\nvar selectOptionMange = function () {\n function selectOptionMange() {\n _classCallCheck(this, selectOptionMange);\n\n this.init();\n }\n\n _createClass(selectOptionMange, [{\n key: 'init',\n value: function init() {}\n }, {\n key: 'initModel',\n value: function initModel(selectObj) {\n helpers.resetModel(selectObj);\n }\n }, {\n key: 'isOptionUnique',\n value: function isOptionUnique(selectObj, textValue) {\n for (var i = selectObj.rows.length - 1; i >= 0; i--) {\n if (selectObj.rows[i].option === textValue) return false;\n }\n return true;\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 = helpers.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 = helpers.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 = helpers.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 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: '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\n return selectOptionMange;\n}();\n\nselectOptionMange.$inject = [];\n\nexports.default = selectOptionMange;\nexports.LEFT_PANEL_SELECT_OPTION_MANAGE_SERVICE = LEFT_PANEL_SELECT_OPTION_MANAGE_SERVICE;//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvbGV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cFdheS5sZWZ0UGFuZWwuc2VsZWN0T3B0aW9uTWFuYWdlLnNlcnZpY2UuanMiXSwic291cmNlUm9vdCI6IiJ9");
|
|
|
|
/***/ },
|
|
/* 21 */
|
|
/***/ function(module, exports) {
|
|
|
|
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n/* global angular */\nvar resetModel = function resetModel(selectObj) {\n var zeroModel = { rows: [] };\n angular.copy(zeroModel, selectObj);\n};\n\nvar validOption = 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\nexports.resetModel = resetModel;\nexports.validOption = validOption;//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvbGVmdFBhbmVsL2VkYURyYWdEcm9wV2F5LmxlZnRQYW5lbC5zZWxlY3RPcHRpb25NYW5hZ2Uuc2VydmljZS5oZWxwZXJzLmpzPzQyOGEiXSwibmFtZXMiOlsicmVzZXRNb2RlbCIsInNlbGVjdE9iaiIsInplcm9Nb2RlbCIsInJvd3MiLCJhbmd1bGFyIiwiY29weSIsInZhbGlkT3B0aW9uIiwibmV3T3B0aW9uVGV4dCIsImZ1bGxSZXNwb25zZSIsInJlc3VsdEZsYWciLCJkZXRhaWxzIiwiaSIsImxlbmd0aCIsIm9wdGlvb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HRpb24gaXMgbm90IHVuaXF1ZSc7XG4gICAgICAgIHJldHVybiBmdWxsUmVzcG9uc2U7XG4gICAgICB9XG4gICAgfVxuICAgIGZ1bGxSZXNwb25zZS5yZXN1bHRGbGFnID0gdHJ1ZTtcbiAgICBmdWxsUmVzcG9uc2UuZGV0YWlscyA9ICcnO1xuICAgIHJldHVybiBmdWxsUmVzcG9uc2U7XG4gIH1cbiAgZnVsbFJlc3BvbnNlLnJlc3VsdEZsYWcgPSBmYWxzZTsgICAgIFxuICBmdWxsUmVzcG9uc2UuZGV0YWlscyA9ICdFbnRlcmVkIG9wdGlvbiBpcyBlbXB0eSc7XG4gIHJldHVybiBmdWxsUmVzcG9uc2U7XG59O1xuXG5leHBvcnQge1xuICByZXNldE1vZGVsLFxuICB2YWxpZE9wdGlvblxufTtcblxuXG5cbi8vIFdFQlBBQ0sgRk9PVEVSIC8vXG4vLyAuL3NyYy9hcHAvZHJhZ2Ryb3B3YXkvY29tcG9uZW50cy9sZWZ0UGFuZWwvZWRhRHJhZ0Ryb3BXYXkubGVmdFBhbmVsLnNlbGVjdE9wdGlvbk1hbmFnZS5zZXJ2aWNlLmhlbHBlcnMuanMiXSwic291cmNlUm9vdCI6IiJ9");
|
|
|
|
/***/ },
|
|
/* 22 */
|
|
/***/ 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\n/// <reference path=\"../../../../../typings/angularjs/angular.d.ts\" />\n/// <reference path=\"../../../../../typings/lodash/lodash.d.ts\" />\n\n/**\n * TODO :\n * - clean deprecated functions\n * - method 'resetAllTemporyModels' -> remove no use angular.copy to optimize\n */\n\nvar CONTROLLER_MODAL_PROXY = 'controllerModalProxy';\nvar INIT_OPTION_MODEL = { rows: [] };\n\nvar controllerModalProxy = function () {\n function controllerModalProxy(EasyFormGenFormlyBindingModels) {\n _classCallCheck(this, controllerModalProxy);\n\n this.EasyFormGenFormlyBindingModels = EasyFormGenFormlyBindingModels;\n this.init();\n }\n\n _createClass(controllerModalProxy, [{\n key: 'init',\n value: function init() {\n this.proxyModel = {};\n this.resetProxyModel();\n this.editPanelModel = {\n toggle: false,\n lineIndex: -1,\n columnIndex: -1,\n control: {}\n };\n this.basicSelectRowCollection = angular.copy(INIT_OPTION_MODEL);\n this.newOptionBasicSelect = angular.copy({ saisie: '' });\n\n this.groupedSelectRowCollection = angular.copy(INIT_OPTION_MODEL);\n this.newOptionGroupedSelect = angular.copy({ saisie: '' });\n this.GroupedSelectGroups = angular.copy({ list: [] });\n this.newGroupGroupedSelect = angular.copy({ saisie: '' });\n this.groupSelectGroupClick = angular.copy({ showList: false });\n\n this.radioRowCollection = angular.copy(INIT_OPTION_MODEL);\n this.newOptionRadio = angular.copy({ saisie: '' });\n }\n\n // deprecated in drag and drop version, use initProxyModel insead\n\n }, {\n key: 'initNyaSelect',\n value: function initNyaSelect(nyaSelectObj) {\n return this.resetNyaSelect(nyaSelectObj);\n }\n }, {\n key: 'initProxyModel',\n value: function initProxyModel(thisProxyModelToInit) {\n return this.resetProxyModel(thisProxyModelToInit);\n }\n\n // deprecated : in drag and drop version, use \"resetProxyModel()\"\"\n\n }, {\n key: 'resetNyaSelect',\n value: function resetNyaSelect(nyaSelectObj) {\n var newNyaSelectObj = this.EasyFormGenFormlyBindingModels.getEasyFormListControls();\n angular.copy(newNyaSelectObj, nyaSelectObj);\n return true;\n }\n }, {\n key: 'resetProxyModel',\n value: function resetProxyModel() {\n var newProxyModel = this.EasyFormGenFormlyBindingModels.getEasyFormListControls();\n this.proxyModel = angular.copy(newProxyModel);\n return true;\n }\n }, {\n key: 'returnControlFromAddCtrlModalModel',\n value: function returnControlFromAddCtrlModalModel(CtrlModalModel) {\n var modelToReturn = {\n selectedControl: 'none',\n formlyType: 'none',\n formlySubtype: 'none',\n formlyLabel: '',\n formlyRequired: false,\n formlyDesciption: '',\n formlyPlaceholder: '',\n formlyOptions: []\n };\n for (var i = CtrlModalModel.controls.length - 1; i >= 0; i--) {\n if (CtrlModalModel.selectedControl === CtrlModalModel.controls[i].id) {\n\n modelToReturn.selectedControl = CtrlModalModel.selectedControl;\n modelToReturn.formlyType = CtrlModalModel.controls[i].formlyType;\n modelToReturn.formlySubtype = CtrlModalModel.controls[i].formlySubtype;\n modelToReturn.formlyLabel = CtrlModalModel.controls[i].formlyLabel;\n modelToReturn.formlyRequired = CtrlModalModel.controls[i].formlyRequired;\n modelToReturn.formlyDesciption = CtrlModalModel.controls[i].formlyDesciption;\n modelToReturn.formlyPlaceholder = CtrlModalModel.controls[i].formlyPlaceholder;\n modelToReturn.formlyOptions = CtrlModalModel.controls[i].formlyOptions;\n // particular properties, here ; datetpicker format\n if (CtrlModalModel.controls[i].formlyType === 'datepicker') modelToReturn.datepickerPopup = CtrlModalModel.controls[i].datepickerPopup;\n }\n }\n return modelToReturn;\n }\n }, {\n key: 'validKeyUniqueness',\n value: function validKeyUniqueness(thisKey, configurationObj) {\n var isUnique = true;\n for (var i = configurationObj.lines.length - 1; i >= 0; i--) {\n for (var j = configurationObj.lines[i].columns.length - 1; j >= 0; j--) {\n if (configurationObj.lines[i].columns[j].control.key === thisKey) {\n isUnique = false;\n }\n }\n }\n return isUnique;\n }\n }, {\n key: 'getSelectedProxyModel',\n value: function getSelectedProxyModel(configurationSelectedCtrl) {\n var selectedProxyModelControl = 'none';\n var listProxyModelCTRL = angular.copy(this.EasyFormGenFormlyBindingModels.getEasyFormListControls().controls);\n\n listProxyModelCTRL.forEach(function (control) {\n if (control.formlyType === configurationSelectedCtrl.type && control.formlySubtype === configurationSelectedCtrl.subtype) {\n selectedProxyModelControl = control.id;\n return selectedProxyModelControl;\n }\n });\n return selectedProxyModelControl;\n }\n\n // to refresh configuration model from edit panel\n\n }, {\n key: 'bindConfigurationModelFromProxyModel',\n value: function bindConfigurationModelFromProxyModel(indexLine, numcolumn, configurationObj) {\n var extractedProps = angular.copy(this.proxyModel.temporyConfig);\n\n configurationObj.lines[indexLine].columns[numcolumn].control.selectedControl = extractedProps.selectedControl;\n configurationObj.lines[indexLine].columns[numcolumn].control.type = extractedProps.formlyType;\n configurationObj.lines[indexLine].columns[numcolumn].control.subtype = extractedProps.formlySubtype;\n // templateOptions\n configurationObj.lines[indexLine].columns[numcolumn].control.templateOptions = {\n label: '',\n required: false,\n description: '',\n placeholder: '',\n options: []\n };\n // then bind template option\n configurationObj.lines[indexLine].columns[numcolumn].control.templateOptions.label = extractedProps.formlyLabel;\n configurationObj.lines[indexLine].columns[numcolumn].control.templateOptions.required = extractedProps.formlyRequired;\n configurationObj.lines[indexLine].columns[numcolumn].control.templateOptions.description = extractedProps.formlyDesciption;\n configurationObj.lines[indexLine].columns[numcolumn].control.templateOptions.placeholder = extractedProps.formlyPlaceholder;\n configurationObj.lines[indexLine].columns[numcolumn].control.templateOptions.options = extractedProps.formlyOptions;\n // add additionnal — particular — properties : -> datepicker : datepickerPopup\n if (configurationObj.lines[indexLine].columns[numcolumn].control.type === 'datepicker') {\n configurationObj.lines[indexLine].columns[numcolumn].control.templateOptions.datepickerPopup = extractedProps.datepickerPopup;\n }\n // unique key (set only first time) in this model is formly control type + Date.now();\n var newKey = configurationObj.lines[indexLine].columns[numcolumn].control.type + '-' + Date.now();\n\n if (this.validKeyUniqueness(newKey, configurationObj) === true) {\n configurationObj.lines[indexLine].columns[numcolumn].control.key = newKey;\n } else {\n newKey = configurationObj.lines[indexLine].columns[numcolumn].control.type + '-' + Date.now();\n if (this.validKeyUniqueness(newKey, configurationObj) === true) {\n configurationObj.lines[indexLine].columns[numcolumn].control.key = newKey;\n } else {\n newKey = configurationObj.lines[indexLine].columns[numcolumn].control.type + '-' + Date.now();\n }\n }\n configurationObj.lines[indexLine].columns[numcolumn].control.edited = true;\n }\n\n /**\n * set local proxyModel from Selected control in configuration model\n *\n * replace deprecated \"getNyASelectFromSelectedLineColumn\"\n * -model is now named \"proxyModel\"\n * -model is stored in this service\n *\n * -> it has just more sence!\n */\n\n }, {\n key: 'setProxyModelFromConfigurationSelection',\n value: function setProxyModelFromConfigurationSelection(configurationObj, indexLine, numcolumn) {\n // data send to modal controller\n if (typeof configurationObj.lines[indexLine].columns[numcolumn].control != 'undefined') {\n // determine selected control from indexes and control.type and control.subtype in configuration model\n this.proxyModel.selectedControl = typeof configurationObj.lines[indexLine].columns[numcolumn].control.type != 'undefined' ? this.getSelectedProxyModel(configurationObj.lines[indexLine].columns[numcolumn].control) : 'none';\n this.proxyModel.temporyConfig.selectedControl = typeof configurationObj.lines[indexLine].columns[numcolumn].control.type != 'undefined' ? this.getSelectedProxyModel(configurationObj.lines[indexLine].columns[numcolumn].control) : 'none';\n this.proxyModel.temporyConfig.formlyType = typeof configurationObj.lines[indexLine].columns[numcolumn].control.type != 'undefined' ? configurationObj.lines[indexLine].columns[numcolumn].control.type : 'none';\n this.proxyModel.temporyConfig.formlySubtype = typeof configurationObj.lines[indexLine].columns[numcolumn].control.subtype != 'undefined' ? configurationObj.lines[indexLine].columns[numcolumn].control.subtype : 'none';\n this.proxyModel.temporyConfig.formlyLabel = typeof configurationObj.lines[indexLine].columns[numcolumn].control.templateOptions.label != 'undefined' ? configurationObj.lines[indexLine].columns[numcolumn].control.templateOptions.label : '';\n this.proxyModel.temporyConfig.formlyRequired = typeof configurationObj.lines[indexLine].columns[numcolumn].control.templateOptions.required != 'undefined' ? configurationObj.lines[indexLine].columns[numcolumn].control.templateOptions.required : '';\n this.proxyModel.temporyConfig.formlyDesciption = typeof configurationObj.lines[indexLine].columns[numcolumn].control.templateOptions.description != 'undefined' ? configurationObj.lines[indexLine].columns[numcolumn].control.templateOptions.description : '';\n this.proxyModel.temporyConfig.formlyPlaceholder = typeof configurationObj.lines[indexLine].columns[numcolumn].control.templateOptions.placeholder != 'undefined' ? configurationObj.lines[indexLine].columns[numcolumn].control.templateOptions.placeholder : '';\n this.proxyModel.temporyConfig.formlyOptions = typeof configurationObj.lines[indexLine].columns[numcolumn].control.templateOptions.options != 'undefined' ? configurationObj.lines[indexLine].columns[numcolumn].control.templateOptions.options : '';\n // particular case : datepicker\n if (this.proxyModel.temporyConfig.selectedControl === 'Date') {\n this.proxyModel.temporyConfig.datepickerPopup = typeof configurationObj.lines[indexLine].columns[numcolumn].control.templateOptions.datepickerPopup != 'undefined' ? configurationObj.lines[indexLine].columns[numcolumn].control.templateOptions.datepickerPopup : '';\n }\n // console.info('debug setProxyModelFromConfigurationSelection');\n // console.dir({\n // selectedControl : angular.copy(this.proxyModel.selectedControl ),\n // temporyConfig : angular.copy(this.proxyModel.temporyConfig)\n // });\n }\n return this.proxyModel;\n }\n }, {\n key: 'getProxyModel',\n value: function getProxyModel() {\n return this.proxyModel;\n }\n\n /**\n * ============================================================\n * following methods for \"editPanelModel\"\n *\n * Note this model :\n * - to manage side edit control panel\n * ============================================================\n */\n\n // getter : editPanelModel (whole model => type = object)\n\n }, {\n key: 'getEditPanelModelAllModel',\n value: function getEditPanelModelAllModel() {\n return this.editPanelModel;\n }\n\n // setter : editPanelModel (whole model => type = object)\n\n }, {\n key: 'setEditPanelModelControl',\n value: function setEditPanelModelControl(newEditPanelModel) {\n var successfullDone = false;\n if (typeof newEditPanelModel !== 'undefined') {\n angular.merge(this.editPanelModel, newEditPanelModel);\n successfullDone = true;\n }\n return successfullDone;\n }\n\n // getter : editPanelModel.columnIndex\n\n }, {\n key: 'getEditPanelModelColumnIndex',\n value: function getEditPanelModelColumnIndex() {\n return this.editPanelModel.columnIndex;\n }\n\n // setter : editPanelModel.columnIndex\n\n }, {\n key: 'setEditPanelModelColumnIndex',\n value: function setEditPanelModelColumnIndex(newColumnIndex) {\n var successfullDone = false;\n if (typeof newColumnIndex !== 'undefined') {\n this.editPanelModel.columnIndex = newColumnIndex;\n successfullDone = true;\n }\n return successfullDone;\n }\n\n // getter : editPanelModel.lineIndex\n\n }, {\n key: 'getEditPanelModelLineIndex',\n value: function getEditPanelModelLineIndex() {\n return this.editPanelModel.lineIndex;\n }\n\n // setter : editPanelModel.lineIndex\n\n }, {\n key: 'setEditPanelModelLineIndex',\n value: function setEditPanelModelLineIndex(newLineIndex) {\n var successfullDone = false;\n if (typeof newLineIndex !== 'undefined') {\n this.editPanelModel.lineIndex = newLineIndex;\n successfullDone = true;\n }\n return successfullDone;\n }\n\n // getter : editPanelModel.control\n\n }, {\n key: 'getEditPanelModelControl',\n value: function getEditPanelModelControl() {\n return this.editPanelModel.control;\n }\n\n // getter : editPanelModel.toggle\n\n }, {\n key: 'getEditPanelModelToggle',\n value: function getEditPanelModelToggle() {\n return this.editPanelModel.toggle;\n }\n\n // setter : editPanelModel.toggle\n\n }, {\n key: 'setEditPanelModelToggle',\n value: function setEditPanelModelToggle(newToggleValue) {\n var successfullDone = false;\n if (typeof newToggleValue !== 'undefined') {\n this.editPanelModel.toggle = newToggleValue;\n successfullDone = true;\n }\n return successfullDone;\n }\n }, {\n key: 'resetAllTemporyModels',\n value: function resetAllTemporyModels() {\n this.basicSelectRowCollection = angular.copy(INIT_OPTION_MODEL);\n this.newOptionBasicSelect = angular.copy({ saisie: '' });\n\n this.groupedSelectRowCollection = angular.copy(INIT_OPTION_MODEL);\n this.newOptionGroupedSelect = angular.copy({ saisie: '' });\n this.GroupedSelectGroups = angular.copy({ list: [] });\n this.newGroupGroupedSelect = angular.copy({ saisie: '' });\n this.groupSelectGroupClick = angular.copy({ showList: false });\n\n this.radioRowCollection = angular.copy(INIT_OPTION_MODEL);\n this.newOptionRadio = angular.copy({ saisie: '' });\n return true;\n }\n\n /**\n * bindSpecialCtrlTemporyModelsToProxyModel: needed when validating after editing a control\n * tempory models applied to proxyModel if control is one of these\n *\n * example : if selected control is a basic select options\n * -> so its tempory models are bound to proxyModel\n */\n\n }, {\n key: 'bindSpecialCtrlTemporyModelsToProxyModel',\n value: function bindSpecialCtrlTemporyModelsToProxyModel() {\n if (this.proxyModel.selectedControl === 'BasicSelect') {\n this.bindBasicSelectToProxyModel(this.basicSelectRowCollection);\n }\n if (this.proxyModel.selectedControl === 'GroupedSelect') {\n this.bindGroupedSelectToProxyModel(this.groupedSelectRowCollection);\n }\n if (this.proxyModel.selectedControl === 'Radio') {\n this.bindRadioToProxyModel(this.radioRowCollection);\n }\n }\n\n // basic select\n\n }, {\n key: 'bindBasicSelectFromProxyModel',\n value: function bindBasicSelectFromProxyModel(basicSelectRowCollection) {\n if (this.proxyModel.temporyConfig.formlyOptions.length > 0) {\n for (var i = 0; i <= this.proxyModel.temporyConfig.formlyOptions.length - 1; i++) {\n var newOption = {\n 'option': this.proxyModel.temporyConfig.formlyOptions[i].name,\n 'order': i,\n 'group': ''\n };\n basicSelectRowCollection.rows.push(newOption);\n }\n }\n }\n }, {\n key: 'bindBasicSelectToProxyModel',\n value: function bindBasicSelectToProxyModel(basicSelectRowCollection) {\n var resetNyASelectOptions = [];\n this.proxyModel.temporyConfig.formlyOptions = resetNyASelectOptions;\n if (basicSelectRowCollection.rows.length > 0) {\n for (var i = 0; i <= basicSelectRowCollection.rows.length - 1; i++) {\n var newOption = {\n 'name': basicSelectRowCollection.rows[i].option,\n 'value': i,\n 'group': ''\n };\n this.proxyModel.temporyConfig.formlyOptions.push(newOption);\n }\n }\n }\n\n //* grouped select\n\n }, {\n key: 'bindGroupedSelectFromProxyModel',\n value: function bindGroupedSelectFromProxyModel(groupedSelectRowCollection, GroupedSelectGroups) {\n if (this.proxyModel.temporyConfig.formlyOptions.length > 0) {\n for (var i = 0; i <= this.proxyModel.temporyConfig.formlyOptions.length - 1; i++) {\n var newOption = {\n 'option': this.proxyModel.temporyConfig.formlyOptions[i].name,\n 'order': i,\n 'group': this.proxyModel.temporyConfig.formlyOptions[i].group\n };\n groupedSelectRowCollection.rows.push(newOption);\n }\n //grouplist : thx to lodash it is easy\n var filteredgroup = _.uniq(_.pluck(groupedSelectRowCollection.rows, 'group'));\n angular.copy(filteredgroup, GroupedSelectGroups.list);\n }\n }\n }, {\n key: 'bindGroupedSelectToProxyModel',\n value: function bindGroupedSelectToProxyModel(groupedSelectRowCollection) {\n this.proxyModel.temporyConfig.formlyOptions = [];\n for (var i = 0; i <= groupedSelectRowCollection.rows.length - 1; i++) {\n var newOption = {\n 'name': groupedSelectRowCollection.rows[i].option,\n 'value': i,\n 'group': groupedSelectRowCollection.rows[i].group\n };\n this.proxyModel.temporyConfig.formlyOptions.push(newOption);\n }\n }\n\n // radio\n\n }, {\n key: 'bindRadioFromProxyModel',\n value: function bindRadioFromProxyModel(radioRowCollection) {\n if (this.proxyModel.temporyConfig.formlyOptions.length > 0) {\n for (var i = 0; i <= this.proxyModel.temporyConfig.formlyOptions.length - 1; i++) {\n var newOption = {\n 'option': this.proxyModel.temporyConfig.formlyOptions[i].name,\n 'order': i,\n 'group': ''\n };\n radioRowCollection.rows.push(newOption);\n }\n }\n }\n }, {\n key: 'bindRadioToProxyModel',\n value: function bindRadioToProxyModel(radioRowCollection) {\n var resetproxyModelOptions = [];\n this.proxyModel.temporyConfig.formlyOptions = resetproxyModelOptions;\n if (radioRowCollection.rows.length > 0) {\n for (var i = 0; i <= radioRowCollection.rows.length - 1; i++) {\n var newOption = {\n 'name': radioRowCollection.rows[i].option,\n 'value': i,\n 'group': ''\n };\n this.proxyModel.temporyConfig.formlyOptions.push(newOption);\n }\n }\n }\n }]);\n\n return controllerModalProxy;\n}();\n\ncontrollerModalProxy.$inject = ['EasyFormGenFormlyBindingModels'];\n\nexports.default = controllerModalProxy;\nexports.CONTROLLER_MODAL_PROXY = CONTROLLER_MODAL_PROXY;//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJ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FJPTExFUl9NT0RBTF9QUk9YWVxufTtcblxuXG5cbi8vIFdFQlBBQ0sgRk9PVEVSIC8vXG4vLyAuL3NyYy9hcHAvZHJhZ2Ryb3B3YXkvY29tcG9uZW50cy9sZWZ0UGFuZWwvZWRhRHJhZ0Ryb3BXYXkubGVmdFBhbmVsLmNvbnRyb2xsZXJNb2RhbFByb3h5LnNlcnZpY2UuanMiXSwic291cmNlUm9vdCI6IiJ9");
|
|
|
|
/***/ },
|
|
/* 23 */
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.LEFT_PANEL_VALID_EDIT_FOOTER_DIRECTIVE = undefined;\n\nvar _edaDragDropWayLeftpanelValidEditFooterTemplate = __webpack_require__(24);\n\nvar _edaDragDropWayLeftpanelValidEditFooterTemplate2 = _interopRequireDefault(_edaDragDropWayLeftpanelValidEditFooterTemplate);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar LEFT_PANEL_VALID_EDIT_FOOTER_DIRECTIVE = 'leftPanelValidEditFooter';\n\nfunction leftPanelValidEditFooter() {\n var directive = {\n restrict: 'E',\n template: _edaDragDropWayLeftpanelValidEditFooterTemplate2.default\n };\n return directive;\n}\n\nleftPanelValidEditFooter.$inject = [];\n\nexports.default = leftPanelValidEditFooter;\nexports.LEFT_PANEL_VALID_EDIT_FOOTER_DIRECTIVE = LEFT_PANEL_VALID_EDIT_FOOTER_DIRECTIVE;//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvbGVmdFBhbmVsL3ZhbGlkRWRpdEZvb3Rlci9lZGFEcmFnRHJvcFdheS5sZWZ0cGFuZWwudmFsaWRFZGl0Rm9vdGVyLmRpcmVjdGl2ZS5qcz83MTg1Il0s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VkaXRGb290ZXI7XG5cbmV4cG9ydCB7XG4gIExFRlRfUEFORUxfVkFMSURfRURJVF9GT09URVJfRElSRUNUSVZFXG59O1xuXG5cblxuLy8gV0VCUEFDSyBGT09URVIgLy9cbi8vIC4vc3JjL2FwcC9kcmFnZHJvcHdheS9jb21wb25lbnRzL2xlZnRQYW5lbC92YWxpZEVkaXRGb290ZXIvZWRhRHJhZ0Ryb3BXYXkubGVmdHBhbmVsLnZhbGlkRWRpdEZvb3Rlci5kaXJlY3RpdmUuanMiXSwic291cmNlUm9vdCI6IiJ9");
|
|
|
|
/***/ },
|
|
/* 24 */
|
|
/***/ function(module, exports) {
|
|
|
|
eval("module.exports = \"<div class=\\\"modal-footer\\\">\\n <button\\n class=\\\"btn btn-danger pull-left\\\"\\n ng-click=\\\"leftPanelCtrl.resetControl()\\\">\\n <i class=\\\"fa fa-refresh\\\"></i>\\n \\n Reset\\n </button>\\n <button\\n class=\\\"btn btn-success pull-right\\\"\\n ng-click=\\\"leftPanelCtrl.updateSpecialControl(); leftPanelCtrl.saveFromEditPanel();\\\">\\n <i class=\\\"fa fa-floppy-o\\\"></i>\\n \\n Save\\n </button>\\n</div>\\n\"//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvbGVmdFBhbmVsL3ZhbGlkRWRpdEZvb3Rlci9lZGFEcmFnRHJvcFdheS5sZWZ0cGFuZWwudmFsaWRFZGl0Rm9vdGVyLnRlbXBsYXRlLmh0bWw/ODMwNyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxrTUFBa00sbUlBQW1JLG1DQUFtQyxxREFBcUQiLCJmaWxlIjoiMjQuanMiLCJzb3VyY2VzQ29udGVudCI6WyJtb2R1bGUuZXhwb3J0cyA9IFwiPGRpdiBjbGFzcz1cXFwibW9kYWwtZm9vdGVyXFxcIj5cXG4gIDxidXR0b25cXG4gICAgY2xhc3M9XFxcImJ0biBidG4tZGFuZ2VyIHB1bGwtbGVmdFxcXCJcXG4gICAgbmctY2xpY2s9XFxcImxlZnRQYW5lbEN0cmwucmVzZXRDb250cm9sKClcXFwiPlxcbiAgICA8aSBjbGFzcz1cXFwiZmEgZmEtcmVmcmVzaFxcXCI+PC9pPlxcbiAgICAmbmJzcDtcXG4gICAgUmVzZXRcXG4gIDwvYnV0dG9uPlxcbiAgPGJ1dHRvblxcbiAgICBjbGFzcz1cXFwiYnRuIGJ0bi1zdWNjZXNzIHB1bGwtcmlnaHRcXFwiXFxuICAgIG5nLWNsaWNrPVxcXCJsZWZ0UGFuZWxDdHJsLnVwZGF0ZVNwZWNpYWxDb250cm9sKCk7IGxlZnRQYW5lbEN0cmwuc2F2ZUZyb21FZGl0UGFuZWwoKTtcXFwiPlxcbiAgICA8aSBjbGFzcz1cXFwiZmEgZmEtZmxvcHB5LW9cXFwiPjwvaT5cXG4gICAgJm5ic3A7XFxuICAgIFNhdmVcXG4gIDwvYnV0dG9uPlxcbjwvZGl2PlxcblwiXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvbGVmdFBhbmVsL3ZhbGlkRWRpdEZvb3Rlci9lZGFEcmFnRHJvcFdheS5sZWZ0cGFuZWwudmFsaWRFZGl0Rm9vdGVyLnRlbXBsYXRlLmh0bWxcbi8vIG1vZHVsZSBpZCA9IDI0XG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJzb3VyY2VSb290IjoiIn0=");
|
|
|
|
/***/ },
|
|
/* 25 */
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.LEFT_PANEL_TEXT_INPUT_CONTROL_DIRECTIVE = undefined;\n\nvar _edaDragDropWayLeftpanelTextInputControlTemplate = __webpack_require__(26);\n\nvar _edaDragDropWayLeftpanelTextInputControlTemplate2 = _interopRequireDefault(_edaDragDropWayLeftpanelTextInputControlTemplate);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar LEFT_PANEL_TEXT_INPUT_CONTROL_DIRECTIVE = 'leftPanelTextInputControl';\n\nfunction leftPanelTextInputControl() {\n var directive = {\n restrict: 'E',\n template: _edaDragDropWayLeftpanelTextInputControlTemplate2.default\n };\n return directive;\n}\n\nleftPanelTextInputControl.$inject = [];\n\nexports.default = leftPanelTextInputControl;\nexports.LEFT_PANEL_TEXT_INPUT_CONTROL_DIRECTIVE = LEFT_PANEL_TEXT_INPUT_CONTROL_DIRECTIVE;//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvbGVmdFBhbmVsL1RleHRJbnB1dENvbnRyb2wvZWRhRHJhZ0Ryb3BXYXkubGVmdHBhbmVsLnRleHRJbnB1dENvbnRyb2wuZGlyZWN0aXZlLmpzP2JmZWYiXSwibmFtZXMiOlsiTEVGVF9QQU5FTF9URVhUX0lOUFVUX0NPTlRST0xfRElSRUNUSVZFIiwibGVmdFBhbmVsVGV4dElucHV0Q29udHJvbCIsImRpcmVjdGl2ZSIsInJlc3RyaWN0IiwidGVtcGxhdGUiLCIkaW5qZWN0Il0sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBQ0E7Ozs7OztBQUVBLElBQU1BLDBDQUEwQywyQkFBaEQ7O0FBRUEsU0FBU0MseUJBQVQsR0FBcUM7QUFDbkMsTUFBSUMsWUFBWTtBQUNkQyxjQUFXLEdBREc7QUFFZEM7QUFGYyxHQUFoQjtBQUlBLFNBQU9GLFNBQVA7QUFDRDs7QUFFREQsMEJBQTBCSSxPQUExQixHQUFvQyxFQUFwQzs7a0JBRWVKLHlCO1FBR2JELHVDLEdBQUFBLHVDIiwiZmlsZSI6IjI1LmpzIiwic291cmNlc0NvbnRlbnQiOlsiXG5pbXBvcnQgbGVmdFBhbmVsVGV4dElucHV0Q29udHJvbFRlbXBsYXRlIGZyb20gJy4vZWRhRHJhZ0Ryb3BXYXkubGVmdHBhbmVsLnRleHRJbnB1dENvbnRyb2wudGVtcGxhdGUuaHRtbCc7XG5cbmNvbnN0IExFRlRfUEFORUxfVEVYVF9JTlBVVF9DT05UUk9MX0RJUkVDVElWRSA9ICdsZWZ0UGFuZWxUZXh0SW5wdXRDb250cm9sJztcblxuZnVuY3Rpb24gbGVmdFBhbmVsVGV4dElucHV0Q29udHJvbCgpIHtcbiAgbGV0IGRpcmVjdGl2ZSA9IHtcbiAgICByZXN0cmljdCA6ICdFJyxcbiAgICB0ZW1wbGF0ZSA6IGxlZnRQYW5lbFRleHRJbnB1dENvbnRyb2xUZW1wbGF0ZVxuICB9O1xuICByZXR1cm4gZGlyZWN0aXZlO1xufVxuXG5sZWZ0UGFuZWxUZXh0SW5wdXRDb250cm9sLiRpbmplY3QgPSBbXTtcblxuZXhwb3J0IGRlZmF1bHQgbGVmdFBhbmVsVGV4dElucHV0Q29udHJvbDtcblxuZXhwb3J0IHtcbiAgTEVGVF9QQU5FTF9URVhUX0lOUFVUX0NPTlRST0xfRElSRUNUSVZFXG59O1xuXG5cblxuLy8gV0VCUEFDSyBGT09URVIgLy9cbi8vIC4vc3JjL2FwcC9kcmFnZHJvcHdheS9jb21wb25lbnRzL2xlZnRQYW5lbC9UZXh0SW5wdXRDb250cm9sL2VkYURyYWdEcm9wV2F5LmxlZnRwYW5lbC50ZXh0SW5wdXRDb250cm9sLmRpcmVjdGl2ZS5qcyJdLCJzb3VyY2VSb290IjoiIn0=");
|
|
|
|
/***/ },
|
|
/* 26 */
|
|
/***/ 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-pencil-square-o\\\"></i>\\n \\n Edit properties :\\n </h5>\\n </div>\\n </div>\\n <div class=\\\"marginTopFivepixels\\\"></div>\\n <div class=\\\"row\\\">\\n <div class=\\\"form-group\\\">\\n <div class=\\\"col-md-12\\\">\\n <label\\n for=\\\"inputTextLabelUpdate\\\"\\n class=\\\" control-label greyText editPropertiesLabel\\\">\\n Label text :\\n </label>\\n <div class=\\\"\\\">\\n <input\\n type=\\\"text\\\"\\n class=\\\"form-control\\\"\\n ng-model=\\\"leftPanelCtrl.proxyModel.temporyConfig.formlyLabel\\\"\\n id=\\\"inputTextLabelUpdate\\\"\\n placeholder=\\\"Add / edit control label here\\\">\\n </div>\\n </div>\\n </div>\\n </div>\\n <div class=\\\"marginTopFivepixels\\\"></div>\\n <div class=\\\"row\\\">\\n <div class=\\\"form-group\\\">\\n <div class=\\\"col-md-12\\\">\\n <label\\n for=\\\"inputTextplaceholderUpdate\\\"\\n class=\\\"control-label greyText editPropertiesLabel\\\">\\n placeholder :\\n </label>\\n <div class=\\\"\\\">\\n <input\\n type=\\\"text\\\"\\n class=\\\"form-control\\\"\\n ng-model=\\\"leftPanelCtrl.proxyModel.temporyConfig.formlyPlaceholder\\\"\\n id=\\\"inputTextplaceholderUpdate\\\"\\n placeholder=\\\"Add / edit placeholder text here\\\">\\n </div>\\n </div>\\n </div>\\n </div>\\n <div class=\\\"marginTopFivepixels\\\"></div>\\n <div class=\\\"row\\\">\\n <div class=\\\"form-group\\\">\\n <div class=\\\"\\\">\\n <label\\n for=\\\"inputTextRequiredUpdate\\\"\\n class=\\\"col-md-4 control-label greyText editPropertiesLabel\\\">\\n Required :\\n </label>\\n <div class=\\\"col-md-8\\\">\\n <div class=\\\"checkboxCssCorrection\\\"> </div>\\n <input\\n type=\\\"checkbox\\\"\\n ng-model=\\\"leftPanelCtrl.proxyModel.temporyConfig.formlyRequired\\\"\\n id=\\\"inputTextRequiredUpdate\\\">\\n </div>\\n </div>\\n </div>\\n </div>\\n <div class=\\\"marginTopFivepixels\\\"></div>\\n <div class=\\\"row\\\">\\n <div class=\\\"form-group\\\">\\n <div class=\\\"col-md-12\\\">\\n <label\\n for=\\\"inputTextDescriptionUpdate\\\"\\n class=\\\"control-label greyText editPropertiesLabel\\\">\\n Description :\\n </label>\\n <div class=\\\"\\\">\\n <input\\n type=\\\"text\\\" \\n class=\\\"form-control\\\"\\n ng-model=\\\"leftPanelCtrl.proxyModel.temporyConfig.formlyDesciption\\\"\\n id=\\\"inputTextDescriptionUpdate\\\"\\n placeholder=\\\"Add / edit description here\\\">\\n </div>\\n </div>\\n </div>\\n </div>\\n </div>\\n <left-panel-valid-edit-footer />\\n</div>\\n\"//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvbGVmdFBhbmVsL1RleHRJbnB1dENvbnRyb2wvZWRhRHJhZ0Ryb3BXYXkubGVmdHBhbmVsLnRleHRJbnB1dENvbnRyb2wudGVtcGxhdGUuaHRtbD85Nzg4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLG1QQUFtUCxrdkRBQWt2RCIsImZpbGUiOiIyNi5qcyIsInNvdXJjZXNDb250ZW50IjpbIm1vZHVsZS5leHBvcnRzID0gXCI8ZGl2IGNsYXNzPVxcXCJwYW5lbCBwYW5lbC1kZWZhdWx0XFxcIj5cXG4gIDxkaXYgY2xhc3M9XFxcInBhbmVsLWJvZHlcXFwiPlxcbiAgICA8ZGl2IGNsYXNzPVxcXCJyb3dcXFwiPlxcbiAgICAgIDxkaXYgY2xhc3M9XFxcImNvbC1tZC0xMlxcXCI+XFxuICAgICAgICA8aDUgY2xhc3M9XFxcImdyZXlUZXh0XFxcIj5cXG4gICAgICAgICA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SBjaHVua3MgPSAwIl0sInNvdXJjZVJvb3QiOiIifQ==");
|
|
|
|
/***/ },
|
|
/* 27 */
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.LEFT_PANEL_TEXTAREA_CONTROL_DIRECTIVE = undefined;\n\nvar _edaDragDropWayLeftpanelTextareaControlTemplate = __webpack_require__(28);\n\nvar _edaDragDropWayLeftpanelTextareaControlTemplate2 = _interopRequireDefault(_edaDragDropWayLeftpanelTextareaControlTemplate);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar LEFT_PANEL_TEXTAREA_CONTROL_DIRECTIVE = 'leftPanelTextareaControl';\n\nfunction leftPanelTextareaControl() {\n var directive = {\n restrict: 'E',\n template: _edaDragDropWayLeftpanelTextareaControlTemplate2.default\n };\n return directive;\n}\n\nleftPanelTextareaControl.$inject = [];\n\nexports.default = leftPanelTextareaControl;\nexports.LEFT_PANEL_TEXTAREA_CONTROL_DIRECTIVE = LEFT_PANEL_TEXTAREA_CONTROL_DIRECTIVE;//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvbGVmdFBhbmVsL1RleHRBcmVhQ29udHJvbC9lZGFEcmFnRHJvcFdheS5sZWZ0cGFuZWwudGV4dGFyZWFDb250cm9sLmRpcmVjdGl2ZS5qcz8yY2IzIl0sIm5hbWVzIjpbIkxFRlRfUEFORUxfVEVYVEFSRUFfQ09OVFJPTF9ESVJFQ1RJVkUiLCJsZWZ0UGFuZWxUZXh0YXJlYUNvbnRyb2wiLCJkaXJlY3RpdmUiLCJyZXN0cmljdCIsInRlbXBsYXRlIiwiJGluamVjdCJdLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUNBOzs7Ozs7QUFFQ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bC9lZGFEcmFnRHJvcFdheS5sZWZ0cGFuZWwudGV4dGFyZWFDb250cm9sLmRpcmVjdGl2ZS5qcyJdLCJzb3VyY2VSb290IjoiIn0=");
|
|
|
|
/***/ },
|
|
/* 28 */
|
|
/***/ 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-pencil-square-o\\\"></i>\\n \\n Edit properties :\\n </h5>\\n </div>\\n </div>\\n <div class=\\\"marginTopFivepixels\\\"></div>\\n <div class=\\\"row\\\">\\n <div class=\\\"form-group\\\">\\n <div class=\\\"col-md-12\\\">\\n <label\\n for=\\\"inputTextLabelUpdate\\\"\\n class=\\\" control-label greyText editPropertiesLabel\\\">\\n Label text :\\n </label>\\n <div class=\\\"\\\">\\n <input\\n type=\\\"text\\\"\\n class=\\\"form-control\\\"\\n ng-model=\\\"leftPanelCtrl.proxyModel.temporyConfig.formlyLabel\\\" \\n id=\\\"inputTextLabelUpdate\\\"\\n placeholder=\\\"Add / edit control label here\\\">\\n </div>\\n </div>\\n </div>\\n </div>\\n <div class=\\\"marginTopFivepixels\\\"></div>\\n <div class=\\\"row\\\">\\n <div class=\\\"form-group\\\">\\n <div class=\\\"\\\">\\n <label\\n for=\\\"RequiredUpdate\\\"\\n class=\\\"col-md-4 control-label greyText editPropertiesLabel\\\">\\n Required :\\n </label>\\n <div class=\\\"col-md-8\\\">\\n <div class=\\\"checkboxCssCorrection\\\">\\n \\n </div>\\n <input\\n type=\\\"checkbox\\\"\\n ng-model=\\\"leftPanelCtrl.proxyModel.temporyConfig.formlyRequired\\\"\\n id=\\\"RequiredUpdate\\\">\\n </div>\\n </div>\\n </div>\\n </div>\\n <div class=\\\"marginTopFivepixels\\\"></div>\\n <div class=\\\"row\\\">\\n <div class=\\\"form-group\\\">\\n <div class=\\\"col-md-12\\\">\\n <label\\n for=\\\"DescriptionUpdate\\\"\\n class=\\\"control-label greyText editPropertiesLabel\\\">\\n Description :\\n </label>\\n <div class=\\\"\\\">\\n <input\\n type=\\\"text\\\"\\n class=\\\"form-control\\\"\\n ng-model=\\\"leftPanelCtrl.proxyModel.temporyConfig.formlyDesciption\\\"\\n id=\\\"DescriptionUpdate\\\"\\n placeholder=\\\"Add / edit description here\\\">\\n </div>\\n </div>\\n </div>\\n </div>\\n </div>\\n <left-panel-valid-edit-footer />\\n</div>\\n\"//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvbGVmdFBhbmVsL1RleHRBcmVhQ29udHJvbC9lZGFEcmFnRHJvcFdheS5sZWZ0cGFuZWwudGV4dGFyZWFDb250cm9sLnRlbXBsYXRlLmh0bWw/OWU4MCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxtUEFBbVAsMmxDQUEybEMiLCJmaWxlIjoiMjguanMiLCJzb3VyY2VzQ29udGVudCI6WyJtb2R1bGUuZXhwb3J0cyA9IFwiPGRpdiBjbGFzcz1cXFwicGFuZWwgcGFuZWwtZGVmYXVsdFxcXCI+XFxuICA8ZGl2IGNsYXNzPVxcXCJwYW5lbC1ib2R5XFxcIj5cXG4gICAgPGRpdiBjbGFzcz1cXFwicm93XFxcIj5cXG4gICAgICA8ZGl2IGNsYXNzPVxcXCJjb2wtbWQtMTJcXFwiPlxcbiAgICAgICAgPGg1IGNsYXNzPVxcXCJncmV5VGV4dFxcXCI+XFxuICAgICAgICAgIDxpIGNsYXNzPVxcXCJmYSBmYS1wZW5jaWwtc3F1YXJlLW9cXFwiPjwvaT5cXG4gICAgICAgICAgJm5ic3A7XFxuICAgICAgICAgIEVkaXQgcHJvcGVydGllcyA6XFxuICAgICAgICA8L2g1PlxcbiAgICAgIDwvZGl2Pl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, exports, __webpack_require__) {
|
|
|
|
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.LEFT_PANEL_SUBTITLE_CONTROL_DIRECTIVE = undefined;\n\nvar _edaDragDropWayLeftpanelSubtitleControlTemplate = __webpack_require__(30);\n\nvar _edaDragDropWayLeftpanelSubtitleControlTemplate2 = _interopRequireDefault(_edaDragDropWayLeftpanelSubtitleControlTemplate);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar LEFT_PANEL_SUBTITLE_CONTROL_DIRECTIVE = 'leftPanelSubtitleControl';\n\nfunction leftPanelSubtitleControl() {\n var directive = {\n restrict: 'E',\n template: _edaDragDropWayLeftpanelSubtitleControlTemplate2.default\n };\n return directive;\n}\n\nleftPanelSubtitleControl.$inject = [];\n\nexports.default = leftPanelSubtitleControl;\nexports.LEFT_PANEL_SUBTITLE_CONTROL_DIRECTIVE = LEFT_PANEL_SUBTITLE_CONTROL_DIRECTIVE;//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvbGVmdFBhbmVsL1N1YlRpdGxlQ29udHJvbC9lZGFEcmFnRHJvcFdheS5sZWZ0cGFuZWwuc3VidGl0bGVDb250cm9sLmRpcmVjdGl2ZS5qcz9hYjE1Il0sIm5hbWVzIjpbIkxFRlRfUEFORUxfU1VCVElUTEVfQ09OVFJPTF9ESVJFQ1RJVkUiLCJsZWZ0UGFuZWxTdWJ0aXRsZUNvbnRyb2wiLCJkaXJlY3RpdmUiLCJyZXN0cmljdCIsInRlbXBsYXRlIiwiJGluamVjdCJdLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUFBOzs7Ozs7QUFFQSxJQUFNQSx3Q0FBd0MsMEJBQTlDOztBQUVBLFNBQVNDLHdCQUFULEdBQW9DO0FBQ2xDLE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iJ9");
|
|
|
|
/***/ },
|
|
/* 30 */
|
|
/***/ 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-pencil-square-o\\\"></i>\\n \\n Edit properties :\\n </h5>\\n </div>\\n </div>\\n <div class=\\\"marginTopFivepixels\\\"></div>\\n <div class=\\\"row\\\">\\n <div class=\\\"form-group\\\">\\n <div class=\\\"col-md-12\\\">\\n <label\\n for=\\\"inputTextDescriptionUpdate\\\"\\n class=\\\"control-label greyText editPropertiesLabel\\\">\\n Subtitle text :\\n </label>\\n <div class=\\\"\\\">\\n <input\\n type=\\\"text\\\"\\n class=\\\"form-control\\\" \\n ng-model=\\\"leftPanelCtrl.proxyModel.temporyConfig.formlyDesciption\\\"\\n id=\\\"inputSubtitleTextUpdate\\\"\\n placeholder=\\\"Add / edit subtitle text here\\\" >\\n </div>\\n </div>\\n </div>\\n </div>\\n </div>\\n <left-panel-valid-edit-footer />\\n</div>\\n\"//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvbGVmdFBhbmVsL1N1YlRpdGxlQ29udHJvbC9lZGFEcmFnRHJvcFdheS5sZWZ0cGFuZWwuc3VidGl0bGVDb250cm9sLnRlbXBsYXRlLmh0bWw/ZTBlMiJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxtUEFBbVAiLCJmaWxlIjoiMzAuanMiLCJzb3VyY2VzQ29udGVudCI6WyJtb2R1bGUuZXhwb3J0cyA9IFwiPGRpdiBjbGFzcz1cXFwicGFuZWwgcGFuZWwtZGVmYXVsdFxcXCI+XFxuICA8ZGl2IGNsYXNzPVxcXCJwYW5lbC1ib2R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lc2NpcHRpb25cXFwiXFxuICAgICAgICAgICAgICBpZD1cXFwiaW5wdXRTdWJ0aXRsZVRleHRVcGRhdGVcXFwiXFxuICAgICAgICAgICAgICBwbGFjZWhvbGRlcj1cXFwiQWRkIC8gZWRpdCBzdWJ0aXRsZSB0ZXh0IGhlcmVcXFwiID5cXG4gICAgICAgICAgPC9kaXY+XFxuICAgICAgICA8L2Rpdj5cXG4gICAgICA8L2Rpdj5cXG4gICAgPC9kaXY+XFxuICA8L2Rpdj5cXG4gIDxsZWZ0LXBhbmVsLXZhbGlkLWVkaXQtZm9vdGVyIC8+XFxuPC9kaXY+XFxuXCJcblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL3NyYy9hcHAvZHJhZ2Ryb3B3YXkvY29tcG9uZW50cy9sZWZ0UGFuZWwvU3ViVGl0bGVDb250cm9sL2VkYURyYWdEcm9wV2F5LmxlZnRwYW5lbC5zdWJ0aXRsZUNvbnRyb2wudGVtcGxhdGUuaHRtbFxuLy8gbW9kdWxlIGlkID0gMzBcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sInNvdXJjZVJvb3QiOiIifQ==");
|
|
|
|
/***/ },
|
|
/* 31 */
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.LEFT_PANEL_RICH_TEXT_EDITOR_CONTROL_DIRECTIVE = undefined;\n\nvar _edaDragDropWayLeftpanelRichTextEditorControlTemplate = __webpack_require__(32);\n\nvar _edaDragDropWayLeftpanelRichTextEditorControlTemplate2 = _interopRequireDefault(_edaDragDropWayLeftpanelRichTextEditorControlTemplate);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar LEFT_PANEL_RICH_TEXT_EDITOR_CONTROL_DIRECTIVE = 'leftPanelRichTextEditorControl';\n\nfunction leftPanelRichTextEditorControl() {\n var directive = {\n restrict: 'E',\n template: _edaDragDropWayLeftpanelRichTextEditorControlTemplate2.default\n };\n return directive;\n}\n\nleftPanelRichTextEditorControl.$inject = [];\n\nexports.default = leftPanelRichTextEditorControl;\nexports.LEFT_PANEL_RICH_TEXT_EDITOR_CONTROL_DIRECTIVE = LEFT_PANEL_RICH_TEXT_EDITOR_CONTROL_DIRECTIVE;//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvbGVmdFBhbmVsL1JpY2hUZXh0RWRpdG9yQ29udHJvbC9lZGFEcmFnRHJvcFdheS5sZWZ0cGFuZWwucmljaFRleHRFZGl0b3JDb250cm9sLmRpcmVjdGl2ZS5qcz9jNWQwIl0sIm5hbWVzIjpbIkxFRlRfUEFORUxfUklDSF9URVhUX0VESVRPUl9DT05UUk9MX0RJUkVDVElWRSIsImxlZnRQYW5lbFJpY2hUZXh0RWRpdG9yQ29udHJvbCIsImRpcmVjdGl2ZSIsInJlc3RyaWN0IiwidGVtcGxhdGUiLCIkaW5qZWN0Il0sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBQ0E7Ozs7OztBQUVBLElBQU1BLGdEQUFnRCxnQ0FBdEQ7O0FBRUEsU0FBU0MsOEJBQVQsR0FBMEM7QUFDeEMsTUFBSUMsWUFBWTtBQUNkQyxjQUFXLEdBREc7QUFFZEM7QUFGYyxHQUFoQjtBQUlBLFNBQU9GLFNBQVA7QUFDRDs7QUFFREQsK0JBQStCSSxPQUEvQixHQUF5QyxFQUF6Qzs7a0JBRWVKLDhCO1FBR2JELDZDLEdBQUFBLDZDIiwiZmlsZSI6IjMxLmpzIiwic291cmNlc0NvbnRlbnQiOlsiXG5pbXBvcnQgbGVmdFBhbmVsUmljaFRleHRFZGl0b3JDb250cm9sVGVtcGxhdGUgZnJvbSAnLi9lZGFEcmFnRHJvcFdheS5sZWZ0cGFuZWwucmljaFRleHRFZGl0b3JDb250cm9sLnRlbXBsYXRlLmh0bWwnO1xuXG5jb25zdCBMRUZUX1BBTkVMX1JJQ0hfVEVYVF9FRElUT1JfQ09OVFJPTF9ESVJFQ1RJVkUgPSAnbGVmdFBhbmVsUmljaFRleHRFZGl0b3JDb250cm9sJztcblxuZnVuY3Rpb24gbGVmdFBhbmVsUmljaFRleHRFZGl0b3JDb250cm9sKCkge1xuICBsZXQgZGlyZWN0aXZlID0ge1xuICAgIHJlc3RyaWN0IDogJ0UnLFxuICAgIHRlbXBsYXRlIDogbGVmdFBhbmVsUmljaFRleHRFZGl0b3JDb250cm9sVGVtcGxhdGVcbiAgfTtcbiAgcmV0dXJuIGRpcmVjdGl2ZTtcbn1cblxubGVmdFBhbmVsUmljaFRleHRFZGl0b3JDb250cm9sLiRpbmplY3QgPSBbXTtcblxuZXhwb3J0IGRlZmF1bHQgbGVmdFBhbmVsUmljaFRleHRFZGl0b3JDb250cm9sO1xuXG5leHBvcnQge1xuICBMRUZUX1BBTkVMX1JJQ0hfVEVYVF9FRElUT1JfQ09OVFJPTF9ESVJFQ1RJVkVcbn07XG5cblxuXG4vLyBXRUJQQUNLIEZPT1RFUiAvL1xuLy8gLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvbGVmdFBhbmVsL1JpY2hUZXh0RWRpdG9yQ29udHJvbC9lZGFEcmFnRHJvcFdheS5sZWZ0cGFuZWwucmljaFRleHRFZGl0b3JDb250cm9sLmRpcmVjdGl2ZS5qcyJdLCJzb3VyY2VSb290IjoiIn0=");
|
|
|
|
/***/ },
|
|
/* 32 */
|
|
/***/ 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-pencil-square-o\\\"></i>\\n Edit properties :\\n </h5>\\n </div>\\n </div>\\n <div class=\\\"marginTopFivepixels\\\"></div>\\n <div class=\\\"row\\\">\\n <div class=\\\"form-group\\\">\\n <div class=\\\"col-md-12\\\">\\n <label\\n for=\\\"DescriptionUpdate\\\"\\n class=\\\"control-label greyText editPropertiesLabel\\\">\\n Description :\\n </label>\\n <div class=\\\"\\\">\\n <input\\n type=\\\"text\\\"\\n class=\\\"form-control\\\"\\n ng-model=\\\"leftPanelCtrl.proxyModel.temporyConfig.formlyDesciption\\\"\\n id=\\\"DescriptionUpdate\\\"\\n placeholder=\\\"Add / edit description here\\\">\\n </div>\\n </div>\\n </div>\\n </div>\\n </div>\\n <left-panel-valid-edit-footer />\\n</div>\\n\"//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvbGVmdFBhbmVsL1JpY2hUZXh0RWRpdG9yQ29udHJvbC9lZGFEcmFnRHJvcFdheS5sZWZ0cGFuZWwucmljaFRleHRFZGl0b3JDb250cm9sLnRlbXBsYXRlLmh0bWw/ZmVjNSJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxtUEFBbVAiLCJmaWxlIjoiMzIuanMiLCJzb3VyY2VzQ29udGVudCI6WyJtb2R1bGUuZXhwb3J0cyA9IFwiPGRpdiBjbGFzcz1cXFwicGFuZWwgcGFuZWwtZGVmYXVsdFxcXCI+XFxuICA8ZGl2IGNsYXNzPVxcXCJwYW5lbC1ib2R5XFxcIj5cXG4gICAgPGRpdiBjbGFzcz1cXFwicm93XFxcIj5cXG4gICAgICA8ZGl2IGNsYXNzPVxcXCJjb2wtbWQtMTJcXFwiPlxcbiAgICAgICAgPGg1IGNsYXNzPVxcXCJncmV5VGV4dFxcXCI+XFxuICAgICAgICAgIDxpIGNsYXNzPVxcXCJmYSBmYS1wZW5jaWwtc3F1YXJlLW9cXFwiPjw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ZWwtdmFsaWQtZWRpdC1mb290ZXIgLz5cXG48L2Rpdj5cXG5cIlxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vc3JjL2FwcC9kcmFnZHJvcHdheS9jb21wb25lbnRzL2xlZnRQYW5lbC9SaWNoVGV4dEVkaXRvckNvbnRyb2wvZWRhRHJhZ0Ryb3BXYXkubGVmdHBhbmVsLnJpY2hUZXh0RWRpdG9yQ29udHJvbC50ZW1wbGF0ZS5odG1sXG4vLyBtb2R1bGUgaWQgPSAzMlxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwic291cmNlUm9vdCI6IiJ9");
|
|
|
|
/***/ },
|
|
/* 33 */
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.LEFT_PANEL_RADIO_CONTROL_DIRECTIVE = undefined;\n\nvar _edaDragDropWayLeftpanelRadioControlTemplate = __webpack_require__(34);\n\nvar _edaDragDropWayLeftpanelRadioControlTemplate2 = _interopRequireDefault(_edaDragDropWayLeftpanelRadioControlTemplate);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar LEFT_PANEL_RADIO_CONTROL_DIRECTIVE = 'leftPanelRadioControl';\n\nfunction leftPanelRadioControl() {\n var directive = {\n restrict: 'E',\n template: _edaDragDropWayLeftpanelRadioControlTemplate2.default\n };\n return directive;\n}\n\nleftPanelRadioControl.$inject = [];\n\nexports.default = leftPanelRadioControl;\nexports.LEFT_PANEL_RADIO_CONTROL_DIRECTIVE = LEFT_PANEL_RADIO_CONTROL_DIRECTIVE;//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvbGVmdFBhbmVsL1JhZGlvQ29udHJ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xuXG5leHBvcnQgZGVmYXVsdCBsZWZ0UGFuZWxSYWRpb0NvbnRyb2w7XG5cbmV4cG9ydCB7XG4gIExFRlRfUEFORUxfUkFESU9fQ09OVFJPTF9ESVJFQ1RJVkVcbn07XG5cblxuXG4vLyBXRUJQQUNLIEZPT1RFUiAvL1xuLy8gLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvbGVmdFBhbmVsL1JhZGlvQ29udHJvbC9lZGFEcmFnRHJvcFdheS5sZWZ0cGFuZWwucmFkaW9Db250cm9sLmRpcmVjdGl2ZS5qcyJdLCJzb3VyY2VSb290IjoiIn0=");
|
|
|
|
/***/ },
|
|
/* 34 */
|
|
/***/ 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-pencil-square-o\\\"></i>\\n \\n Edit properties :\\n </h5>\\n </div>\\n </div>\\n <div class=\\\"marginTopFivepixels\\\"></div>\\n <div class=\\\"row\\\">\\n <div class=\\\"col-lg-12 col-md-12\\\">\\n <label\\n for=\\\"radioRowCollection\\\"\\n class=\\\" control-label greyText editPropertiesLabel\\\">\\n Add new radio :\\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 new radio\\\"\\n ng-model=\\\"leftPanelCtrl.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=\\\"leftPanelCtrl.addNewOptionRadio()\\\">\\n add\\n </button>\\n </div>\\n </div>\\n </div>\\n </div>\\n <div class=\\\"row\\\">\\n <div class=\\\"col-lg-12 col-md-12\\\">\\n <label\\n for=\\\"radioRowCollection\\\"\\n class=\\\" control-label greyText editPropertiesLabel\\\">\\n Edit/Remove radio :\\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=\\\"leftPanelCtrl.radioRowCollection.rows.length === 0\\\">\\n <h5 class=\\\"text-center greyText\\\">\\n <em>\\n - no radio : add new radio values -\\n </em>\\n </h5>\\n </div>\\n <table\\n ng-if=\\\"leftPanelCtrl.radioRowCollection.rows.length > 0\\\"\\n class=\\\"table table-striped\\\">\\n <thead>\\n <tr>\\n <th st-ratio=\\\"20\\\">\\n order\\n </th>\\n <th st-ratio=\\\"55\\\">\\n option\\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=\\\"radioFilter\\\"\\n placeholder=\\\"search for option\\\"\\n class=\\\"input-sm form-control\\\"\\n type=\\\"search\\\" />\\n </th>\\n <th st-ratio=\\\"25\\\"></th>\\n </tr>\\n </thead>\\n <tbody>\\n <tr ng-repeat=\\\"radioRow in leftPanelCtrl.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=\\\"leftPanelCtrl.upThisRadioRow($index)\\\">\\n <i class=\\\"fa fa-arrow-up\\\"></i>\\n </button>\\n <button\\n class=\\\"btn btn-primary\\\"\\n ng-click=\\\"leftPanelCtrl.downThisRadioRow($index)\\\">\\n <i class=\\\"fa fa-arrow-down\\\"></i>\\n </button>\\n <button\\n class=\\\"btn btn-danger\\\"\\n ng-click=\\\"leftPanelCtrl.removeRadioRow($index)\\\">\\n <i class=\\\"fa fa-trash-o\\\"></i>\\n </button>\\n </div>\\n </td>\\n </tr>\\n </tbody>\\n </table>\\n </div>\\n </div>\\n </div>\\n </div>\\n <div class=\\\"marginTopFivepixels\\\"></div>\\n <div class=\\\"row\\\">\\n <div class=\\\"form-group\\\">\\n \\t\\t\\t<div class=\\\"col-md-12\\\">\\n <label\\n for=\\\"inputTextLabelUpdate\\\"\\n class=\\\" control-label greyText editPropertiesLabel\\\">\\n Label text :\\n </label>\\n <div class=\\\"\\\">\\n <input\\n type=\\\"text\\\"\\n class=\\\"form-control\\\"\\n ng-model=\\\"leftPanelCtrl.proxyModel.temporyConfig.formlyLabel\\\"\\n id=\\\"inputTextLabelUpdate\\\"\\n placeholder=\\\"Add / edit control label here\\\">\\n </div>\\n \\t\\t\\t</div>\\n </div>\\n </div>\\n <div class=\\\"marginTopFivepixels\\\"></div>\\n <div class=\\\"row\\\">\\n <div class=\\\"form-group\\\">\\n \\t\\t\\t<div class=\\\"\\\">\\n <label\\n for=\\\"RequiredUpdate\\\"\\n class=\\\"col-md-4 control-label greyText editPropertiesLabel\\\">\\n Required :\\n </label>\\n <div class=\\\"col-md-8\\\">\\n <div class=\\\"checkboxCssCorrection\\\"> </div>\\n <input\\n type=\\\"checkbox\\\"\\n ng-model=\\\"leftPanelCtrl.proxyModel.temporyConfig.formlyRequired\\\"\\n id=\\\"RequiredUpdate\\\">\\n </div>\\n \\t\\t\\t</div>\\n </div>\\n </div>\\n <div class=\\\"marginTopFivepixels\\\"></div>\\n <div class=\\\"row\\\">\\n <div class=\\\"form-group\\\">\\n \\t\\t\\t<div class=\\\"col-md-12\\\">\\n <label\\n for=\\\"DescriptionUpdate\\\"\\n class=\\\"control-label greyText editPropertiesLabel\\\">\\n Description :\\n </label>\\n <div class=\\\"\\\">\\n <input\\n type=\\\"text\\\"\\n class=\\\"form-control\\\"\\n ng-model=\\\"leftPanelCtrl.proxyModel.temporyConfig.formlyDesciption\\\"\\n id=\\\"DescriptionUpdate\\\"\\n placeholder=\\\"Add / edit description here\\\">\\n </div>\\n \\t\\t\\t</div>\\n </div>\\n </div>\\n </div>\\n <left-panel-valid-edit-footer />\\n</div>\\n\"//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvbGVmdFBhbmVsL1JhZGlvQ29udHJvbC9lZGFEcmFnRHJvcFdheS5sZWZ0cGFuZWwucmFkaW9Db250cm9sLnRlbXBsYXRlLmh0bWw/ODQzYSJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxtUEFBbVAsMm9GQUEyb0YsUUFBUSxtRkFBbUYsaUJBQWlCLDhnRUFBOGdFIiwiZmlsZSI6IjM0LmpzIiwic291cmNlc0NvbnRlbnQiOlsibW9kdWxlLmV4cG9ydHMgPSBcIjxkaXYgY2xhc3M9XFxcInBhbmVsIHBhbmVsLWRlZmF1bHRcXFwiPlxcbiAgPGRpdiBjbGFzcz1cXFwicGFuZWwtYm9keVxcXCI+XFxuICAgIDxkaXYgY2xhc3M9XFxcInJvd1xcXCI+XFxuICAgICAgPGRpdiBjbGFzcz1cXFwiY29sLW1kLTEyXFxcIj5cXG4gICAgICAgIDxoNSBjbGFzcz1cXFwiZ3JleVRleHRcXFwiPlxcbiAgICAgICAgICA8aSBjbGFzcz1cXFwiZmEgZmEtcGVuY2lsLXNxdWFyZS1vXFxcIj48L2k+XFxuICAgICAgICAgICZuYnNwO1xcbiAgICAgICAgICBFZGl0IHByb3BlcnRpZXMgOlxcbiAgICAgICAgPC9oNT5cXG4gICAgICA8L2Rpdj5cXG4gICAgPC9kaXY+XFxuICAgIDxkaXYgY2xhc3M9XFxcIm1hcmdpblRvcE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uZXcgcmFkaW8gdmFsdWVzIC1cXG4gICAgICAgICAgICAgIDwvZW0+XFxuICAgICAgICAgICAgPC9oNT5cXG4gICAgICAgICAgPC9kaXY+XFxuICAgICAgICAgIDx0YWJsZVxcbiAgICAgICAgICAgIG5nLWlmPVxcXCJsZWZ0UGFuZWxDdHJsLnJhZGlvUm93Q29sbGVjdGlvbi5yb3dzLmxlbmd0aCA+IDBcXFwiXFxuICAgICAgICAgICAgY2xhc3M9XFxcInRhYmxlIHRhYmxlLXN0cmlwZWRcXFwiPlxcbiAgICAgICAgICAgIDx0aGVhZD5cXG4gICAgICAgICAgICA8dHI+XFxuICAgICAgICAgICAgICA8dGggc3QtcmF0aW89XFxcIjIwXFxcIj5cXG4gICAgICAgICAgICAgICAgb3JkZXJcXG4gICAgICAgICAgICAgIDwvdGg+XFxuICAgICAgICAgICAgICA8dGggc3QtcmF0aW89XFxcIjU1XFxcIj5cXG4gICAgICAgICAgICAgICAgb3B0aW9uXFxuICAgICAgICAgICAgICA8L3RoPlxcbiAgICAgICAgICAgICAgPHRoIHN0LXJhdGlvPVxcXCIyNVxcXCI+XFxuICAgICAgICAgICAgICA8L3RoPlxcbiAgICAgICAgICAgIDwvdHI+XFxuICAgICAgICAgICAgPHRyPlxcbiAgICAgICAgICAgICAgPHRoIHN0LXJhdGlvPVxcXCIyMFxcXCI+XFxuICAgICAgICAgICAgICA8L3RoPlxcbiAgICAgICAgICAgICAgPHRoIHN0LXJhdGlvPVxcXCI1NVxcXCI+XFxuICAgICAgICAgICAgICAgIDxpbnB1dFxcbiAgICAgICAgICAgICAgICAgIG5nLW1vZGVsPVxcXCJyYWRpb0ZpbHRlclxcXCJcXG4gICAgICAgICAgICAgICAgICBwbGFjZWhvbGRlcj1cXFwic2VhcmNoIGZvciBvcHRpb25cXFwiXFxuICAgICAgICAgICAgICAgICAgY2xhc3M9XFxcImlucHV0LXNtIGZvcm0tY29udHJvbFxcXCJcXG4gICAgICAgICAgICAgICAgICB0eXBlPVxcXCJzZWFyY2hcXFwiIC8+XFxuICAgICAgICAgICAgICA8L3RoPlxcbiAgICAgICAgICAgICAgPHRoIHN0LXJhdGlvPVxcXCIyNVxcXCI+PC90aD5cXG4gICAgICAgICAgICA8L3RyPlxcbiAgICAgICAgICAgIDwvdGhlYWQ+XFxuICAgICAgICAgICAgPHRib2R5PlxcbiAgICAgICAgICAgICAgPHRyIG5nLXJlcGVhdD1cXFwicmFkaW9Sb3cgaW4gbGVmdFBhbmVsQ3RybC5yYWRpb1Jvd0NvbGxlY3Rpb24ucm93cyB8IGZpbHRlcjpyYWRpb0ZpbHRlciBhcyByYWRpb1Jvd1xcXCI+XFxuICAgICAgICAgICAgICAgIDx0ZCBzdC1yYXRpbz1cXFwiMjBcXFwiPlxcbiAgICAgICAgICAgICAgICAgIHt7JGluZGV4fX1cXG4gICAgICAgICAgICAgICAgPC90ZD5cXG4gICAgICAgICAgICAgICAgPHRkIHN0LXJhdGlvPVxcXCI1NVxcXCI+XFxuICAgICAgICAgICAgICAgICAge3tyYWRpb1Jvdy5vcHRpb259fVxcbiAgICAgICAgICAgICAgICA8L3RkPlxcbiAgICAgICAgICAgICAgICA8dGQgc3QtcmF0aW89XFxcIjI1XFxcIj5cXG4gICAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVxcXCJwdWxsLXJpZ2h0XFxcIj5cXG4gICAgICAgICAgICAgICAgICAgIDxidXR0b25cXG4gICAgICAgICAgICAgICAgICAgICAgY2xhc3M9XFxcImJ0biBidG4tcHJpbWFyeVxcXCJcXG4gICAgICAgICAgICAgICAgICAgICAgbmctY2xpY2s9XFxcImxlZnRQYW5lbEN0cmwudXBUaGlzUmFkaW9Sb3coJGluZGV4KVxcXCI+XFxuICAgICAgICAgICAgICAgICAgICAgIDxpIGNsYXNzPVxcXCJmYSBmYS1hcnJvdy11cFxcXCI+PC9pPlxcbiAgICAgICAgICAgICAgICAgICAgPC9idXR0b24+XFxuICAgICAgICAgICAgICAgICAgICA8YnV0dG9uXFxuICAgICAgICAgICAgICAgICAgICAgIGNsYXNzPVxcXCJidG4gYnRuLXByaW1hcnlcXFwiXFxuICAgICAgICAgICAgICAgICAgICAgIG5nLWNsaWNrPVxcXCJsZWZ0UGFuZWxDdHJsLmRvd25UaGlzUmFkaW9Sb3coJGluZGV4KVxcXCI+XFxuICAgICAgICAgICAgICAgICAgICAgIDxpIGNsYXNzPVxcXCJmYSBmYS1hcnJvdy1kb3duXFxcIj48L2k+XFxuICAgICAgICAgICAgICAgICAgICA8L2J1dHRvbj5cXG4gICAgICAgICAgICAgICAgICAgIDxidXR0b25cXG4gICAgICAgICAgICAgICAgICAgICAgY2xhc3M9XFxcImJ0biBidG4tZGFuZ2VyXFxcIlxcbiAgICAgICAgICAgICAgICAgICAgICBuZy1jbGljaz1cXFwibGVmdFBhbmVsQ3RybC5yZW1vdmVSYWRpb1JvdygkaW5kZXgpXFxcIj5cXG4gICAgICAgICAgICAgICAgICAgICAgPGkgY2xhc3M9XFxcImZhIGZhLXRyYXNoLW9cXFwiPjwvaT5cXG4gICAgICAgICAgICAgICAgICAgIDwvYnV0dG9uPlxcbiAgICAgICAgICAgICAgICAgICA8L2Rpdj5cXG4gICAgICAgICAgICAgICAgPC90ZD5cXG4gICAgICAgICAgICAgIDwvdHI+XFxuICAgICAgICAgICAgPC90Ym9keT5cXG4gICAgICAgICAgPC90YWJsZT5cXG4gICAgICAgIDwvZGl2PlxcbiAgICAgIDwvZGl2PlxcbiAgICA8L2Rpdj5cXG4gIDwvZGl2PlxcbiAgPGRpdiBjbGFzcz1cXFwibWFyZ2luVG9wRml2ZXBpeGVsc1xcXCI+PC9kaXY+XFxuICAgIDxkaXYgY2xhc3M9XFxcInJvd1xcXCI+XFxuICAgICAgPGRpdiBjbGFzcz1cXFwiZm9ybS1ncm91cFxcXCI+XFxuICBcXHRcXHRcXHQ8ZGl2IGNsYXNzPVxcXCJjb2wtbWQtMTJcXFwiPlxcbiAgICAgICAgICA8bGFiZWxcXG4gICAgICAgICAgICB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A8aW5wdXRcXG4gICAgICAgICAgICAgIHR5cGU9XFxcInRleHRcXFwiXFxuICAgICAgICAgICAgICBjbGFzcz1cXFwiZm9ybS1jb250cm9sXFxcIlxcbiAgICAgICAgICAgICAgbmctbW9kZWw9XFxcImxlZnRQYW5lbEN0cmwucHJveHlNb2RlbC50ZW1wb3J5Q29uZmlnLmZvcm1seURlc2NpcHRpb25cXFwiXFxuICAgICAgICAgICAgICBpZD1cXFwiRGVzY3JpcHRpb25VcGRhdGVcXFwiXFxuICAgICAgICAgICAgICBwbGFjZWhvbGRlcj1cXFwiQWRkIC8gZWRpdCBkZXNjcmlwdGlvbiBoZXJlXFxcIj5cXG4gICAgICAgICAgPC9kaXY+XFxuICBcXHRcXHRcXHQ8L2Rpdj5cXG4gICAgICA8L2Rpdj5cXG4gICA8L2Rpdj5cXG4gIDwvZGl2PlxcbiAgPGxlZnQtcGFuZWwtdmFsaWQtZWRpdC1mb290ZXIgLz5cXG48L2Rpdj5cXG5cIlxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vc3JjL2FwcC9kcmFnZHJvcHdheS9jb21wb25lbnRzL2xlZnRQYW5lbC9SYWRpb0NvbnRyb2wvZWRhRHJhZ0Ryb3BXYXkubGVmdHBhbmVsLnJhZGlvQ29udHJvbC50ZW1wbGF0ZS5odG1sXG4vLyBtb2R1bGUgaWQgPSAzNFxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwic291cmNlUm9vdCI6IiJ9");
|
|
|
|
/***/ },
|
|
/* 35 */
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.LEFT_PANEL_PASSWORD_CONTROL_DIRECTIVE = undefined;\n\nvar _edaDragDropWayLeftpanelPasswordControlTemplate = __webpack_require__(36);\n\nvar _edaDragDropWayLeftpanelPasswordControlTemplate2 = _interopRequireDefault(_edaDragDropWayLeftpanelPasswordControlTemplate);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar LEFT_PANEL_PASSWORD_CONTROL_DIRECTIVE = 'leftPanelPasswordControl';\n\nfunction leftPanelPasswordControl() {\n var directive = {\n restrict: 'E',\n template: _edaDragDropWayLeftpanelPasswordControlTemplate2.default\n };\n return directive;\n}\n\nleftPanelPasswordControl.$inject = [];\n\nexports.default = leftPanelPasswordControl;\nexports.LEFT_PANEL_PASSWORD_CONTROL_DIRECTIVE = LEFT_PANEL_PASSWORD_CONTROL_DIRECTIVE;//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvbGVmdFBhbmVsL1Bhc3N3b3JkQ29udHJvbC9lZGFEcmFnRHJvcFdheS5sZWZ0cGFuZWwucGFzc3dvcmRDb250cm9sLmRpcmVjdGl2ZS5qcz82NjgzIl0sIm5hbWVzIjpbIkxFRlRfUEFORUxfUEFTU1dPUkRfQ09OVFJPTF9ESVJFQ1RJVkUiLCJsZWZ0UGFuZWxQYXNzd29yZENvbnRyb2wiLCJkaXJlY3RpdmUiLCJyZXN0cmljdCIsInRlbXBsYXRlIiwiJGluamVjdCJdLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUNBOzs7Ozs7QUFFQSxJQUFNQSx3Q0FBd0MsMEJBQTlDOztBQUVBLFNBQVNDLHdCQUFULEdBQW9DO0FBQ2xDLE1BQUlDLFlBQVk7QUFDZEMsY0FBVyxHQURHO0FBRWRDO0FBRmMsR0FBaEI7QUFJQSxTQUFPRixTQUFQO0FBQ0Q7O0FBRURELHlCQUF5QkksT0FBekIsR0FBbUMsRUFBbkM7O2tCQUVlSix3QjtRQUdiRCxxQyxHQUFBQSxxQyIsImZpbGUiOiIzNS5qcyIsInNvdXJjZXNDb250ZW50IjpbIlxuaW1wb3J0IGxlZnRQYW5lbFBhc3N3b3JkQ29udHJvbFRlbXBsYXRlIGZyb20gJy4vZWRhRHJhZ0Ryb3BXYXkubGVmdHBhbmVsLnBhc3N3b3JkQ29udHJvbC50ZW1wbGF0ZS5odG1sJztcblxuY29uc3QgTEVGVF9QQU5FTF9QQVNTV09SRF9DT05UUk9MX0RJUkVDVElWRSA9ICdsZWZ0UGFuZWxQYXNzd29yZENvbnRyb2wnO1xuXG5mdW5jdGlvbiBsZWZ0UGFuZWxQYXNzd29yZENvbnRyb2woKSB7XG4gIGxldCBkaXJlY3RpdmUgPSB7XG4gICAgcmVzdHJpY3QgOiAnRScsXG4gICAgdGVtcGxhdGUgOiBsZWZ0UGFuZWxQYXNzd29yZENvbnRyb2xUZW1wbGF0ZVxuICB9O1xuICByZXR1cm4gZGlyZWN0aXZlO1xufVxuXG5sZWZ0UGFuZWxQYXNzd29yZENvbnRyb2wuJGluamVjdCA9IFtdO1xuXG5leHBvcnQgZGVmYXVsdCBsZWZ0UGFuZWxQYXNzd29yZENvbnRyb2w7XG5cbmV4cG9ydCB7XG4gIExFRlRfUEFORUxfUEFTU1dPUkRfQ09OVFJPTF9ESVJFQ1RJVkVcbn07XG5cblxuXG4vLyBXRUJQQUNLIEZPT1RFUiAvL1xuLy8gLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvbGVmdFBhbmVsL1Bhc3N3b3JkQ29udHJvbC9lZGFEcmFnRHJvcFdheS5sZWZ0cGFuZWwucGFzc3dvcmRDb250cm9sLmRpcmVjdGl2ZS5qcyJdLCJzb3VyY2VSb290IjoiIn0=");
|
|
|
|
/***/ },
|
|
/* 36 */
|
|
/***/ 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-pencil-square-o\\\"></i>\\n \\n Edit properties :\\n </h5>\\n </div>\\n </div>\\n <div class=\\\"marginTopFivepixels\\\"></div>\\n <div class=\\\"row\\\">\\n <div class=\\\"form-group\\\">\\n <div class=\\\"col-md-12\\\">\\n <label\\n for=\\\"inputTextLabelUpdate\\\"\\n class=\\\" control-label greyText editPropertiesLabel\\\">\\n Label text :\\n </label>\\n <div class=\\\"\\\">\\n <input\\n type=\\\"text\\\" \\n class=\\\"form-control\\\"\\n ng-model=\\\"leftPanelCtrl.proxyModel.temporyConfig.formlyLabel\\\"\\n id=\\\"inputTextLabelUpdate\\\"\\n placeholder=\\\"Add / edit control label here\\\" >\\n </div>\\n </div>\\n </div>\\n </div>\\n <div class=\\\"marginTopFivepixels\\\"></div>\\n <div class=\\\"row\\\">\\n <div class=\\\"form-group\\\">\\n <div class=\\\"col-md-12\\\">\\n <label\\n for=\\\"placeholderUpdate\\\"\\n class=\\\"control-label greyText editPropertiesLabel\\\">\\n placeholder :\\n </label>\\n <div class=\\\"\\\">\\n <input\\n type=\\\"text\\\"\\n class=\\\"form-control\\\"\\n ng-model=\\\"leftPanelCtrl.proxyModel.temporyConfig.formlyPlaceholder\\\"\\n id=\\\"inputTextplaceholderUpdate\\\"\\n placeholder=\\\"Add / edit placeholder text here\\\" >\\n </div>\\n </div>\\n </div>\\n </div>\\n <div class=\\\"marginTopFivepixels\\\"></div>\\n <div class=\\\"row\\\">\\n <div class=\\\"form-group\\\">\\n <div class=\\\"\\\">\\n <label\\n for=\\\"RequiredUpdate\\\"\\n class=\\\"col-md-4 control-label greyText editPropertiesLabel\\\">\\n Required :\\n </label>\\n <div class=\\\"col-md-8\\\">\\n <div class=\\\"checkboxCssCorrection\\\"> </div>\\n <input\\n type=\\\"checkbox\\\"\\n ng-model=\\\"leftPanelCtrl.proxyModel.temporyConfig.formlyRequired\\\"\\n id=\\\"RequiredUpdate\\\">\\n </div>\\n </div>\\n </div>\\n </div>\\n <div class=\\\"marginTopFivepixels\\\"></div>\\n <div class=\\\"row\\\">\\n <div class=\\\"form-group\\\">\\n <div class=\\\"col-md-12\\\">\\n <label\\n for=\\\"DescriptionUpdate\\\"\\n class=\\\"control-label greyText editPropertiesLabel\\\">\\n Description :\\n </label>\\n <div class=\\\"\\\">\\n <input\\n type=\\\"text\\\"\\n class=\\\"form-control\\\"\\n ng-model=\\\"leftPanelCtrl.proxyModel.temporyConfig.formlyDesciption\\\"\\n id=\\\"DescriptionUpdate\\\"\\n placeholder=\\\"Add / edit description here\\\" >\\n </div>\\n </div>\\n </div>\\n </div>\\n </div>\\n <left-panel-valid-edit-footer />\\n</div>\\n\"//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvbGVmdFBhbmVsL1Bhc3N3b3JkQ29udHJvbC9lZGFEcmFnRHJvcFdheS5sZWZ0cGFuZWwucGFzc3dvcmRDb250cm9sLnRlbXBsYXRlLmh0bWw/YWY5ZSJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxtUEFBbVAsaXVEQUFpdUQiLCJmaWxlIjoiMzYuanMiLCJzb3VyY2VzQ29udGVudCI6WyJtb2R1bGUuZXhwb3J0cyA9IFwiPGRpdiBjbGFzcz1cXFwicGFuZWwgcGFuZWwtZGVmYXVsdFxcXCI+XFxuICA8ZGl2IGNsYXNzPVxcXCJwYW5lbC1ib2R5XFxcIj5cXG4gICAgPGRpdiBjbGFzcz1cXFwicm93XFxcIj5cXG4gICAgICA8ZGl2IGNsYXNzPVxcXCJjb2wtbWQtMTJcXFwiPlxcbiAgICAgICAgPGg1IGNsYXNzPVxcXCJncmV5VGV4dFxcXCI+XFxuICAgICAgICAgIDxpIGNsYXNzPVxcXCJmYSBmYS1wZW5jaWwtc3F1YXJlLW9cXFwiPjwvaT5cXG4gICAgICAgICAgJm5ic3A7XFxuICAgICAgICAgIEVkaXQgcHJvcGVydGllcyA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FxcIj5cXG4gICAgICAgICAgRGVzY3JpcHRpb24gOlxcbiAgICAgICAgPC9sYWJlbD5cXG4gICAgICAgIDxkaXYgY2xhc3M9XFxcIlxcXCI+XFxuICAgICAgICAgIDxpbnB1dFxcbiAgICAgICAgICAgIHR5cGU9XFxcInRleHRcXFwiXFxuICAgICAgICAgICAgY2xhc3M9XFxcImZvcm0tY29udHJvbFxcXCJcXG4gICAgICAgICAgICBuZy1tb2RlbD1cXFwibGVmdFBhbmVsQ3RybC5wcm94eU1vZGVsLnRlbXBvcnlDb25maWcuZm9ybWx5RGVzY2lwdGlvblxcXCJcXG4gICAgICAgICAgICBpZD1cXFwiRGVzY3JpcHRpb25VcGRhdGVcXFwiXFxuICAgICAgICAgICAgcGxhY2Vob2xkZXI9XFxcIkFkZCAvIGVkaXQgZGVzY3JpcHRpb24gaGVyZVxcXCIgPlxcbiAgICAgICAgPC9kaXY+XFxuICAgICAgIDwvZGl2PlxcbiAgICAgIDwvZGl2PlxcbiAgICA8L2Rpdj5cXG4gIDwvZGl2PlxcbiAgPGxlZnQtcGFuZWwtdmFsaWQtZWRpdC1mb290ZXIgLz5cXG48L2Rpdj5cXG5cIlxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vc3JjL2FwcC9kcmFnZHJvcHdheS9jb21wb25lbnRzL2xlZnRQYW5lbC9QYXNzd29yZENvbnRyb2wvZWRhRHJhZ0Ryb3BXYXkubGVmdHBhbmVsLnBhc3N3b3JkQ29udHJvbC50ZW1wbGF0ZS5odG1sXG4vLyBtb2R1bGUgaWQgPSAzNlxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwic291cmNlUm9vdCI6IiJ9");
|
|
|
|
/***/ },
|
|
/* 37 */
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.LEFT_PANEL_HEADER_CONTROL_DIRECTIVE = undefined;\n\nvar _edaDragDropWayLeftpanelHeaderControlTemplate = __webpack_require__(38);\n\nvar _edaDragDropWayLeftpanelHeaderControlTemplate2 = _interopRequireDefault(_edaDragDropWayLeftpanelHeaderControlTemplate);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar LEFT_PANEL_HEADER_CONTROL_DIRECTIVE = 'leftPanelHeaderControl';\n\nfunction leftPanelHeaderControl() {\n var directive = {\n restrict: 'E',\n template: _edaDragDropWayLeftpanelHeaderControlTemplate2.default\n };\n return directive;\n}\n\nleftPanelHeaderControl.$inject = [];\n\nexports.default = leftPanelHeaderControl;\nexports.LEFT_PANEL_HEADER_CONTROL_DIRECTIVE = LEFT_PANEL_HEADER_CONTROL_DIRECTIVE;//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvbGVmdFBhbmVsL0hlYWRlckNvbnRyb2wvZWRhRHJhZ0Ryb3BXYXkubGVmdHBhbmVsLmhlYWRlckNvbnRyb2wuZGlyZWN0aXZlLmpzPzhjNmMiXSwibmFtZXMiOlsiTEVGVF9QQU5FTF9IRUFERVJfQ09OVFJPTF9ESVJFQ1RJVkUiLCJsZWZ0UGFuZWxIZWFkZXJDb250cm9sIiwiZGlyZWN0aXZlIiwicmVzdHJpY3QiLCJ0ZW1wbGF0ZSIsIiRpbmplY3QiXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFBQTs7Ozs7O0FBRUEsSUFBTUEsc0NBQXNDLHdCQUE1Qzs7QUFFQSxTQUFTQyxzQkFBVCxHQUFrQztBQUNoQyxNQUFJQyxZQUFZO0FBQ2RDLGNBQVcsR0FERztBQUVkQztBQUZjLEdBQWhCO0FBSUEsU0FBT0YsU0FBUDtBQUVEOztBQUVERCx1QkFBdUJJLE9BQXZCLEdBQWlDLEVBQWpDOztrQkFFZUosc0I7UUFHYkQsbUMsR0FBQUEsbUMiLCJmaWxlIjoiMzcuanMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgbGVmdFBhbmVsSGVhZGVyQ29udHJvbFRlbXBsYXRlIGZyb20gJy4vZWRhRHJhZ0Ryb3BXYXkubGVmdHBhbmVsLmhlYWRlckNvbnRyb2wudGVtcGxhdGUuaHRtbCc7XG5cbmNvbnN0IExFRlRfUEFORUxfSEVBREVSX0NPTlRST0xfRElSRUNUSVZFID0gJ2xlZnRQYW5lbEhlYWRlckNvbnRyb2wnO1xuXG5mdW5jdGlvbiBsZWZ0UGFuZWxIZWFkZXJDb250cm9sKCkgeyAgXG4gIGxldCBkaXJlY3RpdmUgPSB7XG4gICAgcmVzdHJpY3QgOiAnRScsXG4gICAgdGVtcGxhdGUgOiBsZWZ0UGFuZWxIZWFkZXJDb250cm9sVGVtcGxhdGVcbiAgfTtcbiAgcmV0dXJuIGRpcmVjdGl2ZTtcblxufVxuXG5sZWZ0UGFuZWxIZWFkZXJDb250cm9sLiRpbmplY3QgPSBbXTtcblxuZXhwb3J0IGRlZmF1bHQgbGVmdFBhbmVsSGVhZGVyQ29udHJvbDtcblxuZXhwb3J0IHtcbiAgTEVGVF9QQU5FTF9IRUFERVJfQ09OVFJPTF9ESVJFQ1RJVkVcbn07XG5cblxuXG4vLyBXRUJQQUNLIEZPT1RFUiAvL1xuLy8gLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvbGVmdFBhbmVsL0hlYWRlckNvbnRyb2wvZWRhRHJhZ0Ryb3BXYXkubGVmdHBhbmVsLmhlYWRlckNvbnRyb2wuZGlyZWN0aXZlLmpzIl0sInNvdXJjZVJvb3QiOiIifQ==");
|
|
|
|
/***/ },
|
|
/* 38 */
|
|
/***/ 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-pencil-square-o\\\"></i>\\n \\n Edit properties :\\n </h5>\\n </div>\\n </div>\\n <div class=\\\"marginTopFivepixels\\\"></div>\\n <div class=\\\"row\\\">\\n <div class=\\\"form-group\\\">\\n <div class=\\\"col-md-12\\\">\\n <label\\n for=\\\"inputTextDescriptionUpdate\\\"\\n class=\\\"control-label greyText editPropertiesLabel\\\">\\n Header text :\\n </label>\\n <div class=\\\"\\\">\\n <input\\n type=\\\"text\\\"\\n class=\\\"form-control\\\"\\n ng-model=\\\"leftPanelCtrl.proxyModel.temporyConfig.formlyDesciption\\\"\\n id=\\\"inputHeaderTextUpdate\\\"\\n placeholder=\\\"Add / edit header text here\\\" >\\n </div>\\n </div>\\n </div>\\n </div>\\n </div>\\n <left-panel-valid-edit-footer />\\n</div>\\n\"//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvbGVmdFBhbmVsL0hlYWRlckNvbnRyb2wvZWRhRHJhZ0Ryb3BXYXkubGVmdHBhbmVsLmhlYWRlckNvbnRyb2wudGVtcGxhdGUuaHRtbD9jMTk5Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLG1QQUFtUCIsImZpbGUiOiIzOC5qcyIsInNvdXJjZXNDb250ZW50IjpbIm1vZHVsZS5leHBvcnRzID0gXCI8ZGl2IGNsYXNzPVxcXCJwYW5lbCBwYW5lbC1kZWZhdWx0XFxcIj5cXG4gIDxkaXYgY2xhc3M9XFxcInBhbmVsLWJvZHlcXFwiPlxcbiAgICA8ZGl2IGNsYXNzPVxcXCJyb3dcXFwiPlxcbiAgICAgIDxkaXYgY2xhc3M9XFxcImNvbC1tZC0xMlxcXCI+XFxuICAgICAgICA8aDUgY2xhc3M9XFxcImdyZXlUZXh0XFxc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DwvZGl2PlxcbiAgICAgICA8L2Rpdj5cXG4gICAgICA8L2Rpdj5cXG4gICAgPC9kaXY+XFxuICA8L2Rpdj5cXG4gIDxsZWZ0LXBhbmVsLXZhbGlkLWVkaXQtZm9vdGVyIC8+XFxuPC9kaXY+XFxuXCJcblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL3NyYy9hcHAvZHJhZ2Ryb3B3YXkvY29tcG9uZW50cy9sZWZ0UGFuZWwvSGVhZGVyQ29udHJvbC9lZGFEcmFnRHJvcFdheS5sZWZ0cGFuZWwuaGVhZGVyQ29udHJvbC50ZW1wbGF0ZS5odG1sXG4vLyBtb2R1bGUgaWQgPSAzOFxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwic291cmNlUm9vdCI6IiJ9");
|
|
|
|
/***/ },
|
|
/* 39 */
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.LEFT_PANEL_GROUPED_SELECT_CONTROL_DIRECTIVE = undefined;\n\nvar _edaDragDropWayLeftpanelGroupedSelectControlTemplate = __webpack_require__(40);\n\nvar _edaDragDropWayLeftpanelGroupedSelectControlTemplate2 = _interopRequireDefault(_edaDragDropWayLeftpanelGroupedSelectControlTemplate);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar LEFT_PANEL_GROUPED_SELECT_CONTROL_DIRECTIVE = 'leftPanelGroupedSelectControl';\n\nfunction leftPanelGroupedSelectControl() {\n var directive = {\n restrict: 'E',\n template: _edaDragDropWayLeftpanelGroupedSelectControlTemplate2.default\n };\n return directive;\n}\n\nleftPanelGroupedSelectControl.$inject = [];\n\nexports.default = leftPanelGroupedSelectControl;\nexports.LEFT_PANEL_GROUPED_SELECT_CONTROL_DIRECTIVE = LEFT_PANEL_GROUPED_SELECT_CONTROL_DIRECTIVE;//# sourceMapp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xHcm91cGVkU2VsZWN0Q29udHJvbCgpIHtcbiAgbGV0IGRpcmVjdGl2ZSA9IHtcbiAgICByZXN0cmljdCA6ICdFJyxcbiAgICB0ZW1wbGF0ZSA6IGxlZnRQYW5lbEdyb3VwZWRTZWxlY3RDb250cm9sVGVtcGxhdGVcbiAgfTtcbiAgcmV0dXJuIGRpcmVjdGl2ZTtcbn1cblxubGVmdFBhbmVsR3JvdXBlZFNlbGVjdENvbnRyb2wuJGluamVjdCA9IFtdO1xuXG5leHBvcnQgZGVmYXVsdCBsZWZ0UGFuZWxHcm91cGVkU2VsZWN0Q29udHJvbDtcblxuZXhwb3J0IHtcbiAgTEVGVF9QQU5FTF9HUk9VUEVEX1NFTEVDVF9DT05UUk9MX0RJUkVDVElWRVxufTtcblxuXG5cbi8vIFdFQlBBQ0sgRk9PVEVSIC8vXG4vLyAuL3NyYy9hcHAvZHJhZ2Ryb3B3YXkvY29tcG9uZW50cy9sZWZ0UGFuZWwvR3JvdXBlZFNlbGVjdENvbnRyb2wvZWRhRHJhZ0Ryb3BXYXkubGVmdHBhbmVsLmdyb3VwZWRTZWxlY3RDb250cm9sLmRpcmVjdGl2ZS5qcyJdLCJzb3VyY2VSb290IjoiIn0=");
|
|
|
|
/***/ },
|
|
/* 40 */
|
|
/***/ 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-pencil-square-o\\\"></i>\\n \\n Edit properties :\\n </h5>\\n </div>\\n </div>\\n <div class=\\\"marginTopFivepixels\\\"></div>\\n <div class=\\\"row\\\">\\n <div class=\\\"col-lg-12 col-md-12\\\">\\n <label\\n for=\\\"groupedSelectRowCollection\\\"\\n class=\\\"control-label greyText editPropertiesLabel\\\">\\n Add new options :\\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 new option\\\"\\n ng-model=\\\"leftPanelCtrl.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=\\\"leftPanelCtrl.addNewOptionGroupedSelect()\\\">\\n add\\n </button>\\n </div>\\n </div>\\n </div>\\n </div>\\n <div class=\\\"row\\\">\\n <div class=\\\"col-lg-12 col-md-12\\\">\\n <label\\n for=\\\"groupedSelectRowCollection\\\"\\n class=\\\" control-label greyText editPropertiesLabel\\\">\\n Add new groups :\\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=\\\"leftPanelCtrl.newGroupGroupedSelect.saisie\\\"\\n placeholder=\\\"Add new group\\\">\\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=\\\"leftPanelCtrl.addNewGroupToGroupedSelect()\\\">\\n add\\n </button>\\n </div>\\n </div>\\n </div>\\n </div>\\n <div class=\\\"row\\\">\\n <div class=\\\"col-lg-12 col-md-12\\\">\\n <label\\n class=\\\" control-label greyText editPropertiesLabel\\\">\\n Edit/Remove options/groups:\\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=\\\"leftPanelCtrl.groupedSelectRowCollection.rows.length === 0\\\">\\n <h5 class=\\\"text-center greyText\\\">\\n <em>\\n - no option : add new options -\\n </em>\\n </h5>\\n </div>\\n <table\\n ng-if=\\\"leftPanelCtrl.groupedSelectRowCollection.rows.length > 0\\\"\\n class=\\\"table table-striped\\\">\\n <thead>\\n <tr>\\n <th st-ratio=\\\"20\\\">\\n order\\n </th>\\n <th st-ratio=\\\"25\\\">\\n group\\n </th>\\n <th st-ratio=\\\"30\\\">\\n option\\n </th>\\n <th st-ratio=\\\"25\\\"></th>\\n </tr>\\n <tr>\\n <th st-ratio=\\\"20\\\"></th>\\n <th st-ratio=\\\"25\\\"></th>\\n <th st-ratio=\\\"30\\\">\\n <input\\n ng-model=\\\"groupedSelectFilter\\\"\\n placeholder=\\\"search for option\\\"\\n class=\\\"input-sm form-control\\\"\\n type=\\\"search\\\" />\\n </th>\\n <th st-ratio=\\\"25\\\"></th>\\n </tr>\\n </thead>\\n <tbody>\\n <tr\\n ng-repeat=\\\"groupedSelectRow in leftPanelCtrl.groupedSelectRowCollection.rows | filter:groupedSelectFilter as groupedSelectRow\\\">\\n <td st-ratio=\\\"20\\\">\\n {{$index}}\\n </td>\\n <td st-ratio=\\\"25\\\">\\n <div ng-if=\\\"leftPanelCtrl.groupSelectGroupClick.showList === true\\\">\\n <div ng-if=\\\"leftPanelCtrl.GroupedSelectGroups.list.length === 0\\\">\\n <p class=\\\"text-left noGroupText\\\">\\n - add new groups -\\n </p>\\n </div>\\n <div ng-if=\\\"leftPanelCtrl.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=\\\"leftPanelCtrl.GroupedSelectGroups.list.length === 0\\\">\\n <li\\n class=\\\"nya-bs-option\\\"\\n nya-bs-option=\\\"GroupedSelectGroup in leftPanelCtrl.GroupedSelectGroups.list\\\"\\n value=\\\"GroupedSelectGroup\\\">\\n <a>\\n {{GroupedSelectGroup}}\\n </a>\\n </li>\\n </ol>\\n </div>\\n </div>\\n <div ng-if=\\\"leftPanelCtrl.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=\\\"leftPanelCtrl.upThisGroupedSelectRow($index)\\\">\\n <i class=\\\"fa fa-arrow-up\\\"></i>\\n </button>\\n <button\\n class=\\\"btn btn-primary\\\"\\n ng-click=\\\"leftPanelCtrl.downThisGroupedSelectRow($index)\\\">\\n <i class=\\\"fa fa-arrow-down\\\"></i>\\n </button>\\n <button\\n class=\\\"btn btn-warning\\\"\\n ng-click=\\\"leftPanelCtrl.showGroupListToChoose()\\\">\\n <i class=\\\"fa fa-pencil-square-o\\\"></i>\\n </button>\\n <button\\n class=\\\"btn btn-danger\\\"\\n ng-click=\\\"leftPanelCtrl.removeGroupedSelectRow($index)\\\">\\n <i class=\\\"fa fa-trash-o\\\"></i>\\n </button>\\n </div>\\n </td>\\n </tr>\\n </tbody>\\n </table>\\n </div>\\n </div>\\n </div>\\n </div>\\n <div class=\\\"marginTopFivepixels\\\"></div>\\n <div class=\\\"row\\\">\\n <div class=\\\"form-group\\\">\\n\\t\\t\\t\\t<div class=\\\"col-md-12\\\">\\n <label\\n for=\\\"DescriptionUpdate\\\"\\n class=\\\"control-label greyText editPropertiesLabel\\\">\\n Description :\\n </label>\\n <div class=\\\"\\\">\\n <input\\n type=\\\"text\\\"\\n class=\\\"form-control\\\"\\n ng-model=\\\"leftPanelCtrl.proxyModel.temporyConfig.formlyDesciption\\\"\\n id=\\\"DescriptionUpdate\\\"\\n placeholder=\\\"Add / edit description here\\\">\\n </div>\\n\\t\\t\\t\\t</div>\\n </div>\\n </div>\\n </div>\\n <left-panel-valid-edit-footer />\\n</div>\\n\"//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvbGVmdFBhbmVsL0dyb3VwZWRTZWxlY3RDb250cm9sL2VkYURyYWdEcm9wV2F5LmxlZnRwYW5lbC5ncm91cGVkU2VsZWN0Q29udHJvbC50ZW1wbGF0ZS5odG1sPzY0N2MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsbVBBQW1QLDY3SEFBNjdILFFBQVEsNm5DQUE2bkMsb0JBQW9CLG9RQUFvUSx3QkFBd0IsNkdBQTZHLHlCQUF5QiIsImZpbGUiOiI0MC5qcyIsInNvdXJjZXNDb250ZW50IjpbIm1vZHVsZS5leHBvcnRzID0gXCI8ZGl2IGNsYXNzPVxcXCJwYW5lbCBwYW5lbC1kZWZhdWx0XFxcIj5cXG4gIDxkaXYgY2xhc3M9XFxcInBhbmVsLWJvZHlcXFwiPlxcbiAgICA8ZGl2IGNsYXNzPVxcXCJyb3dcXFwiPlxcbiAgICAgIDxkaXYgY2xhc3M9XFxcImNvbC1tZC0xMlxcXCI+XFxuICAgICAgICA8aDUgY2xhc3M9XFxcImdyZXlUZXh0XFxcIj5cXG4gICAgICAgICAgPGkgY2xhc3M9XFxcImZhIGZhLXBlbmNpbC1zcXVhcmUtb1xcXCI+PC9pPlxcbiAgICAgICAgICAmbmJzcDtcXG4gICAgICAgICAgRWRpdCBwcm9wZXJ0aWVzIDpcXG4gICAgICAgIDwvaDU+XFxuICAgICAgPC9kaXY+XFxuICAgIDwvZGl2PlxcbiAgICA8ZGl2IGNsYXNzPVxcXCJtYXJnaW5Ub3BGaXZlcGl4ZWxzXFxcIj48L2Rpdj5cXG4gICAgPGRpdiBjbGFzcz1cXFwicm93XFxcIj5cXG4gICAgICA8ZG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AgICAgICAgPGRpdiBjbGFzcz1cXFwiY29udGFpbmVyXFxcIj5cXG4gICAgICAgICAgICA8ZGl2IG5nLWlmPVxcXCJsZWZ0UGFuZWxDdHJsLmdyb3VwZWRTZWxlY3RSb3dDb2xsZWN0aW9uLnJvd3MubGVuZ3RoID09PSAwXFxcIj5cXG4gICAgICAgICAgICAgIDxoNSBjbGFzcz1cXFwidGV4dC1jZW50ZXIgZ3JleVRleHRcXFwiPlxcbiAgICAgICAgICAgICAgICA8ZW0+XFxuICAgICAgICAgICAgICAgICAgLSBubyBvcHRpb24gOiBhZGQgbmV3IG9wdGlvbnMgLVxcbiAgICAgICAgICAgICAgICA8L2VtPlxcbiAgICAgICAgICAgICAgPC9oNT5cXG4gICAgICAgICAgICA8L2Rpdj5cXG4gICAgICAgICAgICA8dGFibGVcXG4gICAgICAgICAgICAgIG5nLWlmPVxcXCJsZWZ0UGFuZWxDdHJsLmdyb3VwZWRTZWxlY3RSb3dDb2xsZWN0aW9uLnJvd3MubGVuZ3RoID4gMFxcXCJcXG4gICAgICAgICAgICAgIGNsYXNzPVxcXCJ0YWJsZSB0YWJsZS1zdHJpcGVkXFxcIj5cXG4gICAgICAgICAgICAgIDx0aGVhZD5cXG4gICAgICAgICAgICAgICAgPHRyPlxcbiAgICAgICAgICAgICAgICAgIDx0aCBzdC1yYXRpbz1cXFwiMjBcXFwiPlxcbiAgICAgICAgICAgICAgICAgICAgb3JkZXJcXG4gICAgICAgICAgICAgICAgICA8L3RoPlxcbiAgICAgICAgICAgICAgICAgIDx0aCBzdC1yYXRpbz1cXFwiMjVcXFwiPlxcbiAgICAgICAgICAgICAgICAgICAgZ3JvdXBcXG4gICAgICAgICAgICAgICAgICA8L3RoPlxcbiAgICAgICAgICAgICAgICAgIDx0aCBzdC1yYXRpbz1cXFwiMzBcXFwiPlxcbiAgICAgICAgICAgICAgICAgICAgb3B0aW9uXFxuICAgICAgICAgICAgICAgICAgPC90aD5cXG4gICAgICAgICAgICAgICAgICA8dGggc3QtcmF0aW89XFxcIjI1XFxcIj48L3RoPlxcbiAgICAgICAgICAgICAgICA8L3RyPlxcbiAgICAgICAgICAgICAgICA8dHI+XFxuICAgICAgICAgICAgICAgICAgPHRoIHN0LXJhdGlvPVxcXCIyMFxcXCI+PC90aD5cXG4gICAgICAgICAgICAgICAgICA8dGggc3QtcmF0aW89XFxcIjI1XFxcIj48L3RoPlxcbiAgICAgICAgICAgICAgICAgIDx0aCBzdC1yYXRpbz1cXFwiMzBcXFwiPlxcbiAgICAgICAgICAgICAgICAgICAgPGlucHV0XFxuICAgICAgICAgICAgICAgICAgICAgIG5nLW1vZGVsPVxcXCJncm91cGVkU2VsZWN0RmlsdGVyXFxcIlxcbiAgICAgICAgICAgICAgICAgICAgICBwbGFjZWhvbGRlcj1cXFwic2VhcmNoIGZvciBvcHRpb25cXFwiXFxuICAgICAgICAgICAgICAgICAgICAgIGNsYXNzPVxcXCJpbnB1dC1zbSBmb3JtLWNvbnRyb2xcXFwiXFxuICAgICAgICAgICAgICAgICAgICAgIHR5cGU9XFxcInNlYXJjaFxcXCIgLz5cXG4gICAgICAgICAgICAgICAgICA8L3RoPlxcbiAgICAgICAgICAgICAgICAgIDx0aCBzdC1yYXRpbz1cXFwiMjVcXFwiPjwvdGg+XFxuICAgICAgICAgICAgICAgIDwvdHI+XFxuICAgICAgICAgICAgICA8L3RoZWFkPlxcbiAgICAgICAgICAgICAgPHRib2R5PlxcbiAgICAgICAgICAgICAgPHRyXFxuICAgICAgICAgICAgICAgIG5nLXJlcGVhdD1cXFwiZ3JvdXBlZFNlbGVjdFJvdyBpbiBsZWZ0UGFuZWxDdHJsLmdyb3VwZWRTZWxlY3RSb3dDb2xsZWN0aW9uLnJvd3MgfCBmaWx0ZXI6Z3JvdXBlZFNlbGVjdEZpbHRlciBhcyBncm91cGVkU2VsZWN0Um93XFxcIj5cXG4gICAgICAgICAgICAgICAgPHRkIHN0LXJhdGlvPVxcXCIyMFxcXCI+XFxuICAgICAgICAgICAgICAgICAge3skaW5kZXh9fVxcbiAgICAgICAgICAgICAgICA8L3RkPlxcbiAgICAgICAgICAgICAgICA8dGQgc3QtcmF0aW89XFxcIjI1XFxcIj5cXG4gICAgICAgICAgICAgICAgICA8ZGl2IG5nLWlmPVxcXCJsZWZ0UGFuZWxDdHJsLmdyb3VwU2VsZWN0R3JvdXBDbGljay5zaG93TGlzdCA9PT0gdHJ1ZVxcXCI+XFxuICAgICAgICAgICAgICAgICAgICA8ZGl2IG5nLWlmPVxcXCJsZWZ0UGFuZWxDdHJsLkdyb3VwZWRTZWxlY3RHcm91cHMubGlzdC5sZW5ndGggPT09IDBcXFwiPlxcbiAgICAgICAgICAgICAgICAgICAgICA8cCBjbGFzcz1cXFwidGV4dC1sZWZ0IG5vR3JvdXBUZXh0XFxcIj5cXG4gICAgICAgICAgICAgICAgICAgICAgICAtIGFkZCBuZXcgZ3JvdXBzIC1cXG4gICAgICAgICAgICAgICAgICAgICAgPC9wPlxcbiAgICAgICAgICAgICAgICAgICAgPC9kaXY+XFxuICAgICAgICAgICAgICAgICAgICA8ZGl2IG5nLWlmPVxcXCJsZWZ0UGFuZWxDdHJsLkdyb3VwZWRTZWxlY3RHcm91cHMubGlzdC5sZW5ndGggPiAwXFxcIj5cXG4gICAgICAgICAgICAgICAgICAgICAgPG9sXFxuICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3M9XFxcIm55YS1icy1zZWxlY3QgY29sLXNtLTEyIGNvbC14cy0xMiBjb2wtbWQtMTIgY29sLWxnMTIgZWRpdEdyb3VwZWRTZWxlY3RueWFTZWxlY3RcXFwiXFxuICAgICAgICAgICAgICAgICAgICAgICAgbmctbW9kZWw9XFxcImdyb3VwZWRTZWxlY3RSb3cuZ3JvdXBcXFwiXFxuICAgICAgICAgICAgICAgICAgICAgICAgaWQ9XFxcIm1vZGVsR3JvdXBlZE9wdGlvbkdyb3VwZWRDaG9vc2VcXFwiXFxuICAgICAgICAgICAgICAgICAgICAgICAgZGlzYWJsZWQ9XFxcImxlZnRQYW5lbEN0cmwuR3JvdXBlZFNlbGVjdEdyb3Vwcy5saXN0Lmxlbmd0aCA9PT0gMFxcXCI+XFxuICAgICAgICAgICAgICAgICAgICAgICAgPGxpXFxuICAgICAgICAgICAgICAgICAgICAgICAgICBjbGFzcz1cXFwibnlhLWJzLW9wdGlvblxcXCJcXG4gICAgICAgICAgICAgICAgICAgICAgICAgIG55YS1icy1vcHRpb249XFxcIkdyb3VwZWRTZWxlY3RHcm91cCBpbiBsZWZ0UGFuZWxDdHJsLkdyb3VwZWRTZWxlY3RHcm91cHMubGlzdFxcXCJcXG4gICAgICAgICAgICAgICAgICAgICAgICAgIHZhbHVlPVxcXCJHcm91cGVkU2VsZWN0R3JvdXBcXFwiPlxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgPGE+XFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHt7R3JvdXBlZFNlbGVjdEdyb3VwfX1cXG4gICAgICAgICAgICAgICAgICAgICAgICAgIDwvYT5cXG4gICAgICAgICAgICAgICAgICAgICAgICA8L2xpPlxcbiAgICAgICAgICAgICAgICAgICAgICA8L29sPlxcbiAgICAgICAgICAgICAgICAgICAgPC9kaXY+XFxuICAgICAgICAgICAgICAgICAgPC9kaXY+XFxuICAgICAgICAgICAgICAgICAgPGRpdiBuZy1pZj1cXFwibGVmdFBhbmVsQ3RybC5ncm91cFNlbGVjdEdyb3VwQ2xpY2suc2hvd0xpc3QgPT09IGZhbHNlXFxcIj5cXG4gICAgICAgICAgICAgICAgICAgIHt7Z3JvdXBlZFNlbGVjdFJvdy5ncm91cH19XFxuICAgICAgICAgICAgICAgICAgPC9kaXY+XFxuICAgICAgICAgICAgICAgIDwvdGQ+XFxuICAgICAgICAgICAgICAgIDx0ZCBzdC1yYXRpbz1cXFwiMzBcXFwiPlxcbiAgICAgICAgICAgICAgICAgIHt7Z3JvdXBlZFNlbGVjdFJvdy5vcHRpb259fVxcbiAgICAgICAgICAgICAgICA8L3RkPlxcbiAgICAgICAgICAgICAgICA8dGQgc3QtcmF0aW89XFxcIjI1XFxcIj5cXG4gICAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVxcXCJwdWxsLXJpZ2h0XFxcIj5cXG4gICAgICAgICAgICAgICAgICAgIDxidXR0b25cXG4gICAgICAgICAgICAgICAgICAgICAgY2xhc3M9XFxcImJ0biBidG4tcHJpbWFyeVxcXCJcXG4gICAgICAgICAgICAgICAgICAgICAgbmctY2xpY2s9XFxcImxlZnRQYW5lbEN0cmwudXBUaGlzR3JvdXBlZFNlbGVjdFJvdygkaW5kZXgpXFxcIj5cXG4gICAgICAgICAgICAgICAgICAgICAgPGkgY2xhc3M9XFxcImZhIGZhLWFycm93LXVwXFxcIj48L2k+XFxuICAgICAgICAgICAgICAgICAgICA8L2J1dHRvbj5cXG4gICAgICAgICAgICAgICAgICAgIDxidXR0b25cXG4gICAgICAgICAgICAgICAgICAgICAgY2xhc3M9XFxcImJ0biBidG4tcHJpbWFyeVxcXCJcXG4gICAgICAgICAgICAgICAgICAgICAgbmctY2xpY2s9XFxcImxlZnRQYW5lbEN0cmwuZG93blRoaXNHcm91cGVkU2VsZWN0Um93KCRpbmRleClcXFwiPlxcbiAgICAgICAgICAgICAgICAgICAgICA8aSBjbGFzcz1cXFwiZmEgZmEtYXJyb3ctZG93blxcXCI+PC9pPlxcbiAgICAgICAgICAgICAgICAgICAgPC9idXR0b24+XFxuICAgICAgICAgICAgICAgICAgICA8YnV0dG9uXFxuICAgICAgICAgICAgICAgICAgICAgIGNsYXNzPVxcXCJidG4gYnRuLXdhcm5pbmdcXFwiXFxuICAgICAgICAgICAgICAgICAgICAgIG5nLWNsaWNrPVxcXCJsZWZ0UGFuZWxDdHJsLnNob3dHcm91cExpc3RUb0Nob29zZSgpXFxcIj5cXG4gICAgICAgICAgICAgICAgICAgICAgPGkgY2xhc3M9XFxcImZhIGZhLXBlbmNpbC1zcXVhcmUtb1xcXCI+PC9pPlxcbiAgICAgICAgICAgICAgICAgICAgP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cXG4gICAgICAgICAgICA8aW5wdXRcXG4gICAgICAgICAgICAgIHR5cGU9XFxcInRleHRcXFwiXFxuICAgICAgICAgICAgICBjbGFzcz1cXFwiZm9ybS1jb250cm9sXFxcIlxcbiAgICAgICAgICAgICAgbmctbW9kZWw9XFxcImxlZnRQYW5lbEN0cmwucHJveHlNb2RlbC50ZW1wb3J5Q29uZmlnLmZvcm1seURlc2NpcHRpb25cXFwiXFxuICAgICAgICAgICAgICBpZD1cXFwiRGVzY3JpcHRpb25VcGRhdGVcXFwiXFxuICAgICAgICAgICAgICBwbGFjZWhvbGRlcj1cXFwiQWRkIC8gZWRpdCBkZXNjcmlwdGlvbiBoZXJlXFxcIj5cXG4gICAgICAgICAgPC9kaXY+XFxuXFx0XFx0XFx0XFx0PC9kaXY+XFxuICAgICAgPC9kaXY+XFxuICAgIDwvZGl2PlxcbiAgPC9kaXY+XFxuICA8bGVmdC1wYW5lbC12YWxpZC1lZGl0LWZvb3RlciAvPlxcbjwvZGl2PlxcblwiXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvbGVmdFBhbmVsL0dyb3VwZWRTZWxlY3RDb250cm9sL2VkYURyYWdEcm9wV2F5LmxlZnRwYW5lbC5ncm91cGVkU2VsZWN0Q29udHJvbC50ZW1wbGF0ZS5odG1sXG4vLyBtb2R1bGUgaWQgPSA0MFxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwic291cmNlUm9vdCI6IiJ9");
|
|
|
|
/***/ },
|
|
/* 41 */
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.LEFT_PANEL_DATE_CONTROL_DIRECTIVE = undefined;\n\nvar _edaDragDropWayLeftpanelDateControlTemplate = __webpack_require__(42);\n\nvar _edaDragDropWayLeftpanelDateControlTemplate2 = _interopRequireDefault(_edaDragDropWayLeftpanelDateControlTemplate);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar LEFT_PANEL_DATE_CONTROL_DIRECTIVE = 'leftPanelDateControl';\n\nfunction leftPanelDateControl() {\n var directive = {\n restrict: 'E',\n template: _edaDragDropWayLeftpanelDateControlTemplate2.default\n };\n return directive;\n}\n\nleftPanelDateControl.$inject = [];\n\nexports.default = leftPanelDateControl;\nexports.LEFT_PANEL_DATE_CONTROL_DIRECTIVE = LEFT_PANEL_DATE_CONTROL_DIRECTIVE;//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvbGVmdFBhbmVsL0RhdGVDb250cm9sL2VkYURyYWdEcm9wV2F5LmxlZnRwYW5lbC5kYXRlQ29udHJvbC5kaXJlY3RpdmUuanM/Yjg0NiJdLCJuYW1lcyI6WyJMRUZUX1BBTkVMX0RBVEVfQ09OVFJPTF9ESVJFQ1RJVkUiLCJsZWZ0UGFuZWxEYXRlQ29udHJvbCIsImRpcmVjdGl2ZSIsInJlc3RyaWN0IiwidGVtcGxhdGUiLCIkaW5qZWN0Il0sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBQ0E7Ozs7OztBQUVBLElBQU1BLG9DQUFvQyxzQkFBMUM7O0FBRUEsU0FBU0Msb0JBQVQsR0FBZ0M7QUFDOUIsTUFBSUMsWUFBWTtBQUNkQyxjQUFXLEdBREc7QUFFZEM7QUFGYyxHQUFoQjtBQUlBLFNBQU9GLFNBQVA7QUFDRDs7QUFFREQscUJBQXFCSSxPQUFyQixHQUErQixFQUEvQjs7a0JBRWVKLG9CO1FBR2JELGlDLEdBQUFBLGlDIiwiZmlsZSI6IjQxLmpzIiwic291cmNlc0NvbnRlbnQiOlsiXG5pbXBvcnQgbGVmdFBhbmVsRGF0ZUNvbnRyb2xUZW1wbGF0ZSBmcm9tICcuL2VkYURyYWdEcm9wV2F5LmxlZnRwYW5lbC5kYXRlQ29udHJvbC50ZW1wbGF0ZS5odG1sJztcblxuY29uc3QgTEVGVF9QQU5FTF9EQVRFX0NPTlRST0xfRElSRUNUSVZFID0gJ2xlZnRQYW5lbERhdGVDb250cm9sJztcblxuZnVuY3Rpb24gbGVmdFBhbmVsRGF0ZUNvbnRyb2woKSB7XG4gIGxldCBkaXJlY3RpdmUgPSB7XG4gICAgcmVzdHJpY3QgOiAnRScsXG4gICAgdGVtcGxhdGUgOiBsZWZ0UGFuZWxEYXRlQ29udHJvbFRlbXBsYXRlXG4gIH07XG4gIHJldHVybiBkaXJlY3RpdmU7XG59XG5cbmxlZnRQYW5lbERhdGVDb250cm9sLiRpbmplY3QgPSBbXTtcblxuZXhwb3J0IGRlZmF1bHQgbGVmdFBhbmVsRGF0ZUNvbnRyb2w7XG5cbmV4cG9ydCB7XG4gIExFRlRfUEFORUxfREFURV9DT05UUk9MX0RJUkVDVElWRVxufTtcblxuXG5cbi8vIFdFQlBBQ0sgRk9PVEVSIC8vXG4vLyAuL3NyYy9hcHAvZHJhZ2Ryb3B3YXkvY29tcG9uZW50cy9sZWZ0UGFuZWwvRGF0ZUNvbnRyb2wvZWRhRHJhZ0Ryb3BXYXkubGVmdHBhbmVsLmRhdGVDb250cm9sLmRpcmVjdGl2ZS5qcyJdLCJzb3VyY2VSb290IjoiIn0=");
|
|
|
|
/***/ },
|
|
/* 42 */
|
|
/***/ 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-pencil-square-o\\\"></i>\\n \\n Edit properties :\\n </h5>\\n </div>\\n </div>\\n <div class=\\\"marginTopFivepixels\\\"></div>\\n <label class=\\\"control-label greyText editPropertiesLabel\\\">\\n Date format :\\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=\\\"leftPanelCtrl.proxyModel.temporyConfig.datepickerPopup\\\"\\n id=\\\"dateformatSelect\\\">\\n <li\\n class=\\\"nya-bs-option\\\"\\n nya-bs-option=\\\"dateformat in leftPanelCtrl.demodt.formats\\\"\\n value=\\\"dateformat\\\">\\n <a>\\n {{dateformat}}\\n </a>\\n </li>\\n </ol>\\n </div>\\n <div class=\\\"marginTopFivepixels\\\"></div>\\n <div class=\\\"row\\\">\\n <div class=\\\"form-group\\\">\\n <div class=\\\"col-md-12\\\">\\n <label\\n for=\\\"inputTextLabelUpdate\\\"\\n class=\\\" control-label greyText editPropertiesLabel\\\">\\n Label text :\\n </label>\\n <div class=\\\"\\\">\\n <input\\n type=\\\"text\\\"\\n class=\\\"form-control\\\"\\n ng-model=\\\"leftPanelCtrl.proxyModel.temporyConfig.formlyLabel\\\"\\n id=\\\"inputTextLabelUpdate\\\"\\n placeholder=\\\"Add / edit control label here\\\">\\n </div>\\n </div>\\n </div>\\n </div>\\n <div class=\\\"marginTopFivepixels\\\"></div>\\n <div class=\\\"row\\\">\\n <div class=\\\"form-group\\\">\\n <div class=\\\"\\\">\\n <label\\n for=\\\"RequiredUpdate\\\"\\n class=\\\"col-md-4 control-label greyText editPropertiesLabel\\\">\\n Required :\\n </label>\\n <div class=\\\"col-md-8\\\">\\n <div class=\\\"checkboxCssCorrection\\\"> </div>\\n <input\\n type=\\\"checkbox\\\"\\n ng-model=\\\"leftPanelCtrl.proxyModel.temporyConfig.formlyRequired\\\"\\n id=\\\"RequiredUpdate\\\">\\n </div>\\n </div>\\n </div>\\n </div>\\n <div class=\\\"marginTopFivepixels\\\"></div>\\n <div class=\\\"row\\\">\\n <div class=\\\"form-group\\\">\\n <div class=\\\"col-md-12\\\">\\n <label\\n for=\\\"DescriptionUpdate\\\"\\n class=\\\"control-label greyText editPropertiesLabel\\\">\\n Description :\\n </label>\\n <div class=\\\"\\\">\\n <input\\n type=\\\"text\\\"\\n class=\\\"form-control\\\"\\n ng-model=\\\"leftPanelCtrl.proxyModel.temporyConfig.formlyDesciption\\\"\\n id=\\\"DescriptionUpdate\\\"\\n placeholder=\\\"Add / edit description here\\\">\\n </div>\\n </div>\\n </div>\\n </div>\\n </div>\\n <left-panel-valid-edit-footer />\\n</div>\\n\"//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvbGVmdFBhbmVsL0RhdGVDb250cm9sL2VkYURyYWdEcm9wV2F5LmxlZnRwYW5lbC5kYXRlQ29udHJvbC50ZW1wbGF0ZS5odG1sPzAyYjciXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsbVBBQW1QLHltQkFBeW1CLFlBQVksOGpDQUE4akMiLCJmaWxlIjoiNDIuanMiLCJzb3VyY2VzQ29udGVudCI6WyJtb2R1bGUuZXhwb3J0cyA9IFwiPGRpdiBjbGFzcz1cXFwicGFuZWwgcGFuZWwtZGVmYXVsdFxcXCI+XFxuICA8ZGl2IGNsYXNzPVxcXCJwYW5lbC1ib2R5XFxcIj5cXG4gICAgPGRpdiBjbGFzcz1cXFwicm93XFxcIj5cXG4gICAgICA8ZGl2IGNsYXNzPVxcXCJjb2wtbWQtMTJcXFwiPlxcbiAgICAgICAgPGg1IGNsYXNzPVxcXCJncmV5VGV4dFxcXCI+XFxuICAgICAgICAgIDxpIGNsYXNzPVxcXCJmYSBmYS1wZW5jaWwtc3F1YXJlLW9cXFwiPjwvaT5cXG4gICAgICAgICAgJm5ic3A7XFxuICAgICAgICAgIEVkaXQgcHJvcGVydGllcyA6XFxuICAgICAgICA8L2g1PlxcbiAgICAgIDwvZGl2PlxcbiAgICA8L2Rpdj5cXG4gICAgPGRpdiBjb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gdHlwZT1cXFwidGV4dFxcXCJcXG4gICAgICAgICAgICBjbGFzcz1cXFwiZm9ybS1jb250cm9sXFxcIlxcbiAgICAgICAgICAgIG5nLW1vZGVsPVxcXCJsZWZ0UGFuZWxDdHJsLnByb3h5TW9kZWwudGVtcG9yeUNvbmZpZy5mb3JtbHlEZXNjaXB0aW9uXFxcIlxcbiAgICAgICAgICAgIGlkPVxcXCJEZXNjcmlwdGlvblVwZGF0ZVxcXCJcXG4gICAgICAgICAgICBwbGFjZWhvbGRlcj1cXFwiQWRkIC8gZWRpdCBkZXNjcmlwdGlvbiBoZXJlXFxcIj5cXG4gICAgICAgIDwvZGl2PlxcbiAgICAgICA8L2Rpdj5cXG4gICAgICA8L2Rpdj5cXG4gICAgPC9kaXY+XFxuICA8L2Rpdj5cXG4gIDxsZWZ0LXBhbmVsLXZhbGlkLWVkaXQtZm9vdGVyIC8+XFxuPC9kaXY+XFxuXCJcblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL3NyYy9hcHAvZHJhZ2Ryb3B3YXkvY29tcG9uZW50cy9sZWZ0UGFuZWwvRGF0ZUNvbnRyb2wvZWRhRHJhZ0Ryb3BXYXkubGVmdHBhbmVsLmRhdGVDb250cm9sLnRlbXBsYXRlLmh0bWxcbi8vIG1vZHVsZSBpZCA9IDQyXG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJzb3VyY2VSb290IjoiIn0=");
|
|
|
|
/***/ },
|
|
/* 43 */
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.LEFT_PANEL_CHECKBOX_CONTROL_DIRECTIVE = undefined;\n\nvar _edaDragDropWayLeftpanelCheckBoxControlTemplate = __webpack_require__(44);\n\nvar _edaDragDropWayLeftpanelCheckBoxControlTemplate2 = _interopRequireDefault(_edaDragDropWayLeftpanelCheckBoxControlTemplate);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar LEFT_PANEL_CHECKBOX_CONTROL_DIRECTIVE = 'leftPanelCheckBoxControl';\n\nfunction leftPanelCheckBoxControl() {\n var directive = {\n restrict: 'E',\n template: _edaDragDropWayLeftpanelCheckBoxControlTemplate2.default\n };\n return directive;\n}\n\nleftPanelCheckBoxControl.$inject = [];\n\nexports.default = leftPanelCheckBoxControl;\nexports.LEFT_PANEL_CHECKBOX_CONTROL_DIRECTIVE = LEFT_PANEL_CHECKBOX_CONTROL_DIRECTIVE;//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvbGVmdFBhbmVsL0NoZWNrQm94Q29udHJvbC9lZGFEcmFnRHJvcFdheS5sZWZ0cGFuZWwuY2hlY2tCb3hDb250cm9sLmRpcmVjdGl2ZS5qcz9iZjFhIl0sIm5hbWVzIjpbIkxFRlRfUEFORUxfQ0hFQ0tCT1hfQ09OVFJPTF9ESVJFQ1RJVkUiLCJsZWZ0UGFuZWxDaGVja0JveENvbnRyb2wiLCJkaXJlY3RpdmUiLCJyZXN0cmljdCIsInRlbXBsYXRlIiwiJGluamVjdCJdLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUNBOzs7Ozs7QUFFQSxJQUFNQSx3Q0FBd0MsMEJBQTlDOztBQUVBLFNBQVNDLHdCQUFULEdBQW9DO0FBQ2xDLE1BQUlDLFlBQVk7QUFDZEMsY0FBVyxHQURHO0FBRWRDO0FBRmMsR0FBaEI7QUFJQSxTQUFPRixTQUFQO0FBQ0Q7O0FBRURELHlCQUF5QkksT0FBekIsR0FBbUMsRUFBbkM7O2tCQUVlSix3QjtRQUdiRCxxQyxHQUFBQSxxQyIsImZpbGUiOiI0My5qcyIsInNvdXJjZXNDb250ZW50IjpbIlxuaW1wb3J0IGxlZnRQYW5lbENoZWNrQm94Q29udHJvbFRlbXBsYXRlIGZyb20gJy4vZWRhRHJhZ0Ryb3BXYXkubGVmdHBhbmVsLmNoZWNrQm94Q29udHJvbC50ZW1wbGF0ZS5odG1sJztcblxuY29uc3QgTEVGVF9QQU5FTF9DSEVDS0JPWF9DT05UUk9MX0RJUkVDVElWRSA9ICdsZWZ0UGFuZWxDaGVja0JveENvbnRyb2wnO1xuXG5mdW5jdGlvbiBsZWZ0UGFuZWxDaGVja0JveENvbnRyb2woKSB7XG4gIGxldCBkaXJlY3RpdmUgPSB7XG4gICAgcmVzdHJpY3QgOiAnRScsXG4gICAgdGVtcGxhdGUgOiBsZWZ0UGFuZWxDaGVja0JveENvbnRyb2xUZW1wbGF0ZVxuICB9O1xuICByZXR1cm4gZGlyZWN0aXZlO1xufVxuXG5sZWZ0UGFuZWxDaGVja0JveENvbnRyb2wuJGluamVjdCA9IFtdO1xuXG5leHBvcnQgZGVmYXVsdCBsZWZ0UGFuZWxDaGVja0JveENvbnRyb2w7XG5cbmV4cG9ydCB7XG4gIExFRlRfUEFORUxfQ0hFQ0tCT1hfQ09OVFJPTF9ESVJFQ1RJVkVcbn07XG5cblxuXG4vLyBXRUJQQUNLIEZPT1RFUiAvL1xuLy8gLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvbGVmdFBhbmVsL0NoZWNrQm94Q29udHJvbC9lZGFEcmFnRHJvcFdheS5sZWZ0cGFuZWwuY2hlY2tCb3hDb250cm9sLmRpcmVjdGl2ZS5qcyJdLCJzb3VyY2VSb290IjoiIn0=");
|
|
|
|
/***/ },
|
|
/* 44 */
|
|
/***/ 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-pencil-square-o\\\"></i>\\n \\n Edit properties :\\n </h5>\\n </div>\\n </div>\\n <div class=\\\"marginTopFivepixels\\\"></div>\\n <div class=\\\"row\\\">\\n <div class=\\\"form-group\\\">\\n \\t\\t\\t<div class=\\\"col-md-12\\\">\\n <label\\n for=\\\"inputTextLabelUpdate\\\"\\n class=\\\" control-label greyText editPropertiesLabel\\\">\\n Label text :\\n </label>\\n <div class=\\\"\\\">\\n <input\\n type=\\\"text\\\"\\n class=\\\"form-control\\\"\\n ng-model=\\\"leftPanelCtrl.proxyModel.temporyConfig.formlyLabel\\\"\\n id=\\\"inputTextLabelUpdate\\\"\\n placeholder=\\\"Add / edit control label here\\\">\\n </div>\\n \\t\\t\\t</div>\\n </div>\\n </div>\\n <div class=\\\"marginTopFivepixels\\\"></div>\\n <div class=\\\"row\\\">\\n <div class=\\\"form-group\\\">\\n \\t\\t\\t<div class=\\\"\\\">\\n <label\\n for=\\\"RequiredUpdate\\\"\\n class=\\\"col-md-4 control-label greyText editPropertiesLabel\\\">\\n Required :\\n </label>\\n <div class=\\\"col-md-8\\\">\\n <div class=\\\"checkboxCssCorrection\\\"> </div>\\n <input\\n type=\\\"checkbox\\\"\\n ng-model=\\\"leftPanelCtrl.proxyModel.temporyConfig.formlyRequired\\\"\\n id=\\\"RequiredUpdate\\\">\\n </div>\\n \\t\\t\\t</div>\\n </div>\\n </div>\\n <div class=\\\"marginTopFivepixels\\\"></div>\\n <div class=\\\"row\\\">\\n <div class=\\\"form-group\\\">\\n \\t\\t\\t<div class=\\\"col-md-12\\\">\\n <label\\n for=\\\"DescriptionUpdate\\\"\\n class=\\\"control-label greyText editPropertiesLabel\\\">\\n Description :\\n </label>\\n <div class=\\\"\\\">\\n <input\\n type=\\\"text\\\"\\n class=\\\"form-control\\\"\\n ng-model=\\\"leftPanelCtrl.proxyModel.temporyConfig.formlyDesciption\\\"\\n id=\\\"DescriptionUpdate\\\"\\n placeholder=\\\"Add / edit description here\\\">\\n </div>\\n \\t\\t\\t</div>\\n </div>\\n </div>\\n </div>\\n <left-panel-valid-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xcIj5cXG4gICAgICAgICAgICA8aW5wdXRcXG4gICAgICAgICAgICAgIHR5cGU9XFxcInRleHRcXFwiXFxuICAgICAgICAgICAgICBjbGFzcz1cXFwiZm9ybS1jb250cm9sXFxcIlxcbiAgICAgICAgICAgICAgbmctbW9kZWw9XFxcImxlZnRQYW5lbEN0cmwucHJveHlNb2RlbC50ZW1wb3J5Q29uZmlnLmZvcm1seURlc2NpcHRpb25cXFwiXFxuICAgICAgICAgICAgICBpZD1cXFwiRGVzY3JpcHRpb25VcGRhdGVcXFwiXFxuICAgICAgICAgICAgICBwbGFjZWhvbGRlcj1cXFwiQWRkIC8gZWRpdCBkZXNjcmlwdGlvbiBoZXJlXFxcIj5cXG4gICAgICAgICAgPC9kaXY+XFxuICBcXHRcXHRcXHQ8L2Rpdj5cXG4gICAgICA8L2Rpdj5cXG4gICAgPC9kaXY+XFxuICA8L2Rpdj5cXG4gIDxsZWZ0LXBhbmVsLXZhbGlkLWVkaXQtZm9vdGVyIC8+XFxuPC9kaXY+XFxuXCJcblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL3NyYy9hcHAvZHJhZ2Ryb3B3YXkvY29tcG9uZW50cy9sZWZ0UGFuZWwvQ2hlY2tCb3hDb250cm9sL2VkYURyYWdEcm9wV2F5LmxlZnRwYW5lbC5jaGVja0JveENvbnRyb2wudGVtcGxhdGUuaHRtbFxuLy8gbW9kdWxlIGlkID0gNDRcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sInNvdXJjZVJvb3QiOiIifQ==");
|
|
|
|
/***/ },
|
|
/* 45 */
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.LEFT_PANEL_BLANK_CONTROL_DIRECTIVE = undefined;\n\nvar _edaDragDropWayLeftpanelBlankControlTemplate = __webpack_require__(46);\n\nvar _edaDragDropWayLeftpanelBlankControlTemplate2 = _interopRequireDefault(_edaDragDropWayLeftpanelBlankControlTemplate);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar LEFT_PANEL_BLANK_CONTROL_DIRECTIVE = 'leftPanelBlankControl';\n\nfunction leftPanelBlankControl() {\n var directive = {\n restrict: 'E',\n template: _edaDragDropWayLeftpanelBlankControlTemplate2.default\n };\n return directive;\n}\n\nleftPanelBlankControl.$inject = [];\n\nexports.default = leftPanelBlankControl;\nexports.LEFT_PANEL_BLANK_CONTROL_DIRECTIVE = LEFT_PANEL_BLANK_CONTROL_DIRECTIVE;//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvbGVmdFBhbmVsL0JsYW5rQ29udHJvbC9lZGFEcmFnRHJvcFdheS5sZWZ0cGFuZWwuYmxhbmtDb250cm9sLmRpcmVjdGl2ZS5qcz8xY2JmIl0sIm5hbWVzIjpbIkxFRlRfUEFORUxfQkxBTktfQ09OVFJPTF9ESVJFQ1RJVkUiLCJsZWZ0UGFuZWxCbGFua0NvbnRyb2wiLCJkaXJlY3RpdmUiLCJyZXN0cmljdCIsInRlbXBsYXRlIiwiJGluamVjdCJdLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUFBOzs7Ozs7QUFFQSxJQUFNQSxxQ0FBcUMsdUJBQTNDOztBQUVBLFNBQVNDLHFCQUFULEdBQWlDO0FBQy9CLE1BQUlDLFlBQVk7QUFDZEMsY0FBVyxHQURHO0FBRWRDO0FBRmMsR0FBaEI7QUFJQSxTQUFPRixTQUFQO0FBQ0Q7O0FBRURELHNCQUFzQkksT0FBdEIsR0FBZ0MsRUFBaEM7O2tCQUVlSixxQjtRQUdiRCxrQyxHQUFBQSxrQyIsImZpbGUiOiI0NS5qcyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBsZWZ0UGFuZWxCbGFua0NvbnRyb2xUZW1wbGF0ZSBmcm9tICcuL2VkYURyYWdEcm9wV2F5LmxlZnRwYW5lbC5ibGFua0NvbnRyb2wudGVtcGxhdGUuaHRtbCc7XG5cbmNvbnN0IExFRlRfUEFORUxfQkxBTktfQ09OVFJPTF9ESVJFQ1RJVkUgPSAnbGVmdFBhbmVsQmxhbmtDb250cm9sJztcblxuZnVuY3Rpb24gbGVmdFBhbmVsQmxhbmtDb250cm9sKCkge1xuICBsZXQgZGlyZWN0aXZlID0ge1xuICAgIHJlc3RyaWN0IDogJ0UnLFxuICAgIHRlbXBsYXRlIDogbGVmdFBhbmVsQmxhbmtDb250cm9sVGVtcGxhdGVcbiAgfTtcbiAgcmV0dXJuIGRpcmVjdGl2ZTtcbn1cblxubGVmdFBhbmVsQmxhbmtDb250cm9sLiRpbmplY3QgPSBbXTtcblxuZXhwb3J0IGRlZmF1bHQgbGVmdFBhbmVsQmxhbmtDb250cm9sO1xuXG5leHBvcnQge1xuICBMRUZUX1BBTkVMX0JMQU5LX0NPTlRST0xfRElSRUNUSVZFXG59O1xuXG5cblxuLy8gV0VCUEFDSyBGT09URVIgLy9cbi8vIC4vc3JjL2FwcC9kcmFnZHJvcHdheS9jb21wb25lbnRzL2xlZnRQYW5lbC9CbGFua0NvbnRyb2wvZWRhRHJhZ0Ryb3BXYXkubGVmdHBhbmVsLmJsYW5rQ29udHJvbC5kaXJlY3RpdmUuanMiXSwic291cmNlUm9vdCI6IiJ9");
|
|
|
|
/***/ },
|
|
/* 46 */
|
|
/***/ 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-pencil-square-o\\\"></i>\\n \\n Edit :\\n </h5>\\n </div>\\n </div> \\n <div class=\\\"row\\\">\\n <div class=\\\"col-sm-12\\\">\\n <h5 class=\\\"text-center greyText\\\">\\n Column will be blank\\n </h5>\\n </div>\\n </div>\\n </div>\\n <left-panel-valid-edit-footer />\\n</div>\\n\"//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvbGVmdFBhbmVsL0JsYW5rQ29udHJvbC9lZGFEcmFnRHJvcFdheS5sZWZ0cGFuZWwuYmxhbmtDb250cm9sLnRlbXBsYXRlLmh0bWw/NGNiZCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxtUEFBbVAiLCJmaWxlIjoiNDYuanMiLCJzb3VyY2VzQ29udGVudCI6WyJtb2R1bGUuZXhwb3J0cyA9IFwiPGRpdiBjbGFzcz1cXFwicGFuZWwgcGFuZWwtZGVmYXVsdFxcXCI+XFxuICA8ZGl2IGNsYXNzPVxcXCJwYW5lbC1ib2R5XFxcIj5cXG4gICAgPGRpdiBjbGFzcz1cXFwicm93XFxcIj5cXG4gICAgICA8ZGl2IGNsYXNzPVxcXCJjb2wtbWQtMTJcXFwiPlxcbiAgICAgICAgPGg1IGNsYXNzPVxcXCJncmV5VGV4dFxcXCI+XFxuICAgICAgICAgIDxpIGNsYXNzPVxcXCJmYSBmYS1wZW5jaWwtc3F1YXJlLW9cXFwiPjwvaT5cXG4gICAgICAgICAgJm5ic3A7IFxcbiAgICAgICAgICBFZGl0IDpcXG4gICAgICAgIDwvaDU+XFxuICAgICAgPC9kaXY+XFxuICAgIDwvZGl2PiBcXG4gICAgPGRpdiBjbGFzcz1cXFwicm93XFxcIj5cXG4gICAgICA8ZGl2IGNsYXNzPVxcXCJjb2wtc20tMTJcXFwiPlxcbiAgICAgICAgPGg1IGNsYXNzPVxcXCJ0ZXh0LWNlbnRlciBncmV5VGV4dFxcXCI+XFxuICAgICAgICAgIENvbHVtbiB3aWxsIGJlIGJsYW5rXFxuICAgICAgICA8L2g1PlxcbiAgICAgIDwvZGl2PlxcbiAgICA8L2Rpdj5cXG4gIDwvZGl2PlxcbiAgPGxlZnQtcGFuZWwtdmFsaWQtZWRpdC1mb290ZXIgLz5cXG48L2Rpdj5cXG5cIlxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vc3JjL2FwcC9kcmFnZHJvcHdheS9jb21wb25lbnRzL2xlZnRQYW5lbC9CbGFua0NvbnRyb2wvZWRhRHJhZ0Ryb3BXYXkubGVmdHBhbmVsLmJsYW5rQ29udHJvbC50ZW1wbGF0ZS5odG1sXG4vLyBtb2R1bGUgaWQgPSA0NlxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwic291cmNlUm9vdCI6IiJ9");
|
|
|
|
/***/ },
|
|
/* 47 */
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.LEFT_PANEL_BASIC_SELECT_CONTROL_DIRECTIVE = undefined;\n\nvar _edaDragDropWayLeftpanelBasicSelectControlTemplate = __webpack_require__(48);\n\nvar _edaDragDropWayLeftpanelBasicSelectControlTemplate2 = _interopRequireDefault(_edaDragDropWayLeftpanelBasicSelectControlTemplate);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar LEFT_PANEL_BASIC_SELECT_CONTROL_DIRECTIVE = 'leftPanelBasicSelectControl';\n\nfunction leftPanelBasicSelectControl() {\n var directive = {\n restrict: 'E',\n template: _edaDragDropWayLeftpanelBasicSelectControlTemplate2.default\n };\n return directive;\n}\n\nleftPanelBasicSelectControl.$inject = [];\n\nexports.default = leftPanelBasicSelectControl;\nexports.LEFT_PANEL_BASIC_SELECT_CONTROL_DIRECTIVE = LEFT_PANEL_BASIC_SELECT_CONTROL_DIRECTIVE;//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJza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gICAgcmVzdHJpY3QgOiAnRScsXG4gICAgdGVtcGxhdGUgOiBsZWZ0UGFuZWxCYXNpY1NlbGVjdENvbnRyb2xUZW1wbGF0ZVxuICB9O1xuICByZXR1cm4gZGlyZWN0aXZlO1xufVxuXG5sZWZ0UGFuZWxCYXNpY1NlbGVjdENvbnRyb2wuJGluamVjdCA9IFtdO1xuXG5leHBvcnQgZGVmYXVsdCBsZWZ0UGFuZWxCYXNpY1NlbGVjdENvbnRyb2w7XG5cbmV4cG9ydCB7XG4gIExFRlRfUEFORUxfQkFTSUNfU0VMRUNUX0NPTlRST0xfRElSRUNUSVZFXG59O1xuXG5cblxuLy8gV0VCUEFDSyBGT09URVIgLy9cbi8vIC4vc3JjL2FwcC9kcmFnZHJvcHdheS9jb21wb25lbnRzL2xlZnRQYW5lbC9CYXNpY1NlbGVjdENvbnRyb2wvZWRhRHJhZ0Ryb3BXYXkubGVmdHBhbmVsLmJhc2ljU2VsZWN0Q29udHJvbC5kaXJlY3RpdmUuanMiXSwic291cmNlUm9vdCI6IiJ9");
|
|
|
|
/***/ },
|
|
/* 48 */
|
|
/***/ 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-pencil-square-o\\\"></i>\\n \\n Edit properties :\\n </h5>\\n </div>\\n </div>\\n <div class=\\\"marginTopFivepixels\\\"></div>\\n <div class=\\\"row\\\">\\n <div class=\\\"col-lg-12 col-md-12\\\">\\n <label\\n for=\\\"basicSelectRowCollection\\\"\\n class=\\\" control-label greyText editPropertiesLabel\\\">\\n Add new options :\\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 new option\\\"\\n ng-model=\\\"leftPanelCtrl.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=\\\"leftPanelCtrl.addNewOptionBasicSelect()\\\">\\n add\\n </button>\\n </div>\\n </div>\\n </div>\\n </div>\\n <div class=\\\"row\\\">\\n <div class=\\\"col-lg-12 col-md-12\\\">\\n <label class=\\\" control-label greyText editPropertiesLabel\\\">\\n Edit/Remove options :\\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=\\\"leftPanelCtrl.basicSelectRowCollection.rows.length === 0\\\">\\n <h5 class=\\\"text-center greyText\\\">\\n <em>\\n - no option : add new options -\\n </em>\\n </h5>\\n </div>\\n <table\\n ng-if=\\\"leftPanelCtrl.basicSelectRowCollection.rows.length > 0\\\"\\n class=\\\"table table-striped\\\">\\n <thead>\\n <tr>\\n <th st-ratio=\\\"20\\\">\\n order\\n </th>\\n <th st-ratio=\\\"55\\\">\\n option\\n </th>\\n <th st-ratio=\\\"25\\\"></th>\\n </tr>\\n <tr>\\n <th st-ratio=\\\"20\\\"></th>\\n <th st-ratio=\\\"55\\\">\\n <input\\n ng-model=\\\"leftPanelCtrl.basicSelectFilter\\\"\\n placeholder=\\\"search for option\\\"\\n class=\\\"input-sm form-control\\\"\\n type=\\\"search\\\" />\\n </th>\\n <th st-ratio=\\\"25\\\"></th>\\n </tr>\\n </thead>\\n <tbody>\\n <tr ng-repeat=\\\"basicSelectRow in leftPanelCtrl.basicSelectRowCollection.rows | filter:basicSelectFilter as basicSelectRow\\\">\\n <td st-ratio=\\\"20\\\">\\n {{$index}}\\n </td>\\n <td st-ratio=\\\"55\\\">\\n {{basicSelectRow.option}}\\n </td>\\n <td st-ratio=\\\"25\\\">\\n <div class=\\\"pull-right\\\">\\n <button\\n class=\\\"btn btn-primary\\\"\\n ng-click=\\\"leftPanelCtrl.upThisRow($index)\\\">\\n <i class=\\\"fa fa-arrow-up\\\"></i>\\n </button>\\n <button\\n class=\\\"btn btn-primary\\\"\\n ng-click=\\\"leftPanelCtrl.downThisRow($index)\\\">\\n <i class=\\\"fa fa-arrow-down\\\"></i>\\n </button>\\n <button\\n class=\\\"btn btn-danger\\\"\\n ng-click=\\\"leftPanelCtrl.removeRow($index)\\\">\\n <i class=\\\"fa fa-trash-o\\\"></i>\\n </button>\\n </div>\\n </td>\\n </tr>\\n </tbody>\\n </table>\\n </div>\\n </div>\\n </div>\\n </div>\\n <div class=\\\"marginTopFivepixels\\\"></div>\\n <div class=\\\"row\\\">\\n <div class=\\\"form-group\\\">\\n \\t<div class=\\\"col-md-12\\\">\\n <label\\n for=\\\"DescriptionUpdate\\\"\\n class=\\\"control-label greyText editPropertiesLabel\\\">\\n Description :\\n </label>\\n <div class=\\\"\\\">\\n <input\\n type=\\\"text\\\"\\n class=\\\"form-control\\\"\\n ng-model=\\\"leftPanelCtrl.proxyModel.temporyConfig.formlyDesciption\\\"\\n id=\\\"DescriptionUpdate\\\"\\n placeholder=\\\"Add / edit description here\\\">\\n </div>\\n \\t</div>\\n </div>\\n </div>\\n </div>\\n <left-panel-valid-edit-footer />\\n</div>\\n\"//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvbGVmdFBhbmVsL0Jhc2ljU2VsZWN0Q29udHJvbC9lZGFEcmFnRHJvcFdheS5sZWZ0cGFuZWwuYmFzaWNTZWxlY3RDb250cm9sLnRlbXBsYXRlLmh0bWw/ZWI1OCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQ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W89XFxcIjIwXFxcIj5cXG4gICAgICAgICAgICAgICAgICBvcmRlclxcbiAgICAgICAgICAgICAgICA8L3RoPlxcbiAgICAgICAgICAgICAgICA8dGggc3QtcmF0aW89XFxcIjU1XFxcIj5cXG4gICAgICAgICAgICAgICAgICBvcHRpb25cXG4gICAgICAgICAgICAgICAgPC90aD5cXG4gICAgICAgICAgICAgICAgPHRoIHN0LXJhdGlvPVxcXCIyNVxcXCI+PC90aD5cXG4gICAgICAgICAgICAgIDwvdHI+XFxuICAgICAgICAgICAgICA8dHI+XFxuICAgICAgICAgICAgICAgIDx0aCBzdC1yYXRpbz1cXFwiMjBcXFwiPjwvdGg+XFxuICAgICAgICAgICAgICAgIDx0aCBzdC1yYXRpbz1cXFwiNTVcXFwiPlxcbiAgICAgICAgICAgICAgICAgIDxpbnB1dFxcbiAgICAgICAgICAgICAgICAgICAgbmctbW9kZWw9XFxcImxlZnRQYW5lbEN0cmwuYmFzaWNTZWxlY3RGaWx0ZXJcXFwiXFxuICAgICAgICAgICAgICAgICAgICBwbGFjZWhvbGRlcj1cXFwic2VhcmNoIGZvciBvcHRpb25cXFwiXFxuICAgICAgICAgICAgICAgICAgICBjbGFzcz1cXFwiaW5wdXQtc20gZm9ybS1jb250cm9sXFxcIlxcbiAgICAgICAgICAgICAgICAgICAgdHlwZT1cXFwic2VhcmNoXFxcIiAvPlxcbiAgICAgICAgICAgICAgICA8L3RoPlxcbiAgICAgICAgICAgICAgICA8dGggc3QtcmF0aW89XFxcIjI1XFxcIj48L3RoPlxcbiAgICAgICAgICAgICAgPC90cj5cXG4gICAgICAgICAgICAgIDwvdGhlYWQ+XFxuICAgICAgICAgICAgICA8dGJvZHk+XFxuICAgICAgICAgICAgICAgIDx0ciBuZy1yZXBlYXQ9XFxcImJhc2ljU2VsZWN0Um93IGluIGxlZnRQYW5lbEN0cmwuYmFzaWNTZWxlY3RSb3dDb2xsZWN0aW9uLnJvd3MgfCBmaWx0ZXI6YmFzaWNTZWxlY3RGaWx0ZXIgYXMgYmFzaWNTZWxlY3RSb3dcXFwiPlxcbiAgICAgICAgICAgICAgICAgIDx0ZCBzdC1yYXRpbz1cXFwiMjBcXFwiPlxcbiAgICAgICAgICAgICAgICAgICAge3skaW5kZXh9fVxcbiAgICAgICAgICAgICAgICAgIDwvdGQ+XFxuICAgICAgICAgICAgICAgICAgPHRkIHN0LXJhdGlvPVxcXCI1NVxcXCI+XFxuICAgICAgICAgICAgICAgICAgICB7e2Jhc2ljU2VsZWN0Um93Lm9wdGlvbn19XFxuICAgICAgICAgICAgICAgICAgPC90ZD5cXG4gICAgICAgICAgICAgICAgICA8dGQgc3QtcmF0aW89XFxcIjI1XFxcIj5cXG4gICAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XFxcInB1bGwtcmlnaHRcXFwiPlxcbiAgICAgICAgICAgICAgICAgICAgICA8YnV0dG9uXFxuICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3M9XFxcImJ0biBidG4tcHJpbWFyeVxcXCJcXG4gICAgICAgICAgICAgICAgICAgICAgICBuZy1jbGljaz1cXFwibGVmdFBhbmVsQ3RybC51cFRoaXNSb3coJGluZGV4KVxcXCI+XFxuICAgICAgICAgICAgICAgICAgICAgICAgPGkgY2xhc3M9XFxcImZhIGZhLWFycm93LXVwXFxcIj48L2k+XFxuICAgICAgICAgICAgICAgICAgICAgIDwvYnV0dG9uPlxcbiAgICAgICAgICAgICAgICAgICAgICA8YnV0dG9uXFxuICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3M9XFxcImJ0biBidG4tcHJpbWFyeVxcXCJcXG4gICAgICAgICAgICAgICAgICAgICAgICBuZy1jbGljaz1cXFwibGVmdFBhbmVsQ3RybC5kb3duVGhpc1JvdygkaW5kZXgpXFxcIj5cXG4gICAgICAgICAgICAgICAgICAgICAgICA8aSBjbGFzcz1cXFwiZmEgZmEtYXJyb3ctZG93blxcXCI+PC9pPlxcbiAgICAgICAgICAgICAgICAgICAgICA8L2J1dHRvbj5cXG4gICAgICAgICAgICAgICAgICAgICAgPGJ1dHRvblxcbiAgICAgICAgICAgICAgICAgICAgICAgIGNsYXNzPVxcXCJidG4gYnRuLWRhbmdlclxcXCJcXG4gICAgICAgICAgICAgICAgICAgICAgICBuZy1jbGljaz1cXFwibGVmdFBhbmVsQ3RybC5yZW1vdmVSb3coJGluZGV4KVxcXCI+XFxuICAgICAgICAgICAgICAgICAgICAgICAgPGkgY2xhc3M9XFxcImZhIGZhLXRyYXNoLW9cXFwiPjwvaT5cXG4gICAgICAgICAgICAgICAgICAgICAgPC9idXR0b24+XFxuICAgICAgICAgICAgICAgICAgICAgPC9kaXY+XFxuICAgICAgICAgICAgICAgICAgPC90ZD5cXG4gICAgICAgICAgICAgICAgPC90cj5cXG4gICAgICAgICAgICAgIDwvdGJvZHk+XFxuICAgICAgICAgICAgPC90YWJsZT5cXG4gICAgICAgICAgPC9kaXY+XFxuICAgICAgICA8L2Rpdj5cXG4gICAgICA8L2Rpdj5cXG4gICAgPC9kaXY+XFxuICAgIDxkaXYgY2xhc3M9XFxcIm1hcmdpblRvcEZpdmVwaXhlbHNcXFwiPjwvZGl2PlxcbiAgICAgIDxkaXYgY2xhc3M9XFxcInJvd1xcXCI+XFxuICAgICAgICA8ZGl2IGNsYXNzPVxcXCJmb3JtLWdyb3VwXFxcIj5cXG4gICAgICAgIFxcdDxkaXYgY2xhc3M9XFxcImNvbC1tZC0xMlxcXCI+XFxuICAgICAgICAgICAgPGxhYmVsXFxuICAgICAgICAgICAgICBmb3I9XFxcIkRlc2NyaXB0aW9uVXBkYXRlXFxcIlxcbiAgICAgICAgICAgICAgY2xhc3M9XFxcImNvbnRyb2wtbGFiZWwgZ3JleVRleHQgZWRpdFByb3BlcnRpZXNMYWJlbFxcXCI+XFxuICAgICAgICAgICAgICBEZXNjcmlwdGlvbiA6XFxuICAgICAgICAgICAgPC9sYWJlbD5cXG4gICAgICAgICAgICA8ZGl2IGNsYXNzPVxcXCJcXFwiPlxcbiAgICAgICAgICAgICAgPGlucHV0XFxuICAgICAgICAgICAgICAgIHR5cGU9XFxcInRleHRcXFwiXFxuICAgICAgICAgICAgICAgIGNsYXNzPVxcXCJmb3JtLWNvbnRyb2xcXFwiXFxuICAgICAgICAgICAgICAgIG5nLW1vZGVsPVxcXCJsZWZ0UGFuZWxDdHJsLnByb3h5TW9kZWwudGVtcG9yeUNvbmZpZy5mb3JtbHlEZXNjaXB0aW9uXFxcIlxcbiAgICAgICAgICAgICAgICBpZD1cXFwiRGVzY3JpcHRpb25VcGRhdGVcXFwiXFxuICAgICAgICAgICAgICAgIHBsYWNlaG9sZGVyPVxcXCJBZGQgLyBlZGl0IGRlc2NyaXB0aW9uIGhlcmVcXFwiPlxcbiAgICAgICAgICAgIDwvZGl2PlxcbiAgICAgICAgXFx0PC9kaXY+XFxuICAgICAgICA8L2Rpdj5cXG4gICAgICA8L2Rpdj5cXG4gICAgPC9kaXY+XFxuICA8bGVmdC1wYW5lbC12YWxpZC1lZGl0LWZvb3RlciAvPlxcbjwvZGl2PlxcblwiXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvbGVmdFBhbmVsL0Jhc2ljU2VsZWN0Q29udHJvbC9lZGFEcmFnRHJvcFdheS5sZWZ0cGFuZWwuYmFzaWNTZWxlY3RDb250cm9sLnRlbXBsYXRlLmh0bWxcbi8vIG1vZHVsZSBpZCA9IDQ4XG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJzb3VyY2VSb290IjoiIn0=");
|
|
|
|
/***/ },
|
|
/* 49 */
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _edaDragDropWayFormlyProxyFormFieldManage = __webpack_require__(50);\n\nvar _edaDragDropWayFormlyProxyFormFieldManage2 = _interopRequireDefault(_edaDragDropWayFormlyProxyFormFieldManage);\n\nvar _edaDragDropWayFormlyProxyFormFieldManage3 = __webpack_require__(51);\n\nvar _edaDragDropWayFormlyProxyFormFieldManage4 = _interopRequireDefault(_edaDragDropWayFormlyProxyFormFieldManage3);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar FORMLY_PROXY_MODULE = '';\n\nexports.default = angular.module(FORMLY_PROXY_MODULE, []).service(_edaDragDropWayFormlyProxyFormFieldManage.FORM_FIELD_MANAGE_SERVICE, _edaDragDropWayFormlyProxyFormFieldManage2.default).provider(_edaDragDropWayFormlyProxyFormFieldManage3.EASY_FORM_FORMLY_BINDING_MODEL_PROVIDER, _edaDragDropWayFormlyProxyFormFieldManage4.default);//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvZm9ybWx5UHJveHkvZWRhRHJhZ0Ryb3BXYXkuZm9ybWx5UHJveHkuZm9ybUZpZWxkTWFuYWdlLm1vZHVsZS5qcz9kZmRmIl0sIm5hbWVzIjpbIkZPUk1MWV9QUk9YWV9NT0RVTEUiLCJhbmd1bGFyIiwibW9kdWxlIiwic2VydmljZSIsInByb3ZpZGVyIl0sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQTs7OztBQUlBOzs7Ozs7QUFNQSxJQUFNQSxzQkFBc0IsRUFBNUI7O2tCQUVlQyxRQUNFQyxNQURGLENBQ1NGLG1CQURULEVBQzhCLEVBRDlCLEVBRUVHLE9BRkYsMEhBR0VDLFFBSEYsd0kiLCJmaWxlIjoiNDkuanMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgZm9ybUZpZWxkTWFuYWdlLCB7XG4gIEZPUk1fRklFTERfTUFOQUdFX1NFUlZJQ0Vcbn0gICAgICAgICAgICAgICAgICAgICAgICAgZnJvbSAnLi9lZGFEcmFnRHJvcFdheS5mb3JtbHlQcm94eS5mb3JtRmllbGRNYW5hZ2Uuc2VydmljZSc7XG5cbmltcG9ydCBFYXN5Rm9ybUdlbkZvcm1seUJpbmRpbmdNb2RlbHMsIHtcbiAgRUFTWV9GT1JNX0ZPUk1MWV9CSU5ESU5HX01PREVMX1BST1ZJREVSXG59ICAgICAgICAgICAgICAgICAgICAgICAgIGZyb20gJy4vZWRhRHJhZ0Ryb3BXYXkuZm9ybWx5UHJveHkuZm9ybUZpZWxkTWFuYWdlLnByb3ZpZGVyJztcblxuXG5cbmNvbnN0IEZPUk1MWV9QUk9YWV9NT0RVTEUgPSAnJztcblxuZXhwb3J0IGRlZmF1bHQgYW5ndWxhclxuICAgICAgICAgICAgICAgIC5tb2R1bGUoRk9STUxZX1BST1hZX01PRFVMRSwgW10pXG4gICAgICAgICAgICAgICAgLnNlcnZpY2UoRk9STV9GSUVMRF9NQU5BR0VfU0VSVklDRSwgZm9ybUZpZWxkTWFuYWdlKVxuICAgICAgICAgICAgICAgIC5wcm92aWRlcihFQVNZX0ZPUk1fRk9STUxZX0JJTkRJTkdfTU9ERUxfUFJPVklERVIsIEVhc3lGb3JtR2VuRm9ybWx5QmluZGluZ01vZGVscyk7XG5cblxuLy8gV0VCUEFDSyBGT09URVIgLy9cbi8vIC4vc3JjL2FwcC9kcmFnZHJvcHdheS9jb21wb25lbnRzL2Zvcm1seVByb3h5L2VkYURyYWdEcm9wV2F5LmZvcm1seVByb3h5LmZvcm1GaWVsZE1hbmFnZS5tb2R1bGUuanMiXSwic291cmNlUm9vdCI6IiJ9");
|
|
|
|
/***/ },
|
|
/* 50 */
|
|
/***/ 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 FORM_FIELD_MANAGE_SERVICE = 'formFieldManage';\n\nvar formFieldManage = function () {\n function formFieldManage(EasyFormGenFormlyBindingModels) {\n _classCallCheck(this, formFieldManage);\n\n this.EasyFormGenFormlyBindingModels = EasyFormGenFormlyBindingModels;\n this.init();\n }\n\n _createClass(formFieldManage, [{\n key: 'init',\n value: function init() {}\n\n /**\n * At initial state : configuration model will contain 1 line, since :\n * -> it is non sense to create a form without a single line (no line = no form at all)\n * -> so it is non sense to force user to add a first line\n *\n * PLEASE NOTE columns array contains objects that look like formly fields one\n */\n\n }, {\n key: 'initConfigurationEditFromScratch',\n value: function initConfigurationEditFromScratch(configurationModel, addStepWayProperties) {\n var configurationModelInit = this.EasyFormGenFormlyBindingModels.getEasyFormInitialStateConfigurationModel(addStepWayProperties);\n angular.copy(configurationModelInit, configurationModel);\n }\n\n /**\n * Get an configuration empty (no init line) then empty it with lines array provided in param\n * @param object - configurationModel [configuration model]\n * @param array - lines [an array : lines to apply to an empty configuration model]\n * @param bool - addStepWayProperties [description]\n * @return {object message} [give details on how it happened to caller]\n */\n\n }, {\n key: 'bindConfigurationLines',\n value: function bindConfigurationLines(configurationModel, lines, addStepWayProperties) {\n if (Object.prototype.toString.call(lines) === '[object Array]') {\n var configurationModelResult = this.EasyFormGenFormlyBindingModels.getEasyFormReloadConfigurationModel(addStepWayProperties);\n configurationModelResult.lines = [].concat(lines);\n angular.copy(configurationModelResult, 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 /**\n * applyConfigurationToformlyModel :\n * - bind configuration model into formly field model\n * - reset dataModel (formlyfield may have changed so previous dataModel would be false)\n * @param configurationModel\n * @param formlyModel\n * @param formlyDataModel\n */\n\n }, {\n key: 'applyConfigurationToformlyModel',\n value: function applyConfigurationToformlyModel(configurationModel, formlyModel, formlyDataModel) {\n this.resetFormlyModel(formlyModel);\n this.resetDataModel(formlyDataModel);\n var lineNumber = configurationModel.lines.length;\n for (var i = 0; i < lineNumber; i++) {\n this.AddNColumnControl(formlyModel, configurationModel, i);\n }\n }\n }, {\n key: 'resetFormlyModel',\n value: function resetFormlyModel(formlyModel) {\n var resetformly = [];\n angular.copy(resetformly, formlyModel);\n }\n }, {\n key: 'AddNColumnControl',\n value: function AddNColumnControl(formlyModel, configurationModel, lineIndex) {\n var _this = this;\n\n var numberOfColumns = configurationModel.lines[lineIndex].columns.length;\n /**\n * push formly model\n * here : only className and empty fieldGroup (controls != header)\n * if header will be reset to set a template (at least we have now indexFormlyModel)\n */\n var rawFormlyModel = {\n className: 'row',\n fieldGroup: []\n };\n //get index formlyModel for this line :\n var indexFormlyModel = formlyModel.push(rawFormlyModel) - 1;\n\n // iterates through controls in the line\n configurationModel.lines[lineIndex].columns.forEach(function (column) {\n var controlTemplate = {};\n if (typeof controlTemplate !== 'undefined' &&\n // column.control.type !== 'header' &&\n // column.control.type !== 'subTitle' &&\n column.control.type !== 'none') {\n /**\n * controls : getFormlyControlTemplateForNcolumnLine()\n *\n * @PARAM numberOfColumns : integer to deduce cssClss to apply\n * @PARAM column.control.type : to add if needed specific properties (example : datepicker)\n */\n if (column.control.type === 'header' || column.control.type === 'subTitle') {\n var headerTextContent = column.control.templateOptions.description;\n controlTemplate.template = _this.EasyFormGenFormlyBindingModels.getHeaderTemplateForNcolumnLine(numberOfColumns, headerTextContent).template;\n controlTemplate.className = _this.EasyFormGenFormlyBindingModels.getRawHeaderTemplates().selectedClass;\n } else {\n controlTemplate = _this.EasyFormGenFormlyBindingModels.getFormlyControlTemplateForNcolumnLine(numberOfColumns, column.control.type);\n /**\n * NEED REFACTOR HERE\n * should bind properties dynamically\n *\n * TODO need to validate all controls (datepicker may not work)\n * need to refactor\n */\n controlTemplate.className = column.control.className;\n controlTemplate.type = column.control.type;\n controlTemplate.key = column.control.key;\n controlTemplate.templateOptions.type = column.control.templateOptions.type;\n controlTemplate.templateOptions.label = column.control.templateOptions.label;\n controlTemplate.templateOptions.required = column.control.templateOptions.required;\n controlTemplate.templateOptions.placeholder = column.control.templateOptions.placeholder;\n controlTemplate.templateOptions.description = column.control.templateOptions.description;\n controlTemplate.templateOptions.options = [].concat(column.control.templateOptions.options);\n\n if (typeof controlTemplate.templateOptions.datepickerPopup !== 'undefined') column.control.templateOptions.datepickerPopup = controlTemplate.templateOptions.datepickerPopup;\n }\n /**\n * popuplate properties\n */\n\n /**\n * push control into formly model in its group\n */\n\n /**\n * need to catch this random error\n */\n formlyModel[indexFormlyModel].fieldGroup.push(controlTemplate);\n }\n });\n }\n }, {\n key: 'isTemplateOptionDefined',\n value: function isTemplateOptionDefined(obj) {\n return typeof obj.templateOptions !== 'undefined' ? true : false;\n }\n }, {\n key: 'extractTemplateOptionLabel',\n value: function extractTemplateOptionLabel(obj) {\n return typeof obj.templateOptions !== 'undefined' ? typeof obj.templateOptions.label !== 'undefined' ? obj.templateOptions.label : '' : '';\n }\n }, {\n key: 'extractTemplateOptionDatepickerPopup',\n value: function extractTemplateOptionDatepickerPopup(obj) {\n return typeof obj.templateOptions !== 'undefined' ? typeof obj.templateOptions.datepickerPopup !== 'undefined' ? obj.templateOptions.datepickerPopup : '' : '';\n }\n }, {\n key: 'extractTemplateOptionRequired',\n value: function extractTemplateOptionRequired(obj) {\n return typeof obj.templateOptions !== 'undefined' ? typeof obj.templateOptions.required !== 'undefined' ? obj.templateOptions.required : '' : '';\n }\n //radio and select\n\n }, {\n key: 'extractTemplateOptionOptions',\n value: function extractTemplateOptionOptions(obj) {\n return typeof obj.templateOptions !== 'undefined' ? typeof obj.templateOptions.options !== 'undefined' ? obj.templateOptions.options : '' : '';\n }\n }, {\n key: 'extractTemplateOptionType',\n value: function extractTemplateOptionType(obj) {\n return typeof obj.subtype !== 'undefined' ? obj.subtype : '';\n }\n }, {\n key: 'extractTemplateOptionPlaceholder',\n value: function extractTemplateOptionPlaceholder(obj) {\n return typeof obj.templateOptions !== 'undefined' ? typeof obj.templateOptions.placeholder !== 'undefined' ? obj.templateOptions.placeholder : '' : '';\n }\n }, {\n key: 'extractTemplateOptionDescription',\n value: function extractTemplateOptionDescription(obj) {\n return typeof obj.templateOptions !== 'undefined' ? typeof obj.templateOptions.description !== 'undefined' ? obj.templateOptions.description : '' : '';\n }\n\n // formly model functions\n\n }, {\n key: 'resetDataModel',\n value: function resetDataModel(obj) {\n var emptyDataModel = {};\n angular.copy(emptyDataModel, obj);\n return true;\n }\n\n // custom errors\n\n }, {\n key: 'getErrorObject',\n value: function getErrorObject(errorTitle, errorMessage) {\n var messageObj = {\n noError: false,\n title: '',\n Message: ''\n };\n messageObj.noError = false;\n messageObj.title = errorTitle;\n messageObj.Message = errorMessage;\n return messageObj;\n }\n }, {\n key: 'getMessageObject',\n value: function getMessageObject(messageTitle, messageBody) {\n var messageObj = {\n noError: false,\n title: '',\n Message: ''\n };\n messageObj.noError = true;\n messageObj.title = messageTitle;\n messageObj.Message = messageBody;\n return messageObj;\n }\n }]);\n\n return formFieldManage;\n}();\n\nformFieldManage.$inject = ['EasyFormGenFormlyBindingModels'];\n\nexports.default = formFieldManage;\nexports.FORM_FIELD_MANAGE_SERVICE = FORM_FIELD_MANAGE_SERVICE;//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvZm9ybWx5UHJveHkvZWRhRHJhZ0Ryb3BXYXkuZm9ybWx5UHJveHkuZm9ybUZpZWxkTWFuYWdlLnNlcnZpY2UuanM/MTg3NyJdLCJuYW1lcyI6WyJGT1JNX0Z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hbWljYWxseVxuICAgICAgICAgICpcbiAgICAgICAgICAqIFRPRE8gbmVlZCB0byB2YWxpZGF0ZSBhbGwgY29udHJvbHMgKGRhdGVwaWNrZXIgbWF5IG5vdCB3b3JrKVxuICAgICAgICAgICogbmVlZCB0byByZWZhY3RvclxuICAgICAgICAgICovXG4gICAgICAgICAgY29udHJvbFRlbXBsYXRlLmNsYXNzTmFtZSAgICAgICAgICAgICAgICAgICA9IGNvbHVtbi5jb250cm9sLmNsYXNzTmFtZTtcbiAgICAgICAgICBjb250cm9sVGVtcGxhdGUudHlwZSAgICAgICAgICAgICAgICAgICAgICAgID0gY29sdW1uLmNvbnRyb2wudHlwZTtcbiAgICAgICAgICBjb250cm9sVGVtcGxhdGUua2V5ICAgICAgICAgICAgICAgICAgICAgICAgID0gY29sdW1uLmNvbnRyb2wua2V5O1xuICAgICAgICAgIGNvbnRyb2xUZW1wbGF0ZS50ZW1wbGF0ZU9wdGlvbnMudHlwZSAgICAgICAgPSBjb2x1bW4uY29udHJvbC50ZW1wbGF0ZU9wdGlvbnMudHlwZTtcbiAgICAgICAgICBjb250cm9sVGVtcGxhdGUudGVtcGxhdGVPcHRpb25zLmxhYmVsICAgICAgID0gY29sdW1uLmNvbnRyb2wudGVtcGxhdGVPcHRpb25zLmxhYmVsO1xuICAgICAgICAgIGNvbnRyb2xUZW1wbGF0ZS50ZW1wbGF0ZU9wdGlvbnMucmVxdWlyZWQgICAgPSBjb2x1bW4uY29udHJvbC50ZW1wbGF0ZU9wdGlvbnMucmVxdWlyZWQ7XG4gICAgICAgICAgY29udHJvbFRlbXBsYXRlLnRlbXBsYXRlT3B0aW9ucy5wbGFjZWhvbGRlciA9IGNvbHVtbi5jb250cm9sLnRlbXBsYXRlT3B0aW9ucy5wbGFjZWhvbGRlcjtcbiAgICAgICAgICBjb250cm9sVGVtcGxhdGUudGVtcGxhdGVPcHRpb25zLmRlc2NyaXB0aW9uID0gY29sdW1uLmNvbnRyb2wudGVtcGxhdGVPcHRpb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NlO1xuICAgIG1lc3NhZ2VPYmoudGl0bGUgICAgPSBlcnJvclRpdGxlO1xuICAgIG1lc3NhZ2VPYmouTWVzc2FnZSAgPSBlcnJvck1lc3NhZ2U7XG4gICAgcmV0dXJuIG1lc3NhZ2VPYmo7XG4gIH1cblxuICBnZXRNZXNzYWdlT2JqZWN0KG1lc3NhZ2VUaXRsZSwgbWVzc2FnZUJvZHkpe1xuICAgIGxldCBtZXNzYWdlT2JqID0gIHtcbiAgICAgIG5vRXJyb3IgICA6IGZhbHNlLFxuICAgICAgdGl0bGUgICAgIDogJycsXG4gICAgICBNZXNzYWdlICAgOiAnJ1xuICAgIH07XG4gICAgbWVzc2FnZU9iai5ub0Vycm9yICAgID0gdHJ1ZTtcbiAgICBtZXNzYWdlT2JqLnRpdGxlICAgICAgPSBtZXNzYWdlVGl0bGU7XG4gICAgbWVzc2FnZU9iai5NZXNzYWdlICAgID0gbWVzc2FnZUJvZHk7XG4gICAgcmV0dXJuIG1lc3NhZ2VPYmo7XG4gIH1cblxufVxuXG5mb3JtRmllbGRNYW5hZ2UuJGluamVjdCA9IFtcbiAgJ0Vhc3lGb3JtR2VuRm9ybWx5QmluZGluZ01vZGVscydcbl07XG5cbmV4cG9ydCBkZWZhdWx0IGZvcm1GaWVsZE1hbmFnZTtcblxuZXhwb3J0IHtcbiAgRk9STV9GSUVMRF9NQU5BR0VfU0VSVklDRVxufTtcblxuXG5cbi8vIFdFQlBBQ0sgRk9PVEVSIC8vXG4vLyAuL3NyYy9hcHAvZHJhZ2Ryb3B3YXkvY29tcG9uZW50cy9mb3JtbHlQcm94eS9lZGFEcmFnRHJvcFdheS5mb3JtbHlQcm94eS5mb3JtRmllbGRNYW5hZ2Uuc2VydmljZS5qcyJdLCJzb3VyY2VSb290IjoiIn0=");
|
|
|
|
/***/ },
|
|
/* 51 */
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.EASY_FORM_FORMLY_BINDING_MODEL_PROVIDER = 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 _edaDragDropWayFormlyProxyFormFieldManageProvider = __webpack_require__(52);\n\nvar helpers = _interopRequireWildcard(_edaDragDropWayFormlyProxyFormFieldManageProvider);\n\nfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\nvar EASY_FORM_FORMLY_BINDING_MODEL_PROVIDER = 'EasyFormGenFormlyBindingModels';\n\nfunction EasyFormGenFormlyBindingModels() {\n\n var _easyFormListControls = helpers.initEasyFormListControls();\n var _easyFormEmptyConfigurationLineModel = helpers.initEasyFormEmptyConfigurationLineModel();\n var _emptyControlFieldModel = helpers.initEmptyControlFieldModel();\n var _easyFormInitialStateConfigurationModel = helpers.initEasyFormInitialStateConfigurationModel(_easyFormEmptyConfigurationLineModel);\n var _easyFormInitialStateConfigurationModelAddOnForStepWay = helpers.initEasyFormInitialStateConfigurationModelAddOnForStepWay();\n var _easyFormReloadConfigurationModel = helpers.initEasyFormReloadConfigurationModel();\n var _headerTemplates = helpers.initHeaderTemplates();\n var _formlyControlTemplates = helpers.initFormlyControlTemplates();\n var _particularControlProperties = helpers.initParticularControlProperties();\n\n this.getAllParticularControlProperties = getAllParticularControlProperties;\n this.addParticularControlProperties = addParticularControlProperties;\n this.getEasyFormListControls = getEasyFormListControls;\n this.addEasyFormControlToList = addEasyFormControlToList;\n this.getHeaderTemplates = getHeaderTemplates;\n this.addHeaderTemplateCssClass = addHeaderTemplateCssClass;\n this.getFormlyControlTemplate = getFormlyControlTemplate;\n this.addformlyControlTemplatesCssClass = addformlyControlTemplatesCssClass;\n this.setFormlyControlTemplate = setFormlyControlTemplate;\n this.$get = getFct;\n\n function getAllParticularControlProperties() {\n return _particularControlProperties;\n }\n\n function addParticularControlProperties(newParticularControlProperty) {\n // test object param has waited properties\n if ('controlType' in newParticularControlProperty && 'properties' in newParticularControlProperty) {\n var isAnUpdate = false;\n if (_particularControlProperties.length > 0) {\n _particularControlProperties.forEach(function (controlProp) {\n if (controlProp.controlType === newParticularControlProperty.controlType) {\n controlProp.properties = [].concat(newParticularControlProperty.properties);\n isAnUpdate = true;\n }\n });\n }\n if (!isAnUpdate) {\n _particularControlProperties.push(newParticularControlProperty);\n }\n }\n return _particularControlProperties;\n }\n\n function getEasyFormListControls() {\n return _easyFormListControls;\n }\n\n function addEasyFormControlToList(controlDeclaration) {\n if (typeof controlDeclaration !== 'undefined') {\n _easyFormListControls.controls.push(controlDeclaration);\n }\n }\n\n function getHeaderTemplates() {\n return _headerTemplates;\n }\n\n function addHeaderTemplateCssClass(cssClassToAdd) {\n if (typeof cssClassToAdd !== 'undefined') {\n _headerTemplates.cssClass.push(cssClassToAdd);\n }\n }\n\n function getFormlyControlTemplate() {\n return _formlyControlTemplates;\n }\n\n function addformlyControlTemplatesCssClass(cssClassToAdd) {\n if (typeof cssClassToAdd !== 'undefined') {\n _formlyControlTemplates.className.push(cssClassToAdd);\n }\n }\n\n function setFormlyControlTemplate(newFormlyControlTemplate) {\n if ('className' in newFormlyControlTemplate && 'type' in newFormlyControlTemplate && 'key' in newFormlyControlTemplate && 'templateOptions' in newFormlyControlTemplate) {\n _formlyControlTemplates = angular.copy(newFormlyControlTemplate);\n }\n return true;\n }\n\n getFct.$inject = [];\n function getFct() {\n var service = {\n getEasyFormListControls: getEasyFormListControlsFct,\n getEasyFormInitialStateConfigurationModel: getEasyFormInitialStateConfigurationModel,\n getEasyFormReloadConfigurationModel: getEasyFormReloadConfigurationModel,\n getEasyFormEmptyConfigurationLineModel: getEasyFormEmptyConfigurationLineModel,\n getEasyFormConfigurationEmptyControlModel: getEasyFormConfigurationEmptyControlModel,\n getRawHeaderTemplates: getRawHeaderTemplates,\n getHeaderTemplateForNcolumnLine: getHeaderTemplateForNcolumnLine,\n getRawFormlyControlTemplates: getRawFormlyControlTemplates,\n getFormlyControlTemplateForNcolumnLine: getFormlyControlTemplateForNcolumnLine\n };\n return service;\n\n function getEasyFormListControlsFct() {\n return _easyFormListControls;\n }\n\n function getEasyFormInitialStateConfigurationModel(addStepWayProperties) {\n var initialConfigurationModel = angular.copy(_easyFormInitialStateConfigurationModel);\n if (typeof addStepWayProperties !== 'undefined') {\n if (addStepWayProperties) {\n // add properties specific to step way\n angular.extend(initialConfigurationModel, _easyFormInitialStateConfigurationModelAddOnForStepWay);\n }\n }\n return initialConfigurationModel;\n }\n\n function getEasyFormReloadConfigurationModel(addStepWayProperties) {\n var initialConfigurationModel = angular.copy(_easyFormReloadConfigurationModel);\n if (typeof addStepWayProperties !== 'undefined') {\n if (addStepWayProperties) {\n // add properties specific to step way\n angular.extend(initialConfigurationModel, _easyFormInitialStateConfigurationModelAddOnForStepWay);\n }\n }\n return initialConfigurationModel;\n }\n\n function getEasyFormEmptyConfigurationLineModel() {\n return _easyFormEmptyConfigurationLineModel;\n }\n\n function getEasyFormConfigurationEmptyControlModel() {\n return _emptyControlFieldModel;\n }\n\n function getRawHeaderTemplates() {\n return _headerTemplates;\n }\n\n function getHeaderTemplateForNcolumnLine(nbColInLines, textContent) {\n if (typeof nbColInLines !== 'undefined' && typeof textContent !== 'undefined') {\n if (nbColInLines === parseInt(nbColInLines, 10)) {\n if (nbColInLines <= _headerTemplates.cssClass.length) {\n var headerToReturn = {};\n headerToReturn.className = _headerTemplates.cssClass[nbColInLines - 1];\n // header html property depends this property dont forget to set it before reading html property\n _headerTemplates.textContent = textContent;\n _headerTemplates.selectedClass = headerToReturn.className;\n headerToReturn.template = [_headerTemplates.simpleHtml1, textContent, _headerTemplates.simpleHtml2].join('');\n return headerToReturn;\n }\n }\n }\n }\n\n function getRawFormlyControlTemplates() {\n return _formlyControlTemplates;\n }\n\n function getFormlyControlTemplateForNcolumnLine(nbColInLines, controlType) {\n if (typeof nbColInLines !== 'undefined') {\n if (nbColInLines === parseInt(nbColInLines, 10)) {\n if (nbColInLines <= _formlyControlTemplates.className.length) {\n var _ret = function () {\n var controlToReturn = angular.copy(_formlyControlTemplates);\n controlToReturn.className = _formlyControlTemplates.className[nbColInLines - 1];\n // throw `it should have a bug upper line`;\n /* eslint no-console:0 */\n console.warn('it should have a bug upper line');\n /**\n * check controlType: it may require another particular property\n */\n if (typeof controlType !== 'undefined') {\n _particularControlProperties.forEach(function (controlProp) {\n if (controlProp.controlType === controlType) {\n /**\n * add all properties this controlType has\n * \n * NOTE : dot expression and bracket expression to access object property\n * http://www.ecma-international.org/ecma-262/5.1/#sec-11.2.1\n */\n controlProp.properties.forEach(function (aPropToAdd) {\n if (aPropToAdd.isRoot) controlToReturn[aPropToAdd.value] = '';\n if (aPropToAdd.isTemplateOptions) controlToReturn.templateOptions[aPropToAdd.value] = '';\n });\n }\n });\n }\n return {\n v: controlToReturn\n };\n }();\n\n if ((typeof _ret === 'undefined' ? 'undefined' : _typeof(_ret)) === \"object\") return _ret.v;\n }\n }\n }\n }\n }\n}\n\nEasyFormGenFormlyBindingModels.$inject = [];\n\nexports.default = EasyFormGenFormlyBindingModels;\nexports.EASY_FORM_FORMLY_BINDING_MODEL_PROVIDER = EASY_FORM_FORMLY_BINDING_MODEL_PROVIDER;//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvZm9ybWx5UHJveHkvZWRhRHJhZ0Ryb3BXYXkuZm9ybWx5UHJveHkuZm9ybUZpZWxkTWFuYWdlLnByb3ZpZGVyLmpzPzAxNDgiXSwibmFtZXMiOlsiaGVscGVycyIsIkVBU1lfRk9STV9GT1JNTFlfQklORElOR19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lQ29uZmlndXJhdGlvbk1vZGVsQWRkT25Gb3JTdGVwV2F5KCk7XG4gIGxldCBfZWFzeUZvcm1SZWxvYWRDb25maWd1cmF0aW9uTW9kZWwgICAgICAgICAgICAgICAgICAgICAgID0gaGVscGVycy5pbml0RWFzeUZvcm1SZWxvYWRDb25maWd1cmF0aW9uTW9kZWwoKTtcbiAgbGV0IF9oZWFkZXJUZW1wbGF0ZXMgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPSBoZWxwZXJzLmluaXRIZWFkZXJUZW1wbGF0ZXMoKTsgXG4gIGxldCBfZm9ybWx5Q29udHJvbFRlbXBsYXRlcyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgID0gaGVscGVycy5pbml0Rm9ybWx5Q29udHJvbFRlbXBsYXRlcygpOyAgXG4gIGxldCBfcGFydGljdWxhckNvbnRyb2xQcm9wZXJ0aWVzICAgICAgICAgICAgICAgICAgICAgICAgICAgID0gaGVscGVycy5pbml0UGFydGljdWxhckNvbnRyb2xQcm9wZXJ0aWVzKCk7ICBcbiAgXG4gIHRoaXMuZ2V0QWxsUGFydGljdWxhckNvbnRyb2xQcm9wZXJ0aWVzICAgICAgICAgICAgICAgICAgICAgID0gZ2V0QWxsUGFydGljdWxhckNvbnRyb2xQcm9wZXJ0aWVzO1xuICB0aGlzLmFkZFBhcnRpY3VsYXJDb250cm9sUHJvcGVydGllcyAgICAgICAgICAgICAgICAgICAgICAgICA9IGFkZFBhcnRpY3VsYXJDb250cm9sUHJvcGVydGllcztcbiAgdGhpcy5nZXRFYXN5Rm9ybUxpc3RDb250cm9scyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPSBnZXRFYXN5Rm9ybUxpc3RDb250cm9scztcbiAgdGhpcy5hZGRFYXN5Rm9ybUNvbnRyb2xUb0xpc3QgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPSBhZGRFYXN5Rm9ybUNvbnRyb2xUb0xpc3Q7XG4gIHRoaXMuZ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lOjAgKi9cbiAgICAgICAgICAgICAgY29uc29sZS53YXJuKGBpdCBzaG91bGQgaGF2ZSBhIGJ1ZyB1cHBlciBsaW5lYCk7XG4gICAgICAgICAgICAgIC8qKlxuICAgICAgICAgICAgICAgKiBjaGVjayBjb250cm9sVHlwZTogaXQgbWF5IHJlcXVpcmUgYW5vdGhlciBwYXJ0aWN1bGFyIHByb3BlcnR5XG4gICAgICAgICAgICAgICAqL1xuICAgICAgICAgICAgICBpZiAodHlwZW9mIGNvbnRyb2xUeXBlICE9PSAndW5kZWZpbmVkJykge1xuICAgICAgICAgICAgICAgIF9wYXJ0aWN1bGFyQ29udHJvbFByb3BlcnRpZXMuZm9yRWFjaCgoY29udHJvbFByb3ApPT57XG4gICAgICAgICAgICAgICAgICBpZiAoY29udHJvbFByb3AuY29udHJvbFR5cGUgPT09IGNvbnRyb2xUeXBlKSB7XG4gICAgICAgICAgICAgICAgICAgIC8qKlxuICAgICAgICAgICAgICAgICAgICAgKiBhZGQgYWxsIHByb3BlcnRpZXMgdGhpcyBjb250cm9sVHlwZSBoYXNcbiAgICAgICAgICAgICAgICAgICAgICogXG4gICAgICAgICAgICAgICAgICAgICAqIE5PVEUgOiBkb3QgZXhwcmVzc2lvbiBhbmQgYnJhY2tldCBleHByZXNzaW9uIHRvIGFjY2VzcyBvYmplY3QgcHJvcGVydHlcbiAgICAgICAgICAgICAgICAgICAgICogaHR0cDovL3d3dy5lY21hLWludGVybmF0aW9uYWwub3JnL2VjbWEtMjYyLzUuMS8jc2VjLTExLjIuMVxuICAgICAgICAgICAgICAgICAgICAgKi9cdFx0XHRcdFx0XHRcdFx0XHRcdFxuICAgICAgICAgICAgICAgICAgICBjb250cm9sUHJvcC5wcm9wZXJ0aWVzLmZvckVhY2goKGFQcm9wVG9BZGQpPT57XG4gICAgICAgICAgICAgICAgICAgICAgaWYgKGFQcm9wVG9BZGQuaXNSb290KSBjb250cm9sVG9SZXR1cm5bYVByb3BUb0FkZC52YWx1ZV0gPSAnJztcbiAgICAgICAgICAgICAgICAgICAgICBpZiAoYVByb3BUb0FkZC5pc1RlbXBsYXRlT3B0aW9ucykgY29udHJvbFRvUmV0dXJuLnRlbXBsYXRlT3B0aW9uc1thUHJvcFRvQWRkLnZhbHVlXSA9ICcnO1xuICAgICAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgICAgICAgIH1cdFxuICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgIHJldHVybiBjb250cm9sVG9SZXR1cm47XG4gICAgICAgICAgICB9XG4gICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICB9ICAgICAgIFxuICAgIFxuICAgIFxuICB9XG4gIFxuICBcbn1cblxuXG5FYXN5Rm9ybUdlbkZvcm1seUJpbmRpbmdNb2RlbHMuJGluamVjdCA9IFtdO1xuXG5leHBvcnQgZGVmYXVsdCBFYXN5Rm9ybUdlbkZvcm1seUJpbmRpbmdNb2RlbHM7XG5cbmV4cG9ydCB7XG4gIEVBU1lfRk9STV9GT1JNTFlfQklORElOR19NT0RFTF9QUk9WSURFUlxufTtcblxuXG4vLyBXRUJQQUNLIEZPT1RFUiAvL1xuLy8gLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvZm9ybWx5UHJveHkvZWRhRHJhZ0Ryb3BXYXkuZm9ybWx5UHJveHkuZm9ybUZpZWxkTWFuYWdlLnByb3ZpZGVyLmpzIl0sInNvdXJjZVJvb3QiOiIifQ==");
|
|
|
|
/***/ },
|
|
/* 52 */
|
|
/***/ function(module, exports) {
|
|
|
|
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar initEasyFormListControls = exports.initEasyFormListControls = function initEasyFormListControls() {\n return {\n controls: [],\n selectedControl: 'none',\n temporyConfig: {\n selectedControl: 'none',\n formlyLabel: 'label',\n formlyRequired: false,\n formlyDesciption: '',\n formlyPlaceholder: '',\n formlyOptions: []\n }\n };\n};\n\nvar initEasyFormEmptyConfigurationLineModel = exports.initEasyFormEmptyConfigurationLineModel = function initEasyFormEmptyConfigurationLineModel() {\n return {\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};\n\nvar initEmptyControlFieldModel = exports.initEmptyControlFieldModel = function initEmptyControlFieldModel() {\n return {\n 'control': {\n 'type': 'none',\n 'key': 'none'\n }\n };\n};\n\nvar initEasyFormInitialStateConfigurationModel = exports.initEasyFormInitialStateConfigurationModel = function initEasyFormInitialStateConfigurationModel(_easyFormEmptyConfigurationLineModel) {\n // commun all easy form generator ways\n return {\n submitButtonText: 'submit',\n cancelButtonText: 'cancel',\n lines: [].concat(_easyFormEmptyConfigurationLineModel)\n };\n};\n\nvar initEasyFormInitialStateConfigurationModelAddOnForStepWay = exports.initEasyFormInitialStateConfigurationModelAddOnForStepWay = function initEasyFormInitialStateConfigurationModelAddOnForStepWay() {\n // specific easy form generator — step way — (not drag and drop way), needed for wizard management\n return {\n activeLine: 1,\n listConfigStep: ['init', 'first', 'second', 'third'],\n stepIndicators: [true, false, false, false],\n configStepCounter: 0\n };\n};\n\nvar initEasyFormReloadConfigurationModel = exports.initEasyFormReloadConfigurationModel = function initEasyFormReloadConfigurationModel() {\n var reloadConfigModel = initEasyFormInitialStateConfigurationModel();\n reloadConfigModel.lines = [];\n return reloadConfigModel;\n};\n\n// can't use arrow function here -> 'this' would be bound to caller rather than expected current returned object... \nvar initHeaderTemplates = exports.initHeaderTemplates = function initHeaderTemplates() {\n var headerTemplate = {\n cssClass: ['col-xs-12', 'col-xs-6', 'col-xs-4'],\n textContent: '',\n html_part1: [' <div class=\"'].join(''),\n selectedClass: '',\n html_part2: ['\">', ' <h2 class=\"text-center\">'].join(''),\n html_part3: this.textContent,\n html_part4: [' <h2>', ' <hr/>', ' </div>'].join(''),\n simpleHtml1: ['<h2 class=\"text-center\">'].join(''),\n simpleHtml2: [' <h2>', ' <hr/>'].join('')\n };\n return headerTemplate;\n};\n\nvar initFormlyControlTemplates = exports.initFormlyControlTemplates = function initFormlyControlTemplates() {\n return {\n className: ['col-xs-12', 'col-xs-6', 'col-xs-4'],\n type: '',\n key: '',\n templateOptions: {\n type: '',\n label: '',\n required: '',\n placeholder: '',\n description: '',\n options: ''\n }\n };\n};\n\nvar initParticularControlProperties = exports.initParticularControlProperties = function initParticularControlProperties() {\n return [{\n controlType: 'datepicker',\n properties: [{\n isRoot: false,\n isTemplateOptions: true,\n value: 'datepickerPopup'\n }]\n }];\n};//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvZm9ybWx5UHJveHkvZWRhRHJhZ0Ryb3BXYXkuZm9ybWx5UHJveHkuZm9ybUZpZWxkTWFuYWdlLnByb3ZpZGVyLmhlbHBlcnMuanM/MDgyMiJdLCJuYW1lcyI6WyJpbml0RWFzeUZvcm1MaXN0Q29udHJvbHMiLCJjb250cm9scyIsInNlbGVjdGVkQ29udHJvbCIsInRlbXBvcnlDb25maWciLCJmb3JtbHlMYWJlbCIsImZvcm1seVJlcXVpcmVkIiwiZm9ybWx5RGVzY2lwdGlvbiIsImZvcm1seVBsYWNlaG9sZGVyIiwiZm9ybWx5T3B0aW9ucyIsImluaXRFYXN5Rm9ybUVtcHR5Q29uZmlndXJhdGlvbkxpbmVNb2RlbCIsImxpbmUiLCJhY3RpdmVDb2x1bW4iLCJjb2x1bW5zIiwibnVtQ29sdW1uIiwiZXhpc3QiLCJjb250cm9sIiwidHlwZSIsImtleSIsImluaXRFbXB0eUNvbnRyb2xGaWVsZE1vZGVsIiwiaW5pdEVhc3lGb3JtSW5pdGlhbFN0YXRlQ29uZmlndXJhdGlvbk1vZGVsIiwiX2Vhc3lGb3JtRW1wdHlDb25maWd1cmF0aW9uTGluZU1vZGVsIiwic3VibWl0QnV0dG9uV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gJ2NvbC14cy00J10sXG4gICAgdGV4dENvbnRlbnQgOiAnJyxcbiAgICBodG1sX3BhcnQxIFx0OiBbXG4gICAgICAgICAgICAgICAgICAgICcgIDxkaXYgY2xhc3M9XCInXG4gICAgICAgICAgICAgICAgICAgIF0uam9pbignJyksXG4gICAgc2VsZWN0ZWRDbGFzcyA6ICcnLFxuICAgIGh0bWxfcGFydDIgXHQ6IFtcbiAgICAgICAgICAgICAgICAgICAgJ1wiPicsXG4gICAgICAgICAgICAgICAgICAgICcgICAgPGgyIGNsYXNzPVwidGV4dC1jZW50ZXJcIj4nXHRcdFx0XHRcdFx0XHRcdFx0XHRcdFx0XHRcdFx0XHRcdFx0XHRcdFx0XHRcdFxuICAgICAgICAgICAgICAgICAgXS5qb2luKCcnKSxcdFx0XHRcdFx0XHRcdCBcbiAgICBodG1sX3BhcnQzICA6IHRoaXMudGV4dENvbnRlbnQsICBcbiAgICBodG1sX3BhcnQ0IFx0OiAgWyBcbiAgICAgICAgICAgICAgICAgICAgJyAgICA8aDI+JyxcbiAgICAgICAgICAgICAgICAgICAgJyAgICA8aHIvPicsXG4gICAgICAgICAgICAgICAgICAgICcgIDwvZGl2PidcbiAgICAgICAgICAgICAgICAgICAgXS5qb2luKCcnKSwgXG4gICAgc2ltcGxlSHRtbDEgOiBcdFtcbiAgICAgICAgICAgICAgICAgICAgJzxoMiBjbGFzcz1cInRleHQtY2VudGVyXCI+J1xuICAgICAgICAgICAgICAgICAgICBdLmpvaW4oJycpLFxuICAgIHNpbXBsZUh0bWwyIDogXHRbXG4gICAgICAgICAgICAgICAgICAgICcgICAgPGgyPicsXG4gICAgICAgICAgICAgICAgICAgICcgICAgPGhyLz4nXHRcdFx0XHRcdFx0XHRcdFx0XHRcdFx0XHRcdFx0XHRcbiAgICAgICAgICAgICAgICAgICAgXS5qb2luKCcnKVx0XHRcdFx0XHRcdCBcbiAgfTsgIFxuICByZXR1cm4gIGhlYWRlclRlbXBsYXRlOyBcbn07XG4gIFxuICBc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|
|
/***/ },
|
|
/* 53 */
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n\nvar _edaDragDropWayDragdropDdContentCounter = __webpack_require__(54);\n\nvar _edaDragDropWayDragdropDdContentCounter2 = _interopRequireDefault(_edaDragDropWayDragdropDdContentCounter);\n\nvar _edaDragDropWayDragdropDdContentCounter3 = __webpack_require__(55);\n\nvar _edaDragDropWayDragdropDdContentCounter4 = _interopRequireDefault(_edaDragDropWayDragdropDdContentCounter3);\n\nvar _edaDragDropWayDragdropDdDecorContainer = __webpack_require__(56);\n\nvar _edaDragDropWayDragdropDdDecorContainer2 = _interopRequireDefault(_edaDragDropWayDragdropDdDecorContainer);\n\nvar _edaDragDropWayDragdropDdDecorContainer3 = __webpack_require__(58);\n\nvar _edaDragDropWayDragdropDdDecorContainer4 = _interopRequireDefault(_edaDragDropWayDragdropDdDecorContainer3);\n\nvar _edaDragDropWayDragdropDdDecorDropZone = __webpack_require__(59);\n\nvar _edaDragDropWayDragdropDdDecorDropZone2 = _interopRequireDefault(_edaDragDropWayDragdropDdDecorDropZone);\n\nvar _edaDragDropWayDragdropDdDecorItem = __webpack_require__(61);\n\nvar _edaDragDropWayDragdropDdDecorItem2 = _interopRequireDefault(_edaDragDropWayDragdropDdDecorItem);\n\nvar _edaDragDropWayDragdropDdDecorItem3 = __webpack_require__(63);\n\nvar _edaDragDropWayDragdropDdDecorItem4 = _interopRequireDefault(_edaDragDropWayDragdropDdDecorItem3);\n\nvar _edaDragDropWayDragdropDdDecorLine = __webpack_require__(64);\n\nvar _edaDragDropWayDragdropDdDecorLine2 = _interopRequireDefault(_edaDragDropWayDragdropDdDecorLine);\n\nvar _edaDragDropWayDragdropDdNoEditableControl = __webpack_require__(66);\n\nvar _edaDragDropWayDragdropDdNoEditableControl2 = _interopRequireDefault(_edaDragDropWayDragdropDdNoEditableControl);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar DRAGDROP_MODULE = 'edaDragDropWay.dragdrop.module'; /* global angular */\nexports.default = angular.module(DRAGDROP_MODULE, []).directive(_edaDragDropWayDragdropDdContentCounter.DD_CONTENT_COUNTER_DIRECTIVE, _edaDragDropWayDragdropDdContentCounter2.default).controller(_edaDragDropWayDragdropDdDecorContainer3.DD_DECOR_CONTAINER_CONTROLLER_NAME, _edaDragDropWayDragdropDdDecorContainer4.default).directive(_edaDragDropWayDragdropDdDecorContainer.DD_DECOR_CONTAINER_DIRECTIVE, _edaDragDropWayDragdropDdDecorContainer2.default).directive(_edaDragDropWayDragdropDdDecorDropZone.DD_DECOR_DROPZONE_DIRECTIVE, _edaDragDropWayDragdropDdDecorDropZone2.default).directive(_edaDragDropWayDragdropDdDecorItem.DRAG_DROP_DECOR_ITEM, _edaDragDropWayDragdropDdDecorItem2.default).service(_edaDragDropWayDragdropDdDecorItem3.DRAG_DROP_ITEM_DECOR_SERVICE, _edaDragDropWayDragdropDdDecorItem4.default).directive(_edaDragDropWayDragdropDdNoEditableControl.DRAG_DROP_NO_EDITABLE_CONTROL, _edaDragDropWayDragdropDdNoEditableControl2.default).service(_edaDragDropWayDragdropDdContentCounter3.DRAG_DROP_ITEM_COUNTER_SERVICE, _edaDragDropWayDragdropDdContentCounter4.default).directive(_edaDragDropWayDragdropDdDecorLine.DRAG_DROP_DECOR_LINE, _edaDragDropWayDragdropDdDecorLine2.default);//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvZHJhZ2Ryb3AvZWRhRHJhZ0Ryb3BXYXkuZHJhZ2Ryb3AubW9kdWxlLmpzPzExZjkiXSwibmFtZXMiOlsiRFJBR0RST1BfTU9EVUxFIiwiYW5ndWxhciIsIm1vZHVsZSIsImRpcmVjdGl2ZSIsImNvbnRyb2x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lY29yRHJvcFpvbmUpXG5cdFx0XHRcdFx0XHRcdFx0LmRpcmVjdGl2ZShEUkFHX0RST1BfREVDT1JfSVRFTSwgZGREZWNvckl0ZW0pXG5cdFx0XHRcdFx0XHRcdFx0LnNlcnZpY2UoRFJBR19EUk9QX0lURU1fREVDT1JfU0VSVklDRSwgZHJhZ0Ryb3BJdGVtRGVjb3JhdGlvblNlcnZpY2UpXG5cdFx0XHRcdFx0XHRcdFx0LmRpcmVjdGl2ZShEUkFHX0RST1BfTk9fRURJVEFCTEVfQ09OVFJPTCwgZGROb0VkaXRhYmxlQ29udHJvbClcblx0XHRcdFx0XHRcdFx0XHQuc2VydmljZShEUkFHX0RST1BfSVRFTV9DT1VOVEVSX1NFUlZJQ0UsIGRyYWdEcm9wSXRlbUNvdW50ZXJTZXJ2aWNlKVxuXHRcdFx0XHRcdFx0XHRcdC5kaXJlY3RpdmUoRFJBR19EUk9QX0RFQ09SX0xJTkUsIGRkRGVjb3JMaW5lKVxuXHRcdFx0XHRcdFx0XHQ7XG5cblxuLy8gV0VCUEFDSyBGT09URVIgLy9cbi8vIC4vc3JjL2FwcC9kcmFnZHJvcHdheS9jb21wb25lbnRzL2RyYWdkcm9wL2VkYURyYWdEcm9wV2F5LmRyYWdkcm9wLm1vZHVsZS5qcyJdLCJzb3VyY2VSb290IjoiIn0=");
|
|
|
|
/***/ },
|
|
/* 54 */
|
|
/***/ function(module, exports) {
|
|
|
|
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\nvar DD_CONTENT_COUNTER_DIRECTIVE = 'ddContentCounter';\n\nfunction ddContentCounter(dragDropItemCounterService, $timeout) {\n\tvar directive = {\n\t\trestrict: 'A',\n\t\tscope: {\n\t\t\tvalueWhenPlaceholder: '@ddValueWhenPlaceholder',\n\t\t\tvalueWhendragging: '@ddValueWhenDragging',\n\t\t\tfullModel: '=ddFullModel',\n\t\t\tcurrentIndex: '@ddContentCounterCurrentIndex',\n\t\t\tparentIndex: '@ddContentCounterParentIndex',\n\t\t\tforceRefresh: '=ddContentCounterForceCssRefresh'\n\t\t},\n\t\tlink: linkfct\n\t};\n\treturn directive;\n\n\tfunction linkfct($scope, element) {\n\t\tvar timer = void 0;\n\t\t// watch children length change : to update css item class\n\t\t$scope.$watch(function () {\n\t\t\treturn element[0].children.length;\n\t\t}, function (newValue, oldValue) {\n\t\t\tif (newValue !== oldValue) {\n\t\t\t\t(function () {\n\t\t\t\t\tvar newRealCount = 0;\n\t\t\t\t\tvar listClassForThisRow = [];\n\t\t\t\t\tfor (var i = element[0].children.length - 1; i >= 0; i--) {\n\t\t\t\t\t\tif (dragDropItemCounterService.isHtmlElementToCount(element[0].children[i].classList)) {\n\t\t\t\t\t\t\tnewRealCount++;\n\t\t\t\t\t\t\tlistClassForThisRow.push({ item: i, isReal: true });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tlistClassForThisRow.push({ item: i, isReal: false });\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t$scope.contentRealCount = newRealCount;\n\t\t\t\t\t// a timer otherwise won't refresh everytime\n\t\t\t\t\ttimer = $timeout(function () {\n\t\t\t\t\t\tdragDropItemCounterService.updateLineItemCss($scope.fullModel, listClassForThisRow, $scope.parentIndex, $scope.currentIndex, newRealCount);\n\t\t\t\t\t}, 20);\n\t\t\t\t})();\n\t\t\t}\n\t\t});\n\n\t\t$scope.$on('$destroy', function () {\n\t\t\t$timeout.cancel(timer);\n\t\t});\n\t}\n}\n\nddContentCounter.$inject = ['dragDropItemCounterService', '$timeout'];\n\nexports.default = ddContentCounter;\nexports.DD_CONTENT_COUNTER_DIRECTIVE = DD_CONTENT_COUNTER_DIRECTIVE;//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvZHJhZ2Ryb3AvZGRDb250ZW50Q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kcmFnZHJvcHdheS9jb21wb25lbnRzL2RyYWdkcm9wL2RkQ29udGVudENvdW50ZXIvZWRhRHJhZ0Ryb3BXYXkuZHJhZ2Ryb3AuZGRDb250ZW50Q291bnRlci5kaXJlY3RpdmUuanMiXSwic291cmNlUm9vdCI6IiJ9");
|
|
|
|
/***/ },
|
|
/* 55 */
|
|
/***/ function(module, exports) {
|
|
|
|
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar DRAG_DROP_ITEM_COUNTER_SERVICE = 'dragDropItemCounterService';\n\nvar dragDropItemCounterService = function () {\n\tfunction dragDropItemCounterService(easyFormDragWayConfig) {\n\t\t_classCallCheck(this, dragDropItemCounterService);\n\n\t\tthis.easyFormDragWayConfig = easyFormDragWayConfig;\n\t\tthis.init();\n\t}\n\n\t_createClass(dragDropItemCounterService, [{\n\t\tkey: 'init',\n\t\tvalue: function init() {\n\t\t\tthis._modelItemRealCounter = [];\n\t\t\tthis._itemsNotToCount = angular.copy(this.easyFormDragWayConfig.getItemsNotToCount());\n\t\t}\n\t}, {\n\t\tkey: 'getItemsNotToCount',\n\t\tvalue: function getItemsNotToCount() {\n\t\t\treturn this._itemsNotToCount;\n\t\t}\n\t}, {\n\t\tkey: 'getModelItemsRealCounter',\n\t\tvalue: function getModelItemsRealCounter() {\n\t\t\treturn this._modelItemRealCounter;\n\t\t}\n\t}, {\n\t\tkey: 'isHtmlElementToCount',\n\t\tvalue: function isHtmlElementToCount(htmlvalue) {\n\t\t\tvar isToCount = true;\n\t\t\tif (htmlvalue.length > 0) {\n\t\t\t\tangular.forEach(this._itemsNotToCount, function (value) {\n\t\t\t\t\tfor (var classes = htmlvalue.length - 1; classes >= 0; classes--) {\n\t\t\t\t\t\tif (htmlvalue[classes] === value) isToCount = isToCount && false;\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\t\t\treturn isToCount;\n\t\t}\n\t}, {\n\t\tkey: 'updateLineItemCss',\n\t\tvalue: function updateLineItemCss(fullModel, listCssToApply, columIndex, lineIndex, realCount) {\n\t\t\tif (typeof fullModel !== 'undefined' && typeof listCssToApply !== 'undefined' && typeof columIndex !== 'undefined' && typeof lineIndex !== 'undefined' && typeof realCount !== 'undefined') {\n\t\t\t\tfor (var i = fullModel[columIndex][lineIndex].length - 1; i >= 0; i--) {\n\t\t\t\t\tfor (var j = 0; j < listCssToApply.length; j++) {\n\t\t\t\t\t\tif (listCssToApply[j].item === i && listCssToApply[j].isReal === true) {\n\t\t\t\t\t\t\tfullModel[columIndex][lineIndex][i].cssClass = this.easyFormDragWayConfig.getItemCssDependingNumberItemsInRow(realCount);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t}]);\n\n\treturn dragDropItemCounterService;\n}();\n\ndragDropItemCounterService.$inject = ['easyFormDragWayConfig'];\n\nexports.default = dragDropItemCounterService;\nexports.DRAG_DROP_ITEM_COUNTER_SERVICE = DRAG_DROP_ITEM_COUNTER_SERVICE;//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvZHJhZ2Ryb3AvZGRDb250ZW50Q291bnRlci9lZGFEcmFnRHJvcFdheS5kcmFnZHJvcC5kZENvbnRlbnRDb3VudG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\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\nexports.DD_DECOR_CONTAINER_DIRECTIVE = undefined;\n\nvar _edaDragDropWayDragdropDdDecorContainerTemplate = __webpack_require__(57);\n\nvar _edaDragDropWayDragdropDdDecorContainerTemplate2 = _interopRequireDefault(_edaDragDropWayDragdropDdDecorContainerTemplate);\n\nvar _edaDragDropWayDragdropDdDecorContainer = __webpack_require__(58);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/* global angular */\nvar DD_DECOR_CONTAINER_DIRECTIVE = 'ddDecorContainer';\n\nfunction ddDecorContainer() {\n\tvar directive = {\n\t\trestrict: 'A',\n\t\ttemplate: _edaDragDropWayDragdropDdDecorContainerTemplate2.default,\n\t\tscope: {},\n\t\tcontroller: _edaDragDropWayDragdropDdDecorContainer.DD_DECOR_CONTAINER_CONTROLLER_NAME,\n\t\tcontrollerAs: _edaDragDropWayDragdropDdDecorContainer.DD_DECOR_CONTAINER_CONTROLLERAS_NAME,\n\t\tbindToController: {\n\t\t\t'styleParam': '=ddContainerProperties',\n\t\t\t'isStillCollapsed': '=ddContainerIsCollpased',\n\t\t\t'verboseMode': '@ddContainerVerboseMode',\n\t\t\t'currentIndex': '@ddContainerCurrentIndex',\n\t\t\t'collpaseAll': '&ddCollapseAll'\n\t\t},\n\t\ttransclude: true,\n\t\tlink: linkFct\n\t};\n\treturn directive;\n\n\tfunction linkFct($scope, element, attrs, ctrl, transclude) {\n\t\tvar verboseModeActive = $scope.ddDecorContainerCtrl.verboseMode;\n\t\tvar currentIndex = $scope.ddDecorContainerCtrl.currentIndex;\n\t\t$scope.ddDecorContainerCtrl.isCollapsed = false;\n\t\t$scope.ddDecorContainerCtrl.config.isEnabled = false;\n\t\t/**\n \t* forceCollapse when :\n \t* dragDropConfigModel.containerConfig.decoration.isCollapsed changed (here bound to $scope.isStillCollapsed)\n \t*/\n\t\t$scope.$watch(function () {\n\t\t\treturn $scope.ddDecorContainerCtrl.isStillCollapsed;\n\t\t}, function (newVal, oldVal) {\n\t\t\tif (newVal !== oldVal) {\n\t\t\t\tif ($scope.$parent.$parent.$index === 0) $scope.ddDecorContainerCtrl.isCollapsed = newVal;\n\t\t\t}\n\t\t});\n\n\t\t/**\n \t* verbose mode for developments only\n \t*/\n\t\tif (verboseModeActive !== '') {\n\t\t\tvar verbose = angular.lowercase(verboseModeActive);\n\t\t\tif (verbose === 'true' || verbose === '1') {\n\t\t\t\t/* eslint no-console:0 */\n\t\t\t\tconsole.dir({\n\t\t\t\t\twhoAmI: 'I am verbose from ddDecorContainer link',\n\t\t\t\t\tverbodeMode: verbose,\n\t\t\t\t\tParentParentIndex: $scope.$parent.$parent.$index,\n\t\t\t\t\tParentIndex: $scope.$parent.$index,\n\t\t\t\t\tcurrentIndex: currentIndex,\n\t\t\t\t\tstyleParam: $scope.ddDecorContainerCtrl.styleParam,\n\t\t\t\t\tcolumnindex: $scope.$parent.$parent.$parent.$parent.$index\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\n\t\t/**\n \t* no header (no title, no collapse....)\n \t*/\n\t\t//$scope.ddDecorContainerCtrl.config.isEnabled\n\t\tif (typeof currentIndex !== 'undefined') {\n\t\t\tif (currentIndex !== '') {\n\t\t\t\t/**\n \t* specific 1st column\n \t*/\n\t\t\t\tif (currentIndex === '0') {\n\t\t\t\t\t/**\n \t* apply title\n \t*/\n\t\t\t\t\tif (typeof $scope.ddDecorContainerCtrl.styleParam.title !== 'undefined') {\n\t\t\t\t\t\t$scope.ddDecorContainerCtrl.currentTitle = $scope.ddDecorContainerCtrl.styleParam.title;\n\t\t\t\t\t\t$scope.ddDecorContainerCtrl.config.isEnabled = true;\n\t\t\t\t\t\t$scope.ddDecorContainerCtrl.isCollapsed = true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t/**\n \t* prevent transclusion creating child scope\n \t* want to know more about what I'm talking about : check this nice tip on the subject :\n \t* http://angular-tips.com/blog/2014/03/transclusion-and-scopes/\n \t*/\n\t\ttransclude($scope.$parent, function (contentClone) {\n\t\t\t/**\n \t* transclusion will append content to '<div id=\"ddDecorContainerWillTranscludeHere\"></div>'\n \t*/\n\t\t\tvar childDiv = angular.element(element.children()[1]);\n\t\t\tchildDiv.append(contentClone);\n\t\t});\n\t}\n}\n\nexports.default = ddDecorContainer;\nexports.DD_DECOR_CONTAINER_DIRECTIVE = DD_DECOR_CONTAINER_DIRECTIVE;//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvZHJhZ2Ryb3AvZGREZWNvckNvbnRhaW5lci9lZGFEcmFnRHJvcFdheS5kcmFnZHJvcC5kZERlY29yQ29udGFpbmVyLmRpcmVjdGl2ZS5qcz84MWI0Il0sIm5hbWVzIjpbIkREX0RFQ09SX0NPTlRBSU5FUl9ESVJFQ1RJVkUiLCJkZERlY29yQ29udGFpbmVyIiwiZGlyZWN0aXZlIiwicmVzdHJpY3QiLCJ0ZW1wbGF0ZSIsInNjb3BlIiwiY29udHJvbGxlciIsImNvbnRyb2xsZXJBcyIsImJpbmRUb0NvbnRyb2xsZXIiLCJ0cmFuc2NsdWRlIiwibGluayIsImxpbmtGY3QiLCIkc2NvcGUiLCJlbGVtZW50IiwiYXR0cnMiLCJjdHJsIiwidmVyYm9zZU1vZGVBY3RpdmUiLCJkZERlY29yQ29udGFpbmVyQ3RybCIsInZlcmJvc2VNb2RlIiwiY3VycmVudEluZGV4IiwiaXNDb2xsYXBzZWQiLCJjb25maWciLCJpc0VuYWJsZWQiLCIkd2F0Y2giLCJpc1N0aWxsQ29sbGFwc2VkIiwibmV3VmFsIiwib2xkVmFsIiwiJHBhcmVudCIsIiRpbmRleCIsInZlcmJvc2UiLCJhbmd1bGFyIiwibG93ZXJjYXNlIiwiY29uc29sZSIsImRpciIsIndob0FtSS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cyBuaWNlIHRpcCBvbiB0aGUgc3ViamVjdCA6XG5cdFx0XHQqIGh0dHA6Ly9hbmd1bGFyLXRpcHMuY29tL2Jsb2cvMjAxNC8wMy90cmFuc2NsdXNpb24tYW5kLXNjb3Blcy9cblx0XHRcdCovXG5cdFx0dHJhbnNjbHVkZSgkc2NvcGUuJHBhcmVudCwgZnVuY3Rpb24oY29udGVudENsb25lKXtcblx0XHRcdFx0LyoqXG5cdFx0XHRcdFx0KiB0cmFuc2NsdXNpb24gd2lsbCBhcHBlbmQgY29udGVudCB0byAnPGRpdiBpZD1cImRkRGVjb3JDb250YWluZXJXaWxsVHJhbnNjbHVkZUhlcmVcIj48L2Rpdj4nXG5cdFx0XHRcdFx0Ki9cblx0XHRcdFx0dmFyIGNoaWxkRGl2ID0gYW5ndWxhci5lbGVtZW50KGVsZW1lbnQuY2hpbGRyZW4oKVsxXSk7XG5cdFx0XHRcdGNoaWxkRGl2LmFwcGVuZChjb250ZW50Q2xvbmUpO1xuXHRcdH0pO1xuXG5cblxuXHR9XG5cbn1cblxuXG5leHBvcnQgZGVmYXVsdCBkZERlY29yQ29udGFpbmVyO1xuXG5leHBvcnQge1xuXHRERF9ERUNPUl9DT05UQUlORVJfRElSRUNUSVZFXG59O1xuXG5cblxuLy8gV0VCUEFDSyBGT09URVIgLy9cbi8vIC4vc3JjL2FwcC9kcmFnZHJvcHdheS9jb21wb25lbnRzL2RyYWdkcm9wL2RkRGVjb3JDb250YWluZXIvZWRhRHJhZ0Ryb3BXYXkuZHJhZ2Ryb3AuZGREZWNvckNvbnRhaW5lci5kaXJlY3RpdmUuanMiXSwic291cmNlUm9vdCI6IiJ9");
|
|
|
|
/***/ },
|
|
/* 57 */
|
|
/***/ function(module, exports) {
|
|
|
|
eval("module.exports = \"<div ng-click=\\\"ddDecorContainerCtrl.collapseFct()\\\">\\n <h6\\n ng-show=\\\"ddDecorContainerCtrl.config.isEnabled\\\"\\n class=\\\"ddDecorContainerCtrl.isCollapsableZone\\\"\\n style=\\\"cursor:pointer\\\">\\n <button class=\\\"btn btn-primary btn-xs\\\">\\n <span class=\\\"{{ddDecorContainerCtrl.currentIconClass()}}\\\"></span>\\n </button>\\n \\n {{ddDecorContainerCtrl.currentTitle}}\\n </h6>\\n</div>\\n<div uib-collapse=\\\"ddDecorContainerCtrl.isCollapsed\\\">\\n <div id=\\\"ddDecorContainerWillTranscludeHere\\\"></div>\\n</div>\\n\"//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvZHJhZ2Ryb3AvZGREZWNvckNvbnRhaW5lci9lZGFEcmFnRHJvcFdheS5kcmFnZHJvcC5kZERlY29yQ29udGFpbmVyLnRlbXBsYXRlLmh0bWw/ZGFmOCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxrU0FBa1MseUNBQXlDLHFDQUFxQyxRQUFRLG1DQUFtQyIsImZpbGUiOiI1Ny5qcyIsInNvdXJjZXNDb250ZW50IjpbIm1vZHVsZS5leHBvcnRzID0gXCI8ZGl2IG5nLWNsaWNrPVxcXCJkZERlY29yQ29udGFpbmVyQ3RybC5jb2xsYXBzZUZjdCgpXFxcIj5cXG4gICA8aDZcXG4gICAgbmctc2hvdz1cXFwiZGREZWNvckNvbnRhaW5lckN0cmwuY29uZmlnLmlzRW5hYmxlZFxcXCJcXG4gICAgY2xhc3M9XFxcImRkRGVjb3JDb250YWluZXJDdHJsLmlzQ29sbGFwc2FibGVab25lXFxcIlxcbiAgICBzdHlsZT1cXFwiY3Vyc29yOnBvaW50ZXJcXFwiPlxcbiAgICA8YnV0dG9uIGNsYXNzPVxcXCJidG4gYnRuLXByaW1hcnkgYnRuLXhzXFxcIj5cXG4gICAgICA8c3BhbiBjbGFzcz1cXFwie3tkZERlY29yQ29udGFpbmVyQ3RybC5jdXJyZW50SWNvbkNsYXNzKCl9fVxcXCI+PC9zcGFuPlxcbiAgICA8L2J1dHRvbj5cXG4gICAgJm5ic3A7XFxuICAgIHt7ZGREZWNvckNvbnRhaW5lckN0cmwuY3VycmVudFRpdGxlfX1cXG4gIDwvaDY+XFxuPC9kaXY+XFxuPGRpdiB1aWItY29sbGFwc2U9XFxcImRkRGVjb3JDb250YWluZXJDdHJsLmlzQ29sbGFwc2VkXFxcIj5cXG4gICA8ZGl2IGlkPVxcXCJkZERlY29yQ29udGFpbmVyV2lsbFRyYW5zY2x1ZGVIZXJlXFxcIj48L2Rpdj5cXG48L2Rpdj5cXG5cIlxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vc3JjL2FwcC9kcmFnZHJvcHdheS9jb21wb25lbnRzL2RyYWdkcm9wL2RkRGVjb3JDb250YWluZXIvZWRhRHJhZ0Ryb3BXYXkuZHJhZ2Ryb3AuZGREZWNvckNvbnRhaW5lci50ZW1wbGF0ZS5odG1sXG4vLyBtb2R1bGUgaWQgPSA1N1xuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwic291cmNlUm9vdCI6IiJ9");
|
|
|
|
/***/ },
|
|
/* 58 */
|
|
/***/ function(module, exports) {
|
|
|
|
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\n/* global angular */\nvar DD_DECOR_CONTAINER_CONTROLLER_NAME = 'ddDecorContainerController';\nvar DD_DECOR_CONTAINER_CONTROLLERAS_NAME = 'ddDecorContainerCtrl';\n\nvar ddDecorContainerController = function () {\n\tfunction ddDecorContainerController() {\n\t\t_classCallCheck(this, ddDecorContainerController);\n\n\t\tthis.init();\n\t}\n\n\t_createClass(ddDecorContainerController, [{\n\t\tkey: 'init',\n\t\tvalue: function init() {\n\t\t\tthis.config = angular.extend({}, { isEnabled: false });\n\t\t\t/**\n \t* TODO (low priority) : make icon css configurable (provider)\n \t*/\n\t\t\tthis.icons = angular.extend({}, {\n\t\t\t\tclosedClass: 'glyphicon glyphicon-eye-open',\n\t\t\t\topened: 'glyphicon glyphicon-eye-close'\n\t\t\t});\n\t\t}\n\t}, {\n\t\tkey: 'collapseFct',\n\t\tvalue: function collapseFct() {\n\t\t\tthis.collpaseAll({ exceptThisOne: this.styleParam.WhenIndex }); //note : collpaseAll function is boundToController from directive attribute : 'collpaseAll' : '&ddCollapseAll'\n\t\t\tthis.isCollapsed = !this.isCollapsed;\n\t\t\tthis.isStillCollapsed = this.isCollapsed; //note : isStillCollapsed is boundToController from directive attribute : 'isStillCollapsed' : '=ddContainerIsCollpased',\n\t\t}\n\t}, {\n\t\tkey: 'currentIconClass',\n\t\tvalue: function currentIconClass() {\n\t\t\tif (this.isCollapsed) {\n\t\t\t\treturn this.icons.closedClass;\n\t\t\t} else {\n\t\t\t\treturn this.icons.opened;\n\t\t\t}\n\t\t}\n\t}]);\n\n\treturn ddDecorContainerController;\n}();\n\nexports.default = ddDecorContainerController;\nexports.DD_DECOR_CONTAINER_CONTROLLER_NAME = DD_DECOR_CONTAINER_CONTROLLER_NAME;\nexports.DD_DECOR_CONTAINER_CONTROLLERAS_NAME = DD_DECOR_CONTAINER_CONTROLLERAS_NAME;//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvZHJh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kFNRVxufTtcblxuXG5cbi8vIFdFQlBBQ0sgRk9PVEVSIC8vXG4vLyAuL3NyYy9hcHAvZHJhZ2Ryb3B3YXkvY29tcG9uZW50cy9kcmFnZHJvcC9kZERlY29yQ29udGFpbmVyL2VkYURyYWdEcm9wV2F5LmRyYWdkcm9wLmRkRGVjb3JDb250YWluZXIuY29udHJvbGxlci5qcyJdLCJzb3VyY2VSb290IjoiIn0=");
|
|
|
|
/***/ },
|
|
/* 59 */
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\nexports.DD_DECOR_DROPZONE_DIRECTIVE = undefined;\n\nvar _edaDragDropWayDragdropDdDecorDropZoneTemplate = __webpack_require__(60);\n\nvar _edaDragDropWayDragdropDdDecorDropZoneTemplate2 = _interopRequireDefault(_edaDragDropWayDragdropDdDecorDropZoneTemplate);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar DD_DECOR_DROPZONE_DIRECTIVE = 'ddDecorDropZone'; /* global angular */\n\n\nfunction ddDecorDropZone() {\n\tvar directive = {\n\t\trestrict: 'A',\n\t\ttemplate: _edaDragDropWayDragdropDdDecorDropZoneTemplate2.default,\n\t\tscope: {\n\t\t\t'styleParam': '=ddDropZoneProperties',\n\t\t\t'verboseMode': '@ddDropZoneVerboseMode',\n\t\t\t'currentIndex': '@ddDropZoneCurrentIndex',\n\t\t\t'addNewLineFct': '&ddDropZoneAddNewLine'\n\t\t},\n\t\ttransclude: true,\n\t\tlink: linkfct\n\t};\n\treturn directive;\n\n\tfunction linkfct($scope) {\n\n\t\tvar verboseModeActive = $scope.verboseMode;\n\t\tvar currentIndex = $scope.currentIndex;\n\n\t\t$scope.headerConfig = {\n\t\t\tHeaderButtonVisible: false,\n\t\t\taffixAttr: 'bs-affix',\n\t\t\taffixEnabled: false\n\t\t};\n\t\t/**\n \t* verbose mode : just for dev\n \t*/\n\t\tif (verboseModeActive !== '') {\n\t\t\tvar verbose = angular.lowercase(verboseModeActive);\n\t\t\tif (verbose === 'true' || verbose === '1') {\n\t\t\t\t/* eslint no-console:0 */\n\t\t\t\tconsole.dir({\n\t\t\t\t\twhoAmI: 'I am verbose from ddDecorDropZone link',\n\t\t\t\t\tverbodeMode: verbose,\n\t\t\t\t\tParentParentIndex: $scope.$parent.$parent.$index,\n\t\t\t\t\tParentIndex: $scope.$parent.$index,\n\t\t\t\t\tcurrentIndex: currentIndex,\n\t\t\t\t\tstyleParam: $scope.styleParam\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\n\t\tif (typeof currentIndex !== 'undefined') {\n\t\t\tif (currentIndex !== '') {\n\t\t\t\t// apply title\n\t\t\t\tif (typeof $scope.styleParam.title !== 'undefined') $scope.currentTitle = $scope.styleParam.title;\n\t\t\t\t//apply font-awesome\n\t\t\t\tif (typeof $scope.styleParam.fontAwesomeIcon !== 'undefined') $scope.currentFontAwesome = $scope.styleParam.fontAwesomeIcon;\n\t\t\t\t//show add new line button\n\t\t\t\tif (currentIndex === '1') $scope.headerConfig.HeaderButtonVisible = true;\n\t\t\t}\n\t\t}\n\t}\n}\n\nddDecorDropZone.$inject = [];\n\nexports.default = ddDecorDropZone;\nexports.DD_DECOR_DROPZONE_DIRECTIVE = DD_DECOR_DROPZONE_DIRECTIVE;//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvZHJhZ2Ryb3AvZGREZWNvckRyb3Bab25lL2VkYURyYWdEcm9wV2F5LmRyYWdkcm9wLmRkRGVjb3JEcm9wWm9uZS5kaXJlY3RpdmUuanM/ZjdhMSJdLCJuYW1lcyI6WyJERF9ERUNPUl9EUk9QWk9ORV9ESVJFQ1RJVkUiLCJkZERlY29yRHJvcFpvbmUiLCJkaXJlY3RpdmUiLCJyZXN0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|
|
|
|
/***/ },
|
|
/* 60 */
|
|
/***/ function(module, exports) {
|
|
|
|
eval("module.exports = \"<div class=\\\"{{styleParam.ApplycssClass}}\\\">\\n <div id=\\\"visualPanel\\\">\\n <div class=\\\"panel panel-default\\\">\\n <div class=\\\"panel-heading\\\">\\n <h3 class=\\\"panel-title\\\">\\n <i class=\\\"{{currentFontAwesome}}\\\"></i> \\n {{currentTitle}}\\n <div ng-show=\\\"headerConfig.HeaderButtonVisible\\\">\\n <button\\n class=\\\"btn btn-primary btn-xs buttonHeaderAddNewLine center-block\\\"\\n ng-click=\\\"addNewLineFct();\\\">\\n <span class=\\\"glyphicon glyphicon-plus\\\"></span>\\n \\n add new line\\n </button>\\n </div>\\n </h3>\\n </div>\\n <div class=\\\"panel-body\\\">\\n <div class=\\\"row\\\">\\n <div class=\\\"col-md-12\\\" ng-transclude>\\n </div>\\n </div>\\n </div>\\n </div>\\n </div>\\n</div>\\n\"//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvZHJhZ2Ryb3AvZGREZWNvckRyb3Bab25lL2VkYURyYWdEcm9wV2F5LmRyYWdkcm9wLmRkRGVjb3JEcm9wWm9uZS50ZW1wbGF0ZS5odG1sPzM5NWEiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsaUNBQWlDLDBCQUEwQiwyS0FBMkssb0JBQW9CLGFBQWEsY0FBYyxjQUFjLG9OQUFvTiwyRkFBMkYiLCJmaWxlIjoiNjAuanMiLCJzb3VyY2VzQ29udGVudCI6WyJtb2R1bGUuZXhwb3J0cyA9IFwiPGRpdiBjbGFzcz1cXFwie3tzdHlsZVBhcmFtLkFwcGx5Y3NzQ2xhc3N9fVxcXCI+XFxuICA8ZGl2IGlkPVxcXCJ2aXN1YWxQYW5lbFxcXCI+XFxuICAgIDxkaXYgIGN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gPC9kaXY+XFxuICAgPC9kaXY+XFxuPC9kaXY+XFxuXCJcblxuXG4vLy8vLy8vLy8vLy8vLy8vLy9cbi8vIFdFQlBBQ0sgRk9PVEVSXG4vLyAuL3NyYy9hcHAvZHJhZ2Ryb3B3YXkvY29tcG9uZW50cy9kcmFnZHJvcC9kZERlY29yRHJvcFpvbmUvZWRhRHJhZ0Ryb3BXYXkuZHJhZ2Ryb3AuZGREZWNvckRyb3Bab25lLnRlbXBsYXRlLmh0bWxcbi8vIG1vZHVsZSBpZCA9IDYwXG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJzb3VyY2VSb290IjoiIn0=");
|
|
|
|
/***/ },
|
|
/* 61 */
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\nexports.DRAG_DROP_DECOR_ITEM = undefined;\n\nvar _edaDragDropWayDragdropDdDecorItemTemplate = __webpack_require__(62);\n\nvar _edaDragDropWayDragdropDdDecorItemTemplate2 = _interopRequireDefault(_edaDragDropWayDragdropDdDecorItemTemplate);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar DRAG_DROP_DECOR_ITEM = 'ddDecorItem';\n\nfunction ddDecorItem(easyFormDragWayConfig) {\n\tvar directive = {\n\t\trestrict: 'A',\n\t\tscope: {\n\t\t\t'verboseMode': '@ddItemVerboseMode',\n\t\t\t'currentIndex': '@ddItemCurrentIndex',\n\t\t\t'parentIndex': '@ddItemParentIndex',\n\t\t\t'parentParentIndex': '@ddItemParentParentIndex',\n\t\t\t'lineItemsCount': '@ddItemsCount',\n\t\t\t'cssClass': '@ddItemCssClass'\n\t\t},\n\t\ttemplate: _edaDragDropWayDragdropDdDecorItemTemplate2.default,\n\t\ttransclude: true,\n\t\tlink: linkfct\n\t};\n\treturn directive;\n\n\tfunction linkfct($scope, element, attrs, ctrl, transclude) {\n\t\tvar verboseModeActive = $scope.verboseMode;\n\t\tvar currentIndex = $scope.currentIndex;\n\t\tvar parentIndex = $scope.parentIndex;\n\t\tvar listClass = easyFormDragWayConfig.getDistinctItemCssClass();\n\n\t\t/**\n \t* init css class\n \t*/\n\t\tangular.forEach(listClass, function (css) {\n\t\t\treturn element.removeClass(css);\n\t\t});\n\t\telement.addClass($scope.cssClass);\n\t\t/**\n \t* update css class\n \t*/\n\t\t$scope.$watch('cssClass', function (newValue, oldValue) {\n\t\t\tif (newValue !== oldValue) {\n\t\t\t\t/**\n \t* update css class\n \t*/\n\t\t\t\tangular.forEach(listClass, function (css) {\n\t\t\t\t\treturn element.removeClass(css);\n\t\t\t\t});\n\t\t\t\telement.addClass(newValue);\n\t\t\t}\n\t\t});\n\n\t\t/**\n \t* verbose mode : just for dev \n \t*/\n\t\tif (verboseModeActive !== '') {\n\t\t\tvar verbose = angular.lowercase(verboseModeActive);\n\t\t\tif (verbose === 'true' || verbose === '1') {\n\t\t\t\t/* eslint no-console:0 */\n\t\t\t\tconsole.dir({\n\t\t\t\t\twhoAmI: 'I am verbose from ddDecorItem directive link',\n\t\t\t\t\tverbodeMode: verbose,\n\t\t\t\t\tParentParentIndex: $scope.$parent.$parent.$index,\n\t\t\t\t\tParentIndex: parentIndex,\n\t\t\t\t\tparentParentIndex: $scope.parentParentIndex,\n\t\t\t\t\tcurrentIndex: currentIndex,\n\t\t\t\t\tlineItemsCount: $scope.lineItemsCount\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t\t/**\n \t* control column : apply css class to item\n \t*/\n\t\tif ($scope.parentParentIndex === '0') element.addClass(listClass[0]);\n\t\t/**\n \t* prevent transclusion creating child scope \n \t*\n \t*\n \t* NOTE :if you want to know more about what I'm saying : check this nice tip on the subject : \n \t* http://angular-tips.com/blog/2014/03/transclusion-and-scopes/ \n \t*/\n\t\ttransclude($scope.$parent, function (contentClone) {\n\t\t\t/**\n \t* transclusion will append content to '<div id=\"itemDirectiveTranscludeHere\"></div>' \n \t*/\n\t\t\tvar childDiv = angular.element(element.children()[0]);\n\t\t\tchildDiv.append(contentClone);\n\t\t});\n\t}\n}\n\nddDecorItem.$inject = ['easyFormDragWayConfig'];\n\nexports.default = ddDecorItem;\nexports.DRAG_DROP_DECOR_ITEM = DRAG_DROP_DECOR_ITEM;//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvZHJhZ2Ryb3AvZGREZWNvckl0ZW0vZWRhRHJhZ0Ryb3BXYXkuZHJhZ2Ryb3AuZGREZWNvckl0ZW0uZGlyZWN0aXZlLmpzP2MxMzAiXSwibmFtZXMiOlsiRFJBR19EUk9QX0RFQ09SX0lURU0iLCJkZERlY29ySXRlbSIsImVhc3lGb3JtRHJhZ1dheUNvbmZpZyIsImRpcmVjdGl2ZSIsInJlc3RyaWN0Iiwic2NvcGUiLCJ0ZW1wbGF0ZSIsInRyYW5zY2x1ZGUiLCJsaW5rIiwibGlua2ZjdCIsIiRzY29wZSIsImVsZW1lbnQiLCJhdHRycyIsImN0cmwiLCJ2ZXJib3NlTW9kZUFjdGl2ZSIsInZlcmJvc2VNb2RlIiwiY3VycmVudEluZGV4IiwicGFyZW50SW5kZXgiLCJsaXN0Q2xhc3MiLCJnZXREaXN0aW5jdEl0ZW1Dc3NDbGFzcyIsImFuZ3VsYXIiLCJmb3JFYWNoIiwiY3NzIiwicmVtb3ZlQ2xhc3MiLCJhZGRDbGFzcyIsImNzc0NsYXNzIiwiJHdhdGNoIiwibmV3VmFsdWUiLCJvbGRWYWx1ZSIsInZlcmJvc2UiLCJsb3dlcmNhc2UiLCJjb25zb2xlIiwiZGlyIiwid2hvQW1JIiwidmVyYm9kZU1vZGUiLCJQYXJlbnRQYXJlbnRJbmRleCIsIiRwYXJlbnQiLCIkaW5kZXgiLCJQYXJlbnRJbmRleCIsInBhcmVudFBhcmVudEluZGV4Iiwib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ydCB7XG5cdERSQUdfRFJPUF9ERUNPUl9JVEVNXG59O1xuXG5cblxuXG4vLyBXRUJQQUNLIEZPT1RFUiAvL1xuLy8gLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvZHJhZ2Ryb3AvZGREZWNvckl0ZW0vZWRhRHJhZ0Ryb3BXYXkuZHJhZ2Ryb3AuZGREZWNvckl0ZW0uZGlyZWN0aXZlLmpzIl0sInNvdXJjZVJvb3QiOiIifQ==");
|
|
|
|
/***/ },
|
|
/* 62 */
|
|
/***/ function(module, exports) {
|
|
|
|
eval("module.exports = \"<div>\\n <div id=\\\"itemDirectiveTranscludeHere\\\"></div>\\n</div>\\n\"//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvZHJhZ2Ryb3AvZGREZWNvckl0ZW0vZWRhRHJhZ0Ryb3BXYXkuZHJhZ2Ryb3AuZGREZWNvckl0ZW0udGVtcGxhdGUuaHRtbD9hNjljIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBIiwiZmlsZSI6IjYyLmpzIiwic291cmNlc0NvbnRlbnQiOlsibW9kdWxlLmV4cG9ydHMgPSBcIjxkaXY+XFxuICA8ZGl2IGlkPVxcXCJpdGVtRGlyZWN0aXZlVHJhbnNjbHVkZUhlcmVcXFwiPjwvZGl2PlxcbjwvZGl2PlxcblwiXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvZHJhZ2Ryb3AvZGREZWNvckl0ZW0vZWRhRHJhZ0Ryb3BXYXkuZHJhZ2Ryb3AuZGREZWNvckl0ZW0udGVtcGxhdGUuaHRtbFxuLy8gbW9kdWxlIGlkID0gNjJcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sInNvdXJjZVJvb3QiOiIifQ==");
|
|
|
|
/***/ },
|
|
/* 63 */
|
|
/***/ function(module, exports) {
|
|
|
|
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar DRAG_DROP_ITEM_DECOR_SERVICE = 'dragDropItemDecorationService';\n\nvar dragDropItemDecorationService = function () {\n\tfunction dragDropItemDecorationService(easyFormDragWayConfig) {\n\t\t_classCallCheck(this, dragDropItemDecorationService);\n\n\t\tthis.easyFormDragWayConfig = easyFormDragWayConfig;\n\t\tthis.init();\n\t}\n\n\t_createClass(dragDropItemDecorationService, [{\n\t\tkey: 'init',\n\t\tvalue: function init() {\n\t\t\tthis._listItemClass = [].concat(this.easyFormDragWayConfig.getListItemCssClass());\n\t\t}\n\t}, {\n\t\tkey: 'getListClass',\n\t\tvalue: function getListClass() {\n\t\t\treturn this._listItemClass;\n\t\t}\n\t}, {\n\t\tkey: 'getCssClassWhenNumberItemsInRowIs',\n\t\tvalue: function getCssClassWhenNumberItemsInRowIs(thisNumber) {\n\t\t\treturn this.easyFormDragWayConfig.getItemCssDependingNumberItemsInRow(thisNumber);\n\t\t}\n\t}, {\n\t\tkey: 'applyCssClassWholeLine',\n\t\tvalue: function applyCssClassWholeLine(model, indexColumn, indexLine, numberItems, restrictToThisIndexColumn) {\n\t\t\tif (typeof numberItems !== 'undefined' && typeof indexLine !== 'undefined' && typeof indexColumn !== 'undefined' && typeof model !== 'undefined' && typeof restrictToThisIndexColumn !== 'undefined') {\n\t\t\t\tif (indexColumn === restrictToThisIndexColumn) {\n\t\t\t\t\tfor (var i = model[indexColumn][indexLine].length - 1; i >= 0; i--) {\n\t\t\t\t\t\tmodel[indexColumn][indexLine][i].cssClass = this.easyFormDragWayConfig.getItemCssDependingNumberItemsInRow(numberItems);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn true;\n\t\t\t} else {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t}, {\n\t\tkey: 'updateCssClassWholeColumn',\n\t\tvalue: function updateCssClassWholeColumn(model, indexColumn) {\n\t\t\tif (typeof indexColumn !== 'undefined' && typeof model !== 'undefined') {\n\t\t\t\tfor (var cpt = model[indexColumn].length - 1; cpt >= 0; cpt--) {\n\t\t\t\t\tfor (var i = model[indexColumn][cpt].length - 1; i >= 0; i--) {\n\t\t\t\t\t\tmodel[indexColumn][cpt][i].cssClass = this.easyFormDragWayConfig.getItemCssDependingNumberItemsInRow(model[indexColumn][cpt].length);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn true;\n\t\t\t} else {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t}]);\n\n\treturn dragDropItemDecorationService;\n}();\n\ndragDropItemDecorationService.$inject = ['easyFormDragWayConfig'];\n\nexports.default = dragDropItemDecorationService;\nexports.DRAG_DROP_ITEM_DECOR_SERVICE = DRAG_DROP_ITEM_DECOR_SERVICE;//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvZHJhZ2Ryb3AvZGREZWNvckl0ZW0vZWRhRHJhZ0Ryb3BXYXkuZHJhZ2Ryb3AuZGREZWNvckl0ZW0uc2VydmljZS5qcz8wMDY4Il0sIm5hbWVzIjpbIkRSQUdf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ports, \"__esModule\", {\n\tvalue: true\n});\nexports.DRAG_DROP_DECOR_LINE = undefined;\n\nvar _edaDragDropWayDragdropDdDecorLineTemplate = __webpack_require__(65);\n\nvar _edaDragDropWayDragdropDdDecorLineTemplate2 = _interopRequireDefault(_edaDragDropWayDragdropDdDecorLineTemplate);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar DRAG_DROP_DECOR_LINE = 'ddDecorLine'; /* global angular */\n\n\nfunction ddDecorLine($timeout) {\n\tvar directive = {\n\t\trestrict: 'A',\n\t\tscope: {\n\t\t\t'verboseMode': '@ddLineVerboseMode',\n\t\t\t'currentIndex': '@ddLineCurrentIndex',\n\t\t\t'parentIndex': '@ddLineParentIndex',\n\t\t\t'removeLine': '&ddRemoveLine'\n\t\t},\n\t\ttemplate: _edaDragDropWayDragdropDdDecorLineTemplate2.default,\n\t\ttransclude: true,\n\t\tlink: linkfct\n\t};\n\treturn directive;\n\n\tfunction linkfct($scope, element, attrs, ctrl, transclude) {\n\t\tvar verboseModeActive = $scope.verboseMode;\n\t\tvar currentIndex = $scope.currentIndex;\n\t\tvar parentIndex = $scope.parentIndex;\n\t\t$scope.deleteLine = {};\n\t\t$scope.deleteLine.readyToDelete = false;\n\t\t$scope.deleteLine.dblClickCount = 0;\n\t\t$scope.isCollapsed = false;\n\t\tvar timer = void 0;\n\n\t\t// verbose mode : just for dev \n\t\tif (verboseModeActive !== '') {\n\t\t\tvar verbose = angular.lowercase(verboseModeActive);\n\t\t\tif (verbose === 'true' || verbose === '1') {\n\t\t\t\t/* eslint no-console:0 */\n\t\t\t\tconsole.dir({\n\t\t\t\t\twhoAmI: 'I am verbose from ddDecorLine directive link',\n\t\t\t\t\tverbodeMode: verbose,\n\t\t\t\t\tParentParentIndex: $scope.$parent.$parent.$index,\n\t\t\t\t\tParentIndex: parentIndex,\n\t\t\t\t\tcurrentIndex: currentIndex\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\n\t\t/**\n \t* removeMe is function related to twice double click sequence to delete a line\n \t*\n \t* - addClass / remove/class ; will make line in a shake movement\n \t* - call \"removeLine function to delete the line (if it was rwice double clicked)\n \t*/\n\t\t$scope.removeMe = function (event) {\n\t\t\tevent.preventDefault();\n\t\t\tevent.stopPropagation();\n\n\t\t\tif ($scope.parentIndex === '1') {\n\t\t\t\t//2nd dbl click : if is shaking so it is confirmation to delete\n\t\t\t\tif ($scope.deleteLine.dblClickCount === 1) {\n\t\t\t\t\t$scope.deleteLine.dblClickCount = 0;\n\t\t\t\t\t$scope.deleteLine.readyToDelete = false;\n\t\t\t\t\t/**\n \t* NOTE : trick in calling parent controller function with input param when directive with isolate scope\n \t* see : https://thinkster.io/egghead/isolate-scope-am\n \t*\n \t* Here should be:\n \t* \n \t*-> in html : dd-remove-line=\"removeThisLine(indexToDelete)\n \t*-> in controller : $scope.removeThisLine = function(lineIndex){\n \t*-> so in directive call it : $scope.removeLine({indexToDelete: currentIndex});\n \t*\n \t*\n \t* BUT in this case (repeats, ul> li.... complicated) \n \t* => works better (if shaking a lot of line in a row it won't mess up)\n \t*\n \t*-> in html : dd-remove-line=\"removeThisLine($index)\n \t*-> in controller : $scope.removeThisLine = function(lineIndex){\n \t*-> so in directive call it : $scope.removeLine();\n \t*/\n\t\t\t\t\t//$scope.removeLine({indexToDelete: currentIndex});\n\t\t\t\t\t$scope.removeLine();\n\t\t\t\t\t//console.warn('force timer destruction after delete!');\n\t\t\t\t\t$timeout.cancel(timer);\n\t\t\t\t}\n\n\t\t\t\t//1st dbl click : make it shake so ready to delete\n\t\t\t\tif ($scope.deleteLine.dblClickCount === 0) {\n\t\t\t\t\t$scope.deleteLine.dblClickCount = $scope.deleteLine.dblClickCount + 1;\n\t\t\t\t\t$scope.deleteLine.readyToDelete = true;\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\n\t\t/**\n \t* signle event will ever occur\n \t*\n \t* to prevent it to interfere with double click sequence \n \t* -> set a time out (shaking line to delete will automaticallly end shaking after timeout : 2 seconds)\n \t*/\n\t\t$scope.cancelDelete = function () {\n\t\t\t//event.preventDefault();\n\t\t\t//event.stopPropagation();\n\t\t\ttimer = $timeout(function () {\n\t\t\t\t$scope.deleteLine.dblClickCount = 0;\n\t\t\t\t$scope.deleteLine.readyToDelete = false;\n\t\t\t}, 500);\n\n\t\t\t/**\n \t* debug\n \t*/\n\t\t\t// timer.then(\n\t\t\t// () =>{\n\t\t\t// console.log( 'Timer resolved!', Date.now() );\n\t\t\t// },\n\t\t\t// () =>{\n\t\t\t// console.log( 'Timer rejected!', Date.now() );\n\t\t\t// }\n\t\t\t// );\n\t\t};\n\n\t\t/**\n \t* timer destruction to prevent from bad UI experience\n \t*/\n\t\t$scope.$on('$destroy', function () {\n\t\t\treturn $timeout.cancel(timer);\n\t\t});\n\n\t\t/**\n \t* prevent transclusion creating child scope \n \t*\n \t*\n \t* NOTE :if you want to know more about what I'm saying : check this nice tip on the subject : \n \t* http://angular-tips.com/blog/2014/03/transclusion-and-scopes/ \n \t*/\n\t\ttransclude($scope.$parent, function (contentClone) {\n\t\t\t//transclusion will append content to '<div id=\"lineDirectiveTranscludeHere\"></div>'\n\t\t\tvar childDiv = angular.element(element.children()[0]);\n\t\t\tchildDiv.append(contentClone);\n\t\t});\n\t}\n}\n\nddDecorLine.$inject = ['$timeout'];\n\nexports.default = ddDecorLine;\nexports.DRAG_DROP_DECOR_LINE = DRAG_DROP_DECOR_LINE;//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvZHJhZ2Ryb3AvZGREZWNvckxpbmUvZWRhRHJhZ0Ryb3BXYXkuZHJhZ2Ryb3AuZGREZWNvckxpbmUuZGlyZWN0aXZlLmpzPzkwMGEiXSwibmFtZXMiOlsiRFJBR19EUk9QX0RFQ09SX0xJTkUiLCJkZERlY29yTGluZSIsIiR0aW1l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XG4vLyAuL3NyYy9hcHAvZHJhZ2Ryb3B3YXkvY29tcG9uZW50cy9kcmFnZHJvcC9kZERlY29yTGluZS9lZGFEcmFnRHJvcFdheS5kcmFnZHJvcC5kZERlY29yTGluZS5kaXJlY3RpdmUuanMiXSwic291cmNlUm9vdCI6IiJ9");
|
|
|
|
/***/ },
|
|
/* 65 */
|
|
/***/ function(module, exports) {
|
|
|
|
eval("module.exports = \"<div\\n ng-class=\\\"{confirmLineDelete : deleteLine.readyToDelete}\\\"\\n ng-dblclick=\\\"removeMe($event);\\\"\\n ng-click=\\\"cancelDelete($event);\\\">\\n <button\\n ng-show=\\\"deleteLine.readyToDelete === true\\\"\\n type=\\\"button\\\"\\n class=\\\"btn btn-danger pull-right buttonCloseLine\\\" >\\n <span\\n class=\\\"glyphicon glyphicon-trash\\\"\\n aria-hidden=\\\"true\\\">\\n </span>\\n </button>\\n</div>\\n<div id=\\\"lineDirectiveTranscludeHere\\\"></div>\\n\"//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvZHJhZ2Ryb3AvZGREZWNvckxpbmUvZWRhRHJhZ0Ryb3BXYXkuZHJhZ2Ryb3AuZGREZWNvckxpbmUudGVtcGxhdGUuaHRtbD83OGIwIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLHNDQUFzQyw2Q0FBNkMscUNBQXFDLHNDQUFzQyIsImZpbGUiOiI2NS5qcyIsInNvdXJjZXNDb250ZW50IjpbIm1vZHVsZS5leHBvcnRzID0gXCI8ZGl2XFxuICBuZy1jbGFzcz1cXFwie2NvbmZpcm1MaW5lRGVsZXRlIDogZGVsZXRlTGluZS5yZWFkeVRvRGVsZXRlfVxcXCJcXG4gIG5nLWRibGNsaWNrPVxcXCJyZW1vdmVNZSgkZXZlbnQpO1xcXCJcXG4gIG5nLWNsaWNrPVxcXCJjYW5jZWxEZWxldGUoJGV2ZW50KTtcXFwiPlxcbiAgPGJ1dHRvblxcbiAgICBuZy1zaG93PVxcXCJkZWxldGVMaW5lLnJlYWR5VG9EZWxldGUgPT09IHRydWVcXFwiXFxuICAgIHR5cGU9XFxcImJ1dHRvblxcXCJcXG4gICAgY2xhc3M9XFxcImJ0biBidG4tZGFuZ2VyIHB1bGwtcmlnaHQgYnV0dG9uQ2xvc2VMaW5lXFxcIiA+XFxuICAgICA8c3BhblxcbiAgICAgIGNsYXNzPVxcXCJnbHlwaGljb24gZ2x5cGhpY29uLXRyYXNoXFxcIlxcbiAgICAgIGFyaWEtaGlkZGVuPVxcXCJ0cnVlXFxcIj5cXG4gICAgPC9zcGFuPlxcbiAgPC9idXR0b24+XFxuPC9kaXY+XFxuPGRpdiBpZD1cXFwibGluZURpcmVjdGl2ZVRyYW5zY2x1ZGVIZXJlXFxcIj48L2Rpdj5cXG5cIlxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vc3JjL2FwcC9kcmFnZHJvcHdheS9jb21wb25lbnRzL2RyYWdkcm9wL2RkRGVjb3JMaW5lL2VkYURyYWdEcm9wV2F5LmRyYWdkcm9wLmRkRGVjb3JMaW5lLnRlbXBsYXRlLmh0bWxcbi8vIG1vZHVsZSBpZCA9IDY1XG4vLyBtb2R1bGUgY2h1bmtzID0gMCJdLCJzb3VyY2VSb290IjoiIn0=");
|
|
|
|
/***/ },
|
|
/* 66 */
|
|
/***/ function(module, exports) {
|
|
|
|
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\nvar DRAG_DROP_NO_EDITABLE_CONTROL = 'ddNoEditableControl';\n\nfunction ddNoEditableControl() {\n\tvar directive = {\n\t\trestrict: 'A',\n\t\tlink: linkfct\n\t};\n\treturn directive;\n\n\tfunction linkfct($scope, element) {\n\t\telement.on('click', function (event) {\n\t\t\treturn event.preventDefault();\n\t\t});\n\t}\n}\n\nddNoEditableControl.$inject = [];\n\nexports.default = ddNoEditableControl;\nexports.DRAG_DROP_NO_EDITABLE_CONTROL = DRAG_DROP_NO_EDITABLE_CONTROL;//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvZHJhZ2Ryb3AvZGROb0VkaXRhYmxlQ29udHJvbC9lZGFEcmFnRHJvcFdheS5kcmFnZHJvcC5kZE5vRWRpdGFibGVDb250cm9sLmRpcmVjdGl2ZS5qcz82ODBmIl0sIm5hbWVzIjpbIkRSQUdfRFJPUF9OT19FRElUQUJMRV9DT05UUk9MIiwiZGROb0VkaXRhYmxlQ29udHJvbCIsImRpcmVjdGl2ZSIsInJlc3RyaWN0IiwibGluayIsImxpbmtmY3QiLCIkc2NvcGUiLCJlbGVtZW50Iiwib24iLCJldmVudCIsInByZXZlbnREZWZhdWx0IiwiJGluamVjdCJdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxJQUFNQSxnQ0FBZ0MscUJBQXRDOztBQUVBLFNBQVNDLG1CQUFULEdBQStCO0FBQzlCLEtBQUlDLFlBQVk7QUFDZkMsWUFBVyxHQURJO0FBRWZDLFFBQVNDO0FBRk0sRUFBaEI7QUFJQSxRQUFPSCxTQUFQOztBQUVBLFVBQVNHLE9BQVQsQ0FBaUJDLE1BQWpCLEVBQXlCQyxPQUF6QixFQUFrQztBQUNqQ0EsVUFBUUMsRUFBUixDQUFXLE9BQVgsRUFBb0IsVUFBQ0MsS0FBRDtBQUFBLFVBQVNBLE1BQU1DLGNBQU4sRUFBVDtBQUFBLEdBQXBCO0FBQ0E7QUFDRDs7QUFFRFQsb0JBQW9CVSxPQUFwQixHQUE4QixFQUE5Qjs7a0JBRWVWLG1CO1FBR2RELDZCLEdBQUFBLDZCIiwiZmlsZSI6IjY2LmpzIiwic291cmNlc0NvbnRlbnQiOlsiY29uc3QgRFJBR19EUk9QX05PX0VESVRBQkxFX0NPTlRST0wgPSAnZGROb0VkaXRhYmxlQ29udHJvbCc7XG5cbmZ1bmN0aW9uIGRkTm9FZGl0YWJsZUNvbnRyb2woKSB7XG5cdGxldCBkaXJlY3RpdmUgPSB7XG5cdFx0cmVzdHJpY3RcdDogJ0EnLFxuXHRcdGxpbmtcdFx0XHQ6IGxpbmtmY3Rcblx0fTtcblx0cmV0dXJuIGRpcmVjdGl2ZTtcblxuXHRmdW5jdGlvbiBsaW5rZmN0KCRzY29wZSwgZWxlbWVudCkge1xuXHRcdGVsZW1lbnQub24oJ2NsaWNrJywgKGV2ZW50KT0+ZXZlbnQucHJldmVudERlZmF1bHQoKSk7XG5cdH1cbn1cblxuZGROb0VkaXRhYmxlQ29udHJvbC4kaW5qZWN0ID0gW107XG5cbmV4cG9ydCBkZWZhdWx0IGRkTm9FZGl0YWJsZUNvbnRyb2w7XG5cbmV4cG9ydCB7XG5cdERSQUdfRFJPUF9OT19FRElUQUJMRV9DT05UUk9MXG59O1xuXG5cblxuLy8gV0VCUEFDSyBGT09URVIgLy9cbi8vIC4vc3JjL2FwcC9kcmFnZHJvcHdheS9jb21wb25lbnRzL2RyYWdkcm9wL2RkTm9FZGl0YWJsZUNvbnRyb2wvZWRhRHJhZ0Ryb3BXYXkuZHJhZ2Ryb3AuZGROb0VkaXRhYmxlQ29udHJvbC5kaXJlY3RpdmUuanMiXSwic291cmNlUm9vdCI6IiJ9");
|
|
|
|
/***/ },
|
|
/* 67 */
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n\nvar _edaDragDropWayRightClick = __webpack_require__(68);\n\nvar _edaDragDropWayRightClick2 = _interopRequireDefault(_edaDragDropWayRightClick);\n\nvar _edaDragDropWayRightClick3 = __webpack_require__(69);\n\nvar _edaDragDropWayRightClick4 = _interopRequireDefault(_edaDragDropWayRightClick3);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar EDA_RIGHT_CLICK_MODULE = 'eda.right.click.module';\n\nexports.default = angular.module(EDA_RIGHT_CLICK_MODULE, []).directive(_edaDragDropWayRightClick.EDA_RIGHT_CLICK_DIRECTIVE, _edaDragDropWayRightClick2.default).service(_edaDragDropWayRightClick3.EDA_RIGHT_CLICKED_MANAGER_SERVICE, _edaDragDropWayRightClick4.default);//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvY29tbW9uL3JpZ2h0Y2xpY2svZWRhRHJhZ0Ryb3BXYXkucmlnaHRDbGljay5tb2R1bGUuanM/YzJlYSJdLCJuYW1lcyI6WyJFREFfUklHSFRfQ0xJQ0tfTU9EVUxFIiwiYW5ndWxhciIsIm1vZHVsZSIsImRpcmVjdGl2ZSIsInNlcnZpY2UiXSwibWFwcGluZ3MiOiI7Ozs7OztBQUFBOzs7O0FBSUE7Ozs7OztBQUtBLElBQU1BLHlCQUF5Qix3QkFBL0I7O2tCQUdlQyxRQUNOQyxNQURNLENBQ0NGLHNCQURELEVBQ3lCLEVBRHpCLEVBRU5HLFNBRk0sMEZBR05DLE9BSE0sa0ciLCJmaWxlIjoiNjcuanMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgZWRhUmlnaHRDbGljaywge1xuXHRFREFfUklHSFRfQ0xJQ0tfRElSRUNUSVZFXG59XHRcdFx0XHRcdFx0XHRcdFx0XHRcdFx0XHRcdGZyb20gJy4vZWRhRHJhZ0Ryb3BXYXkucmlnaHRDbGljay5kaXJlY3RpdmUnO1xuXG5pbXBvcnQgZGRJdGVtUmlnaHRDbGlja2VkTWFuYWdlciwge1xuXHRFREFfUklHSFRfQ0xJQ0tFRF9NQU5BR0VSX1NFUlZJQ0Vcbn1cdFx0XHRcdFx0XHRcdFx0XHRcdFx0XHRcdFx0ZnJvbSAnLi9lZGFEcmFnRHJvcFdheS5yaWdodENsaWNrLnNlcnZpY2UnO1xuXG5cbmNvbnN0IEVEQV9SSUdIVF9DTElDS19NT0RVTEUgPSAnZWRhLnJpZ2h0LmNsaWNrLm1vZHVsZSc7XG5cblxuZXhwb3J0IGRlZmF1bHQgYW5ndWxhclxuXHRcdFx0XHRcdFx0XHRcdC5tb2R1bGUoRURBX1JJR0hUX0NMSUNLX01PRFVMRSwgW10pXG5cdFx0XHRcdFx0XHRcdFx0LmRpcmVjdGl2ZShFREFfUklHSFRfQ0xJQ0tfRElSRUNUSVZFLCBlZGFSaWdodENsaWNrKVxuXHRcdFx0XHRcdFx0XHRcdC5zZXJ2aWNlKEVEQV9SSUdIVF9DTElDS0VEX01BTkFHRVJfU0VSVklDRSwgZGRJdGVtUmlnaHRDbGlja2VkTWFuYWdlcik7XG5cblxuLy8gV0VCUEFDSyBGT09URVIgLy9cbi8vIC4vc3JjL2FwcC9kcmFnZHJvcHdheS9jb21wb25lbnRzL2NvbW1vbi9yaWdodGNsaWNrL2VkYURyYWdEcm9wV2F5LnJpZ2h0Q2xpY2subW9kdWxlLmpzIl0sInNvdXJjZVJvb3QiOiIifQ==");
|
|
|
|
/***/ },
|
|
/* 68 */
|
|
/***/ function(module, exports) {
|
|
|
|
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar EDA_RIGHT_CLICK_DIRECTIVE = 'edaRightClick';\n\nfunction edaRightClick($parse) {\n\n var directive = {\n restrict: 'A',\n link: linkFct\n };\n return directive;\n\n function linkFct(scope, element, attrs) {\n var fn = $parse(attrs.edaRightClick);\n var columnIndex = $parse(attrs.edaRightClickColIndex);\n var fctSetRightclicked = $parse(attrs.edaSetRightClicked);\n /**\n * on right click event manage\n * - open edit panel through attrs.edaRightClick function\n * - set rightCliked attribute (to true) to control (in dragDropModel)\n */\n element.on('contextmenu', function (event) {\n scope.$apply(function () {\n event.preventDefault();\n if (columnIndex(scope) === 1) fctSetRightclicked(scope, {}); //right click limited to template column (index = 1)\n if (columnIndex(scope) === 1) fn(scope, { $event: event }); //right click limited to template column (index = 1)\n });\n });\n }\n}\n\nedaRightClick.$inject = ['$parse'];\n\nexports.default = edaRightClick;\nexports.EDA_RIGHT_CLICK_DIRECTIVE = EDA_RIGHT_CLICK_DIRECTIVE;//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvY29tbW9uL3JpZ2h0Y2xpY2svZWRhRHJhZ0Ryb3BXYXkucmlnaHRDbGljay5kaXJlY3RpdmUuanM/MzJiMCJdLCJuYW1lcyI6WyJFREFfUklHSFRfQ0xJQ0tfRElSRUNUSVZFIiwiZWRhUmlnaHRDbGljayIsIiRwYXJzZSIsImRpcmVjdGl2ZSIsInJlc3RyaWN0IiwibGluayIsImxpbmtGY3QiLCJzY29wZSIsImVsZW1lbnQiLCJhdHRycyIsImZuIiwiY29sdW1uSW5kZXgiLCJlZGFSaWdodENsaWNrQ29sSW5kZXgiLCJmY3RTZXRSaWdodGNsaWNrZWQiLCJlZGFTZXRSaWdodENsaWNrZWQiLCJvbiIsImV2ZW50IiwiJGFwcGx5IiwicHJldmVudERlZmF1bHQiLCIkZXZlbnQiLCIkaW5qZWN0Il0sIm1hcHBpbmdzIjoiOzs7OztBQUFBLElBQU1BLDRCQUE0QixlQUFsQzs7QUFFQSxTQUFTQyxhQUFULENBQXVCQyxNQUF2QixFQUE4Qjs7QUFFN0IsTUFBSUMsWUFBWTtBQUNiQyxjQUFZLEdBREM7QUFFYkMsVUFBWUM7QUFGQyxHQUFoQjtBQUlDLFNBQU9ILFNBQVA7O0FBRUEsV0FBU0csT0FBVCxDQUFpQkMsS0FBakIsRUFBd0JDLE9BQXhCLEVBQWlDQyx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Q2xpY2s7XG5cblxuZXhwb3J0IHtcbiAgRURBX1JJR0hUX0NMSUNLX0RJUkVDVElWRVxufTtcblxuXG5cbi8vIFdFQlBBQ0sgRk9PVEVSIC8vXG4vLyAuL3NyYy9hcHAvZHJhZ2Ryb3B3YXkvY29tcG9uZW50cy9jb21tb24vcmlnaHRjbGljay9lZGFEcmFnRHJvcFdheS5yaWdodENsaWNrLmRpcmVjdGl2ZS5qcyJdLCJzb3VyY2VSb290IjoiIn0=");
|
|
|
|
/***/ },
|
|
/* 69 */
|
|
/***/ function(module, exports) {
|
|
|
|
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar EDA_RIGHT_CLICKED_MANAGER_SERVICE = 'ddItemRightClickedManager';\n\nvar ddItemRightClickedManager = function () {\n\tfunction ddItemRightClickedManager() {\n\t\t_classCallCheck(this, ddItemRightClickedManager);\n\n\t\tthis.init();\n\t}\n\n\t_createClass(ddItemRightClickedManager, [{\n\t\tkey: 'init',\n\t\tvalue: function init() {}\n\n\t\t/**\n \t* setUnRightClicked \n \t* set unSelected (see edaRightClick directive)\n \t*\n \t* used in edaEditcontroller when droping control\n \t*/\n\n\t}, {\n\t\tkey: 'setUnRightClicked',\n\t\tvalue: function setUnRightClicked(dragDropModelItem) {\n\t\t\tdragDropModelItem.rightCliked = false;\n\t\t}\n\n\t\t/**\n \t* resetAllDragDropItemSelectedState\n \t*\n \t* simply reset (=set to false) all item.rightCliked \n \t* in edit column (dragable column)\n \t*\n \t* used in edaEditPanel when closeEditPanel() called\n \t*/\n\n\t}, {\n\t\tkey: 'resetAllDragDropItemSelectedState',\n\t\tvalue: function resetAllDragDropItemSelectedState(dragDropModel) {\n\t\t\tangular.forEach(dragDropModel[1], function (line) {\n\t\t\t\tangular.forEach(line, function (item) {\n\t\t\t\t\treturn item.rightCliked = false;\n\t\t\t\t});\n\t\t\t});\n\t\t}\n\t}]);\n\n\treturn ddItemRightClickedManager;\n}();\n\nddItemRightClickedManager.$inject = [];\n\nexports.default = ddItemRightClickedManager;\nexports.EDA_RIGHT_CLICKED_MANAGER_SERVICE = EDA_RIGHT_CLICKED_MANAGER_SERVICE;//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvY29tbW9uL3JpZ2h0Y2xpY2svZWRhRHJhZ0Ryb3BXYXkucmlnaHRDbGljay5zZXJ2aWNlLmpzP2EzNjQiXSwibmFtZXMiOlsiRURBX1JJR0hUX0NMSUNLRURfTUFOQUdFUl9TRVJWSUNFIiwiZGRJdGVtUmlnaHRDbGlja2VkTWFuYWdlciIsImluaXQiLCJkcmFnRHJvcE1vZGVsSXRlbSIsInJpZ2h0Q2xpa2VkIiwiZHJhZ0Ryb3BNb2RlbCIsImFuZ3VsYXIiLCJmb3JFYWNoIiwibGluZSIsIml0ZW0iLCIkaW5qZWN0Il0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7O0FBQUEsSUFBTUEsb0NBQW9DLDJCQUExQzs7SUFFTUMseUI7QUFDTCxzQ0FBYTtBQUFBOztBQUNaLE9BQUtDLElBQUw7QUFDQTs7Ozt5QkFFSyxDQUVMOztBQUVEOzs7Ozs7Ozs7b0NBTWtCQyxpQixFQUFrQjtBQUNuQ0EscUJBQWtCQyxXQUFsQixHQUFnQy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ZVxuXHRcdCpcblx0XHQqIHNpbXBseSByZXNldCAoPXNldCB0byBmYWxzZSkgYWxsIGl0ZW0ucmlnaHRDbGlrZWQgXG5cdFx0KiBpbiBlZGl0IGNvbHVtbiAoZHJhZ2FibGUgY29sdW1uKVxuXHRcdCpcblx0XHQqIHVzZWQgaW4gZWRhRWRpdFBhbmVsIHdoZW4gY2xvc2VFZGl0UGFuZWwoKSBjYWxsZWRcblx0XHQqL1x0XG5cdHJlc2V0QWxsRHJhZ0Ryb3BJdGVtU2VsZWN0ZWRTdGF0ZShkcmFnRHJvcE1vZGVsKXtcblx0XHRhbmd1bGFyLmZvckVhY2goZHJhZ0Ryb3BNb2RlbFsxXSAsKGxpbmUpPT57XG5cdFx0XHRhbmd1bGFyLmZvckVhY2gobGluZSwgKGl0ZW0pPT5pdGVtLnJpZ2h0Q2xpa2VkID0gZmFsc2UpO1xuXHRcdH0pO1xuXHRcblx0fVx0XG5cdFxuXHRcbn1cblxuZGRJdGVtUmlnaHRDbGlja2VkTWFuYWdlci4kaW5qZWN0ID0gW107XG5cbmV4cG9ydCBkZWZhdWx0IGRkSXRlbVJpZ2h0Q2xpY2tlZE1hbmFnZXI7XG5cbmV4cG9ydCB7XG5cdEVEQV9SSUdIVF9DTElDS0VEX01BTkFHRVJfU0VSVklDRVxufTtcblxuXG4vLyBXRUJQQUNLIEZPT1RFUiAvL1xuLy8gLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvY29tbW9uL3JpZ2h0Y2xpY2svZWRhRHJhZ0Ryb3BXYXkucmlnaHRDbGljay5zZXJ2aWNlLmpzIl0sInNvdXJjZVJvb3QiOiIifQ==");
|
|
|
|
/***/ },
|
|
/* 70 */
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n\nvar _edaDragDropWayConfigurationModelProxy = __webpack_require__(71);\n\nvar _edaDragDropWayConfigurationModelProxy2 = _interopRequireDefault(_edaDragDropWayConfigurationModelProxy);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar EDA_CONFIG_PROXY_MODULE = 'eda.config.proxy.module';\n\nexports.default = angular.module(EDA_CONFIG_PROXY_MODULE, []).service(_edaDragDropWayConfigurationModelProxy.DRAG_DROP_CONFIG_PROXY_SERVICE, _edaDragDropWayConfigurationModelProxy2.default);//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvY29uZmlndXJhdGlvbk1vZGVsUHJveHkvZWRhRHJhZ0Ryb3BXYXkuY29uZmlndXJhdGlvbk1vZGVsUHJveHkubW9kdWxlLmpzPzk4ODciXSwibmFtZXMiOlsiRURBX0NPTkZJR19QUk9YWV9NT0RVTEUiLCJhbmd1bGFyIiwibW9kdWxlIiwic2VydmljZSJdLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBQUE7Ozs7OztBQUlBLElBQU1BLDBCQUEwQix5QkFBaEM7O2tCQUVlQyxRQUNOQyxNQURNLENBQ0NGLHVCQURELEVBQzBCLEVBRDFCLEVBRU5HLE9BRk0sd0giLCJmaWxlIjoiNzAuanMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgZGRNb2RlbENvbmZNb2RlbFByb3h5U2VydmljZSwge1xuXHREUkFHX0RST1BfQ09ORklHX1BST1hZX1NFUlZJQ0Vcbn1cdFx0XHRcdFx0XHRcdFx0XHRcdFx0XHRcdFx0ZnJvbSAnLi9lZGFEcmFnRHJvcFdheS5jb25maWd1cmF0aW9uTW9kZWxQcm94eS5zZXJ2aWNlJztcblxuY29uc3QgRURBX0NPTkZJR19QUk9YWV9NT0RVTEUgPSAnZWRhLmNvbmZpZy5wcm94eS5tb2R1bGUnO1xuXG5leHBvcnQgZGVmYXVsdCBhbmd1bGFyXG5cdFx0XHRcdFx0XHRcdFx0Lm1vZHVsZShFREFfQ09ORklHX1BST1hZX01PRFVMRSwgW10pXG5cdFx0XHRcdFx0XHRcdFx0LnNlcnZpY2UoRFJBR19EUk9QX0NPTkZJR19QUk9YWV9TRVJWSUNFLCBkZE1vZGVsQ29uZk1vZGVsUHJveHlTZXJ2aWNlKTtcblxuXG4vLyBXRUJQQUNLIEZPT1RFUiAvL1xuLy8gLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvY29uZmlndXJhdGlvbk1vZGVsUHJveHkvZWRhRHJhZ0Ryb3BXYXkuY29uZmlndXJhdGlvbk1vZGVsUHJveHkubW9kdWxlLmpzIl0sInNvdXJjZVJvb3QiOiIifQ==");
|
|
|
|
/***/ },
|
|
/* 71 */
|
|
/***/ 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 DRAG_DROP_CONFIG_PROXY_SERVICE = 'ddModelConfModelProxyService';\n\nvar ddModelConfModelProxyService = function () {\n function ddModelConfModelProxyService(EasyFormGenFormlyBindingModels,\n // controllerModalProxy, \n // dragDropConfig, \n easyFormDragWayConfig, $parse) {\n _classCallCheck(this, ddModelConfModelProxyService);\n\n this.EasyFormGenFormlyBindingModels = EasyFormGenFormlyBindingModels;\n // this.controllerModalProxy = controllerModalProxy;\n // this.dragDropConfig = dragDropConfig;\n this.easyFormDragWayConfig = easyFormDragWayConfig;\n this.$parse = $parse;\n this.init();\n }\n\n _createClass(ddModelConfModelProxyService, [{\n key: 'init',\n value: function init() {}\n }, {\n key: 'refreshAllConfigurationFromDragAndDropModel',\n value: function refreshAllConfigurationFromDragAndDropModel(configModel, ddModel) {\n var _this = this;\n\n /**\n * TODO : prevent reset already set props\n * \n * previousConfigurationModel = a backup of configuration model 'configModel 'before resetting it\n * -> dragDrop model contains unique keys of already existing controls : these controls must not be reset / overwritten \n */\n // let previousConfigurationModel = angular.copy(configModel); \n configModel.lines = [];\n // iterates line config model\n angular.forEach(ddModel[1], function (lineValue, keyValue) {\n // add empty line 1st - if line is empty -> it will be enough \n configModel.lines.push(angular.copy(_this.EasyFormGenFormlyBindingModels.getEasyFormEmptyConfigurationLineModel()));\n // update line value field\n _this.applyThisLine(keyValue + 1, keyValue, configModel);\n // iterate through columns and add them if control exists\t\n angular.forEach(lineValue, function (colValue, colIndex) {\n // push an empty control model but relative to dradrop : model control type - (if datepicker so additionnal properties are added) \t\n var controlToBind = {\n control: angular.copy(_this.EasyFormGenFormlyBindingModels.getFormlyControlTemplateForNcolumnLine(lineValue.length, _this.getFormlyDetailedControlModelFromDragDropObject(lineValue[colIndex]).formlyType))\n };\n var formlyDetailedControlModel = _this.getFormlyDetailedControlModelFromDragDropObject(lineValue[colIndex]);\n // controls alreadys existed so do not reset it - control to bind is the previous one\t\t\n if (typeof colValue.key !== 'undefined') {\n //console.warn('debug dragdropModel show this control key : ' + colValue.key);\n controlToBind.control = angular.copy(colValue.configModelControl);\n //update cssClass depending new position:\n var newClassName = _this.EasyFormGenFormlyBindingModels.getFormlyControlTemplateForNcolumnLine(lineValue.length, _this.getFormlyDetailedControlModelFromDragDropObject(lineValue[colIndex]).formlyType);\n controlToBind.control.className = newClassName.className;\n //test if header nee this one\n controlToBind.control.cssClass = newClassName.className;\n // get control details for this key in backup : previousConfigurationModel\n } else {\n // controls did not exists before : control to bind is a new one\n // bind dragdrop control properties to configuration model through controlToBind var\n _this.bindConfigCtrlModelFromFormlyDetailedCtrlModel(formlyDetailedControlModel, controlToBind, configModel);\n }\n // apply controlToBind var to configuration model control\n if (typeof configModel.lines[keyValue].columns[colIndex] === 'undefined') configModel.lines[keyValue].columns.push(angular.copy(_this.EasyFormGenFormlyBindingModels.getEasyFormConfigurationEmptyControlModel()));\n configModel.lines[keyValue].columns[colIndex].control = angular.copy(controlToBind.control);\n configModel.lines[keyValue].columns[colIndex].numColumn = colIndex + 1;\n configModel.lines[keyValue].columns[colIndex].exist = true;\n });\n });\n return configModel;\n }\n }, {\n key: 'refreshControlsKeys',\n value: function refreshControlsKeys(configModel, dragDropModel) {\n angular.forEach(configModel.lines, function (aConfigLine, aConfigLineIndex) {\n angular.forEach(aConfigLine.columns, function (aConfigControl, aConfigControlIndex) {\n //if last control removed from line - and dragDrop model did not already removed this line\n if (typeof dragDropModel[1][aConfigLineIndex] !== 'undefined') {\n if (dragDropModel[1][aConfigLineIndex].length > 0) {\n dragDropModel[1][aConfigLineIndex][aConfigControlIndex].key = aConfigControl.control.key;\n //need to save all in dragdropModel as it is a reference\n //configModel still needed \n // -> to keep coherence (same back model) between all version of easyForm Generator\n // -> is the back model (can be saved to dataBase)\n dragDropModel[1][aConfigLineIndex][aConfigControlIndex].configModelControl = angular.copy(aConfigControl.control);\n }\n }\n });\n });\n }\n\n /**\n * drag drop model\n * -> will be used to bind configuration model\n * \tof no key saved, configuration model controls would be reset each drop events\n * \n * -> matching key : will prevent to reset existing control\n */\n\n }, {\n key: 'loadDragDropModelFromConfigurationModel',\n value: function loadDragDropModelFromConfigurationModel(configModel, dragDropModel) {\n var _this2 = this;\n\n //reset dragdrop fields model NOT all dragDropModel!\n dragDropModel[1] = [];\n angular.forEach(configModel.lines, function (aConfigLine, aConfigLineIndex) {\n //add new line\n dragDropModel[1].push([]);\n angular.forEach(aConfigLine.columns, function (aConfigControl) {\n // get control type from configuration.control.selectedControl\n var dragdropControlRef = {\n control: 'empty',\n cssClass: 'col-xs-12',\n label: '<div class=\"col-md-12\"> <div class=\"form-group\"> <div class=\"\"> </div> </div></div>'\n };\n angular.forEach(dragDropModel[0], function (groupOfCtrlRef) {\n angular.forEach(groupOfCtrlRef, function (aCtrlref) {\n if (aCtrlref.control === aConfigControl.control.selectedControl) dragdropControlRef = angular.copy(aCtrlref);\n });\n });\n dragDropModel[1][aConfigLineIndex].push(dragdropControlRef);\n //update class depending number of control per line\n var cssClassToApply = _this2.easyFormDragWayConfig.getItemCssDependingNumberItemsInRow(dragDropModel[1][aConfigLineIndex].length);\n angular.forEach(dragDropModel[1][aConfigLineIndex], function (ddControlToUpdate) {\n return ddControlToUpdate.cssClass = cssClassToApply;\n });\n });\n });\n // console.info('bindDragDropModelFromConfigurationModel');\n // console.dir(\t\n // \t\t\t\t\t\t\t{\n // \t\t\t\t\t\t\t\t\t'when' \t\t\t\t\t\t\t: 'starting',\n // \t\t\t\t\t\t\t\t\t'configModel is ' \t: angular.copy(configModel),\n // \t\t\t\t\t\t\t\t\t'dragDropModel is ' : angular.copy(dragDropModel)\n // \t\t\t\t\t\t\t}\n // \t\t\t\t\t\t); \n }\n\n /**\n * returns a control model that is more formly detailed\n * (more formly detailed : see controls property in EasyFormGenFormlyBindingModels._easyFormListControls)\n */\n\n }, {\n key: 'getFormlyDetailedControlModelFromDragDropObject',\n value: function getFormlyDetailedControlModelFromDragDropObject(dragDrapCtrlModel) {\n var controlModel = {};\n var listControl = this.EasyFormGenFormlyBindingModels.getEasyFormListControls();\n var controlsListGetter = this.$parse('controls');\n\n angular.forEach(controlsListGetter(listControl), function (ctrlListValue) {\n if (ctrlListValue.id === dragDrapCtrlModel.control) controlModel = ctrlListValue;\n });\n return controlModel;\n }\n\n /**\n * valid a control key is unique\n *\n * yes... function name already told us that, \n * -> it's just confirmation and to see if\n * you keep focus while reading it ^^\n */\n\n }, {\n key: 'validKeyUniqueness',\n value: function validKeyUniqueness(thisKey, configurationObj) {\n var isUnique = true;\n for (var i = configurationObj.lines.length - 1; i >= 0; i--) {\n for (var j = configurationObj.lines[i].columns.length - 1; j >= 0; j--) {\n if (typeof configurationObj.lines[i].columns[j].control !== 'undefined') {\n if (configurationObj.lines[i].columns[j].control.key === thisKey) {\n isUnique = false;\n }\n }\n }\n }\n return isUnique;\n }\n }, {\n key: 'createUniqueKey',\n value: function createUniqueKey(baseKeyValue, configurationObj) {\n // unique key (set only first time) in this model is formly control type + Date.now(); \n var newKey = baseKeyValue + '-' + Date.now();\n if (this.validKeyUniqueness(newKey, configurationObj) === true) {\n return newKey;\n } else {\n newKey = baseKeyValue + '-' + Date.now();\n if (this.validKeyUniqueness(newKey, configurationObj) === true) {\n return newKey;\n } else {\n newKey = baseKeyValue + '-' + Date.now();\n return newKey;\n }\n }\n }\n }, {\n key: 'applyThisLine',\n value: function applyThisLine(linevalue, lineIndex, configModel) {\n angular.forEach(configModel.lines, function (aLineValue, aLineKey) {\n if (aLineKey === lineIndex) aLineValue.line = linevalue;\n });\n }\n\n /**\n * bind formly detailed model to configuration control model\n */\n\n }, {\n key: 'bindConfigCtrlModelFromFormlyDetailedCtrlModel',\n value: function bindConfigCtrlModelFromFormlyDetailedCtrlModel(formlyDetailCtrlModel, configurationCtrlModel, configModel) {\n /**\n * TODO :properties should be served by provider \n * more configurable without pain\n */\n //set selected control :\n this.$parse('control.selectedControl').assign(configurationCtrlModel, this.$parse('selectedControl')(formlyDetailCtrlModel));\n //set type :\t\n this.$parse('control.type').assign(configurationCtrlModel, this.$parse('formlyType')(formlyDetailCtrlModel));\n //set key :\t\n this.$parse('control.key').assign(configurationCtrlModel, this.createUniqueKey(this.$parse('control.type')(configurationCtrlModel), configModel));\n //set subtype :\t\n this.$parse('control.subtype').assign(configurationCtrlModel, this.$parse('formlySubtype')(formlyDetailCtrlModel));\n //set templateOptions.label :\t\n this.$parse('control.templateOptions.label').assign(configurationCtrlModel, this.$parse('formlyLabel')(formlyDetailCtrlModel));\n //set templateOptions.required :\t\n this.$parse('control.templateOptions.required').assign(configurationCtrlModel, this.$parse('formlyRequired')(formlyDetailCtrlModel));\n //set templateOptions.required :\t\n this.$parse('control.templateOptions.description').assign(configurationCtrlModel, this.$parse('formlyDesciption')(formlyDetailCtrlModel));\n //set templateOptions.required :\t\n this.$parse('control.templateOptions.placeholder').assign(configurationCtrlModel, this.$parse('formlyPlaceholder')(formlyDetailCtrlModel));\n //set templateOptions.required :\t\n this.$parse('control.templateOptions.options').assign(configurationCtrlModel, this.$parse('formlyOptions')(formlyDetailCtrlModel));\n\n if (this.$parse('control.type')(configurationCtrlModel) === 'datepicker') {\n this.$parse('control.templateOptions.datepickerPopup').assign(configurationCtrlModel, this.$parse('datepickerPopup')(formlyDetailCtrlModel));\n }\n }\n }]);\n\n return ddModelConfModelProxyService;\n}();\n\nddModelConfModelProxyService.$inject = ['EasyFormGenFormlyBindingModels',\n// 'controllerModalProxy',\n// 'dragDropConfig',\n'easyFormDragWayConfig', '$parse'];\n\nexports.default = ddModelConfModelProxyService;\nexports.DRAG_DROP_CONFIG_PROXY_SERVICE = DRAG_DROP_CONFIG_PROXY_SERVICE;//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvY29uZmlndXJhdGlvbk1vZGVsUHJveHkvZWRhRHJhZ0Ryb3BXYXkuY29uZmlndXJhdGlvbk1vZGVsUHJveHkuc2VydmljZS5qcz9iYmJmIl0sIm5hbWVzIjpbIkRSQUdfRFJPUF9DT05GSUdfUFJPWFlfU0VSVklDRSIsImRkTW9kZWxDb25mTW9kZWxQcm94eVNlcnZpY2UiLCJFYXN5Rm9ybUdlbkZvcm1seUJpbmRpbmdNb2RlbHMiLCJlYXN5Rm9ybURyYWdXYXlDb25maWciLCIkcGFyc2UiLCJpbml0IiwiY29uZmlnTW9kZWwiLCJkZE1vZGVsIiwibGluZXMiLCJhbmd1bGFyIiwiZm9yRWFjaCIs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F0ZXBpY2tlclBvcHVwJykoZm9ybWx5RGV0YWlsQ3RybE1vZGVsKSk7XG4gICAgfSAgICBcbiAgfSAgXG4gIFxuICBcbn1cblxuZGRNb2RlbENvbmZNb2RlbFByb3h5U2VydmljZS4kaW5qZWN0ID0gW1xuICAnRWFzeUZvcm1HZW5Gb3JtbHlCaW5kaW5nTW9kZWxzJyxcbiAgLy8gJ2NvbnRyb2xsZXJNb2RhbFByb3h5JyxcbiAgLy8gJ2RyYWdEcm9wQ29uZmlnJyxcbiAgJ2Vhc3lGb3JtRHJhZ1dheUNvbmZpZycsXG4gICckcGFyc2UnICBcbl07XG5cbmV4cG9ydCBkZWZhdWx0IGRkTW9kZWxDb25mTW9kZWxQcm94eVNlcnZpY2U7XG5leHBvcnQge1xuICBEUkFHX0RST1BfQ09ORklHX1BST1hZX1NFUlZJQ0Vcbn07XG5cblxuXG4vLyBXRUJQQUNLIEZPT1RFUiAvL1xuLy8gLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvY29uZmlndXJhdGlvbk1vZGVsUHJveHkvZWRhRHJhZ0Ryb3BXYXkuY29uZmlndXJhdGlvbk1vZGVsUHJveHkuc2VydmljZS5qcyJdLCJzb3VyY2VSb290IjoiIn0=");
|
|
|
|
/***/ },
|
|
/* 72 */
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _dragAndDropListDndlist = __webpack_require__(73);\n\nvar _dragAndDropListDndlist2 = _interopRequireDefault(_dragAndDropListDndlist);\n\nvar _dragAndDropListDndDraggable = __webpack_require__(74);\n\nvar _dragAndDropListDndDraggable2 = _interopRequireDefault(_dragAndDropListDndDraggable);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar DRAG_DROP_LIST_MODULE = 'dndLists.module';\n\nexports.default = angular.module(DRAG_DROP_LIST_MODULE, []).directive(_dragAndDropListDndlist.DNDLIST_DIRECTIVE, _dragAndDropListDndlist2.default).directive(_dragAndDropListDndDraggable.DNDDRAGGABLE_DIRECTIVE, _dragAndDropListDndDraggable2.default).factory('dndDragTypeWorkaround', function () {\n return {};\n}).factory('dndDropEffectWorkaround', function () {\n return {};\n});//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvY29tbW9uL2RyYWdBbmREcm9wTGlzdC9kcmFnQW5kRHJvcExpc3QubW9kdWxlLmpzP2NiOGUiXSwibmFtZXMiOlsiRFJBR19EUk9QX0xJU1RfTU9EVUxFIiwiYW5ndWxhciIsIm1vZHVsZSIsImRpcmVjdGl2ZSIsImZhY3RvcnkiXSwibWFwcGluZ3MiOiI7Ozs7OztBQUFBOzs7O0FBSUE7Ozs7OztBQUlBLElBQU1BLHdCQUF3QixpQkFBOUI7O2tCQUVlQyxRQUNFQyxNQURGLENBQ1NGLHFCQURULEVBQ2dDLEVBRGhDLEVBRUVHLFNBRkYsOEVBR0VBLFNBSEYsNkZBSUVDLE9BSkYsQ0FJVSx1QkFKVixFQUltQyxZQUFVO0FBQUUsU0FBTyxFQUFQO0FBQVksQ0FKM0QsRUFLRUEsT0FMRixDQUtVLHlCQUxWLEVBS3FDLFlBQVU7QUFBRSxTQUFPLEVBQVA7QUFBWSxDQUw3RCxDIiwiZmlsZSI6IjcyLmpzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IGRuZExpc3QsIHtcbiAgRE5ETElTVF9ESVJFQ1RJVkVcbn0gICAgICAgICAgICAgICAgICAgICAgIGZyb20gJy4vZHJhZ0FuZERyb3BMaXN0LmRuZGxpc3QuZGlyZWN0aXZlJztcblxuaW1wb3J0IGRuZERyYWdnYWJsZSwge1xuICBETkREUkFHR0FCTEVfRElSRUNUSVZFXG59ICAgICAgICAgICAgICAgICAgICAgICBmcm9tICcuL2RyYWdBbmREcm9wTGlzdC5kbmREcmFnZ2FibGUuZGlyZWN0aXZlJztcblxuY29uc3QgRFJBR19EUk9QX0xJU1RfTU9EVUxFID0gJ2RuZExpc3RzLm1vZHVsZSc7XG5cbmV4cG9ydCBkZWZhdWx0IGFuZ3VsYXJcbiAgICAgICAgICAgICAgICAubW9kdWxlKERSQUdfRFJPUF9MSVNUX01PRFVMRSwgW10pXG4gICAgICAgICAgICAgICAgLmRpcmVjdGl2ZShETkRMSVNUX0RJUkVDVElWRSwgZG5kTGlzdClcbiAgICAgICAgICAgICAgICAuZGlyZWN0aXZlKERORERSQUdHQUJMRV9ESVJFQ1RJVkUsIGRuZERyYWdnYWJsZSlcbiAgICAgICAgICAgICAgICAuZmFjdG9yeSgnZG5kRHJhZ1R5cGVXb3JrYXJvdW5kJywgZnVuY3Rpb24oKXsgcmV0dXJuIHt9OyB9KVxuICAgICAgICAgICAgICAgIC5mYWN0b3J5KCdkbmREcm9wRWZmZWN0V29ya2Fyb3VuZCcsIGZ1bmN0aW9uKCl7IHJldHVybiB7fTsgfSk7XG5cblxuXG4vLyBXRUJQQUNLIEZPT1RFUiAvL1xuLy8gLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvY29tbW9uL2RyYWdBbmREcm9wTGlzdC9kcmFnQW5kRHJvcExpc3QubW9kdWxlLmpzIl0sInNvdXJjZVJvb3QiOiIifQ==");
|
|
|
|
/***/ },
|
|
/* 73 */
|
|
/***/ function(module, exports) {
|
|
|
|
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar DNDLIST_DIRECTIVE = 'dndList';\n\nfunction dndList($parse, $timeout, dndDropEffectWorkaround, dndDragTypeWorkaround) {\n var directive = {\n link: linkFct\n };\n return directive;\n\n function linkFct(scope, element, attr) {\n // While an element is dragged over the list, this placeholder element is inserted\n // at the location where the element would be inserted after dropping\n var placeholder = angular.element('<li class=\"dndPlaceholder\"></li>');\n var placeholderNode = placeholder[0];\n var listNode = element[0];\n var horizontal = attr.dndHorizontalList && scope.$eval(attr.dndHorizontalList);\n var externalSources = attr.dndExternalSources && scope.$eval(attr.dndExternalSources);\n\n /**\n * The dragover event is triggered \"every few hundred milliseconds\" while an element\n * is being dragged over our list, or over an child element.\n */\n element.on('dragover', function (event) {\n event = event.originalEvent || event;\n if (!isDropAllowed(event)) return true;\n // First of all, make sure that the placeholder is shown\n // This is especially important if the list is empty\n if (placeholderNode.parentNode != listNode) {\n element.append(placeholder);\n }\n if (event.target !== listNode) {\n // Try to find the node direct directly below the list node.\n var listItemNode = event.target;\n while (listItemNode.parentNode !== listNode && listItemNode.parentNode) {\n listItemNode = listItemNode.parentNode;\n }\n if (listItemNode.parentNode === listNode && listItemNode !== placeholderNode) {\n // If the mouse pointer is in the upper half of the child element,\n // we place it before the child element, otherwise below it.\n if (isMouseInFirstHalf(event, listItemNode)) {\n listNode.insertBefore(placeholderNode, listItemNode);\n } else {\n listNode.insertBefore(placeholderNode, listItemNode.nextSibling);\n }\n }\n } else {\n // This branch is reached when we are dragging directly over the list element.\n // Usually we wouldn't need to do anything here, but the IE does not fire it's\n // events for the child element, only for the list directly. Therefore we repeat\n // the positioning algorithm for IE here.\n if (isMouseInFirstHalf(event, placeholderNode, true)) {\n // Check if we should move the placeholder element one spot towards the top.\n // Note that display none elements will have offsetTop and offsetHeight set to\n // zero, therefore we need a special check for them.\n while (placeholderNode.previousElementSibling && (isMouseInFirstHalf(event, placeholderNode.previousElementSibling, true) || placeholderNode.previousElementSibling.offsetHeight === 0)) {\n listNode.insertBefore(placeholderNode, placeholderNode.previousElementSibling);\n }\n } else {\n // Check if we should move the placeholder element one spot towards the bottom\n while (placeholderNode.nextElementSibling && !isMouseInFirstHalf(event, placeholderNode.nextElementSibling, true)) {\n listNode.insertBefore(placeholderNode, placeholderNode.nextElementSibling.nextElementSibling);\n }\n }\n }\n\n // At this point we invoke the callback, which still can disallow the drop.\n // We can't do this earlier because we want to pass the index of the placeholder.\n if (attr.dndDragover && !invokeCallback(attr.dndDragover, event)) {\n return stopDragover();\n }\n element.addClass('dndDragover');\n event.preventDefault();\n event.stopPropagation();\n return false;\n });\n\n /**\n * When the element is dropped, we use the position of the placeholder element as the\n * position where we insert the transferred data. This assumes that the list has exactly\n * one child element per array element.\n */\n element.on('drop', function (event) {\n event = event.originalEvent || event;\n if (!isDropAllowed(event)) return true;\n // The default behavior in Firefox is to interpret the dropped element as URL and\n // forward to it. We want to prevent that even if our drop is aborted.\n event.preventDefault();\n // Unserialize the data that was serialized in dragstart. According to the HTML5 specs,\n // the \"Text\" drag type will be converted to text/plain, but IE does not do that.\n var data = event.dataTransfer.getData('Text') || event.dataTransfer.getData('text/plain');\n var transferredObject;\n try {\n transferredObject = JSON.parse(data);\n } catch (e) {\n return stopDragover();\n }\n // Invoke the callback, which can transform the transferredObject and even abort the drop.\n if (attr.dndDrop) {\n transferredObject = invokeCallback(attr.dndDrop, event, transferredObject);\n if (!transferredObject) {\n return stopDragover();\n }\n }\n // Retrieve the JSON array and insert the transferred object into it.\n var targetArray = scope.$eval(attr.dndList);\n scope.$apply(function () {\n targetArray.splice(getPlaceholderIndex(), 0, transferredObject);\n });\n // In Chrome on Windows the dropEffect will always be none...\n // We have to determine the actual effect manually from the allowed effects\n if (event.dataTransfer.dropEffect === 'none') {\n if (event.dataTransfer.effectAllowed === 'copy' || event.dataTransfer.effectAllowed === 'move') {\n dndDropEffectWorkaround.dropEffect = event.dataTransfer.effectAllowed;\n } else {\n dndDropEffectWorkaround.dropEffect = event.ctrlKey ? 'copy' : 'move';\n }\n } else {\n dndDropEffectWorkaround.dropEffect = event.dataTransfer.dropEffect;\n }\n // Clean up\n stopDragover();\n event.stopPropagation();\n return false;\n });\n\n /**\n * We have to remove the placeholder when the element is no longer dragged over our list. The\n * problem is that the dragleave event is not only fired when the element leaves our list,\n * but also when it leaves a child element -- so practically it's fired all the time. As a\n * workaround we wait a few milliseconds and then check if the dndDragover class was added\n * again. If it is there, dragover must have been called in the meantime, i.e. the element\n * is still dragging over the list. If you know a better way of doing this, please tell me!\n */\n element.on('dragleave', function (event) {\n event = event.originalEvent || event;\n\n element.removeClass('dndDragover');\n $timeout(function () {\n if (!element.hasClass('dndDragover')) {\n placeholder.remove();\n }\n }, 100);\n });\n\n /**\n * Checks whether the mouse pointer is in the first half of the given target element.\n *\n * In Chrome we can just use offsetY, but in Firefox we have to use layerY, which only\n * works if the child element has position relative. In IE the events are only triggered\n * on the listNode instead of the listNodeItem, therefore the mouse positions are\n * relative to the parent element of targetNode.\n */\n function isMouseInFirstHalf(event, targetNode, relativeToParent) {\n var mousePointer = horizontal ? event.offsetX || event.layerX : event.offsetY || event.layerY;\n var targetSize = horizontal ? targetNode.offsetWidth : targetNode.offsetHeight;\n var targetPosition = horizontal ? targetNode.offsetLeft : targetNode.offsetTop;\n targetPosition = relativeToParent ? targetPosition : 0;\n return mousePointer < targetPosition + targetSize / 2;\n }\n\n /**\n * We use the position of the placeholder node to determine at which position of the array the\n * object needs to be inserted\n */\n function getPlaceholderIndex() {\n return Array.prototype.indexOf.call(listNode.children, placeholderNode);\n }\n\n /**\n * Checks various conditions that must be fulfilled for a drop to be allowed\n */\n function isDropAllowed(event) {\n // Disallow drop from external source unless it's allowed explicitly.\n if (!dndDragTypeWorkaround.isDragging && !externalSources) return false;\n // Check mimetype. Usually we would use a custom drag type instead of Text, but IE doesn't\n // support that.\n if (!hasTextMimetype(event.dataTransfer.types)) return false;\n // Now check the dnd-allowed-types against the type of the incoming element. For drops from\n // external sources we don't know the type, so it will need to be checked via dnd-drop.\n if (attr.dndAllowedTypes && dndDragTypeWorkaround.isDragging) {\n var allowed = scope.$eval(attr.dndAllowedTypes);\n if (angular.isArray(allowed) && allowed.indexOf(dndDragTypeWorkaround.dragType) === -1) {\n return false;\n }\n }\n // Check whether droping is disabled completely\n if (attr.dndDisableIf && scope.$eval(attr.dndDisableIf)) return false;\n return true;\n }\n\n /**\n * Small helper function that cleans up if we aborted a drop.\n */\n function stopDragover() {\n placeholder.remove();\n element.removeClass('dndDragover');\n return true;\n }\n\n /**\n * Invokes a callback with some interesting parameters and returns the callbacks return value.\n */\n function invokeCallback(expression, event, item) {\n return $parse(expression)(scope, {\n event: event,\n index: getPlaceholderIndex(),\n item: item || undefined,\n external: !dndDragTypeWorkaround.isDragging,\n type: dndDragTypeWorkaround.isDragging ? dndDragTypeWorkaround.dragType : undefined\n });\n }\n\n /**\n * Check if the dataTransfer object contains a drag type that we can handle. In old versions\n * of IE the types collection will not even be there, so we just assume a drop is possible.\n */\n function hasTextMimetype(types) {\n if (!types) return true;\n for (var i = 0; i < types.length; i++) {\n if (types[i] === 'Text' || types[i] === 'text/plain') return true;\n }\n return false;\n }\n }\n}\n\nvar TO_INJECT = ['$parse', '$timeout', 'dndDropEffectWorkaround', 'dndDragTypeWorkaround'];\n\ndndList.$inject = TO_INJECT;\n\nexports.default = dndList;\nexports.DNDLIST_DIRECTIVE = DNDLIST_DIRECTIVE;//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvY29tbW9uL2RyYWdBbmREcm9wTGlzdC9kcmFnQW5kRHJvcExpc3QuZG5kbGlzdC5kaXJlY3RpdmUuanM/YjQyZiJdLCJuYW1lcyI6WyJETkRMSVNUX0RJUkVDVElWRSIsImRuZExpc3QiLCIkcGFyc2UiLCIkdGltZW91dCIsImRuZERyb3BFZmZlY3RXb3JrYXJvdW5kIiwiZG5kRHJhZ1R5cGVXb3JrYXJvdW5kIiwiZGlyZWN0aXZlIiwibGluayIsImxpbmtGY3QiLCJzY29wZSIsImVsZW1lbnQiLCJhdHRyIiwicGxhY2Vob2xkZXIiLCJhbmd1bGFyIiwicGxhY2Vob2xkZXJOb2RlIiwibGlzdE5vZGUiLCJob3Jpem9udGFsIiwiZG5kSG9yaXpvbnRhbExpc3Qi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MSVNUX0RJUkVDVElWRVxufTtcblxuXG5cbi8vIFdFQlBBQ0sgRk9PVEVSIC8vXG4vLyAuL3NyYy9hcHAvZHJhZ2Ryb3B3YXkvY29tcG9uZW50cy9jb21tb24vZHJhZ0FuZERyb3BMaXN0L2RyYWdBbmREcm9wTGlzdC5kbmRsaXN0LmRpcmVjdGl2ZS5qcyJdLCJzb3VyY2VSb290IjoiIn0=");
|
|
|
|
/***/ },
|
|
/* 74 */
|
|
/***/ function(module, exports) {
|
|
|
|
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar DNDDRAGGABLE_DIRECTIVE = 'dndDraggable';\n\nfunction dndDraggable($parse, $timeout, dndDropEffectWorkaround, dndDragTypeWorkaround) {\n var directive = {\n link: linkFct\n };\n return directive;\n\n function linkFct(scope, element, attr) {\n var _this = this;\n\n // Set the HTML5 draggable attribute on the element\n element.attr('draggable', 'true');\n\n // If the dnd-disable-if attribute is set, we have to watch that\n if (attr.dndDisableIf) {\n scope.$watch(attr.dndDisableIf, function (disabled) {\n return element.attr('draggable', !disabled);\n });\n }\n\n /**\n * When the drag operation is started we have to prepare the dataTransfer object,\n * which is the primary way we communicate with the target element\n */\n element.on('dragstart', function (event) {\n event = event.originalEvent || event;\n // Serialize the data associated with this element. IE only supports the Text drag type\n event.dataTransfer.setData('Text', angular.toJson(scope.$eval(attr.dndDraggable)));\n // Only allow actions specified in dnd-effect-allowed attribute\n event.dataTransfer.effectAllowed = attr.dndEffectAllowed || 'move';\n // Add CSS classes. See documentation above\n element.addClass('dndDragging');\n $timeout(function () {\n element.addClass('dndDraggingSource');\n }, 0);\n // Workarounds for stupid browsers, see description below\n dndDropEffectWorkaround.dropEffect = 'none';\n dndDragTypeWorkaround.isDragging = true;\n // Save type of item in global state. Usually, this would go into the dataTransfer\n // typename, but we have to use \"Text\" there to support IE\n dndDragTypeWorkaround.dragType = attr.dndType ? scope.$eval(attr.dndType) : undefined;\n // Invoke callback\n $parse(attr.dndDragstart)(scope, { event: event });\n event.stopPropagation();\n });\n\n /**\n * The dragend event is triggered when the element was dropped or when the drag\n * operation was aborted (e.g. hit escape button). Depending on the executed action\n * we will invoke the callbacks specified with the dnd-moved or dnd-copied attribute.\n */\n element.on('dragend', function (event) {\n event = event.originalEvent || event;\n\n // Invoke callbacks. Usually we would use event.dataTransfer.dropEffect to determine\n // the used effect, but Chrome has not implemented that field correctly. On Windows\n // it always sets it to 'none', while Chrome on Linux sometimes sets it to something\n // else when it's supposed to send 'none' (drag operation aborted).\n var dropEffect = dndDropEffectWorkaround.dropEffect;\n scope.$apply(function () {\n switch (dropEffect) {\n case 'move':\n $parse(attr.dndMoved)(scope, { event: event });\n break;\n\n case 'copy':\n $parse(attr.dndCopied)(scope, { event: event });\n break;\n }\n });\n\n // Clean up\n element.removeClass('dndDragging');\n element.removeClass('dndDraggingSource');\n dndDragTypeWorkaround.isDragging = false;\n event.stopPropagation();\n });\n\n /**\n * When the element is clicked we invoke the callback function\n * specified with the dnd-selected attribute.\n */\n element.on('click', function (event) {\n event = event.originalEvent || event;\n scope.$apply(function () {\n return $parse(attr.dndSelected)(scope, { event: event });\n });\n event.stopPropagation();\n });\n\n /**\n * Workaround to make element draggable in IE9\n */\n element.on('selectstart', function () {\n if (_this.dragDrop) _this.dragDrop();\n return false;\n });\n }\n}\n\nvar TO_INJECT = ['$parse', '$timeout', 'dndDropEffectWorkaround', 'dndDragTypeWorkaround'];\n\ndndDraggable.$inject = TO_INJECT;\n\nexports.default = dndDraggable;\nexports.DNDDRAGGABLE_DIRECTIVE = DNDDRAGGABLE_DIRECTIVE;//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvY29tbW9uL2RyYWdBbmREcm9wTGlzdC9kcmFnQW5kRHJvcExpc3QuZG5kRHJhZ2dhYmxlLmRpcmVjdGl2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bmREcm9wRWZmZWN0V29ya2Fyb3VuZCcsIFxuICAnZG5kRHJhZ1R5cGVXb3JrYXJvdW5kJ1xuXTtcblxuXG5kbmREcmFnZ2FibGUuJGluamVjdCA9IFRPX0lOSkVDVDtcblxuZXhwb3J0IGRlZmF1bHQgZG5kRHJhZ2dhYmxlO1xuXG5leHBvcnQge1xuICBETkREUkFHR0FCTEVfRElSRUNUSVZFXG59O1xuXG5cblxuLy8gV0VCUEFDSyBGT09URVIgLy9cbi8vIC4vc3JjL2FwcC9kcmFnZHJvcHdheS9jb21wb25lbnRzL2NvbW1vbi9kcmFnQW5kRHJvcExpc3QvZHJhZ0FuZERyb3BMaXN0LmRuZERyYWdnYWJsZS5kaXJlY3RpdmUuanMiXSwic291cmNlUm9vdCI6IiJ9");
|
|
|
|
/***/ },
|
|
/* 75 */
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _pageslide = __webpack_require__(76);\n\nvar _pageslide2 = _interopRequireDefault(_pageslide);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar PAGE_SLIDE_MODULE = 'pageslide.module';\n\nexports.default = angular.module(PAGE_SLIDE_MODULE, []).directive(_pageslide.PAGE_SLIDE_DIRECTIVE, _pageslide2.default);//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvY29tbW9uL3BhZ2VzbGlkZS9wYWdlc2xpZGUubW9kdWxlLmpzPzQ0NzciXSwibmFtZXMiOlsiUEFHRV9TTElERV9NT0RVTEUiLCJhbmd1bGFyIiwibW9kdWxlIiwiZGlyZWN0aXZlIl0sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQTs7Ozs7O0FBS0EsSUFBTUEsb0JBQW9CLGtCQUExQjs7a0JBRWVDLFFBQ0VDLE1BREYsQ0FDU0YsaUJBRFQsRUFDNEIsRUFENUIsRUFFRUcsU0FGRixzRCIsImZpbGUiOiI3NS5qcyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBwYWdlc2xpZGUsIHtcbiAgUEFHRV9TTElERV9ESVJFQ1RJVkVcbn0gZnJvbSAnLi9wYWdlc2xpZGUuZGlyZWN0aXZlJztcblxuXG5jb25zdCBQQUdFX1NMSURFX01PRFVMRSA9ICdwYWdlc2xpZGUubW9kdWxlJztcblxuZXhwb3J0IGRlZmF1bHQgYW5ndWxhclxuICAgICAgICAgICAgICAgIC5tb2R1bGUoUEFHRV9TTElERV9NT0RVTEUsIFtdKVxuICAgICAgICAgICAgICAgIC5kaXJlY3RpdmUoUEFHRV9TTElERV9ESVJFQ1RJVkUsIHBhZ2VzbGlkZSk7XG5cblxuXG4vLyBXRUJQQUNLIEZPT1RFUiAvL1xuLy8gLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvY29tbW9uL3BhZ2VzbGlkZS9wYWdlc2xpZGUubW9kdWxlLmpzIl0sInNvdXJjZVJvb3QiOiIifQ==");
|
|
|
|
/***/ },
|
|
/* 76 */
|
|
/***/ function(module, exports) {
|
|
|
|
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar PAGE_SLIDE_DIRECTIVE = 'pageslide';\n\nfunction pageslide() {\n var directive = {\n restrict: 'EAC',\n transclude: false,\n scope: {\n psOpen: '=?',\n psAutoClose: '=?',\n psSide: '@',\n psSpeed: '@',\n psClass: '@',\n psSize: '@',\n psSqueeze: '@',\n psCloak: '@',\n psPush: '@',\n psContainer: '@'\n },\n link: linkFct\n };\n return directive;\n\n function linkFct($scope, el, attrs) {\n /* Inspect */\n //console.log($scope);\n //console.log(el);\n //console.log(attrs);\n\n /* Parameters */\n var param = {};\n\n param.side = $scope.psSide || 'right';\n param.speed = $scope.psSpeed || '0.5';\n param.size = $scope.psSize || '300px';\n param.zindex = 1000; // Override with custom CSS\n param.className = $scope.psClass || 'ng-pageslide';\n param.cloak = $scope.psCloak && $scope.psCloak.toLowerCase() == 'false' ? false : true;\n param.squeeze = Boolean($scope.psSqueeze) || false;\n param.push = Boolean($scope.psPush) || false;\n param.container = $scope.psContainer || false;\n\n // Apply Class\n el.addClass(param.className);\n\n /* DOM manipulation */\n var content = null;\n var slider = null;\n var body = param.container ? document.getElementById(param.container) : document.body;\n\n slider = el[0];\n\n // Check for div tag\n if (slider.tagName.toLowerCase() !== 'div' && slider.tagName.toLowerCase() !== 'pageslide') throw new Error('Pageslide can only be applied to <div> or <pageslide> elements');\n\n // Check for content\n if (slider.children.length === 0) throw new Error('You have to content inside the <pageslide>');\n\n content = angular.element(slider.children);\n\n /* Append */\n body.appendChild(slider);\n\n /* Style setup */\n slider.style.zIndex = param.zindex;\n slider.style.position = param.container !== false ? 'absolute' : 'fixed';\n slider.style.width = 0;\n slider.style.height = 0;\n slider.style.overflow = 'hidden';\n slider.style.transitionDuration = param.speed + 's';\n slider.style.webkitTransitionDuration = param.speed + 's';\n slider.style.transitionProperty = 'width, height';\n if (param.squeeze) {\n body.style.position = 'absolute';\n body.style.transitionDuration = param.speed + 's';\n body.style.webkitTransitionDuration = param.speed + 's';\n body.style.transitionProperty = 'top, bottom, left, right';\n }\n\n switch (param.side) {\n case 'right':\n slider.style.height = attrs.psCustomHeight || '100%';\n slider.style.top = attrs.psCustomTop || '0px';\n slider.style.bottom = attrs.psCustomBottom || '0px';\n slider.style.right = attrs.psCustomRight || '0px';\n break;\n case 'left':\n slider.style.height = attrs.psCustomHeight || '100%';\n slider.style.top = attrs.psCustomTop || '0px';\n slider.style.bottom = attrs.psCustomBottom || '0px';\n slider.style.left = attrs.psCustomLeft || '0px';\n break;\n case 'top':\n slider.style.width = attrs.psCustomWidth || '100%';\n slider.style.left = attrs.psCustomLeft || '0px';\n slider.style.top = attrs.psCustomTop || '0px';\n slider.style.right = attrs.psCustomRight || '0px';\n break;\n case 'bottom':\n slider.style.width = attrs.psCustomWidth || '100%';\n slider.style.bottom = attrs.psCustomBottom || '0px';\n slider.style.left = attrs.psCustomLeft || '0px';\n slider.style.right = attrs.psCustomRight || '0px';\n break;\n }\n\n /* Closed */\n function psClose(slider, param) {\n if (slider && slider.style.width !== 0 && slider.style.width !== 0) {\n if (param.cloak) content.css('display', 'none');\n switch (param.side) {\n case 'right':\n slider.style.width = '0px';\n if (param.squeeze) body.style.right = '0px';\n if (param.push) {\n body.style.right = '0px';\n body.style.left = '0px';\n }\n break;\n case 'left':\n slider.style.width = '0px';\n if (param.squeeze) body.style.left = '0px';\n if (param.push) {\n body.style.left = '0px';\n body.style.right = '0px';\n }\n break;\n case 'top':\n slider.style.height = '0px';\n if (param.squeeze) body.style.top = '0px';\n if (param.push) {\n body.style.top = '0px';\n body.style.bottom = '0px';\n }\n break;\n case 'bottom':\n slider.style.height = '0px';\n if (param.squeeze) body.style.bottom = '0px';\n if (param.push) {\n body.style.bottom = '0px';\n body.style.top = '0px';\n }\n break;\n }\n }\n $scope.psOpen = false;\n }\n\n /* Open */\n function psOpen(slider, param) {\n if (slider.style.width !== 0 && slider.style.width !== 0) {\n switch (param.side) {\n case 'right':\n slider.style.width = param.size;\n if (param.squeeze) body.style.right = param.size;\n if (param.push) {\n body.style.right = param.size;\n body.style.left = '-' + param.size;\n }\n break;\n case 'left':\n slider.style.width = param.size;\n if (param.squeeze) body.style.left = param.size;\n if (param.push) {\n body.style.left = param.size;\n body.style.right = '-' + param.size;\n }\n break;\n case 'top':\n slider.style.height = param.size;\n if (param.squeeze) body.style.top = param.size;\n if (param.push) {\n body.style.top = param.size;\n body.style.bottom = '-' + param.size;\n }\n break;\n case 'bottom':\n slider.style.height = param.size;\n if (param.squeeze) body.style.bottom = param.size;\n if (param.push) {\n body.style.bottom = param.size;\n body.style.top = '-' + param.size;\n }\n break;\n }\n setTimeout(function () {\n if (param.cloak) content.css('display', 'block');\n }, param.speed * 1000);\n }\n }\n\n // function isFunction(functionToCheck) {\n // var getType = {};\n // return functionToCheck && getType.toString.call(functionToCheck) === '[object Function]';\n // }\n\n /*\n * Watchers\n * */\n\n $scope.$watch('psOpen', function (value) {\n /* eslint no-extra-boolean-cast:0 */\n if (!!value) {\n // Open\n psOpen(slider, param);\n } else {\n // Close\n psClose(slider, param);\n }\n });\n\n /*\n * Events\n * */\n\n $scope.$on('$destroy', function () {\n return body.removeChild(slider);\n });\n\n if ($scope.psAutoClose) {\n $scope.$on('$locationChangeStart', function () {\n return psClose(slider, param);\n });\n $scope.$on('$stateChangeStart', function () {\n return psClose(slider, param);\n });\n }\n }\n}\n\npageslide.$inject = [];\n\nexports.default = pageslide;\nexports.PAGE_SLIDE_DIRECTIVE = PAGE_SLIDE_DIRECTIVE;//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvY29tbW9uL3BhZ2VzbGlkZS9wYWdlc2xpZGUuZGlyZWN0aXZlLmpzP2U0ZjAiXSwibmFtZXMiOlsiUEFHRV9TTElERV9ESVJFQ1RJVkUiLCJwYWdlc2xpZGUiLCJkaXJlY3RpdmUiLCJyZXN0cmljdCIsInRyYW5zY2x1ZGUiLCJzY29wZSIsInBzT3BlbiIsInBzQXV0b0Nsb3NlIiwicHNTaWRlIiwicHNTcGVlZCIsInBzQ2xhc3MiLCJwc1NpemUiLCJwc1NxdWVlemUiLCJwc0Nsb2FrIiwicHNQdXNoIiwicHNDb250YWluZXIiLCJsaW5rIiwibGlua0ZjdCIsIiRzY29wZSIsImVsIiwiYXR0cnMiLCJwYXJhbSIsInNpZGUiLCJzcGVlZCIsInNpemUiLCJ6aW5kZXgiLCJjbGFzc05hbWUiLCJjbG9hayIsInRvTG93ZXJDYXNlIiwic3F1ZWV6ZSIsIkJvb2xlYW4iLCJwdXNoIiwiY29udGFpbm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Z2h0ID0gJzBweCc7XG4gICAgICAgICAgaWYgKHBhcmFtLnB1c2gpIHtcbiAgICAgICAgICAgICAgYm9keS5zdHlsZS5yaWdodCAgPSAnMHB4JztcbiAgICAgICAgICAgICAgYm9keS5zdHlsZS5sZWZ0ICAgPSAnMHB4JztcbiAgICAgICAgICB9XG4gICAgICAgICAgYnJlYWs7XG4gICAgICAgIGNhc2UgJ2xlZnQnOlxuICAgICAgICAgIHNsaWRlci5zdHlsZS53aWR0aCA9ICcwcHgnO1xuICAgICAgICAgIGlmIChwYXJhbS5zcXVlZXplKSBib2R5LnN0eWxlLmxlZnQgPSAnMHB4JztcbiAgICAgICAgICBpZiAocGFyYW0ucHVzaCkge1xuICAgICAgICAgICAgICBib2R5LnN0eWxlLmxlZnQgICA9ICcwcHgnO1xuICAgICAgICAgICAgICBib2R5LnN0eWxlLnJpZ2h0ICA9ICcwcHgnO1xuICAgICAgICAgIH1cbiAgICAgICAgICBicmVhaztcbiAgICAgICAgY2FzZSAndG9wJzpcbiAgICAgICAgICBzbGlkZXIuc3R5bGUuaGVpZ2h0ID0gJzBweCc7XG4gICAgICAgICAgaWYgKHBhcmFtLnNxdWVlemUpIGJvZHkuc3R5bGUudG9wID0gJzBweCc7XG4gICAgICAgICAgaWYgKHBhcmFtLnB1c2gpIHtcbiAgICAgICAgICAgICAgYm9keS5zdHlsZS50b3AgICAgPSAnMHB4JztcbiAgICAgICAgICAgICAgYm9keS5zdHlsZS5ib3R0b20gPSAnMHB4JztcbiAgICAgICAgICB9XG4gICAgICAgICAgYnJlYWs7XG4gICAgICAgIGNhc2UgJ2JvdHRvbSc6XG4gICAgICAgICAgc2xpZGVyLnN0eWxlLmhlaWdodCA9ICcwcHgnO1xuICAgICAgICAgIGlmIChwYXJhbS5zcXVlZXplKSBib2R5LnN0eWxlLmJvdHRvbSA9ICcwcHgnO1xuICAgICAgICAgIGlmIChwYXJhbS5wdXNoKSB7XG4gICAgICAgICAgICAgIGJvZHkuc3R5bGUuYm90dG9tID0gJzBweCc7IFxuICAgICAgICAgICAgICBib2R5LnN0eWxlLnRvcCAgICA9ICcwcHgnOyBcbiAgICAgICAgICB9XG4gICAgICAgICAgYnJlYWs7XG4gICAgICAgIH1cbiAgICAgIH1cbiAgICAgICRzY29wZS5wc09wZW4gPSBmYWxzZTtcbiAgICB9XG5cbiAgICAvKiBPcGVuICovXG4gICAgZnVuY3Rpb24gcHNPcGVuKHNsaWRlciwgcGFyYW0pIHtcbiAgICAgICAgaWYgKHNsaWRlci5zdHlsZS53aWR0aCAhPT0gMCAmJiBzbGlkZXIuc3R5bGUud2lkdGggIT09IDApIHtcbiAgICAgICAgICAgIHN3aXRjaCAocGFyYW0uc2lkZSkge1xuICAgICAgICAgICAgY2FzZSAncmlnaHQnOlxuICAgICAgICAgICAgICBzbGlkZXIuc3R5bGUud2lkdGggPSBwYXJhbS5zaXplO1xuICAgICAgICAgICAgICBpZiAocGFyYW0uc3F1ZWV6ZSkgYm9keS5zdHlsZS5yaWdodCA9IHBhcmFtLnNpemU7XG4gICAgICAgICAgICAgIGlmIChwYXJhbS5wdXNoKSB7XG4gICAgICAgICAgICAgICAgICBib2R5LnN0eWxlLnJpZ2h0ID0gcGFyYW0uc2l6ZTtcbiAgICAgICAgICAgICAgICAgIGJvZHkuc3R5bGUubGVmdCA9ICctJyArIHBhcmFtLnNpemU7XG4gICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICBjYXNlICdsZWZ0JzpcbiAgICAgICAgICAgICAgc2xpZGVyLnN0eWxlLndpZHRoID0gcGFyYW0uc2l6ZTtcbiAgICAgICAgICAgICAgaWYgKHBhcmFtLnNxdWVlemUpIGJvZHkuc3R5bGUubGVmdCA9IHBhcmFtLnNpemU7XG4gICAgICAgICAgICAgIGlmIChwYXJhbS5wdXNoKSB7XG4gICAgICAgICAgICAgICAgICBib2R5LnN0eWxlLmxlZnQgPSBwYXJhbS5zaXplO1xuICAgICAgICAgICAgICAgICAgYm9keS5zdHlsZS5yaWdodCA9ICctJyArIHBhcmFtLnNpemU7XG4gICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICBjYXNlICd0b3AnOlxuICAgICAgICAgICAgICBzbGlkZXIuc3R5bGUuaGVpZ2h0ID0gcGFyYW0uc2l6ZTtcbiAgICAgICAgICAgICAgaWYgKHBhcmFtLnNxdWVlemUpIGJvZHkuc3R5bGUudG9wID0gcGFyYW0uc2l6ZTtcbiAgICAgICAgICAgICAgaWYgKHBhcmFtLnB1c2gpIHtcbiAgICAgICAgICAgICAgICAgIGJvZHkuc3R5bGUudG9wID0gcGFyYW0uc2l6ZTtcbiAgICAgICAgICAgICAgICAgIGJvZHkuc3R5bGUuYm90dG9tID0gJy0nICsgcGFyYW0uc2l6ZTtcbiAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgIGNhc2UgJ2JvdHRvbSc6XG4gICAgICAgICAgICAgIHNsaWRlci5zdHlsZS5oZWlnaHQgPSBwYXJhbS5zaXplO1xuICAgICAgICAgICAgICBpZiAocGFyYW0uc3F1ZWV6ZSkgYm9keS5zdHlsZS5ib3R0b20gPSBwYXJhbS5zaXplO1xuICAgICAgICAgICAgICBpZiAocGFyYW0ucHVzaCkge1xuICAgICAgICAgICAgICAgICAgYm9keS5zdHlsZS5ib3R0b20gPSBwYXJhbS5zaXplO1xuICAgICAgICAgICAgICAgICAgYm9keS5zdHlsZS50b3AgPSAnLScgKyBwYXJhbS5zaXplO1xuICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgc2V0VGltZW91dCgoKSA9PiB7XG4gICAgICAgICAgICAgIGlmIChwYXJhbS5jbG9haykgY29udGVudC5jc3MoJ2Rpc3BsYXknLCAnYmxvY2snKTtcbiAgICAgICAgICAgIH0sIChwYXJhbS5zcGVlZCAqIDEwMDApKTtcblxuICA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XG5cbmV4cG9ydCB7XG4gIFBBR0VfU0xJREVfRElSRUNUSVZFXG59O1xuXG5cblxuLy8gV0VCUEFDSyBGT09URVIgLy9cbi8vIC4vc3JjL2FwcC9kcmFnZHJvcHdheS9jb21wb25lbnRzL2NvbW1vbi9wYWdlc2xpZGUvcGFnZXNsaWRlLmRpcmVjdGl2ZS5qcyJdLCJzb3VyY2VSb290IjoiIn0=");
|
|
|
|
/***/ },
|
|
/* 77 */
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n\nvar _edaDragDropWayEdaDragdropWayEasyFormGen = __webpack_require__(78);\n\nvar _edaDragDropWayEdaDragdropWayEasyFormGen2 = _interopRequireDefault(_edaDragDropWayEdaDragdropWayEasyFormGen);\n\nvar _edaDragDropWayEdaDragdropWayEasyFormGen3 = __webpack_require__(80);\n\nvar _edaDragDropWayEdaDragdropWayEasyFormGen4 = _interopRequireDefault(_edaDragDropWayEdaDragdropWayEasyFormGen3);\n\nvar _edaDragDropWayEdaDragdropWayEasyFormGen5 = __webpack_require__(82);\n\nvar _edaDragDropWayEdaDragdropWayEasyFormGen6 = _interopRequireDefault(_edaDragDropWayEdaDragdropWayEasyFormGen5);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar DRAGDROP_MODULE = 'edaDragDropWay.main.module'; /* global angular */\n\nexports.default = angular.module(DRAGDROP_MODULE, []).provider(_edaDragDropWayEdaDragdropWayEasyFormGen.EASY_FORM_DRAG_DROP_WAY_CONFIG_NAME, _edaDragDropWayEdaDragdropWayEasyFormGen2.default).controller(_edaDragDropWayEdaDragdropWayEasyFormGen3.DRAG_DROP_WAY_EASY_FORM_GEN_CONTROLLER, _edaDragDropWayEdaDragdropWayEasyFormGen4.default).directive(_edaDragDropWayEdaDragdropWayEasyFormGen5.EDA_DRAGDROP_WAY_EASY_FORM_GEN_DIRECTIVE, _edaD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VkYURyYWdEcm9wV2F5LmVkYURyYWdkcm9wV2F5RWFzeUZvcm1HZW4ubW9kdWxlLmpzIl0sInNvdXJjZVJvb3QiOiIifQ==");
|
|
|
|
/***/ },
|
|
/* 78 */
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\nexports.EASY_FORM_DRAG_DROP_WAY_CONFIG_NAME = undefined;\n\nvar _edaDragDropWayEdaDragdropWayEasyFormGenProvider = __webpack_require__(79);\n\nvar EASY_FORM_DRAG_DROP_WAY_CONFIG_NAME = 'easyFormDragWayConfig'; // TODO : Add here configs from ES5 dragDropConfigProvider\n\nfunction easyFormDragWayConfig() {\n\n\tvar _listDragDropItemCssClasses = [].concat(_edaDragDropWayEdaDragdropWayEasyFormGenProvider.LIST_DRAG_DROP_ITEM_CSS_CLASSES);\n\tvar _dragDropConfigModel = angular.copy(_edaDragDropWayEdaDragdropWayEasyFormGenProvider.DRAG_DROP_CONFIG_MODEL);\n\tvar _dragDropPresentationModel = [].concat(_edaDragDropWayEdaDragdropWayEasyFormGenProvider.DRAG_DROP_PRESENTATION_MODEL);\n\tvar _itemsNotToCountFoReal = angular.copy(_edaDragDropWayEdaDragdropWayEasyFormGenProvider.ITEMS_NOT_TO_COUNT_FOR_REAL);\n\n\tvar _configuration = defaultConfig();\n\tvar _controlsList = controlsList();\n\t// let _defaultLanguage\t\t= getDefaultLanguage();\n\t// let _currentLanguage\t\t= initDefaultLanguage();\n\tvar _showPreviewPanel = getDefaultshowPreviewPanel();\n\tvar _showPreviewModels = getDefaultShowPreviewModel();\n\t/* jshint validthis:true */\n\tthis.$get = easyFormDragDropWayConfigGET;\n\tthis.setModalAnimation = setModalAnimation;\n\tthis.getModalAnimation = getModalAnimation;\n\tthis.configuration = _configuration;\n\tthis.getEnabledControls = getEnabledControls;\n\tthis.disableControl = disableControl;\n\tthis.enableControl = enableControl;\n\t// this.setLanguage\t\t\t\t= setLanguage;\n\t// this.getCurrentLanguage\t= getCurrentLanguage;\n\tthis.showPreviewPanel = showPreviewPanel;\n\tthis.showPreviewModels = showPreviewModels;\n\n\tthis.setListItemCssClass = setListItemCssClass;\n\tthis.getItemsNotTocount = getItemsNotTocount;\n\tthis.setItemsNotTocount = setItemsNotTocount;\n\tthis.addControlToDragDropPresentationModel = addControlToDragDropPresentationModel;\n\tthis.getDragDropPresentationModel = getDragDropPresentationModel;\n\n\tfunction setListItemCssClass(fromConfig) {\n\t\t_listDragDropItemCssClasses = [].concat(fromConfig);\n\t}\n\n\tfunction getItemsNotTocount() {\n\t\treturn _itemsNotToCountFoReal;\n\t}\n\n\tfunction setItemsNotTocount(fromConfig) {\n\t\t_itemsNotToCountFoReal = angular.copy(fromConfig);\n\t}\n\n\t//set default config\n\tfunction defaultConfig() {\n\t\tvar _defaultConfiguration = {\n\t\t\tmodalAnimated: false\n\t\t};\n\t\treturn _defaultConfiguration;\n\t}\n\n\tfunction addControlToDragDropPresentationModel(controlToAdd, groupToAdd) {\n\t\tif (typeof controlToAdd !== 'undefined' && typeof groupToAdd !== 'undefined') {\n\t\t\taddToGroupControl(controlToAdd, groupToAdd);\n\t\t}\n\t}\n\n\tfunction getDragDropPresentationModel() {\n\t\treturn _dragDropPresentationModel;\n\t}\n\n\t//show preview panel by default\n\tfunction getDefaultshowPreviewPanel() {\n\t\treturn true;\n\t}\n\n\t//show preview data, fields models in preview panel\n\tfunction getDefaultShowPreviewModel() {\n\t\treturn true;\n\t}\n\n\t// function getCurrentLanguage(){\n\t// \t\treturn _currentLanguage;\n\t// }\t\n\n\t//list of controls\n\tfunction controlsList() {\n\t\tvar 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: '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\t\treturn controls;\n\t}\n\n\tfunction showPreviewPanel(wantToShow) {\n\t\tif (angular.isDefined(wantToShow)) {\n\t\t\tif (wantToShow === true) _showPreviewPanel = true;\n\t\t\tif (wantToShow === false) _showPreviewPanel = false;\n\t\t}\n\t}\n\n\tfunction showPreviewModels(wantToShow) {\n\t\tif (angular.isDefined(wantToShow)) {\n\t\t\tif (wantToShow === true) _showPreviewModels = true;\n\t\t\tif (wantToShow === false) _showPreviewModels = false;\n\t\t}\n\t}\n\n\t// //language : set default to english\n\t// function getDefaultLanguage(){\n\t// \tlet lang = 'en';\n\t// \treturn lang;\n\t// }\n\n\t// function setDefaultLanguage(){\n\t// \t_currentLanguage = _defaultLanguage;\n\t// \t$translateProvider.preferredLanguage(_currentLanguage);\n\t// \treturn _currentLanguage;\n\t// }\t\n\n\t// function setLanguage(language){\t\t\t\t\n\t// \tif (angular.isString(language)) {\n\t// \t\t_currentLanguage = language;\n\t// \t\t$translateProvider.preferredLanguage(language);\n\t// \t}else{\n\t// \t\tsetDefaultLanguage();\n\t// \t}\n\t// }\n\n\t// function initDefaultLanguage(){\n\t// \t$translateProvider.useSanitizeValueStrategy('escape'); \t//security : Enable escaping of HTML\n\t// \t$translateProvider.fallbackLanguage(_defaultLanguage);\t//fallback language to default language\n\t// \t$translateProvider.preferredLanguage(_defaultLanguage);\n\t// \treturn _defaultLanguage;\n\t// }\n\n\tfunction getEnabledControls() {\n\t\treturn _controlsList;\n\t}\n\n\tfunction disableControl(controlName) {\n\t\tif (angular.isString(controlName)) {\n\t\t\tangular.forEach(_controlsList, function (aControl) {\n\t\t\t\tif (aControl.name === controlName) aControl.enabled = false;\n\t\t\t});\n\t\t}\n\t}\n\n\tfunction enableControl(controlName) {\n\t\tif (angular.isString(controlName)) {\n\t\t\tangular.forEach(_controlsList, function (aControl) {\n\t\t\t\tif (aControl.name === controlName) aControl.enabled = true;\n\t\t\t});\n\t\t}\n\t}\n\n\tfunction setModalAnimation(flagConfig) {\n\t\tvar valueToApply = flagConfig === true ? flagConfig : flagConfig === false ? flagConfig : _configuration.modalAnimated;\n\n\t\t_configuration.modalAnimated = valueToApply;\n\t}\n\n\tfunction getModalAnimation() {\n\t\treturn _configuration.modalAnimated;\n\t}\n\n\t//$get implementation :\n\t// easyFormDragDropWayConfigGET.$inject = ['$translate'];\n\t// function easyFormDragDropWayConfigGET($translate){\n\teasyFormDragDropWayConfigGET.$inject = [];\n\tfunction easyFormDragDropWayConfigGET() {\n\n\t\tvar service = {\n\t\t\tsetModalAnimation: setModalAnimationFct,\n\t\t\tgetModalAnimationValue: getModalAnimationValue,\n\t\t\tgetListEnabledControl: getListEnabledControl,\n\t\t\t// setLanguage \t\t\t\t\t\t\t\t\t\t\t: switchLanguage,\n\t\t\t// getCurrentLanguage\t\t\t\t\t\t\t\t: getCurrentLanguage,\n\t\t\tisPreviewPanelVisible: isPreviewPanelVisible,\n\t\t\tarePreviewModelsVisible: arePreviewModelsVisible,\n\n\t\t\tgetListItemCssClass: getListItemCssClass,\n\t\t\tgetItemsNotToCount: getItemsNotToCount,\n\t\t\tgetItemCssDependingNumberItemsInRow: getItemCssDependingNumberItemsInRow,\n\t\t\tgetDistinctItemCssClass: getDistinctItemCssClass,\n\t\t\tgetDragDropConfigModel: getDragDropConfigModel,\n\t\t\tgetDragDropPresentationModel: getDragDropPresentationModel,\n\t\t\tsetDragDropConfigContainerDecorationCollapse: setDragDropConfigContainerDecorationCollapse\n\t\t};\n\t\treturn service;\n\n\t\tfunction getDragDropPresentationModel() {\n\t\t\treturn _dragDropPresentationModel;\n\t\t}\n\n\t\tfunction setDragDropConfigContainerDecorationCollapse(dragDropConfigModel, indexValue, isCollapsedBool) {\n\t\t\tif (typeof indexValue !== 'undefined' && typeof isCollapsedBool !== 'undefined') {\n\t\t\t\tif (indexValue === parseInt(indexValue, 10)) {\n\t\t\t\t\tdragDropConfigModel.containerConfig.decoration[indexValue].isCollapsed = isCollapsedBool;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn true;\n\t\t}\n\n\t\tfunction getDragDropConfigModel() {\n\t\t\treturn _dragDropConfigModel;\n\t\t}\n\n\t\tfunction getDistinctItemCssClass() {\n\t\t\tvar distinctCssClass = [];\n\t\t\tangular.forEach(_listDragDropItemCssClasses, function (valueRef) {\n\n\t\t\t\tvar cssClassRef = valueRef.cssClass;\n\n\t\t\t\tif (distinctCssClass.length === 0) {\n\t\t\t\t\tdistinctCssClass.push(cssClassRef);\n\t\t\t\t} else {\n\t\t\t\t\tvar canAdd = true;\n\t\t\t\t\tangular.forEach(distinctCssClass, function (valueProc) {\n\t\t\t\t\t\tvar cssClassProc = valueProc;\n\t\t\t\t\t\tif (cssClassRef === cssClassProc) {\n\t\t\t\t\t\t\tcanAdd = false;\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t\tif (canAdd) distinctCssClass.push(cssClassRef);\n\t\t\t\t}\n\t\t\t});\n\t\t\treturn distinctCssClass;\n\t\t}\n\n\t\tfunction getItemCssDependingNumberItemsInRow(numberOfItems) {\n\t\t\tif (typeof numberOfItems !== 'undefined') {\n\t\t\t\tvar classToReturn = '';\n\t\t\t\tfor (var i = _listDragDropItemCssClasses.length - 1; i >= 0; i--) {\n\t\t\t\t\tif (_listDragDropItemCssClasses[i].numberItemPerRow === numberOfItems) {\n\t\t\t\t\t\tclassToReturn = _listDragDropItemCssClasses[i].cssClass;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn classToReturn;\n\t\t\t} else {\n\t\t\t\treturn '';\n\t\t\t}\n\t\t}\n\n\t\tfunction getListItemCssClass() {\n\t\t\treturn _listDragDropItemCssClasses;\n\t\t}\n\n\t\tfunction getItemsNotToCount() {\n\t\t\treturn _itemsNotToCountFoReal;\n\t\t}\n\n\t\tfunction getModalAnimationValue() {\n\t\t\treturn _configuration.modalAnimated;\n\t\t}\n\n\t\tfunction setModalAnimationFct(value) {\n\t\t\tsetModalAnimation(value);\n\t\t}\n\n\t\tfunction getListEnabledControl() {\n\t\t\treturn angular.copy(_controlsList);\n\t\t}\n\n\t\t// function switchLanguage(language){\n\t\t// \tif (angular.isString(language)) {\n\t\t// \t\t_currentLanguage = language;\n\t\t// \t\t$translate.use(language);\n\t\t// \t}else{\n\t\t// \t\tsetDefaultLanguage();\n\t\t// \t}\n\t\t// }\t\t\t\t\t\n\n\t\tfunction isPreviewPanelVisible() {\n\t\t\treturn _showPreviewPanel;\n\t\t}\n\n\t\tfunction arePreviewModelsVisible() {\n\t\t\treturn _showPreviewModels;\n\t\t}\n\t}\n\n\t/**\n * addToGroupControl : add control to _dragDropPresentationModel\n * @param {[type]} thisControl : control to add\n * @param {[type]} thisGroup : groupId wher this control should be added\n *\n * NOTE : if _dragDropPresentationModel wrong initialized it will create list of group conforming to \n * configModel\n */\n\tfunction addToGroupControl(thisControl, thisGroup) {\n\t\t/**\n * search group if already exists\n */\n\t\tif (_dragDropPresentationModel[0].length > 0) {\n\t\t\t/**\n * case when _dragDropConfigModel.containerConfig.decoration.length is > to _dragDropPresentationModel[0].length\n *\n * for instance : initialization _dragDropPresentationModel[0] in between\n */\n\t\t\tif (_dragDropPresentationModel[0].length < _dragDropConfigModel.containerConfig.decoration.length) {\n\t\t\t\tvar missingGroupNumber = _dragDropConfigModel.containerConfig.decoration.length - _dragDropPresentationModel[0].length;\n\n\t\t\t\tfor (var i = 0; i < missingGroupNumber; i++) {\n\t\t\t\t\t_dragDropPresentationModel[0].push([]);\n\t\t\t\t}\n\t\t\t}\n\t\t\t/**\n * push control to right index \n * (deduced by _dragDropConfigModel.containerConfig.decoration.WhenIndex value for groupId === thisGroup)\n */\n\t\t\t_dragDropConfigModel.containerConfig.decoration.forEach(function (groupConfig) {\n\t\t\t\tif (thisGroup.addToGroupCtrl === groupConfig.groupId) {\n\t\t\t\t\t_dragDropPresentationModel[0][groupConfig.WhenIndex].push(thisControl);\n\t\t\t\t}\n\t\t\t});\n\t\t} else {\n\t\t\t/**\n * no group no control\n *\n * initialize _dragDropConfigModel.containerConfig.decoration list\n */\n\t\t\t_dragDropConfigModel.containerConfig.decoration.forEach(function () {\n\t\t\t\treturn _dragDropPresentationModel[0].push([]);\n\t\t\t});\n\t\t\t/**\n * push control to right index \n * (deduced by _dragDropConfigModel.containerConfig.decoration.WhenIndex value for groupId === thisGroup)\n */\n\t\t\t_dragDropConfigModel.containerConfig.decoration.forEach(function (groupConfig) {\n\t\t\t\tif (thisGroup.addToGroupCtrl === groupConfig.groupId) {\n\t\t\t\t\t_dragDropPresentationModel[0][groupConfig.WhenIndex].push(thisControl);\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t}\n}\n\n// easyFormDragWayConfig.$inject = ['$translateProvider'];\n\neasyFormDragWayConfig.$inject = [];\n\nexports.default = easyFormDragWayConfig;\nexports.EASY_FORM_DRAG_DROP_WAY_CONFIG_NAME = EASY_FORM_DRAG_DROP_WAY_CONFIG_NAME;//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvZWRhRHJhZ0Ryb3BXYXlFYXN5Rm9ybUdlbi9lZGFEcmFnRHJvcFdheS5lZGFEcmFnZHJvcFdheUVhc3lGb3JtR2VuLnByb3ZpZGVyLmpzPzE0MDIiXSwibmFtZXMiOlsiRUFTWV9GT1JNX0RSQUdfRFJPUF9XQVlfQ09ORklHX05BTUUiLCJlYXN5Rm9ybURyYWdXYXlDb25maWciLCJfbGlzdERyYWdEcm9wSXRlbUNzc0NsYXNzZXMiLCJjb25jYXQiLCJfZHJhZ0Ryb3BDb25maWdNb2RlbCIsImFuZ3VsYXIiLCJjb3B5IiwiX2RyYWdEcm9wUHJlc2VudGF0aW9uTW9kZWwiLCJfaXRlbXNOb3RUb0NvdW50Rm9SZWFsIiwiX2NvbmZpZ3VyYXRpb24i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m91cElkKSB7XG4gICAgICAgICAgX2RyYWdEcm9wUHJlc2VudGF0aW9uTW9kZWxbMF1bZ3JvdXBDb25maWcuV2hlbkluZGV4XS5wdXNoKHRoaXNDb250cm9sKTtcbiAgICAgICAgfVxuICAgICAgIH0pOyBcbiAgICB9XG4gIH0gXHRcblxufVxuXG4vLyBlYXN5Rm9ybURyYWdXYXlDb25maWcuJGluamVjdCA9IFsnJHRyYW5zbGF0ZVByb3ZpZGVyJ107XG5cbmVhc3lGb3JtRHJhZ1dheUNvbmZpZy4kaW5qZWN0ID0gW107XG5cbmV4cG9ydCBkZWZhdWx0IGVhc3lGb3JtRHJhZ1dheUNvbmZpZztcblxuZXhwb3J0IHtFQVNZX0ZPUk1fRFJBR19EUk9QX1dBWV9DT05GSUdfTkFNRX07XG5cblxuLy8gV0VCUEFDSyBGT09URVIgLy9cbi8vIC4vc3JjL2FwcC9kcmFnZHJvcHdheS9jb21wb25lbnRzL2VkYURyYWdEcm9wV2F5RWFzeUZvcm1HZW4vZWRhRHJhZ0Ryb3BXYXkuZWRhRHJhZ2Ryb3BXYXlFYXN5Rm9ybUdlbi5wcm92aWRlci5qcyJdLCJzb3VyY2VSb290IjoiIn0=");
|
|
|
|
/***/ },
|
|
/* 79 */
|
|
/***/ function(module, exports) {
|
|
|
|
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar LIST_DRAG_DROP_ITEM_CSS_CLASSES = [{\n cssClass: 'col-md-12',\n numberItemPerRow: 0\n}, {\n cssClass: 'col-md-12',\n numberItemPerRow: 1\n}, {\n cssClass: 'col-md-6',\n numberItemPerRow: 2\n}, {\n cssClass: 'col-md-4',\n numberItemPerRow: 3\n}];\n\nvar DRAG_DROP_CONFIG_MODEL = {\n dropZoneConfig: {\n decoration: [{\n WhenIndex: 0,\n ApplycssClass: 'col-md-4',\n fontAwesomeIcon: 'fa fa-level-up',\n title: 'Drag control from here : '\n }, {\n WhenIndex: 1,\n ApplycssClass: 'col-md-8',\n fontAwesomeIcon: 'fa fa-level-down',\n title: 'Drop control into here : '\n }],\n verboseMode: false\n },\n containerConfig: {\n decoration: [{\n WhenIndex: 0,\n ApplycssClass: 'col-md-12',\n title: 'Blank : ',\n groupId: 'blank',\n isCollapsed: true\n }, {\n WhenIndex: 1,\n ApplycssClass: 'col-md-12',\n title: 'Headers : ',\n groupId: 'headers',\n isCollapsed: true\n }, {\n WhenIndex: 2,\n ApplycssClass: 'col-md-12',\n title: 'Text inputs : ',\n groupId: 'inputs',\n isCollapsed: true\n }, {\n WhenIndex: 3,\n ApplycssClass: 'col-md-12',\n title: 'Textareas : ',\n groupId: 'textareas',\n isCollapsed: true\n }, {\n WhenIndex: 4,\n ApplycssClass: 'col-md-12',\n title: 'Radios : ',\n groupId: 'radios',\n isCollapsed: true\n }, {\n WhenIndex: 5,\n ApplycssClass: 'col-md-12',\n title: 'Checkboxes : ',\n groupId: 'checkboxes',\n isCollapsed: true\n }, {\n WhenIndex: 6,\n ApplycssClass: 'col-md-12',\n title: 'Selects : ',\n groupId: 'selects',\n isCollapsed: true\n }],\n verboseMode: false,\n collapseEnabled: true,\n collapseCtrl: [{\n atIndex: 0,\n collapse: true\n }, {\n atIndex: 1,\n collapse: true\n }]\n },\n itemConfig: {\n verboseMode: false\n }\n};\n\nvar DRAG_DROP_PRESENTATION_MODEL = [\n//1 column here is control selection column\n[], [\n//empty 1st line at initialisation\n[]]];\n\nvar ITEMS_NOT_TO_COUNT_FOR_REAL = {\n //placeholder : '',\n itemBeingDragged: ''\n};\n\nexports.LIST_DRAG_DROP_ITEM_CSS_CLASSES = LIST_DRAG_DROP_ITEM_CSS_CLASSES;\nexports.DRAG_DROP_CONFIG_MODEL = DRAG_DROP_CONFIG_MODEL;\nexports.DRAG_DROP_PRESENTATION_MODEL = DRAG_DROP_PRESENTATION_MODEL;\nexports.ITEMS_NOT_TO_COUNT_FOR_REAL = ITEMS_NOT_TO_COUNT_FOR_REAL;//# sourceMappingURL=data:application/json;charset=utf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AgbnVtYmVySXRlbVBlclJvdzogMVxuICB9LCAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcbiAge1xuICAgIGNzc0NsYXNzIDogJ2NvbC1tZC02JywgXG4gICAgbnVtYmVySXRlbVBlclJvdzogMlxuICB9LFxuICB7XG4gICAgY3NzQ2xhc3MgOiAnY29sLW1kLTQnLCBcbiAgICBudW1iZXJJdGVtUGVyUm93OiAzXG4gIH1cbl07IFxuXG5jb25zdCBEUkFHX0RST1BfQ09ORklHX01PREVMID0gIHtcbiAgZHJvcFpvbmVDb25maWcgOiB7XG4gICAgZGVjb3JhdGlvbiA6ICBbXG4gICAge1xuICAgICAgV2hlbkluZGV4OiAwLFxuICAgICAgQXBwbHljc3NDbGFzczogJ2NvbC1tZC00JywgXG4gICAgICBmb250QXdlc29tZUljb246ICdmYSBmYS1sZXZlbC11cCcsXG4gICAgICB0aXRsZTogJ0RyYWcgY29udHJvbCBmcm9tIGhlcmUgOiAnXG4gICAgfSxcbiAgICB7XG4gICAgICBXaGVuSW5kZXg6IDEsXG4gICAgICBBcHBseWNzc0NsYXNzOiAnY29sLW1kLTgnLCBcbiAgICAgIGZvbnRBd2Vzb21lSWNvbjogJ2ZhIGZhLWxldmVsLWRvd24nLFxuICAgICAgdGl0bGU6ICdEcm9wIGNvbnRyb2wgaW50byBoZXJlIDogJ1xuICAgIH1cbiAgXSxcbiAgdmVyYm9zZU1vZGUgOiBmYWxzZVxufSxcbiAgY29udGFpbmVyQ29uZmlnIDoge1xuICAgIGRlY29yYXRpb24gOiAgICBbXG4gICAgICB7XG4gICAgICAgIFdoZW5JbmRleCAgICAgOiAwLFxuICAgICAgICBBcHBseWNzc0NsYXNzIDogJ2NvbC1tZC0xMicsIFxuICAgICAgICB0aXRsZSAgICAgICAgIDogJ0JsYW5rIDogJyxcbiAgICAgICAgZ3JvdXBJZCAgICAgICA6ICdibGFuaycsXG4gICAgICAgIGlzQ29sbGFwc2VkICAgOiB0cnVlIFxuICAgICAgfSwgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFxuICAgICAge1xuICAgICAgICBXaGVuSW5kZXggICAgIDogMSxcbiAgICAgICAgQXBwbHljc3NDbGFzcyA6ICdjb2wtbWQtMTInLCBcbiAgICAgICAgdGl0bGUgICAgICAgICA6ICdIZWFkZXJzIDogJyxcbiAgICAgICAgZ3JvdXBJZCAgICAgICA6ICdoZWFkZXJzJyxcbiAgICAgICAgaXNDb2xsYXBzZWQgICA6IHRydWUgXG4gICAgICB9LFxuICAgICAge1xuICAgICAgICBXaGVuSW5kZXggICAgIDogMixcbiAgICAgICAgQXBwbHljc3NDbGFzcyA6ICdjb2wtbWQtMTInLCBcbiAgICAgICAgdGl0bGUgICAgICAgICA6ICdUZXh0IGlucHV0cyA6ICcsXG4gICAgICAgIGdyb3VwSWQgICAgICAgOiAnaW5wdXRzJyAsXG4gICAgICAgIGlzQ29sbGFwc2VkICAgOiB0cnVlXG4gICAgICB9LFxuICAgICAge1xuICAgICAgICBXaGVuSW5kZXggICAgIDogMyxcbiAgICAgICAgQXBwbHljc3NDbGFzcyA6ICdjb2wtbWQtMTInLFxuICAgICAgICB0aXRsZSAgICAgICAgIDogJ1RleHRhcmVhcyA6ICcsXG4gICAgICAgIGdyb3VwSWQgICAgICAgOiAndGV4dGFyZWFzJyxcbiAgICAgICAgaXNDb2xsYXBzZWQgICA6IHRydWUgXG4gICAgICB9LFxuICAgICAge1xuICAgICAgICBXaGVuSW5kZXggICAgIDogNCxcbiAgICAgICAgQXBwbHljc3NDbGFzcyA6ICdjb2wtbWQtMTInLFxuICAgICAgICB0aXRsZSAgICAgICAgIDogJ1JhZGlvcyA6ICcsXG4gICAgICAgIGdyb3VwSWQgICAgICAgOiAncmFkaW9zJyxcbiAgICAgICAgaXNDb2xsYXBzZWQgICA6IHRydWUgXG4gICAgICB9LFxuICAgICAge1xuICAgICAgICBXaGVuSW5kZXggICAgIDogNSxcbiAgICAgICAgQXBwbHljc3NDbGFzcyA6ICdjb2wtbWQtMTInLFxuICAgICAgICB0aXRsZSAgICAgICAgIDogJ0NoZWNrYm94ZXMgOiAnLFxuICAgICAgICBncm91cElkICAgICAgIDogJ2NoZWNrYm94ZXMnLFxuICAgICAgICBpc0NvbGxhcHNlZCAgIDogdHJ1ZSBcbiAgICAgIH0sXG4gICAgICB7XG4gICAgICAgIFdoZW5JbmRleCAgICAgOiA2LFxuICAgICAgICBBcHBseWNzc0NsYXNzIDogJ2NvbC1tZC0xMicsXG4gICAgICAgIHRpdGxlICAgICAgICAgOiAnU2VsZWN0cyA6ICcsXG4gICAgICAgIGdyb3VwSWQgICAgICAgOiAnc2VsZWN0cycsXG4gICAgICAgIGlzQ29sbGFwc2VkICAgOiB0cnVlIFxuICAgICAgfSBcbiAgICBdLFxuICAgIHZlcmJvc2VNb2RlICAgICA6IGZhbHNlLCBcbiAgICBjb2xsYXBzZUVuYWJsZWQgOiB0cnVlLFxuICAgIGNvbGxhcHNlQ3RybCAgICA6IFtcbiAgICAgIHtcbiAgICAgICAgYXRJbmRleCA6IDAsXG4gICAgICAgIGNvbGxhcHNlIDogdHJ1ZVxuICAgICAgfSxcbiAgICAgIHtcbiAgICAgICAgYXRJbmRleCA6IDEsXG4gICAgICAgIGNvbGxhcHNlIDogdHJ1ZVxuICAgICAgfVxuICAgIF0gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcbiAgfSxcbiAgaXRlbUNvbmZpZyAgICA6ICAge1xuICB2ZXJib3NlTW9kZSA6IGZhbHNlXG4gIH0gICAgICAgICAgICAgICAgICBcbn07ICBcblxuY29uc3QgRFJBR19EUk9QX1BSRVNFTlRBVElPTl9NT0RFTCA9IFtcbiAgLy8xIGNvbHVtbiBoZXJlIGlzIGNvbnRyb2wgc2VsZWN0aW9uIGNvbHVtblxuICBbXSxcbiAgW1xuICAgIC8vZW1wdHkgMXN0IGxpbmUgYXQgaW5pdGlhbGlzYXRpb25cbiAgICBbXVxuICBdXG5dO1xuXG5jb25zdCBJVEVNU19OT1RfVE9fQ09VTlRfRk9SX1JFQUwgPSB7XG4gIC8vcGxhY2Vob2xkZXIgOiAgICAgICAgICcnLFxuICBpdGVtQmVpbmdEcmFnZ2VkIDogICAgJydcbn07XG5cbmV4cG9ydCB7XG4gIExJU1RfRFJBR19EUk9QX0lURU1fQ1NTX0NMQVNTRVMsXG4gIERSQUdfRFJPUF9DT05GSUdfTU9ERUwsXG4gIERSQUdfRFJPUF9QUkVTRU5UQVRJT05fTU9ERUwsXG4gIElURU1TX05PVF9UT19DT1VOVF9GT1JfUkVBTFxufTtcblxuXG5cbi8vIFdFQlBBQ0sgRk9PVEVSIC8vXG4vLyAuL3NyYy9hcHAvZHJhZ2Ryb3B3YXkvY29tcG9uZW50cy9lZGFEcmFnRHJvcFdheUVhc3lGb3JtR2VuL2VkYURyYWdEcm9wV2F5LmVkYURyYWdkcm9wV2F5RWFzeUZvcm1HZW4ucHJvdmlkZXIuaGVscGVycy5qcyJdLCJzb3VyY2VSb290IjoiIn0=");
|
|
|
|
/***/ },
|
|
/* 80 */
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.DRAG_DROP_WAY_EASY_FORM_GEN_CONTROLLERAS = exports.DRAG_DROP_WAY_EASY_FORM_GEN_CONTROLLER = undefined;\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); /* global angular */\n\n///////////////////////////////////////////////////////////////////////\n// TODO :\n// - check no use methods that come from step way and delete if not needed\n// - check other TODO (a lot of fixes are needed)\n///////////////////////////////////////////////////////////////////////\n\nvar _edaDragDropWayEdaDragdropWayEasyFormGenControllerHelpers = __webpack_require__(81);\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar DRAG_DROP_WAY_EASY_FORM_GEN_CONTROLLER = 'edaDragDropWayEasyFormGenCtrl';\nvar DRAG_DROP_WAY_EASY_FORM_GEN_CONTROLLERAS = 'vm';\n\nvar edaDragDropWayEasyFormGenCtrl = function () {\n function edaDragDropWayEasyFormGenCtrl($scope, easyFormGenVersion, $filter, $anchorScroll, toaster, $timeout, $log, formFieldManage, controllerModalProxy, dragDropItemDecorationService, ddModelConfModelProxyService, ddItemRightClickedManager, easyFormDragWayConfig) {\n _classCallCheck(this, edaDragDropWayEasyFormGenCtrl);\n\n this.$scope = $scope;\n this.easyFormGenVersion = easyFormGenVersion;\n this.$filter = $filter;\n this.$anchorScroll = $anchorScroll;\n this.toaster = toaster;\n this.$timeout = $timeout;\n this.$log = $log;\n this.formFieldManage = formFieldManage;\n this.controllerModalProxy = controllerModalProxy;\n this.dragDropItemDecorationService = dragDropItemDecorationService;\n // this.dragDropConfig = dragDropConfig;\n this.ddModelConfModelProxyService = ddModelConfModelProxyService;\n this.ddItemRightClickedManager = ddItemRightClickedManager;\n this.easyFormDragWayConfig = easyFormDragWayConfig;\n\n this.init();\n }\n\n _createClass(edaDragDropWayEasyFormGenCtrl, [{\n key: 'init',\n value: function init() {\n this.easyFormGeneratorVERSION = this.easyFormGenVersion;\n this.tab = (0, _edaDragDropWayEdaDragdropWayEasyFormGenControllerHelpers.initTabModel)(this.easyFormDragWayConfig.isPreviewPanelVisible(), this.easyFormDragWayConfig.arePreviewModelsVisible());\n this.returnSaveEvent = false;\n this.dataModel = {}; //was vm.model in ES5 version\n this.wfFormFields = [];\n this.wfFormFieldsOnlyNeededProperties = [];\n this.ihm = (0, _edaDragDropWayEdaDragdropWayEasyFormGenControllerHelpers.initIhmModel)();\n this.easyFormDragDropProperties = this.easyFormDragWayConfig.getDragDropConfigModel();\n this.dragDropModel = [].concat(this.easyFormDragWayConfig.getDragDropPresentationModel());\n this.numberOfColumns = 1;\n this.MaxNumberOfColumns = 3;\n this.MinNumberOfColumns = 1;\n this.configuration = {};\n this.animationsEnabled = this.easyFormDragWayConfig.getModalAnimationValue();\n this.editPanelModel = { toggle: false };\n this.debugProxyModel = this.controllerModalProxy.ProxyModel;\n this.model = [];\n\n this.formFieldManage.initConfigurationEditFromScratch(this.configuration, false);\n this.controllerModalProxy.initProxyModel();\n }\n }, {\n key: 'collapseAllGroupControl',\n value: function collapseAllGroupControl(allExceptThisGroupIndex) {\n var _this = this;\n\n angular.forEach(this.easyFormDragDropProperties.containerConfig.decoration, function (value) {\n if (value.WhenIndex !== allExceptThisGroupIndex) _this.easyFormDragWayConfig.setDragDropConfigContainerDecorationCollapse(_this.easyFormDragDropProperties, value.WhenIndex, true);\n });\n }\n }, {\n key: 'onSubmit',\n value: function onSubmit() {\n this.toaster.pop({\n type: 'info',\n timeout: 2000,\n title: 'should save data model if it were not a static example',\n body: 'data :' + this.$filter('json')(this.dataModel, 4),\n showCloseButton: true\n });\n }\n }, {\n key: 'resetToZeroModel',\n value: function resetToZeroModel() {\n this.configuration.activeLine = 1;\n if (this.configuration.lines.length > 1) this.configuration.lines.splice(1, this.configuration.lines.length - 2);\n return this.countConfigurationModelLines();\n }\n\n //TO CHECK if does not come from step way :\n\n }, {\n key: 'countConfigurationModelLines',\n value: function countConfigurationModelLines() {\n return this.configuration.lines.length;\n }\n\n // //TO CHECK THEN TO DELETE : should come from step way...\n // setActiveLineNumber(lineNumber){\n // if (lineNumber <= this.countConfigurationModelLines()) this.configuration.activeLine = lineNumber;\n // }\n\n // //TO CHECK THEN TO DELETE : should come from step way...\n // upThisLine(indexLine){\n // if (indexLine > -1) {\n // if (this.configuration.lines[indexLine - 1]) {\n // let currentLineObj = this.configuration.lines[indexLine];\n // this.configuration.lines.splice(indexLine , 1);\n // this.configuration.lines.splice((indexLine - 1), 0, currentLineObj);\n // this.configuration.activeLine = 1;\n // }\n // }\n //\n // this.formFieldManage.applyConfigurationToformlyModel(this.configuration, this.wfFormFields, this.dataModel);\n // this.wfFormFieldsOnlyNeededProperties = angular.copy(this.wfFormFields);\n // }\n\n // //TO CHECK THEN TO DELETE : should come from step way...\n // downThisLine(indexLine){\n // if (indexLine > -1) {\n // if (this.configuration.lines[indexLine + 1]) {\n // let currentLineObj = this.configuration.lines[indexLine];\n // this.configuration.lines.splice(indexLine , 1);\n // this.configuration.lines.splice((indexLine + 1), 0, currentLineObj);\n // this.configuration.activeLine = 1;\n // }\n // }\n // this.formFieldManage.applyConfigurationToformlyModel(this.configuration, this.wfFormFields, this.dataModel);\n // this.wfFormFieldsOnlyNeededProperties = angular.copy(this.wfFormFields);\n // }\n\n // //TO CHECK THEN TO DELETE : should come from step way...\n // removeThisLine(index){\n // if (index > -1) {\n // if (this.configuration.lines.length > 1) {\n // if (this.configuration.activeLine === index + 1) this.configuration.activeLine = 1;\n // this.configuration.lines.splice(index, 1);\n // }else{\n // this.$timeout(()=>{\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 // this.formFieldManage.applyConfigurationToformlyModel(this.configuration, this.wfFormFields, this.dataModel);\n // this.wfFormFieldsOnlyNeededProperties = angular.copy(this.wfFormFields);\n // }\n // }\n\n // //TO CHECK THEN TO DELETE : should come from step way...\n // increaseNumberOfColumns(){\n // if (this.configuration.lines[this.configuration.activeLine -1].columns.length < this.MaxNumberOfColumns) {\n // let newNumberOfColumns = this.configuration.lines[this.configuration.activeLine -1].columns.push(initColumnTemplate());\n // this.configuration.lines[this.configuration.activeLine -1].columns[newNumberOfColumns - 1].numColumn = newNumberOfColumns;\n // }\n // this.formFieldManage.applyConfigurationToformlyModel(this.configuration, this.wfFormFields, this.dataModel);\n // this.wfFormFieldsOnlyNeededProperties = angular.copy(this.wfFormFields);\n // }\n\n // //TO CHECK THEN TO DELETE : should come from step way...\n // decreaseNumberOfColumns(indexLine, indexColumn){\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.formFieldManage.applyConfigurationToformlyModel(this.configuration, this.wfFormFields, this.dataModel);\n // this.wfFormFieldsOnlyNeededProperties = angular.copy(this.wfFormFields);\n // }\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 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 this.toaster.pop({\n type: 'wait',\n timeout: 10000,\n title: 'Form is being saved',\n body: 'Wait.',\n showCloseButton: true\n });\n this.toaster.clear();\n this.returnSaveEvent = true;\n return true;\n }\n }, {\n key: 'dragoverCallbackContainer',\n value: function dragoverCallbackContainer(parentparentIndex, parentIndex, index) {\n //prevent container in layout column to be drag to control select contianer\n if (index === 0) return false;\n return true;\n }\n }, {\n key: 'dropCallback',\n value: function dropCallback(event, index, item, external, type, allowedType) {\n var _this2 = this;\n\n if (external) {\n if (allowedType === 'itemType' && !item.label) return false;\n if (allowedType === 'containerType' && !angular.isArray(item)) return false;\n }\n //set a timeout befire binding since ddModel may not be called when already full updated\n var timerRefreshDDToConfig = this.$timeout(function () {\n _this2.configuration = angular.copy(_this2.ddModelConfModelProxyService.refreshAllConfigurationFromDragAndDropModel(_this2.configuration, _this2.dragDropModel));\n _this2.formFieldManage.applyConfigurationToformlyModel(_this2.configuration, _this2.wfFormFields, _this2.dataModel);\n _this2.wfFormFieldsOnlyNeededProperties = angular.copy(_this2.wfFormFields);\n _this2.ddModelConfModelProxyService.refreshControlsKeys(_this2.configuration, _this2.dragDropModel);\n }, 200);\n this.$scope.$on('$destroy', function () {\n return _this2.$timeout.cancel(timerRefreshDDToConfig);\n });\n return item;\n }\n }, {\n key: 'dndItemMoved',\n value: function dndItemMoved(parentParentIndex, parentIndex, itemIndex) {\n //prevent item from first container to disapear when dropped on other container\n if (parentParentIndex > 0) this.dragDropModel[parentParentIndex][parentIndex].splice(itemIndex, 1);\n }\n }, {\n key: 'dragoverCallbackItems',\n value: function dragoverCallbackItems(ParentParentIndex, parentIndex) {\n //prevent items in layout column to be drag to control select\n if (parentIndex === 0) return false;\n return true;\n }\n\n //TODO : will replace in html : dnd-disable-if=\"items.length > 2\"\n\n }, {\n key: 'disableItemDropIf',\n value: function disableItemDropIf() {}\n }, {\n key: 'dropCallbackItems',\n value: function dropCallbackItems(event, index, realIndex, parentIndex, parentParentIndex, parentParentParentIndex, item, external, type, allowedType) {\n var _this3 = this;\n\n if (external) {\n if (allowedType === 'itemType' && !item.label) return false;\n if (allowedType === 'containerType' && !angular.isArray(item)) return false;\n }\n //set a timeout before binding since ddModel may not be called when already full updated\n var timerRefreshDDToConfig = this.$timeout(function () {\n _this3.configuration = angular.copy(_this3.ddModelConfModelProxyService.refreshAllConfigurationFromDragAndDropModel(_this3.configuration, _this3.dragDropModel));\n _this3.formFieldManage.applyConfigurationToformlyModel(_this3.configuration, _this3.wfFormFields, _this3.dataModel);\n _this3.wfFormFieldsOnlyNeededProperties = angular.copy(_this3.wfFormFields);\n // refresh controls key in dragDrop Model to persist already exists controls between refreshes when item drop events\n _this3.ddModelConfModelProxyService.refreshControlsKeys(_this3.configuration, _this3.dragDropModel);\n }, 200);\n // add/set rightCliked property to false (will help edaRightClick directive)\n this.ddItemRightClickedManager.setUnRightClicked(item);\n // timerRefreshDDToConfig timer destruction\n this.$scope.$on('$destroy', function () {\n return _this3.$timeout.cancel(timerRefreshDDToConfig);\n });\n return item;\n }\n }, {\n key: 'saveFromEditPanel',\n value: function saveFromEditPanel() {\n /**\n * TODO :\n * should be called from edit panel\n *\n * AND\n *\n * should call all these methods\n *\n * need to get :\n *\n * - line index\n * - column index\n * - basicSelectRowCollection (from edpitpanelcontroller) --> maybe in controllerModalProxy service\n * - groupedSelectRowCollection (from edpitpanelcontroller) --> maybe in controllerModalProxy service\n * - radioRowCollection (from edpitpanelcontroller) --> maybe in controllerModalProxy service\n */\n this.controllerModalProxy.bindSpecialCtrlTemporyModelsToProxyModel();\n //save config to control\n //controllerModalProxy.applyConfigToSelectedControl(self.proxyModel);\n //return current model to parent controller :\n\n //update configuration model and formly model\n this.controllerModalProxy.bindConfigurationModelFromProxyModel(this.controllerModalProxy.getEditPanelModelLineIndex(), this.controllerModalProxy.getEditPanelModelColumnIndex(), this.configuration);\n this.formFieldManage.applyConfigurationToformlyModel(this.configuration, this.wfFormFields, this.dataModel);\n this.wfFormFieldsOnlyNeededProperties = angular.copy(this.wfFormFields);\n this.ddModelConfModelProxyService.refreshControlsKeys(this.configuration, this.dragDropModel);\n this.controllerModalProxy.setEditPanelModelToggle(false);\n this.editPanelModel.toggle = this.controllerModalProxy.getEditPanelModelToggle();\n this.ddItemRightClickedManager.resetAllDragDropItemSelectedState(this.dragDropModel);\n }\n }, {\n key: 'closeEditPanel',\n value: function closeEditPanel() {\n // reset all rightClicked control properties to false\n this.ddItemRightClickedManager.resetAllDragDropItemSelectedState(this.dragDropModel);\n\n /**\n * TODO : refresh configuration model\n * uncomment after update these next 3 lines\n *\n * NOTE : indexLine AND numcolumn should be stored in service and\n * updated when togle sidepanel\n */\n //this.controllerModalProxy.bindConfigurationModelFromProxyModel(indexLine, numcolumn, modalAddCtrlModel, this.configuration);\n //this.formFieldManage.applyConfigurationToformlyModel(this.configuration, this.wfFormFields, this.dataModel);\n //this.wfFormFieldsOnlyNeededProperties = angular.copy(this.wfFormFields);\n\n this.controllerModalProxy.setEditPanelModelToggle(false);\n this.editPanelModel.toggle = this.controllerModalProxy.getEditPanelModelToggle();\n }\n }, {\n key: 'setRightClicked',\n value: function setRightClicked(previousState, item) {\n item.rightCliked = true;\n }\n }, {\n key: 'toggleEditPanel',\n value: function toggleEditPanel(event, lineIndex, colIndex, item) {\n var _this4 = this;\n\n this.ddItemRightClickedManager.resetAllDragDropItemSelectedState(this.dragDropModel);\n // already opened (could be another control edit)\n if (this.controllerModalProxy.getEditPanelModelToggle()) {\n // -> immediate close and refresh configuration model + formly model\n this.controllerModalProxy.setEditPanelModelToggle(false);\n this.editPanelModel.toggle = this.controllerModalProxy.getEditPanelModelToggle();\n\n //TODO : for refreshing\n //this.controllerModalProxy.bindConfigurationModelFromProxyModel(indexLine, numcolumn, modalAddCtrlModel, this.configuration);\n //this.formFieldManage.applyConfigurationToformlyModel(this.configuration, this.wfFormFields, this.dataModel);\n //this.wfFormFieldsOnlyNeededProperties = angular.copy(this.wfFormFields);\n\n // check if new control right clicked otherwise just toggle side panel\n if (typeof this.controllerModalProxy.getEditPanelModelLineIndex() !== 'undefined' && typeof this.controllerModalProxy.getEditPanelModelColumnIndex() !== 'undefined' && typeof this.controllerModalProxy.getEditPanelModelControl() !== 'undefined') {\n if (this.controllerModalProxy.getEditPanelModelLineIndex() === lineIndex && this.controllerModalProxy.getEditPanelModelColumnIndex() === colIndex && angular.equals(this.controllerModalProxy.getEditPanelModelControl(), item)) {\n //console.info('already opened for SAME ctrl : so close - no re-open');\n } else {\n (function () {\n //console.info('already opened for DIFFERENT ctrl : so re-open');\n item.rightCliked = true;\n // set a timeout before re-opening, 500ms is ok for a ps-size=\"400px\"\n var timerCloseOpenedEditPanel = _this4.$timeout(function () {\n _this4.controllerModalProxy.setEditPanelModelLineIndex(lineIndex);\n _this4.controllerModalProxy.setEditPanelModelColumnIndex(colIndex);\n _this4.controllerModalProxy.setEditPanelModelControl(item);\n // control model passed to Service : controllerModalProxy\n _this4.controllerModalProxy.setProxyModelFromConfigurationSelection(_this4.configuration, lineIndex, colIndex);\n _this4.controllerModalProxy.setEditPanelModelToggle(true);\n _this4.$scope.editPanelModel.toggle = _this4.controllerModalProxy.getEditPanelModelToggle();\n }, 200);\n _this4.$scope.$on('$destroy', function () {\n return _this4.$timeout.cancel(timerCloseOpenedEditPanel);\n });\n })();\n }\n }\n } else {\n // previous state = closed = immediate open\n // console.info('NOT already opened : so open');\n item.rightCliked = true;\n\n this.controllerModalProxy.setEditPanelModelLineIndex(lineIndex);\n this.controllerModalProxy.setEditPanelModelColumnIndex(colIndex);\n this.controllerModalProxy.setEditPanelModelControl(item);\n // control model passed to Service : controllerModalProxy\n this.controllerModalProxy.setProxyModelFromConfigurationSelection(this.configuration, lineIndex, colIndex);\n this.controllerModalProxy.setEditPanelModelToggle(true);\n this.editPanelModel.toggle = this.controllerModalProxy.getEditPanelModelToggle();\n }\n\n // console.info('after toggleLeftPanel check :');\n // console.dir({\n // 'this.editPanelModel' : angular.copy(this.editPanelModel),\n // 'controllerModalProxy.editPanelModel' : angular.copy(this.controllerModalProxy.editPanelModel)\n // });\n }\n\n // // refreshModels : to call after drag and drop events\n // refreshModels(){\n // this.$timeout(()=>{\n // console.info('refreshing models');\n // formFieldManage.applyConfigurationToformlyModel(this.configuration, this.wfFormFields, this.dataModel);\n // this.wfFormFieldsOnlyNeededProperties = angular.copy(this.wfFormFields);\n // }, 10);\n // }\n\n\n }, {\n key: 'removeThisLine',\n value: function removeThisLine(lineIndex) {\n this.dragDropModel[1].splice(lineIndex, 1);\n }\n\n //TODO : to fix\n\n }, {\n key: 'addNewline',\n value: function addNewline() {\n // re-render formfield\n // TODO : to fix\n this.formFieldManage.applyConfigurationToformlyModel(this.configuration, this.wfFormFields, this.dataModel);\n this.wfFormFieldsOnlyNeededProperties = angular.copy(this.wfFormFields);\n }\n }, {\n key: 'insertNewLine',\n value: function insertNewLine() {\n this.addNewline();\n this.dragDropModel[1].push([]);\n }\n }]);\n\n return edaDragDropWayEasyFormGenCtrl;\n}();\n\nedaDragDropWayEasyFormGenCtrl.$inject = ['$scope', 'easyFormGenVersion', '$filter', '$anchorScroll', 'toaster', '$timeout', '$log', 'formFieldManage', 'controllerModalProxy', 'dragDropItemDecorationService', 'ddModelConfModelProxyService', 'ddItemRightClickedManager', 'easyFormDragWayConfig'];\n\nexports.default = edaDragDropWayEasyFormGenCtrl;\nexports.DRAG_DROP_WAY_EASY_FORM_GEN_CONTROLLER = DRAG_DROP_WAY_EASY_FORM_GEN_CONTROLLER;\nexports.DRAG_DROP_WAY_EASY_FORM_GEN_CONTROLLERAS = DRAG_DROP_WAY_EASY_FORM_GEN_CONTROLLERAS;//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvZWRhRHJhZ0Ryb3BXYXlFYXN5Rm9ybUdlbi9lZGFEcmFnRHJvcFdheS5lZGFEcmFnZHJvcFdheUVhc3lGb3JtR2VuLmNvbnRyb2xsZXIuanM/NGRkMiJdLCJuYW1lcyI6WyJEUkFHX0RST1BfV0FZX0VBU1lfRk9STV9HRU5fQ09OVFJPTExFUiIsIkRSQUdfRFJPUF9XQVlfRUFTWV9GT1JNX0dFTl9DT05UUk9MTEVSQVMiLCJlZGFEcmFnRHJvcFdheUVhc3lGb3JtR2VuQ3RybCIsIiRzY29wZSIsImVhc3lGb3JtR2VuVmVyc2lvbiIsIiRmaWx0ZXIiLCIkYW5jaG9yU2Nyb2xsIiwidG9hc3RlciIsIiR0aW1lb3V0IiwiJGxvZyIsImZvcm1GaWVsZE1hbmFnZSIsImNvbnRyb2xsZXJNb2RhbFByb3h5IiwiZHJhZ0Ryb3BJdGVtRGVjb3JhdGlvblNlcnZpY2UiLCJkZE1vZGVsQ29uZk1vZGVsUHJveHlTZXJ2aWNlIiwiZGRJdGVtUmlnaHRDbGlja2VkTWFuYWdlciIsImVhc3lGb3JtRHJhZ1dheUNvbmZpZyIsImluaXQiLCJlYXN5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lcnNpb24sXG4gICAgJGZpbHRlcixcbiAgICAkYW5jaG9yU2Nyb2xsLFxuICAgIHRvYXN0ZXIsXG4gICAgJHRpbWVvdXQsXG4gICAgJGxvZyxcbiAgICBmb3JtRmllbGRNYW5hZ2UsXG4gICAgY29udHJvbGxlck1vZGFsUHJveHksXG4gICAgZHJhZ0Ryb3BJdGVtRGVjb3JhdGlvblNlcnZpY2UsXG4gICAgZGRNb2RlbENvbmZNb2RlbFByb3h5U2VydmljZSxcbiAgICBkZEl0ZW1SaWdodENsaWNrZWRNYW5hZ2VyLFxuICAgIGVhc3lGb3JtRHJhZ1dheUNvbmZpZ1xuICApe1xuICAgIHRoaXMuJHNjb3BlICAgICAgICAgICAgICAgICAgICAgICAgICAgPSAkc2NvcGU7XG4gICAgdGhpcy5lYXN5Rm9ybUdlblZlcnNpb24gICAgICAgICAgICAgICA9IGVhc3lGb3JtR2VuVmVyc2lvbjtcbiAgICB0aGlzLiRmaWx0ZXIgICAgICAgICAgICAgICAgICAgICAgICAgID0gJGZpbHRlcjtcbiAgICB0aGlzLiRhbmNob3JTY3JvbGwgICAgICAgICAgICAgICAgICAgID0gJGFuY2hvclNjcm9sbDtcbiAgICB0aGlzLnRvYXN0ZXIgICAgICAgICAgICAgICAgICAgICAgICAgID0gdG9hc3RlcjtcbiAgICB0aGlzLiR0aW1lb3V0ICAgICAgICAgICAgICAgICAgICAgICAgID0gJHRpbWVvdXQ7XG4gICAgdGhpcy4kbG9nICAgICAgICAgICAgICAgICAgICAgICAgICAgICA9ICRsb2c7XG4gICAgdGhpcy5mb3JtRmllbGRNYW5hZ2UgICAgICAgICAgICAgICAgICA9IGZvcm1GaWVsZE1hbmFnZTtcbiAgICB0aGlzLmNvbnRyb2xsZXJNb2RhbFByb3h5ICAgICAgICAgICAgID0gY29udHJvbGxlck1vZGFsUHJveHk7XG4gICAgdGhpcy5kcmFnRHJvcEl0ZW1EZWNvcmF0aW9uU2VydmljZSAgICA9IGRyYWdEcm9wSXRlbURl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3lGb3JtR2VuL2VkYURyYWdEcm9wV2F5LmVkYURyYWdkcm9wV2F5RWFzeUZvcm1HZW4uY29udHJvbGxlci5qcyJdLCJzb3VyY2VSb290IjoiIn0=");
|
|
|
|
/***/ },
|
|
/* 81 */
|
|
/***/ function(module, exports) {
|
|
|
|
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n/* global angular */\nvar DEBUG_MODEL = {\n\tshowDebug: false,\n\tconfigurationModelNumberofLines: 1\n};\nvar initDebugModel = function initDebugModel() {\n\treturn angular.copy(DEBUG_MODEL);\n};\n\nvar DEFAULT_TAB_MODEL = {\n\teditTab: {\n\t\tactive: true\n\t},\n\tpreviewTab: {\n\t\tactive: false,\n\t\ttabVisible: true,\n\t\tmodelsVisible: true\n\t}\n};\n\nvar initTabModel = function initTabModel(isPreviewPanelVisible, arePreviewModelsVisible) {\n\tvar _tabModel = angular.copy(DEFAULT_TAB_MODEL);\n\tangular.extend(_tabModel.previewTab, {\n\t\ttabVisible: isPreviewPanelVisible,\n\t\tmodelsVisible: arePreviewModelsVisible\n\t});\n\treturn _tabModel;\n};\n\nvar COLUMN_TEMPLATE = {\n\tnumColumn: -1,\n\texist: true,\n\tcontrol: {\n\t\ttype: 'none',\n\t\tkey: 'none',\n\t\tsubtype: 'none'\n\t\t// templateOptions: {\n\t\t// label: 'none',\n\t\t// placeholder: 'none',\n\t\t// required: false,\n\t\t// description: 'Descriptive text'\n\t\t// }\n\t}\n};\nvar initColumnTemplate = function initColumnTemplate() {\n\treturn angular.copy(COLUMN_TEMPLATE);\n};\n\nvar LINE_TEMPLATE = {\n\tline: -1,\n\tactiveColumn: 1,\n\tcolumns: [{\n\t\tnumColumn: 1,\n\t\texist: true,\n\t\tcontrol: {\n\t\t\ttype: 'none',\n\t\t\tkey: 'none'\n\t\t\t// templateOptions: {\n\t\t\t// label: 'none',\n\t\t\t// placeholder: 'none',\n\t\t\t// required: false,\n\t\t\t// description: 'Descriptive text'\n\t\t\t// }\n\t\t}\n\t}]\n};\nvar initLineTemplate = function initLineTemplate() {\n\treturn angular.copy(LINE_TEMPLATE);\n};\n\nvar DEFAULT_IHM_MODEL = {\n\tpreview: {\n\t\tformlyModelViewExpanded: true,\n\t\tformlyFieldsViewExpanded: true,\n\t\tcustomizeFormButtonsExpanded: true,\n\t\tsaveThisFormExpanded: true\n\t}\n};\n\nvar initIhmModel = function initIhmModel() {\n\treturn angular.copy(DEFAULT_IHM_MODEL);\n};\n\nexports.initDebugModel = initDebugModel;\nexports.initTabModel = initTabModel;\nexports.initColumnTemplate = initColumnTemplate;\nexports.initLineTemplate = initLineTemplate;\nexports.initIhmModel = initIhmModel;//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvZWRhRHJhZ0Ryb3BXYXlFYXN5Rm9ybUdlbi9lZGFEcmFnRHJvcFdheS5lZGFEcmFnZHJvcFdheUVhc3lGb3JtR2VuLmNvbnRyb2xsZXIuaGVscGVycy5qcz82YWJmIl0sIm5hbWVzIjpbIkRFQlVHX01PREVMIiwic2hvd0RlYnVnIiwiY29uZmlndXJhdGlvbk1vZGVsTnVtYmVyb2ZMaW5lcyIsImluaXREZWJ1Z01vZGVsIiwiYW5ndWxhciIsImNvcHkiLCJERUZBVUxUX1RBQl9NT0RFTCIsImVkaXRUYWIiLCJhY3RpdmUiLCJwcmV2aWV3VGFiIiwidGFiVmlzaWJsZSIsIm1vZGVsc1Zpc2libGUiLCJpbml0VGFiTW9kZWwiLCJpc1ByZXZpZXdQYW5lbFZpc2libGUiLCJhcmVQcmV2aWV3TW9kZWxzVmlzaWJsZSIsIl90YWJNb2RlbCIsImV4dGVuZCIsIkNPTFVNTl9URU1QTEFURSIsIm51bUNvbHVtbiIsImV4aXN0IiwiY29udHJvbCIsInR5cGUiLCJrZXkiLCJzdWJ0eXBlI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HRcdDogJ25vbmUnLFxuXHRcdHN1YnR5cGVcdDogJ25vbmUnXG5cdFx0Ly8gdGVtcGxhdGVPcHRpb25zOiB7XG5cdFx0Ly8gICAgICAgICAgICAgICAgICAgICBsYWJlbDogJ25vbmUnLFxuXHRcdC8vICAgICAgICAgICAgICAgICAgICAgcGxhY2Vob2xkZXI6ICdub25lJyxcblx0XHQvLyAgICAgICAgICAgICAgICAgICAgIHJlcXVpcmVkOiBmYWxzZSxcblx0XHQvLyAgICAgICAgICAgICAgICAgICAgIGRlc2NyaXB0aW9uOiAnRGVzY3JpcHRpdmUgdGV4dCdcblx0XHQvLyAgICAgICAgICAgICAgICAgICB9XG5cdH1cbn07IFxuY29uc3QgaW5pdENvbHVtblRlbXBsYXRlID0gKCkgPT4gYW5ndWxhci5jb3B5KENPTFVNTl9URU1QTEFURSk7XG5cblxuY29uc3QgTElORV9URU1QTEFURSA9IHtcblx0bGluZTotMSwgXG5cdGFjdGl2ZUNvbHVtbiA6IDEsXG5cdGNvbHVtbnM6IFtcblx0XHR7ICBcblx0XHRcdG51bUNvbHVtbjogMSxcblx0XHRcdGV4aXN0OnRydWUsIFxuXHRcdFx0Y29udHJvbDoge1xuXHRcdFx0XHR0eXBlOidub25lJyxcblx0XHRcdFx0a2V5OiAnbm9uZSdcblx0XHRcdFx0Ly8gdGVtcGxhdGVPcHRpb25zOiB7XG5cdFx0XHRcdC8vICAgICAgICAgICAgICAgICAgICAgbGFiZWw6ICdub25lJyxcblx0XHRcdFx0Ly8gICAgICAgICAgICAgICAgICAgICBwbGFjZWhvbGRlcjogJ25vbmUnLFxuXHRcdFx0XHQvLyAgICAgICAgICAgICAgICAgICAgIHJlcXVpcmVkOiBmYWxzZSxcblx0XHRcdFx0Ly8gICAgICAgICAgICAgICAgICAgICBkZXNjcmlwdGlvbjogJ0Rlc2NyaXB0aXZlIHRleHQnXG5cdFx0XHRcdC8vICAgICAgICAgICAgICAgICAgIH1cblx0XHRcdFx0fVxuXHRcdFx0fVxuXHRcdF1cbn07XG5jb25zdCBpbml0TGluZVRlbXBsYXRlID0gKCkgPT4gYW5ndWxhci5jb3B5KExJTkVfVEVNUExBVEUpO1xuXG5cbmNvbnN0IERFRkFVTFRfSUhNX01PREVMID0ge1xuXHRwcmV2aWV3IDoge1xuXHRcdFx0Zm9ybWx5TW9kZWxWaWV3RXhwYW5kZWQgXHRcdFx0OiB0cnVlLFxuXHRcdFx0Zm9ybWx5RmllbGRzVmlld0V4cGFuZGVkIFx0XHRcdDogdHJ1ZSxcblx0XHRcdGN1c3RvbWl6ZUZvcm1CdXR0b25zRXhwYW5kZWQgXHQ6IHRydWUsXG5cdFx0XHRzYXZlVGhpc0Zvcm1FeHBhbmRlZCBcdFx0XHRcdFx0OiB0cnVlICBcblx0fVxufTtcblxuXG5jb25zdCBpbml0SWhtTW9kZWwgPSAoKSA9PiBhbmd1bGFyLmNvcHkoREVGQVVMVF9JSE1fTU9ERUwpO1xuXG5leHBvcnQge1xuXHRpbml0RGVidWdNb2RlbCxcblx0aW5pdFRhYk1vZGVsLFxuXHRpbml0Q29sdW1uVGVtcGxhdGUsXG5cdGluaXRMaW5lVGVtcGxhdGUsXG5cdGluaXRJaG1Nb2RlbFxufTtcblxuXG4vLyBXRUJQQUNLIEZPT1RFUiAvL1xuLy8gLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvZWRhRHJhZ0Ryb3BXYXlFYXN5Rm9ybUdlbi9lZGFEcmFnRHJvcFdheS5lZGFEcmFnZHJvcFdheUVhc3lGb3JtR2VuLmNvbnRyb2xsZXIuaGVscGVycy5qcyJdLCJzb3VyY2VSb290IjoiIn0=");
|
|
|
|
/***/ },
|
|
/* 82 */
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\nexports.EDA_DRAGDROP_WAY_EASY_FORM_GEN_DIRECTIVE = undefined;\n\nvar _edaDragDropWayEdaDragdropWayEasyFormGenTemplate = __webpack_require__(83);\n\nvar _edaDragDropWayEdaDragdropWayEasyFormGenTemplate2 = _interopRequireDefault(_edaDragDropWayEdaDragdropWayEasyFormGenTemplate);\n\nvar _edaDragDropWayEdaDragdropWayEasyFormGen = __webpack_require__(80);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/* global angular */\n\n//TODO : to bindToController\n//-> then angular 1.4+ will be required...\n//-> check methot to refactor inside rag drop way then common step way and drag drop way\n\nvar EDA_DRAGDROP_WAY_EASY_FORM_GEN_DIRECTIVE = 'edaDragdropWayEasyFormGen';\n\nfunction edaDragdropWayEasyFormGen($timeout, formFieldManage, ddModelConfModelProxyService,\n// dragDropConfig,\neasyFormDragWayConfig) {\n\n\tvar directive = {\n\t\trestrict: 'E',\n\t\ttemplate: _edaDragDropWayEdaDragdropWayEasyFormGenTemplate2.default,\n\t\tscope: {\n\t\t\tedaEasyFormGeneratorModel: '=',\n\t\t\tedaSaveFormEvent: '&edaSaveFormEvent'\n\t\t},\n\t\tcontroller: _edaDragDropWayEdaDragdropWayEasyFormGen.DRAG_DROP_WAY_EASY_FORM_GEN_CONTROLLER,\n\t\tcontrollerAs: _edaDragDropWayEdaDragdropWayEasyFormGen.DRAG_DROP_WAY_EASY_FORM_GEN_CONTROLLERAS,\n\t\treplace: false,\n\t\tlink: linkFct\n\t};\n\treturn directive;\n\n\tfunction linkFct(scope) {\n\t\t// watch \"scope.easyFormGeneratorModel\"\n\t\tscope.$watch(function () {\n\t\t\treturn scope.edaEasyFormGeneratorModel;\n\t\t}, function () {\n\t\t\treturn loadExistingConfigurationModel();\n\t\t}, true);\n\n\t\t// watch \"scope.returnSaveEvent\"\" = catch saving form event \n\t\tscope.$watch(function () {\n\t\t\treturn scope.returnSaveEvent;\n\t\t}, function (newValue) {\n\t\t\tif (newValue === true) {\n\t\t\t\tvar _easyFormGeneratorModel = {\n\t\t\t\t\tformName: scope.vm.configuration.formName,\n\t\t\t\t\tbtnSubmitText: scope.vm.configuration.submitButtonText,\n\t\t\t\t\tbtnCancelText: scope.vm.configuration.cancelButtonText,\n\t\t\t\t\tedaFieldsModel: scope.vm.configuration.lines,\n\t\t\t\t\t//just as test\n\t\t\t\t\tedaFieldsModelStringified: angular.toJson(scope.vm.configuration.lines),\n\t\t\t\t\tformlyFieldsModel: scope.vm.wfFormFieldsOnlyNeededProperties,\n\t\t\t\t\tdataModel: scope.vm.dataModel\n\t\t\t\t};\n\t\t\t\tscope.edaSaveFormEvent({\n\t\t\t\t\tedaEasyFormGeneratorModel: _easyFormGeneratorModel\n\t\t\t\t});\n\t\t\t\t//back to false, waiting next save event\n\t\t\t\tscope.returnSaveEvent = false;\n\t\t\t}\n\t\t});\n\n\t\tfunction returnAttributeConfigurationLinesIfNotEmpty() {\n\t\t\tvar edaEasyFormGeneratorModelToReturn = angular.isArray(scope.edaEasyFormGeneratorModel.edaFieldsModel) ? scope.edaEasyFormGeneratorModel.edaFieldsModel.length > 0 ? scope.edaEasyFormGeneratorModel.edaFieldsModel : emptyEdaFieldsModel() : emptyEdaFieldsModel();\n\t\t\treturn edaEasyFormGeneratorModelToReturn;\n\t\t}\n\n\t\t/**\n \t* empty fields model : to display at least an empty line\n \t* otherwise would look like ugly empty line like it were a bug\n \t*/\n\t\tfunction emptyEdaFieldsModel() {\n\t\t\tvar emptyModel = [{\n\t\t\t\t'line': 1,\n\t\t\t\t'activeColumn': 1,\n\t\t\t\t'columns': [{\n\t\t\t\t\t'numColumn': 1,\n\t\t\t\t\t'exist': true,\n\t\t\t\t\t'control': {\n\t\t\t\t\t\t'type': 'none',\n\t\t\t\t\t\t'key': 'none'\n\t\t\t\t\t}\n\t\t\t\t}]\n\t\t\t}];\n\t\t\treturn emptyModel;\n\t\t}\n\n\t\tfunction returnAttributeDataModelIfNotEmpty() {\n\t\t\tvar dataModelToReturn = angular.isArray(scope.edaEasyFormGeneratorModel.dataModel) ? scope.edaEasyFormGeneratorModel.dataModel.length > 0 ? scope.edaEasyFormGeneratorModel.dataModel : [] : [];\n\t\t\treturn dataModelToReturn;\n\t\t}\n\n\t\tfunction loadExistingConfigurationModel() {\n\t\t\tif (angular.isDefined(scope.edaEasyFormGeneratorModel)) {\n\t\t\t\tvar configlines = returnAttributeConfigurationLinesIfNotEmpty();\n\t\t\t\tscope.vm.configurationLoaded = {};\n\t\t\t\tformFieldManage.bindConfigurationLines(scope.vm.configurationLoaded, configlines, false);\n\t\t\t\t//apply configuration model\n\t\t\t\tscope.vm.configuration = angular.copy(scope.vm.configurationLoaded);\n\t\t\t\t//apply ddModel\n\t\t\t\tddModelConfModelProxyService.loadDragDropModelFromConfigurationModel(scope.vm.configuration, scope.vm.dragDropModel);\n\t\t\t\tupdateConfigurationClassName(scope.vm.configuration);\n\t\t\t\tddModelConfModelProxyService.refreshControlsKeys(scope.vm.configuration, scope.vm.dragDropModel);\n\t\t\t\t//apply formly model\n\t\t\t\tformFieldManage.applyConfigurationToformlyModel(scope.vm.configuration, scope.vm.wfFormFields, scope.vm.dataModel);\n\t\t\t\tscope.vm.wfFormFieldsOnlyNeededProperties = angular.copy(scope.vm.wfFormFields);\n\t\t\t\tscope.vm.dataModel = returnAttributeDataModelIfNotEmpty();\n\t\t\t\tscope.vm.configuration.formName = angular.isString(scope.edaEasyFormGeneratorModel.formName) ? scope.edaEasyFormGeneratorModel.formName : '';\n\t\t\t\tscope.vm.configuration.submitButtonText = angular.isString(scope.edaEasyFormGeneratorModel.btnSubmitText) ? scope.edaEasyFormGeneratorModel.btnSubmitText : 'Submit';\n\t\t\t\tscope.vm.configuration.cancelButtonText = angular.isString(scope.edaEasyFormGeneratorModel.btnCancelText) ? scope.edaEasyFormGeneratorModel.btnCancelText : 'Cancel';\n\t\t\t}\n\t\t}\n\n\t\tfunction updateConfigurationClassName(configModel) {\n\t\t\tangular.forEach(configModel.lines, function (aline) {\n\t\t\t\tvar cssClassToApply = easyFormDragWayConfig.getItemCssDependingNumberItemsInRow(aline.columns.length);\n\t\t\t\tangular.forEach(aline.columns, function (aControl) {\n\t\t\t\t\treturn aControl.control.className = cssClassToApply;\n\t\t\t\t});\n\t\t\t});\n\t\t}\n\t}\n}\n\nedaDragdropWayEasyFormGen.$inject = ['$timeout', 'formFieldManage', 'ddModelConfModelProxyService',\n// 'dragDropConfig',\n'easyFormDragWayConfig'];\n\nexports.default = edaDragdropWayEasyFormGen;\nexports.EDA_DRAGDROP_WAY_EASY_FORM_GEN_DIRECTIVE = EDA_DRAGDROP_WAY_EASY_FORM_GEN_DIRECTIVE;//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvZWRhRHJhZ0Ryb3BXYXlFYXN5Rm9ybUdlbi9lZGFEcmFnRHJvcFdheS5lZGFEcmFnZHJvcFdheUVhc3lGb3JtR2VuLmRpcmVjdGl2ZS5qcz9iMjkwIl0sIm5hbWVzIjpbIkVEQV9EUkFHRFJPUF9XQVlfRUFTWV9GT1JNX0dFTl9ESVJFQ1RJVkUiLCJlZGFEcmFnZHJvcFdheUVhc3lGb3JtR2VuIiwiJHRpbWVvdXQiLCJmb3JtRmllbGRNYW5hZ2UiLCJkZE1vZGVsQ29uZk1vZGVsUHJveHlTZXJ2aWNlIiwiZWFzeUZvcm1EcmFnV2F5Q29uZmlnIiwiZGlyZWN0aXZlIiwicmVzdHJpY3QiLCJ0ZW1wbGF0ZSIsInNjb3BlIiwiZWRhRWFzeUZvcm1HZW5lcmF0b3JNb2RlbCIsImVkYVNhdmVGb3JtRXZlbnQiLCJjb250cm9sbGVyIiwiY29udHJvbGxlckFzIiwicmVwbGFjZSIsImxpbmsiLCJsaW5rRmN0IiwiJHdhdGNoIiwibG9hZEV4aXN0aW5nQ29uZmlndXJhdGlvbk1vZGVsIiwicmV0dXJuU2F2ZUV2ZW50IiwibmV3VmFsdWUiLCJfZWFzeUZvcm1HZW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W4uJGluamVjdCA9IFtcblx0JyR0aW1lb3V0JywgXG5cdCdmb3JtRmllbGRNYW5hZ2UnLFxuXHQnZGRNb2RlbENvbmZNb2RlbFByb3h5U2VydmljZScsXG5cdC8vICdkcmFnRHJvcENvbmZpZycsXG5cdCdlYXN5Rm9ybURyYWdXYXlDb25maWcnXHRcbl07XG5cbmV4cG9ydCBkZWZhdWx0IGVkYURyYWdkcm9wV2F5RWFzeUZvcm1HZW47XG5cbmV4cG9ydCB7XG5cdEVEQV9EUkFHRFJPUF9XQVlfRUFTWV9GT1JNX0dFTl9ESVJFQ1RJVkVcbn07XG5cblxuLy8gV0VCUEFDSyBGT09URVIgLy9cbi8vIC4vc3JjL2FwcC9kcmFnZHJvcHdheS9jb21wb25lbnRzL2VkYURyYWdEcm9wV2F5RWFzeUZvcm1HZW4vZWRhRHJhZ0Ryb3BXYXkuZWRhRHJhZ2Ryb3BXYXlFYXN5Rm9ybUdlbi5kaXJlY3RpdmUuanMiXSwic291cmNlUm9vdCI6IiJ9");
|
|
|
|
/***/ },
|
|
/* 83 */
|
|
/***/ function(module, exports) {
|
|
|
|
eval("module.exports = \"<section id=\\\"pageWfEdit\\\">\\n <div>\\n <div class=\\\"container\\\">\\n <section id=\\\"preview\\\">\\n <div id=\\\"preview-content\\\">\\n\\t\\t\\t\\t\\t<div class=\\\"content-container\\\">\\n\\t\\t\\t\\t\\t\\t<toaster-container\\n toaster-options=\\\"{ 'position-class': 'toast-top-full-width', 'extendedTimeout' : 500,'timeOut': 500 }\\\">\\n\\t\\t\\t\\t\\t\\t</toaster-container>\\n\\t\\t\\t\\t\\t\\t<uib-tabset justified=\\\"true\\\">\\n\\t\\t\\t\\t\\t\\t\\t<uib-tab\\n select=\\\"vm.tabJustSelected(2)\\\"\\n active=\\\"vm.tab.editTab.active\\\"\\n heading=\\\"Edit /Create\\\">\\n <div class=\\\"row\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<div\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tpageslide\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tps-open=\\\"vm.editPanelModel.toggle\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tps-side=\\\"left\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tps-cloak=\\\"true\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tps-size=\\\"400px\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<left-panel\\n close-edit-panel=\\\"vm.closeEditPanel()\\\"\\n save-from-edit-panel=vm.saveFromEditPanel()>\\n </left-panel>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<div>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<div class=\\\"row advancedDemo\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<div ng-repeat=\\\"containers in vm.dragDropModel\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<div\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tdd-decor-drop-zone\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tdd-drop-zone-properties=\\\"vm.easyFormDragDropProperties.dropZoneConfig.decoration[$index]\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tdd-drop-zone-verbose-mode=\\\"{{vm.easyFormDragDropProperties.dropZoneConfig.verboseMode}}\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tdd-drop-zone-current-index=\\\"{{$index}}\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tdd-drop-zone-add-new-line=\\\"vm.insertNewLine()\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<div \\tclass=\\\"dropzone box box-yellow\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<ul\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tdnd-list=\\\"containers\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tdnd-allowed-types=\\\"['containerType']\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tdnd-external-sources=\\\"true\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tdnd-dragover=\\\"vm.dragoverCallbackContainer($parent.$parent.$index, $parent.$index, $index);\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tdnd-drop=\\\"vm.dropCallback(event, index, item, external, type, 'containerType');\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tclass=\\\"row\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tng-repeat=\\\"items in containers\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tdnd-draggable=\\\"items\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tdnd-type=\\\"'containerType'\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tdnd-effect-allowed=\\\"copyMove\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tdnd-dragstart=\\\"\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tdnd-moved=\\\"containers.splice($index, 1);\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tdnd-disable-if=\\\"$parent.$index == 0\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tdnd-copied=\\\"\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<div\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tclass=\\\"container-element box box-blue\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tdd-decor-container\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tdd-container-properties=\\\"vm.easyFormDragDropProperties.containerConfig.decoration[$index]\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tdd-container-is-collpased=\\\"vm.easyFormDragDropProperties.containerConfig.decoration[$index].isCollapsed\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tdd-container-verbose-mode=\\\"{{vm.easyFormDragDropProperties.containerConfig.verboseMode}}\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tdd-container-current-index=\\\"{{$parent.$index}}\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tdd-collapse-all=\\\"vm.collapseAllGroupControl(exceptThisOne)\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<div dd-decor-include-container-here>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<div\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tdd-decor-line\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tdd-line-verbose-mode=\\\"{{vm.easyFormDragDropProperties.containerConfig.verboseMode}}\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tdd-line-current-index=\\\"{{$index}}\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tdd-line-parent-index=\\\"{{$parent.$index}}\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tdd-remove-line=\\\"vm.removeThisLine($index)\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<ul\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tdnd-list=\\\"items\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tdnd-allowed-types=\\\"['itemType']\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tdnd-horizontal-list=\\\"true\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tdnd-external-sources=\\\"true\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tdnd-disable-if=\\\"items.length > 2\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tdnd-dragover=\\\"vm.dragoverCallbackItems($parent.$parent.$index, $parent.$index, $index, external);\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tdnd-drop=\\\"vm.dropCallbackItems(event, index, $index,$parent.$index, $parent.$parent.$index, $parent.$parent.$parent.$index, item, external, type, 'itemType');\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tclass=\\\"itemlist\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tdd-content-counter\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tdd-value-when-placeholder=\\\"dndPlaceholder\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tdd-value-when-dragging=\\\"dndDraggingSource\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tdd-full-model = \\\"vm.dragDropModel\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tdd-content-counter-current-index=\\\"{{$index}}\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tdd-content-counter-parent-index=\\\"{{$parent.$index}}\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tdd-content-counter-force-css-refresh = \\\"command.forceRefresh\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<li\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tng-repeat=\\\"item in items\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tdnd-draggable=\\\"item\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tdnd-type=\\\"'itemType'\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tdnd-effect-allowed=\\\"copyMove\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tdnd-dragstart=\\\"\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tdnd-moved=\\\"vm.dndItemMoved($parent.$parent.$index, $parent.$index, $index);\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tdnd-copied=\\\"\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tdd-decor-item\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tdd-item-verbose-mode=\\\"{{vm.easyFormDragDropProperties.itemConfig.verboseMode}}\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tdd-item-current-index=\\\"{{$index}}\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tdd-item-parent-index=\\\"{{$parent.$index}}\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tdd-item-parent-parent-index = \\\"{{$parent.$parent.$index}}\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tdd-items-count=\\\"items.length\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tdd-item-css-class=\\\"{{item.cssClass}}\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<div id=\\\"itemContent\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<div\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tdd-no-editable-control\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tclass=\\\"rightClickCtrl\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tng-class=\\\"{rightClickCtrlSelected : item.rightCliked === true}\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\teda-set-right-clicked=\\\"vm.setRightClicked(previousState, item)\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\teda-right-click=\\\"vm.toggleEditPanel($event, $parent.$index, $index, item)\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\teda-selected-class=\\\"rightClickCtrlSelected\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\teda-is-selected=\\\"{{item.rightCliked}}\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\teda-right-click-col-index = \\\"{{$parent.$parent.$index}}\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<span ng-bind-html=\\\"item.label | trustThis\\\"></span>\\n\\t\\t\\t\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"Preview\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t<div class=\\\"panel panel-default\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<div class=\\\"panel-body\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<form ng-submit=\\\"vm.onSubmit()\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<formly-form\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tid=\\\"previewFormlyForm\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tmodel=\\\"vm.model\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tfields=\\\"vm.wfFormFields\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<span class=\\\"pull-right\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<button\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tclass=\\\"btn btn-primary\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\ttype=\\\"submit\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t{{vm.configuration.submitButtonText}}\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t</button>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<button\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tclass=\\\"btn btn-primary\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\ttype=\\\"cancel\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t{{vm.configuration.cancelButtonText}}\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t</button>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t</span>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t</formly-form>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t</form>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t\\t<div class=\\\"panel panel-default\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<div\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tclass=\\\"panel-heading heading-preview\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tng-click=\\\"vm.ihm.preview.customizeFormButtonsExpanded =!vm.ihm.preview.customizeFormButtonsExpanded\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<h3 class=\\\"panel-title\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<button class=\\\"btn btn-primary btn-xs\\\" >\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<i\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tclass=\\\"fa\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tng-class=\\\"{'fa-angle-down':!vm.ihm.preview.customizeFormButtonsExpanded, 'fa-angle-up' : vm.ihm.preview.customizeFormButtonsExpanded}\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t</i>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t</button>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t \\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<i class=\\\"fa fa-wrench\\\"></i>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t \\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tCustomize form buttons\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t</h3>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<div class=\\\"panel-body\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<div uib-collapse=\\\"vm.ihm.preview.customizeFormButtonsExpanded\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<div class=\\\"row\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<div class=\\\"col-xs-6\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<div class=\\\"form-group\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<label\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tfor=\\\"inputSubmitButtontext\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tclass=\\\" greyText control-label\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tCustomize Submit button Text :\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t</label>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<div class=\\\"\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<input\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\ttype=\\\"text\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tclass=\\\"form-control\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tid=\\\"inputSubmitButtontext\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tplaceholder=\\\"Submit button text\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tng-model=\\\"vm.configuration.submitButtonText\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<div class=\\\"col-xs-6\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<div class=\\\"form-group\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<label\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tfor=\\\"inputCancelButtontext\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tclass=\\\" greyText control-label\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tCustomize Cancel button Text :\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t</label>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<div class=\\\"\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<input\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\ttype=\\\"text\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tclass=\\\"form-control\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tid=\\\"inputCancelButtontext\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tplaceholder=\\\"Cancel button text\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tng-model=\\\"vm.configuration.cancelButtonText\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t\\t<div class=\\\"panel panel-default\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<div\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tclass=\\\"panel-heading heading-preview\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tng-click=\\\"vm.ihm.preview.formlyModelViewExpanded =!vm.ihm.preview.formlyModelViewExpanded\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<h3 class=\\\"panel-title\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<button class=\\\"btn btn-primary btn-xs\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<i\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tclass=\\\"fa\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tng-class=\\\"{'fa-angle-down':!vm.ihm.preview.formlyModelViewExpanded, 'fa-angle-up' : vm.ihm.preview.formlyModelViewExpanded}\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t</i>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t</button>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t \\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<i class=\\\"fa fa-eye\\\"></i>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t \\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tDATA MODEL\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t</h3>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<div class=\\\"panel-body\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<div uib-collapse=\\\"vm.ihm.preview.formlyModelViewExpanded\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<pre>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t{{vm.model | json}}\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t</pre>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t\\t<div class=\\\"panel panel-default\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<div\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tclass=\\\"panel-heading heading-preview\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tng-click=\\\"vm.ihm.preview.formlyFieldsViewExpanded =!vm.ihm.preview.formlyFieldsViewExpanded\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<h3 class=\\\"panel-title\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<button class=\\\"btn btn-primary btn-xs\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<i\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tclass=\\\"fa\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tng-class=\\\"{'fa-angle-down':!vm.ihm.preview.formlyFieldsViewExpanded, 'fa-angle-up' : vm.ihm.preview.formlyFieldsViewExpanded}\\\"></i>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t</button>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t \\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<i class=\\\"fa fa-eye\\\"></i>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t \\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tFIELDS MODEL (ready to save to database one)\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t</h3>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<div class=\\\"panel-body\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<div uib-collapse=\\\"vm.ihm.preview.formlyFieldsViewExpanded\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<pre>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t{{vm.wfFormFieldsOnlyNeededProperties | json}}\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t</pre>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t\\t<div class=\\\"panel panel-default\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<div\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tclass=\\\"panel-heading heading-preview\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tng-click=\\\"vm.ihm.preview.saveThisFormExpanded =!vm.ihm.preview.saveThisFormExpanded\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<h3 class=\\\"panel-title\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<button class=\\\"btn btn-primary btn-xs\\\" >\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<i\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tclass=\\\"fa\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tng-class=\\\"{'fa-angle-down':!vm.ihm.preview.saveThisFormExpanded, 'fa-angle-up' : vm.ihm.preview.saveThisFormExpanded}\\\"></i>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t</button>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t \\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<i class=\\\"fa fa-camera-retro\\\"></i>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t \\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tSave this form\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t</h3>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t<div class=\\\"panel-body\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<div uib-collapse=\\\"vm.ihm.preview.saveThisFormExpanded\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<div class=\\\"row\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<div class=\\\"col-xs-12\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<div class=\\\"form-group\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<label\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tfor=\\\"inputNameFormtext\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tclass=\\\" greyText control-label\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tName to this form :\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t</label>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<div class=\\\"\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<input\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\ttype=\\\"text\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tclass=\\\"form-control\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tid=\\\"inputNameFormtext\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tplaceholder=\\\"Enter formName\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tng-model=\\\"vm.configuration.formName\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t<button\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tclass=\\\"btn btn-primary btn-block btn-lg\\\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tng-click=\\\"vm.saveThisForm()\\\">\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tsave this form\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t</button>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t\\t\\t\\t</uib-tab>\\n\\t\\t\\t\\t\\t\\t</uib-tabset>\\n\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t</div>\\n\\t\\t\\t</section>\\n\\t\\t\\t<hr/>\\n\\t\\t\\t<section>\\n <h6 class=\\\"text-right\\\">\\n Easy form generator : {{vm.easyFormGeneratorVERSION}} — Erwan DATIN (MacKentoch)\\n </h6>\\n\\t\\t\\t</section>\\n </div>\\n </div>\\n</section>\\n\"//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvZWRhRHJhZ0Ryb3BXYXlFYXN5Rm9ybUdlbi9lZGFEcmFnRHJvcFdheS5lZGFEcmFnZHJvcFdheUVhc3lGb3JtR2VuLnRlbXBsYXRlLmh0bWw/Y2NmZCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSwyUUFBMlEsbUZBQW1GLDRuQ0FBNG5DLDBEQUEwRCw2REFBNkQsUUFBUSw0ZUFBNGUsa0hBQWtILDZjQUE2YyxvbkJBQW9uQiwyREFBMkQscUVBQXFFLGdCQUFnQiw2VUFBNlUsMkRBQTJELG9FQUFvRSxRQUFRLG1FQUFtRSxnQkFBZ0IsZ25CQUFnbkIsMk1BQTJNLG1jQUFtYyxRQUFRLGdGQUFnRixnQkFBZ0Isc21CQUFzbUIsMkxBQTJMLHNEQUFzRCx3RUFBd0UsUUFBUSx1RUFBdUUsZ0JBQWdCLGdGQUFnRix3QkFBd0IsK0lBQStJLGVBQWUsbVVBQW1VLG1EQUFtRCxnWkFBZ1osa0JBQWtCLGtGQUFrRix3QkFBd0IsZzlDQUFnOUMsbUNBQW1DLDZNQUE2TSxtQ0FBbUMsaXFCQUFpcUIsMEhBQTBILGdHQUFnRyxvRkFBb0Ysd2lGQUF3aUYsZ0hBQWdILHNHQUFzRyxxRkFBcUYsbVJBQW1SLGlCQUFpQix3a0JBQXdrQixrSEFBa0gsc0VBQXNFLGlGQUFpRixvVEFBb1QsN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ZWRhRHJhZ2Ryb3BXYXlFYXN5Rm9ybUdlbi50ZW1wbGF0ZS5odG1sXG4vLyBtb2R1bGUgaWQgPSA4M1xuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwic291cmNlUm9vdCI6IiJ9");
|
|
|
|
/***/ },
|
|
/* 84 */
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _edaDragDropWayTrustThis = __webpack_require__(85);\n\nvar _edaDragDropWayTrustThis2 = _interopRequireDefault(_edaDragDropWayTrustThis);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar TRUST_THIS_FILTER_MODULE = 'edaDragDropWay.trustThis.filter';\n\nexports.default = angular.module(TRUST_THIS_FILTER_MODULE, []).filter(_edaDragDropWayTrustThis.TRUST_THIS_FILTER_NAME, _edaDragDropWayTrustThis2.default);//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvY29tbW9uL2VkYVRydXN0VGhpc0ZpbHRlci9lZGFEcmFnRHJvcFdheS50cnVzdFRoaXMubW9kdWxlLmpzPzY3MTkiXSwibmFtZXMiOlsiVFJVU1RfVEhJU19GSUxURVJfTU9EVUxFIiwiYW5ndWxhciIsIm1vZHVsZSIsImZpbHRlciJdLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBQUE7Ozs7OztBQUtBLElBQU1BLDJCQUEyQixpQ0FBakM7O2tCQUVlQyxRQUNFQyxNQURGLENBQ1NGLHdCQURULEVBQ21DLEVBRG5DLEVBRUVHLE1BRkYsb0YiLCJmaWxlIjoiODQuanMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgdHJ1c3RUaGlzLCB7XG4gIFRSVVNUX1RISVNfRklMVEVSX05BTUVcbn0gZnJvbSAnLi9lZGFEcmFnRHJvcFdheS50cnVzdFRoaXMuZmlsdGVyJztcblxuXG5jb25zdCBUUlVTVF9USElTX0ZJTFRFUl9NT0RVTEUgPSAnZWRhRHJhZ0Ryb3BXYXkudHJ1c3RUaGlzLmZpbHRlcic7XG5cbmV4cG9ydCBkZWZhdWx0IGFuZ3VsYXJcbiAgICAgICAgICAgICAgICAubW9kdWxlKFRSVVNUX1RISVNfRklMVEVSX01PRFVMRSwgW10pXG4gICAgICAgICAgICAgICAgLmZpbHRlcihUUlVTVF9USElTX0ZJTFRFUl9OQU1FLCB0cnVzdFRoaXMpO1xuXG5cblxuLy8gV0VCUEFDSyBGT09URVIgLy9cbi8vIC4vc3JjL2FwcC9kcmFnZHJvcHdheS9jb21wb25lbnRzL2NvbW1vbi9lZGFUcnVzdFRoaXNGaWx0ZXIvZWRhRHJhZ0Ryb3BXYXkudHJ1c3RUaGlzLm1vZHVsZS5qcyJdLCJzb3VyY2VSb290IjoiIn0=");
|
|
|
|
/***/ },
|
|
/* 85 */
|
|
/***/ function(module, exports) {
|
|
|
|
eval("'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar TRUST_THIS_FILTER_NAME = 'trustThis';\n\nfunction trustThis($sce) {\n return function (value, type) {\n return $sce.trustAs(type || 'html', value);\n };\n}\n\ntrustThis.$inject = ['$sce'];\n\nexports.default = trustThis;\nexports.TRUST_THIS_FILTER_NAME = TRUST_THIS_FILTER_NAME;//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYXBwL2RyYWdkcm9wd2F5L2NvbXBvbmVudHMvY29tbW9uL2VkYVRydXN0VGhpc0ZpbHRlci9lZGFEcmFnRHJvcFdheS50cnVzdFRoaXMuZmlsdGVyLmpzPzljMmIiXSwibmFtZXMiOlsiVFJVU1RfVEhJU19GSUxURVJfTkFNRSIsInRydXN0VGhpcyIs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