@cxbox-ui/core 1.34.1 → 1.34.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./node_modules/@cxbox-ui/schema/dist/index.js","webpack:///./src/interfaces/router.ts","webpack:///(webpack)/buildin/module.js","webpack:///./node_modules/@cxbox-ui/schema/dist/generator.js","webpack:///./node_modules/json-stable-stringify/index.js","webpack:///./node_modules/jsonify/index.js","webpack:///./node_modules/jsonify/lib/parse.js","webpack:///./node_modules/jsonify/lib/stringify.js","webpack:///./node_modules/@cxbox-ui/schema/dist/interfaces/data.js","webpack:///./node_modules/@cxbox-ui/schema/dist/interfaces/navigation.js","webpack:///./node_modules/@cxbox-ui/schema/dist/interfaces/operations.js","webpack:///./node_modules/@cxbox-ui/schema/dist/interfaces/router.js","webpack:///./node_modules/@cxbox-ui/schema/dist/interfaces/widget.js"],"names":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","__createBinding","this","k","k2","undefined","__exportStar","run","generator_1","RouteType","webpackPolyfill","deprecate","paths","children","path_1","fs_1","stringify","TJS","schemas","existsSync","mkdirSync","program","getProgramFromFiles","map","item","join","__dirname","strictNullChecks","generator","buildGenerator","required","forEach","definition","getSchemaForSymbol","writeFile","src","space","stringifyJson","err","Error","message","window","json","JSON","obj","opts","cmp","Array","f","cycles","replacer","node","a","b","aobj","bobj","seen","parent","level","indent","colonSeparator","toJSON","isArray","out","length","push","indexOf","TypeError","keys","objectKeys","sort","keyValue","splice","x","toString","has","parse","at","ch","text","escapee","error","next","charAt","number","string","isFinite","hex","uffff","parseInt","String","fromCharCode","white","array","word","source","reviver","result","walk","holder","v","gap","rep","escapable","meta","quote","lastIndex","test","replace","charCodeAt","slice","str","partial","mind","apply","RecordSnapshotState","OperationTypeCrud","DrillDownType","FieldType","PositionTypes","WidgetTypes"],"mappings":"6DACE,IAAIA,EAAmB,GAGvB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GAAUC,QAGnC,IAAIC,EAASJ,EAAiBE,GAAY,CACzCG,EAAGH,EACHI,GAAG,EACHH,QAAS,IAUV,OANAI,EAAQL,GAAUM,KAAKJ,EAAOD,QAASC,EAAQA,EAAOD,QAASF,GAG/DG,EAAOE,GAAI,EAGJF,EAAOD,QA0Df,OArDAF,EAAoBQ,EAAIF,EAGxBN,EAAoBS,EAAIV,EAGxBC,EAAoBU,EAAI,SAASR,EAASS,EAAMC,GAC3CZ,EAAoBa,EAAEX,EAASS,IAClCG,OAAOC,eAAeb,EAASS,EAAM,CAAEK,YAAY,EAAMC,IAAKL,KAKhEZ,EAAoBkB,EAAI,SAAShB,GACX,oBAAXiB,QAA0BA,OAAOC,aAC1CN,OAAOC,eAAeb,EAASiB,OAAOC,YAAa,CAAEC,MAAO,WAE7DP,OAAOC,eAAeb,EAAS,aAAc,CAAEmB,OAAO,KAQvDrB,EAAoBsB,EAAI,SAASD,EAAOE,GAEvC,GADU,EAAPA,IAAUF,EAAQrB,EAAoBqB,IAC/B,EAAPE,EAAU,OAAOF,EACpB,GAAW,EAAPE,GAA8B,iBAAVF,GAAsBA,GAASA,EAAMG,WAAY,OAAOH,EAChF,IAAII,EAAKX,OAAOY,OAAO,MAGvB,GAFA1B,EAAoBkB,EAAEO,GACtBX,OAAOC,eAAeU,EAAI,UAAW,CAAET,YAAY,EAAMK,MAAOA,IACtD,EAAPE,GAA4B,iBAATF,EAAmB,IAAI,IAAIM,KAAON,EAAOrB,EAAoBU,EAAEe,EAAIE,EAAK,SAASA,GAAO,OAAON,EAAMM,IAAQC,KAAK,KAAMD,IAC9I,OAAOF,GAIRzB,EAAoB6B,EAAI,SAAS1B,GAChC,IAAIS,EAAST,GAAUA,EAA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9BA,EAAsB,WAAI,aAC1BA,EAAkB,OAAI,SACtBA,EAAgB,KAAI,OACpBA,EAAmB,QAAI,UACvBA,EAAsB,WAAI,aAC1BA,EAAiB,MAAI,QAIrBA,EAA0B,eAAI,kBAC9BA,EAAoB,SAAI,WACxBA,EAAqB,UAAI,YACzBA,EAAsB,WAAI,aAC1BA,EAAsB,WAAI,aAC1BA,EAA2B,gBAAI,kBAC/BA,EAAgB,KAAI,OACpBA,EAAiB,MAAI,QAlCzB,CAmCevJ,EAAQuJ,YAAcvJ,EAAQuJ,UAAY","file":"interfaces/router.js","sourcesContent":[" \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 \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\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.l = 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// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 34);\n","\"use strict\";\n/*\n * CXBOX-UI\n * Copyright (C) 2018-2020 Cxbox Contributors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nexports.__esModule = true;\nexports.run = void 0;\nvar generator_1 = require(\"./generator\");\n__createBinding(exports, generator_1, \"run\");\n__exportStar(require(\"./interfaces/data\"), exports);\n__exportStar(require(\"./interfaces/navigation\"), exports);\n__exportStar(require(\"./interfaces/operations\"), exports);\n__exportStar(require(\"./interfaces/router\"), exports);\n__exportStar(require(\"./interfaces/widget\"), exports);\n","/*\n * CXBOX-UI\n * Copyright (C) 2018-2021 Cxbox Contributors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nexport { DrillDownType } from '@cxbox-ui/schema'\n\nexport interface Route {\n type: RouteType\n path: string\n params: Record<string, unknown>\n screenName?: string\n viewName?: string\n bcPath?: string\n}\n\nexport enum RouteType {\n screen = 'screen',\n default = 'default',\n router = 'router',\n invalid = 'invalid',\n unknown = 'unknown'\n}\n","module.exports = function(module) {\n\tif (!module.webpackPolyfill) {\n\t\tmodule.deprecate = function() {};\n\t\tmodule.paths = [];\n\t\t// module.parent = undefined by default\n\t\tif (!module.children) module.children = [];\n\t\tObject.defineProperty(module, \"loaded\", {\n\t\t\tenumerable: true,\n\t\t\tget: function() {\n\t\t\t\treturn module.l;\n\t\t\t}\n\t\t});\n\t\tObject.defineProperty(module, \"id\", {\n\t\t\tenumerable: true,\n\t\t\tget: function() {\n\t\t\t\treturn module.i;\n\t\t\t}\n\t\t});\n\t\tmodule.webpackPolyfill = 1;\n\t}\n\treturn module;\n};\n","\"use strict\";\n/*\n * CXBOX-UI\n * Copyright (C) 2018-2021 Cxbox Contributors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nexports.__esModule = true;\nexports.run = void 0;\nvar path_1 = require(\"path\");\nvar fs_1 = require(\"fs\");\nvar stringify = require(\"json-stable-stringify\");\nvar TJS = require(\"typescript-json-schema\");\nfunction run() {\n var settings = {\n required: true\n };\n var compilerOptions = {\n strictNullChecks: true\n };\n var schemas = ['ScreenMeta', 'ViewMeta', 'WidgetMeta', 'SqlBc'];\n if (!fs_1.existsSync('schemas')) {\n fs_1.mkdirSync('schemas');\n }\n var program = TJS.getProgramFromFiles(schemas.map(function (item) { return path_1.join(__dirname, '../', \"src/files/\" + item + \".ts\"); }), compilerOptions);\n var generator = TJS.buildGenerator(program, settings);\n write(schemas);\n function write(src) {\n src.forEach(function (item) {\n var definition = generator.getSchemaForSymbol(item + \"Json\");\n fs_1.writeFile(\"schemas/\" + item + \".json\", stringifyJson(definition), function (err) {\n if (err) {\n throw new Error('Unable to write output file: ' + err.message);\n }\n });\n });\n }\n}\nexports.run = run;\nfunction stringifyJson(src) {\n return stringify(src, { space: 4 }) + '\\n\\n';\n}\nif (typeof window === 'undefined' && require.main === module) {\n run();\n}\n","var json = typeof JSON !== 'undefined' ? JSON : require('jsonify');\n\nmodule.exports = function (obj, opts) {\n if (!opts) opts = {};\n if (typeof opts === 'function') opts = { cmp: opts };\n var space = opts.space || '';\n if (typeof space === 'number') space = Array(space+1).join(' ');\n var cycles = (typeof opts.cycles === 'boolean') ? opts.cycles : false;\n var replacer = opts.replacer || function(key, value) { return value; };\n\n var cmp = opts.cmp && (function (f) {\n return function (node) {\n return function (a, b) {\n var aobj = { key: a, value: node[a] };\n var bobj = { key: b, value: node[b] };\n return f(aobj, bobj);\n };\n };\n })(opts.cmp);\n\n var seen = [];\n return (function stringify (parent, key, node, level) {\n var indent = space ? ('\\n' + new Array(level + 1).join(space)) : '';\n var colonSeparator = space ? ': ' : ':';\n\n if (node && node.toJSON && typeof node.toJSON === 'function') {\n node = node.toJSON();\n }\n\n node = replacer.call(parent, key, node);\n\n if (node === undefined) {\n return;\n }\n if (typeof node !== 'object' || node === null) {\n return json.stringify(node);\n }\n if (isArray(node)) {\n var out = [];\n for (var i = 0; i < node.length; i++) {\n var item = stringify(node, i, node[i], level+1) || json.stringify(null);\n out.push(indent + space + item);\n }\n return '[' + out.join(',') + indent + ']';\n }\n else {\n if (seen.indexOf(node) !== -1) {\n if (cycles) return json.stringify('__cycle__');\n throw new TypeError('Converting circular structure to JSON');\n }\n else seen.push(node);\n\n var keys = objectKeys(node).sort(cmp && cmp(node));\n var out = [];\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n var value = stringify(node, key, node[key], level+1);\n\n if(!value) continue;\n\n var keyValue = json.stringify(key)\n + colonSeparator\n + value;\n ;\n out.push(indent + space + keyValue);\n }\n seen.splice(seen.indexOf(node), 1);\n return '{' + out.join(',') + indent + '}';\n }\n })({ '': obj }, '', obj, 0);\n};\n\nvar isArray = Array.isArray || function (x) {\n return {}.toString.call(x) === '[object Array]';\n};\n\nvar objectKeys = Object.keys || function (obj) {\n var has = Object.prototype.hasOwnProperty || function () { return true };\n var keys = [];\n for (var key in obj) {\n if (has.call(obj, key)) keys.push(key);\n }\n return keys;\n};\n","exports.parse = require('./lib/parse');\nexports.stringify = require('./lib/stringify');\n","var at, // The index of the current character\n ch, // The current character\n escapee = {\n '\"': '\"',\n '\\\\': '\\\\',\n '/': '/',\n b: '\\b',\n f: '\\f',\n n: '\\n',\n r: '\\r',\n t: '\\t'\n },\n text,\n\n error = function (m) {\n // Call error when something is wrong.\n throw {\n name: 'SyntaxError',\n message: m,\n at: at,\n text: text\n };\n },\n \n next = function (c) {\n // If a c parameter is provided, verify that it matches the current character.\n if (c && c !== ch) {\n error(\"Expected '\" + c + \"' instead of '\" + ch + \"'\");\n }\n \n // Get the next character. When there are no more characters,\n // return the empty string.\n \n ch = text.charAt(at);\n at += 1;\n return ch;\n },\n \n number = function () {\n // Parse a number value.\n var number,\n string = '';\n \n if (ch === '-') {\n string = '-';\n next('-');\n }\n while (ch >= '0' && ch <= '9') {\n string += ch;\n next();\n }\n if (ch === '.') {\n string += '.';\n while (next() && ch >= '0' && ch <= '9') {\n string += ch;\n }\n }\n if (ch === 'e' || ch === 'E') {\n string += ch;\n next();\n if (ch === '-' || ch === '+') {\n string += ch;\n next();\n }\n while (ch >= '0' && ch <= '9') {\n string += ch;\n next();\n }\n }\n number = +string;\n if (!isFinite(number)) {\n error(\"Bad number\");\n } else {\n return number;\n }\n },\n \n string = function () {\n // Parse a string value.\n var hex,\n i,\n string = '',\n uffff;\n \n // When parsing for string values, we must look for \" and \\ characters.\n if (ch === '\"') {\n while (next()) {\n if (ch === '\"') {\n next();\n return string;\n } else if (ch === '\\\\') {\n next();\n if (ch === 'u') {\n uffff = 0;\n for (i = 0; i < 4; i += 1) {\n hex = parseInt(next(), 16);\n if (!isFinite(hex)) {\n break;\n }\n uffff = uffff * 16 + hex;\n }\n string += String.fromCharCode(uffff);\n } else if (typeof escapee[ch] === 'string') {\n string += escapee[ch];\n } else {\n break;\n }\n } else {\n string += ch;\n }\n }\n }\n error(\"Bad string\");\n },\n\n white = function () {\n\n// Skip whitespace.\n\n while (ch && ch <= ' ') {\n next();\n }\n },\n\n word = function () {\n\n// true, false, or null.\n\n switch (ch) {\n case 't':\n next('t');\n next('r');\n next('u');\n next('e');\n return true;\n case 'f':\n next('f');\n next('a');\n next('l');\n next('s');\n next('e');\n return false;\n case 'n':\n next('n');\n next('u');\n next('l');\n next('l');\n return null;\n }\n error(\"Unexpected '\" + ch + \"'\");\n },\n\n value, // Place holder for the value function.\n\n array = function () {\n\n// Parse an array value.\n\n var array = [];\n\n if (ch === '[') {\n next('[');\n white();\n if (ch === ']') {\n next(']');\n return array; // empty array\n }\n while (ch) {\n array.push(value());\n white();\n if (ch === ']') {\n next(']');\n return array;\n }\n next(',');\n white();\n }\n }\n error(\"Bad array\");\n },\n\n object = function () {\n\n// Parse an object value.\n\n var key,\n object = {};\n\n if (ch === '{') {\n next('{');\n white();\n if (ch === '}') {\n next('}');\n return object; // empty object\n }\n while (ch) {\n key = string();\n white();\n next(':');\n if (Object.hasOwnProperty.call(object, key)) {\n error('Duplicate key \"' + key + '\"');\n }\n object[key] = value();\n white();\n if (ch === '}') {\n next('}');\n return object;\n }\n next(',');\n white();\n }\n }\n error(\"Bad object\");\n };\n\nvalue = function () {\n\n// Parse a JSON value. It could be an object, an array, a string, a number,\n// or a word.\n\n white();\n switch (ch) {\n case '{':\n return object();\n case '[':\n return array();\n case '\"':\n return string();\n case '-':\n return number();\n default:\n return ch >= '0' && ch <= '9' ? number() : word();\n }\n};\n\n// Return the json_parse function. It will have access to all of the above\n// functions and variables.\n\nmodule.exports = function (source, reviver) {\n var result;\n \n text = source;\n at = 0;\n ch = ' ';\n result = value();\n white();\n if (ch) {\n error(\"Syntax error\");\n }\n\n // If there is a reviver function, we recursively walk the new structure,\n // passing each name/value pair to the reviver function for possible\n // transformation, starting with a temporary root object that holds the result\n // in an empty key. If there is not a reviver function, we simply return the\n // result.\n\n return typeof reviver === 'function' ? (function walk(holder, key) {\n var k, v, value = holder[key];\n if (value && typeof value === 'object') {\n for (k in value) {\n if (Object.prototype.hasOwnProperty.call(value, k)) {\n v = walk(value, k);\n if (v !== undefined) {\n value[k] = v;\n } else {\n delete value[k];\n }\n }\n }\n }\n return reviver.call(holder, key, value);\n }({'': result}, '')) : result;\n};\n","var cx = /[\\u0000\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]/g,\n escapable = /[\\\\\\\"\\x00-\\x1f\\x7f-\\x9f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]/g,\n gap,\n indent,\n meta = { // table of character substitutions\n '\\b': '\\\\b',\n '\\t': '\\\\t',\n '\\n': '\\\\n',\n '\\f': '\\\\f',\n '\\r': '\\\\r',\n '\"' : '\\\\\"',\n '\\\\': '\\\\\\\\'\n },\n rep;\n\nfunction quote(string) {\n // If the string contains no control characters, no quote characters, and no\n // backslash characters, then we can safely slap some quotes around it.\n // Otherwise we must also replace the offending characters with safe escape\n // sequences.\n \n escapable.lastIndex = 0;\n return escapable.test(string) ? '\"' + string.replace(escapable, function (a) {\n var c = meta[a];\n return typeof c === 'string' ? c :\n '\\\\u' + ('0000' + a.charCodeAt(0).toString(16)).slice(-4);\n }) + '\"' : '\"' + string + '\"';\n}\n\nfunction str(key, holder) {\n // Produce a string from holder[key].\n var i, // The loop counter.\n k, // The member key.\n v, // The member value.\n length,\n mind = gap,\n partial,\n value = holder[key];\n \n // If the value has a toJSON method, call it to obtain a replacement value.\n if (value && typeof value === 'object' &&\n typeof value.toJSON === 'function') {\n value = value.toJSON(key);\n }\n \n // If we were called with a replacer function, then call the replacer to\n // obtain a replacement value.\n if (typeof rep === 'function') {\n value = rep.call(holder, key, value);\n }\n \n // What happens next depends on the value's type.\n switch (typeof value) {\n case 'string':\n return quote(value);\n \n case 'number':\n // JSON numbers must be finite. Encode non-finite numbers as null.\n return isFinite(value) ? String(value) : 'null';\n \n case 'boolean':\n case 'null':\n // If the value is a boolean or null, convert it to a string. Note:\n // typeof null does not produce 'null'. The case is included here in\n // the remote chance that this gets fixed someday.\n return String(value);\n \n case 'object':\n if (!value) return 'null';\n gap += indent;\n partial = [];\n \n // Array.isArray\n if (Object.prototype.toString.apply(value) === '[object Array]') {\n length = value.length;\n for (i = 0; i < length; i += 1) {\n partial[i] = str(i, value) || 'null';\n }\n \n // Join all of the elements together, separated with commas, and\n // wrap them in brackets.\n v = partial.length === 0 ? '[]' : gap ?\n '[\\n' + gap + partial.join(',\\n' + gap) + '\\n' + mind + ']' :\n '[' + partial.join(',') + ']';\n gap = mind;\n return v;\n }\n \n // If the replacer is an array, use it to select the members to be\n // stringified.\n if (rep && typeof rep === 'object') {\n length = rep.length;\n for (i = 0; i < length; i += 1) {\n k = rep[i];\n if (typeof k === 'string') {\n v = str(k, value);\n if (v) {\n partial.push(quote(k) + (gap ? ': ' : ':') + v);\n }\n }\n }\n }\n else {\n // Otherwise, iterate through all of the keys in the object.\n for (k in value) {\n if (Object.prototype.hasOwnProperty.call(value, k)) {\n v = str(k, value);\n if (v) {\n partial.push(quote(k) + (gap ? ': ' : ':') + v);\n }\n }\n }\n }\n \n // Join all of the member texts together, separated with commas,\n // and wrap them in braces.\n\n v = partial.length === 0 ? '{}' : gap ?\n '{\\n' + gap + partial.join(',\\n' + gap) + '\\n' + mind + '}' :\n '{' + partial.join(',') + '}';\n gap = mind;\n return v;\n }\n}\n\nmodule.exports = function (value, replacer, space) {\n var i;\n gap = '';\n indent = '';\n \n // If the space parameter is a number, make an indent string containing that\n // many spaces.\n if (typeof space === 'number') {\n for (i = 0; i < space; i += 1) {\n indent += ' ';\n }\n }\n // If the space parameter is a string, it will be used as the indent string.\n else if (typeof space === 'string') {\n indent = space;\n }\n\n // If there is a replacer, it must be a function or an array.\n // Otherwise, throw an error.\n rep = replacer;\n if (replacer && typeof replacer !== 'function'\n && (typeof replacer !== 'object' || typeof replacer.length !== 'number')) {\n throw new Error('JSON.stringify');\n }\n \n // Make a fake root object containing our value under the key of ''.\n // Return the result of stringifying the value.\n return str('', {'': value});\n};\n","\"use strict\";\n/*\n * CXBOX-UI\n * Copyright (C) 2018-2021 Cxbox Contributors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nexports.__esModule = true;\nexports.RecordSnapshotState = void 0;\nvar RecordSnapshotState;\n(function (RecordSnapshotState) {\n RecordSnapshotState[\"noChange\"] = \"noChange\";\n RecordSnapshotState[\"new\"] = \"new\";\n RecordSnapshotState[\"deleted\"] = \"deleted\";\n})(RecordSnapshotState = exports.RecordSnapshotState || (exports.RecordSnapshotState = {}));\n","\"use strict\";\n/*\n * CXBOX-UI\n * Copyright (C) 2018-2021 Cxbox Contributors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nexports.__esModule = true;\n","\"use strict\";\n/*\n * CXBOX-UI\n * Copyright (C) 2018-2021 Cxbox Contributors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nexports.__esModule = true;\nexports.OperationTypeCrud = void 0;\n/**\n * TODO: Rename to CoreOperationRole in 2.0.0\n */\nvar OperationTypeCrud;\n(function (OperationTypeCrud) {\n OperationTypeCrud[\"create\"] = \"create\";\n OperationTypeCrud[\"save\"] = \"save\";\n OperationTypeCrud[\"delete\"] = \"delete\";\n OperationTypeCrud[\"associate\"] = \"associate\";\n OperationTypeCrud[\"cancelCreate\"] = \"cancel-create\";\n OperationTypeCrud[\"fileUpload\"] = \"file-upload\";\n})(OperationTypeCrud = exports.OperationTypeCrud || (exports.OperationTypeCrud = {}));\n","\"use strict\";\n/*\n * CXBOX-UI\n * Copyright (C) 2018-2021 Cxbox Contributors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nexports.__esModule = true;\nexports.DrillDownType = void 0;\n/**\n * Types of drilldowns in the application, specified by Cxbox API\n */\nvar DrillDownType;\n(function (DrillDownType) {\n /**\n * Drilldown to inner entity of the application (screen, view), i.e. url will be places after route hash sy: `#/${inner}`\n */\n DrillDownType[\"inner\"] = \"inner\";\n /**\n * Drilldown to an url relative to the current url: `/${relative}`\n */\n DrillDownType[\"relative\"] = \"relative\";\n /**\n * Drilldown to an url relative to the current url: `/${relative}` that opens in a new browser tab\n */\n DrillDownType[\"relativeNew\"] = \"relativeNew\";\n /**\n * An external redirect, i.e. `http://${external}`\n */\n DrillDownType[\"external\"] = \"external\";\n /**\n * An external redirect, i.e. `http://${external}` that opens in a new browser tab\n */\n DrillDownType[\"externalNew\"] = \"externalNew\";\n})(DrillDownType = exports.DrillDownType || (exports.DrillDownType = {}));\n","\"use strict\";\n/*\n * CXBOX-UI\n * Copyright (C) 2018-2021 Cxbox Contributors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nexports.__esModule = true;\nexports.FieldType = exports.PositionTypes = exports.WidgetTypes = void 0;\nvar WidgetTypes;\n(function (WidgetTypes) {\n WidgetTypes[\"Info\"] = \"Info\";\n WidgetTypes[\"Form\"] = \"Form\";\n WidgetTypes[\"List\"] = \"List\";\n WidgetTypes[\"DataGrid\"] = \"DataGrid\";\n WidgetTypes[\"AssocListPopup\"] = \"AssocListPopup\";\n WidgetTypes[\"PickListPopup\"] = \"PickListPopup\";\n WidgetTypes[\"HeaderWidget\"] = \"HeaderWidget\";\n WidgetTypes[\"SecondLevelMenu\"] = \"SecondLevelMenu\";\n WidgetTypes[\"ThirdLevelMenu\"] = \"ThirdLevelMenu\";\n WidgetTypes[\"FourthLevelMenu\"] = \"FourthLevelMenu\";\n WidgetTypes[\"WidgetCreator\"] = \"WidgetCreator\";\n WidgetTypes[\"Pivot\"] = \"Pivot\";\n WidgetTypes[\"DimFilter\"] = \"DimFilter\";\n WidgetTypes[\"Text\"] = \"Text\";\n WidgetTypes[\"FlatTree\"] = \"FlatTree\";\n WidgetTypes[\"FlatTreePopup\"] = \"FlatTreePopup\";\n /**\n * Navigation tabs widget to be excluded from the widget stream\n */\n WidgetTypes[\"ViewNavigation\"] = \"ViewNavigation\";\n /**\n * Navigation tabs widget to be displayed in the widget stream\n */\n WidgetTypes[\"NavigationTabs\"] = \"NavigationTabs\";\n})(WidgetTypes = exports.WidgetTypes || (exports.WidgetTypes = {}));\n/**\n * Description of possible positioning options\n */\nvar PositionTypes;\n(function (PositionTypes) {\n PositionTypes[\"Top\"] = \"Top\";\n PositionTypes[\"Bottom\"] = \"Bottom\";\n PositionTypes[\"TopAndBottom\"] = \"TopAndBottom\";\n})(PositionTypes = exports.PositionTypes || (exports.PositionTypes = {}));\nvar FieldType;\n(function (FieldType) {\n FieldType[\"number\"] = \"number\";\n FieldType[\"input\"] = \"input\";\n FieldType[\"monthYear\"] = \"monthYear\";\n FieldType[\"date\"] = \"date\";\n FieldType[\"dateTime\"] = \"dateTime\";\n FieldType[\"dateTimeWithSeconds\"] = \"dateTimeWithSeconds\";\n FieldType[\"checkbox\"] = \"checkbox\";\n /**\n * @deprecated TODO: project-specific, remove in 2.0.0\n */\n FieldType[\"checkboxSql\"] = \"checkboxSql\";\n /**\n * @deprecated TODO: project-specific, remove in 2.0.0\n */\n FieldType[\"DMN\"] = \"DMN\";\n FieldType[\"pickList\"] = \"pickList\";\n FieldType[\"inlinePickList\"] = \"inline-pickList\";\n FieldType[\"dictionary\"] = \"dictionary\";\n FieldType[\"hidden\"] = \"hidden\";\n FieldType[\"text\"] = \"text\";\n FieldType[\"percent\"] = \"percent\";\n FieldType[\"fileUpload\"] = \"fileUpload\";\n FieldType[\"money\"] = \"money\";\n /**\n * @deprecated TODO: project-specific, remove in 2.0.0\n */\n FieldType[\"comboCondition\"] = \"combo-condition\";\n FieldType[\"richText\"] = \"richText\";\n FieldType[\"printForm\"] = \"printForm\";\n FieldType[\"multifield\"] = \"multifield\";\n FieldType[\"multivalue\"] = \"multivalue\";\n FieldType[\"multivalueHover\"] = \"multivalueHover\";\n FieldType[\"hint\"] = \"hint\";\n FieldType[\"radio\"] = \"radio\";\n})(FieldType = exports.FieldType || (exports.FieldType = {}));\n"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./node_modules/@cxbox-ui/schema/dist/index.js","webpack:///./src/interfaces/router.ts","webpack:///(webpack)/buildin/module.js","webpack:///./node_modules/@cxbox-ui/schema/dist/generator.js","webpack:///./node_modules/json-stable-stringify/index.js","webpack:///./node_modules/jsonify/index.js","webpack:///./node_modules/jsonify/lib/parse.js","webpack:///./node_modules/jsonify/lib/stringify.js","webpack:///./node_modules/@cxbox-ui/schema/dist/interfaces/data.js","webpack:///./node_modules/@cxbox-ui/schema/dist/interfaces/navigation.js","webpack:///./node_modules/@cxbox-ui/schema/dist/interfaces/operations.js","webpack:///./node_modules/@cxbox-ui/schema/dist/interfaces/router.js","webpack:///./node_modules/@cxbox-ui/schema/dist/interfaces/widget.js"],"names":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","__createBinding","this","k","k2","undefined","__exportStar","run","generator_1","RouteType","webpackPolyfill","deprecate","paths","children","path_1","fs_1","stringify","TJS","schemas","existsSync","mkdirSync","program","getProgramFromFiles","map","item","join","__dirname","strictNullChecks","generator","buildGenerator","required","forEach","definition","getSchemaForSymbol","writeFile","src","space","stringifyJson","err","Error","message","window","json","JSON","obj","opts","cmp","Array","f","cycles","replacer","node","a","b","aobj","bobj","seen","parent","level","indent","colonSeparator","toJSON","isArray","out","length","push","indexOf","TypeError","keys","objectKeys","sort","keyValue","splice","x","toString","has","parse","at","ch","text","escapee","error","next","charAt","number","string","isFinite","hex","uffff","parseInt","String","fromCharCode","white","array","word","source","reviver","result","walk","holder","v","gap","rep","escapable","meta","quote","lastIndex","test","replace","charCodeAt","slice","str","partial","mind","apply","RecordSnapshotState","OperationTypeCrud","DrillDownType","FieldType","PositionTypes","WidgetTypes"],"mappings":"6DACE,IAAIA,EAAmB,GAGvB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GAAUC,QAGnC,IAAIC,EAASJ,EAAiBE,GAAY,CACzCG,EAAGH,EACHI,GAAG,EACHH,QAAS,IAUV,OANAI,EAAQL,GAAUM,KAAKJ,EAAOD,QAASC,EAAQA,EAAOD,QAASF,GAG/DG,EAAOE,GAAI,EAGJF,EAAOD,QA0Df,OArDAF,EAAoBQ,EAAIF,EAGxBN,EAAoBS,EAAIV,EAGxBC,EAAoBU,EAAI,SAASR,EAASS,EAAMC,GAC3CZ,EAAoBa,EAAEX,EAASS,IAClCG,OAAOC,eA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AA4B,eAAI,iBAChCA,EAA2B,cAAI,gBAC/BA,EAA0B,aAAI,eAC9BA,EAA6B,gBAAI,kBACjCA,EAA4B,eAAI,iBAChCA,EAA6B,gBAAI,kBACjCA,EAA2B,cAAI,gBAC/BA,EAAmB,MAAI,QACvBA,EAAuB,UAAI,YAC3BA,EAAkB,KAAI,OACtBA,EAAsB,SAAI,WAC1BA,EAA2B,cAAI,gBAI/BA,EAA4B,eAAI,iBAIhCA,EAA4B,eAAI,iBAxBpC,CAyBiBzJ,EAAQyJ,cAAgBzJ,EAAQyJ,YAAc,KAK/D,SAAWD,GACPA,EAAmB,IAAI,MACvBA,EAAsB,OAAI,SAC1BA,EAA4B,aAAI,eAHpC,CAImBxJ,EAAQwJ,gBAAkBxJ,EAAQwJ,cAAgB,KAErE,SAAWD,GACPA,EAAkB,OAAI,SACtBA,EAAiB,MAAI,QACrBA,EAAqB,UAAI,YACzBA,EAAgB,KAAI,OACpBA,EAAoB,SAAI,WACxBA,EAA+B,oBAAI,sBACnCA,EAAoB,SAAI,WAIxBA,EAAuB,YAAI,cAI3BA,EAAe,IAAI,MACnBA,EAAoB,SAAI,WACxBA,EAA0B,eAAI,kBAC9BA,EAAsB,WAAI,aAC1BA,EAAkB,OAAI,SACtBA,EAAgB,KAAI,OACpBA,EAAmB,QAAI,UACvBA,EAAsB,WAAI,aAC1BA,EAAiB,MAAI,QAIrBA,EAA0B,eAAI,kBAC9BA,EAAoB,SAAI,WACxBA,EAAqB,UAAI,YACzBA,EAAsB,WAAI,aAC1BA,EAAsB,WAAI,aAC1BA,EAA2B,gBAAI,kBAC/BA,EAAgB,KAAI,OACpBA,EAAiB,MAAI,QAlCzB,CAmCevJ,EAAQuJ,YAAcvJ,EAAQuJ,UAAY","file":"interfaces/router.js","sourcesContent":[" \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 \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\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.l = 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// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 34);\n","\"use strict\";\n/*\n * CXBOX-UI\n * Copyright (C) 2018-2020 Cxbox Contributors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nexports.__esModule = true;\nexports.run = void 0;\nvar generator_1 = require(\"./generator\");\n__createBinding(exports, generator_1, \"run\");\n__exportStar(require(\"./interfaces/data\"), exports);\n__exportStar(require(\"./interfaces/navigation\"), exports);\n__exportStar(require(\"./interfaces/operations\"), exports);\n__exportStar(require(\"./interfaces/router\"), exports);\n__exportStar(require(\"./interfaces/widget\"), exports);\n","/*\n * © OOO \"SI IKS LAB\", 2022-2023\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport { DrillDownType } from '@cxbox-ui/schema'\n\nexport interface Route {\n type: RouteType\n path: string\n params: Record<string, unknown>\n screenName?: string\n viewName?: string\n bcPath?: string\n}\n\nexport enum RouteType {\n screen = 'screen',\n default = 'default',\n router = 'router',\n invalid = 'invalid',\n unknown = 'unknown'\n}\n","module.exports = function(module) {\n\tif (!module.webpackPolyfill) {\n\t\tmodule.deprecate = function() {};\n\t\tmodule.paths = [];\n\t\t// module.parent = undefined by default\n\t\tif (!module.children) module.children = [];\n\t\tObject.defineProperty(module, \"loaded\", {\n\t\t\tenumerable: true,\n\t\t\tget: function() {\n\t\t\t\treturn module.l;\n\t\t\t}\n\t\t});\n\t\tObject.defineProperty(module, \"id\", {\n\t\t\tenumerable: true,\n\t\t\tget: function() {\n\t\t\t\treturn module.i;\n\t\t\t}\n\t\t});\n\t\tmodule.webpackPolyfill = 1;\n\t}\n\treturn module;\n};\n","\"use strict\";\n/*\n * CXBOX-UI\n * Copyright (C) 2018-2021 Cxbox Contributors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nexports.__esModule = true;\nexports.run = void 0;\nvar path_1 = require(\"path\");\nvar fs_1 = require(\"fs\");\nvar stringify = require(\"json-stable-stringify\");\nvar TJS = require(\"typescript-json-schema\");\nfunction run() {\n var settings = {\n required: true\n };\n var compilerOptions = {\n strictNullChecks: true\n };\n var schemas = ['ScreenMeta', 'ViewMeta', 'WidgetMeta', 'SqlBc'];\n if (!fs_1.existsSync('schemas')) {\n fs_1.mkdirSync('schemas');\n }\n var program = TJS.getProgramFromFiles(schemas.map(function (item) { return path_1.join(__dirname, '../', \"src/files/\" + item + \".ts\"); }), compilerOptions);\n var generator = TJS.buildGenerator(program, settings);\n write(schemas);\n function write(src) {\n src.forEach(function (item) {\n var definition = generator.getSchemaForSymbol(item + \"Json\");\n fs_1.writeFile(\"schemas/\" + item + \".json\", stringifyJson(definition), function (err) {\n if (err) {\n throw new Error('Unable to write output file: ' + err.message);\n }\n });\n });\n }\n}\nexports.run = run;\nfunction stringifyJson(src) {\n return stringify(src, { space: 4 }) + '\\n\\n';\n}\nif (typeof window === 'undefined' && require.main === module) {\n run();\n}\n","var json = typeof JSON !== 'undefined' ? JSON : require('jsonify');\n\nmodule.exports = function (obj, opts) {\n if (!opts) opts = {};\n if (typeof opts === 'function') opts = { cmp: opts };\n var space = opts.space || '';\n if (typeof space === 'number') space = Array(space+1).join(' ');\n var cycles = (typeof opts.cycles === 'boolean') ? opts.cycles : false;\n var replacer = opts.replacer || function(key, value) { return value; };\n\n var cmp = opts.cmp && (function (f) {\n return function (node) {\n return function (a, b) {\n var aobj = { key: a, value: node[a] };\n var bobj = { key: b, value: node[b] };\n return f(aobj, bobj);\n };\n };\n })(opts.cmp);\n\n var seen = [];\n return (function stringify (parent, key, node, level) {\n var indent = space ? ('\\n' + new Array(level + 1).join(space)) : '';\n var colonSeparator = space ? ': ' : ':';\n\n if (node && node.toJSON && typeof node.toJSON === 'function') {\n node = node.toJSON();\n }\n\n node = replacer.call(parent, key, node);\n\n if (node === undefined) {\n return;\n }\n if (typeof node !== 'object' || node === null) {\n return json.stringify(node);\n }\n if (isArray(node)) {\n var out = [];\n for (var i = 0; i < node.length; i++) {\n var item = stringify(node, i, node[i], level+1) || json.stringify(null);\n out.push(indent + space + item);\n }\n return '[' + out.join(',') + indent + ']';\n }\n else {\n if (seen.indexOf(node) !== -1) {\n if (cycles) return json.stringify('__cycle__');\n throw new TypeError('Converting circular structure to JSON');\n }\n else seen.push(node);\n\n var keys = objectKeys(node).sort(cmp && cmp(node));\n var out = [];\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n var value = stringify(node, key, node[key], level+1);\n\n if(!value) continue;\n\n var keyValue = json.stringify(key)\n + colonSeparator\n + value;\n ;\n out.push(indent + space + keyValue);\n }\n seen.splice(seen.indexOf(node), 1);\n return '{' + out.join(',') + indent + '}';\n }\n })({ '': obj }, '', obj, 0);\n};\n\nvar isArray = Array.isArray || function (x) {\n return {}.toString.call(x) === '[object Array]';\n};\n\nvar objectKeys = Object.keys || function (obj) {\n var has = Object.prototype.hasOwnProperty || function () { return true };\n var keys = [];\n for (var key in obj) {\n if (has.call(obj, key)) keys.push(key);\n }\n return keys;\n};\n","exports.parse = require('./lib/parse');\nexports.stringify = require('./lib/stringify');\n","var at, // The index of the current character\n ch, // The current character\n escapee = {\n '\"': '\"',\n '\\\\': '\\\\',\n '/': '/',\n b: '\\b',\n f: '\\f',\n n: '\\n',\n r: '\\r',\n t: '\\t'\n },\n text,\n\n error = function (m) {\n // Call error when something is wrong.\n throw {\n name: 'SyntaxError',\n message: m,\n at: at,\n text: text\n };\n },\n \n next = function (c) {\n // If a c parameter is provided, verify that it matches the current character.\n if (c && c !== ch) {\n error(\"Expected '\" + c + \"' instead of '\" + ch + \"'\");\n }\n \n // Get the next character. When there are no more characters,\n // return the empty string.\n \n ch = text.charAt(at);\n at += 1;\n return ch;\n },\n \n number = function () {\n // Parse a number value.\n var number,\n string = '';\n \n if (ch === '-') {\n string = '-';\n next('-');\n }\n while (ch >= '0' && ch <= '9') {\n string += ch;\n next();\n }\n if (ch === '.') {\n string += '.';\n while (next() && ch >= '0' && ch <= '9') {\n string += ch;\n }\n }\n if (ch === 'e' || ch === 'E') {\n string += ch;\n next();\n if (ch === '-' || ch === '+') {\n string += ch;\n next();\n }\n while (ch >= '0' && ch <= '9') {\n string += ch;\n next();\n }\n }\n number = +string;\n if (!isFinite(number)) {\n error(\"Bad number\");\n } else {\n return number;\n }\n },\n \n string = function () {\n // Parse a string value.\n var hex,\n i,\n string = '',\n uffff;\n \n // When parsing for string values, we must look for \" and \\ characters.\n if (ch === '\"') {\n while (next()) {\n if (ch === '\"') {\n next();\n return string;\n } else if (ch === '\\\\') {\n next();\n if (ch === 'u') {\n uffff = 0;\n for (i = 0; i < 4; i += 1) {\n hex = parseInt(next(), 16);\n if (!isFinite(hex)) {\n break;\n }\n uffff = uffff * 16 + hex;\n }\n string += String.fromCharCode(uffff);\n } else if (typeof escapee[ch] === 'string') {\n string += escapee[ch];\n } else {\n break;\n }\n } else {\n string += ch;\n }\n }\n }\n error(\"Bad string\");\n },\n\n white = function () {\n\n// Skip whitespace.\n\n while (ch && ch <= ' ') {\n next();\n }\n },\n\n word = function () {\n\n// true, false, or null.\n\n switch (ch) {\n case 't':\n next('t');\n next('r');\n next('u');\n next('e');\n return true;\n case 'f':\n next('f');\n next('a');\n next('l');\n next('s');\n next('e');\n return false;\n case 'n':\n next('n');\n next('u');\n next('l');\n next('l');\n return null;\n }\n error(\"Unexpected '\" + ch + \"'\");\n },\n\n value, // Place holder for the value function.\n\n array = function () {\n\n// Parse an array value.\n\n var array = [];\n\n if (ch === '[') {\n next('[');\n white();\n if (ch === ']') {\n next(']');\n return array; // empty array\n }\n while (ch) {\n array.push(value());\n white();\n if (ch === ']') {\n next(']');\n return array;\n }\n next(',');\n white();\n }\n }\n error(\"Bad array\");\n },\n\n object = function () {\n\n// Parse an object value.\n\n var key,\n object = {};\n\n if (ch === '{') {\n next('{');\n white();\n if (ch === '}') {\n next('}');\n return object; // empty object\n }\n while (ch) {\n key = string();\n white();\n next(':');\n if (Object.hasOwnProperty.call(object, key)) {\n error('Duplicate key \"' + key + '\"');\n }\n object[key] = value();\n white();\n if (ch === '}') {\n next('}');\n return object;\n }\n next(',');\n white();\n }\n }\n error(\"Bad object\");\n };\n\nvalue = function () {\n\n// Parse a JSON value. It could be an object, an array, a string, a number,\n// or a word.\n\n white();\n switch (ch) {\n case '{':\n return object();\n case '[':\n return array();\n case '\"':\n return string();\n case '-':\n return number();\n default:\n return ch >= '0' && ch <= '9' ? number() : word();\n }\n};\n\n// Return the json_parse function. It will have access to all of the above\n// functions and variables.\n\nmodule.exports = function (source, reviver) {\n var result;\n \n text = source;\n at = 0;\n ch = ' ';\n result = value();\n white();\n if (ch) {\n error(\"Syntax error\");\n }\n\n // If there is a reviver function, we recursively walk the new structure,\n // passing each name/value pair to the reviver function for possible\n // transformation, starting with a temporary root object that holds the result\n // in an empty key. If there is not a reviver function, we simply return the\n // result.\n\n return typeof reviver === 'function' ? (function walk(holder, key) {\n var k, v, value = holder[key];\n if (value && typeof value === 'object') {\n for (k in value) {\n if (Object.prototype.hasOwnProperty.call(value, k)) {\n v = walk(value, k);\n if (v !== undefined) {\n value[k] = v;\n } else {\n delete value[k];\n }\n }\n }\n }\n return reviver.call(holder, key, value);\n }({'': result}, '')) : result;\n};\n","var cx = /[\\u0000\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]/g,\n escapable = /[\\\\\\\"\\x00-\\x1f\\x7f-\\x9f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]/g,\n gap,\n indent,\n meta = { // table of character substitutions\n '\\b': '\\\\b',\n '\\t': '\\\\t',\n '\\n': '\\\\n',\n '\\f': '\\\\f',\n '\\r': '\\\\r',\n '\"' : '\\\\\"',\n '\\\\': '\\\\\\\\'\n },\n rep;\n\nfunction quote(string) {\n // If the string contains no control characters, no quote characters, and no\n // backslash characters, then we can safely slap some quotes around it.\n // Otherwise we must also replace the offending characters with safe escape\n // sequences.\n \n escapable.lastIndex = 0;\n return escapable.test(string) ? '\"' + string.replace(escapable, function (a) {\n var c = meta[a];\n return typeof c === 'string' ? c :\n '\\\\u' + ('0000' + a.charCodeAt(0).toString(16)).slice(-4);\n }) + '\"' : '\"' + string + '\"';\n}\n\nfunction str(key, holder) {\n // Produce a string from holder[key].\n var i, // The loop counter.\n k, // The member key.\n v, // The member value.\n length,\n mind = gap,\n partial,\n value = holder[key];\n \n // If the value has a toJSON method, call it to obtain a replacement value.\n if (value && typeof value === 'object' &&\n typeof value.toJSON === 'function') {\n value = value.toJSON(key);\n }\n \n // If we were called with a replacer function, then call the replacer to\n // obtain a replacement value.\n if (typeof rep === 'function') {\n value = rep.call(holder, key, value);\n }\n \n // What happens next depends on the value's type.\n switch (typeof value) {\n case 'string':\n return quote(value);\n \n case 'number':\n // JSON numbers must be finite. Encode non-finite numbers as null.\n return isFinite(value) ? String(value) : 'null';\n \n case 'boolean':\n case 'null':\n // If the value is a boolean or null, convert it to a string. Note:\n // typeof null does not produce 'null'. The case is included here in\n // the remote chance that this gets fixed someday.\n return String(value);\n \n case 'object':\n if (!value) return 'null';\n gap += indent;\n partial = [];\n \n // Array.isArray\n if (Object.prototype.toString.apply(value) === '[object Array]') {\n length = value.length;\n for (i = 0; i < length; i += 1) {\n partial[i] = str(i, value) || 'null';\n }\n \n // Join all of the elements together, separated with commas, and\n // wrap them in brackets.\n v = partial.length === 0 ? '[]' : gap ?\n '[\\n' + gap + partial.join(',\\n' + gap) + '\\n' + mind + ']' :\n '[' + partial.join(',') + ']';\n gap = mind;\n return v;\n }\n \n // If the replacer is an array, use it to select the members to be\n // stringified.\n if (rep && typeof rep === 'object') {\n length = rep.length;\n for (i = 0; i < length; i += 1) {\n k = rep[i];\n if (typeof k === 'string') {\n v = str(k, value);\n if (v) {\n partial.push(quote(k) + (gap ? ': ' : ':') + v);\n }\n }\n }\n }\n else {\n // Otherwise, iterate through all of the keys in the object.\n for (k in value) {\n if (Object.prototype.hasOwnProperty.call(value, k)) {\n v = str(k, value);\n if (v) {\n partial.push(quote(k) + (gap ? ': ' : ':') + v);\n }\n }\n }\n }\n \n // Join all of the member texts together, separated with commas,\n // and wrap them in braces.\n\n v = partial.length === 0 ? '{}' : gap ?\n '{\\n' + gap + partial.join(',\\n' + gap) + '\\n' + mind + '}' :\n '{' + partial.join(',') + '}';\n gap = mind;\n return v;\n }\n}\n\nmodule.exports = function (value, replacer, space) {\n var i;\n gap = '';\n indent = '';\n \n // If the space parameter is a number, make an indent string containing that\n // many spaces.\n if (typeof space === 'number') {\n for (i = 0; i < space; i += 1) {\n indent += ' ';\n }\n }\n // If the space parameter is a string, it will be used as the indent string.\n else if (typeof space === 'string') {\n indent = space;\n }\n\n // If there is a replacer, it must be a function or an array.\n // Otherwise, throw an error.\n rep = replacer;\n if (replacer && typeof replacer !== 'function'\n && (typeof replacer !== 'object' || typeof replacer.length !== 'number')) {\n throw new Error('JSON.stringify');\n }\n \n // Make a fake root object containing our value under the key of ''.\n // Return the result of stringifying the value.\n return str('', {'': value});\n};\n","\"use strict\";\n/*\n * CXBOX-UI\n * Copyright (C) 2018-2021 Cxbox Contributors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nexports.__esModule = true;\nexports.RecordSnapshotState = void 0;\nvar RecordSnapshotState;\n(function (RecordSnapshotState) {\n RecordSnapshotState[\"noChange\"] = \"noChange\";\n RecordSnapshotState[\"new\"] = \"new\";\n RecordSnapshotState[\"deleted\"] = \"deleted\";\n})(RecordSnapshotState = exports.RecordSnapshotState || (exports.RecordSnapshotState = {}));\n","\"use strict\";\n/*\n * CXBOX-UI\n * Copyright (C) 2018-2021 Cxbox Contributors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nexports.__esModule = true;\n","\"use strict\";\n/*\n * CXBOX-UI\n * Copyright (C) 2018-2021 Cxbox Contributors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nexports.__esModule = true;\nexports.OperationTypeCrud = void 0;\n/**\n * TODO: Rename to CoreOperationRole in 2.0.0\n */\nvar OperationTypeCrud;\n(function (OperationTypeCrud) {\n OperationTypeCrud[\"create\"] = \"create\";\n OperationTypeCrud[\"save\"] = \"save\";\n OperationTypeCrud[\"delete\"] = \"delete\";\n OperationTypeCrud[\"associate\"] = \"associate\";\n OperationTypeCrud[\"cancelCreate\"] = \"cancel-create\";\n OperationTypeCrud[\"fileUpload\"] = \"file-upload\";\n})(OperationTypeCrud = exports.OperationTypeCrud || (exports.OperationTypeCrud = {}));\n","\"use strict\";\n/*\n * CXBOX-UI\n * Copyright (C) 2018-2021 Cxbox Contributors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nexports.__esModule = true;\nexports.DrillDownType = void 0;\n/**\n * Types of drilldowns in the application, specified by Cxbox API\n */\nvar DrillDownType;\n(function (DrillDownType) {\n /**\n * Drilldown to inner entity of the application (screen, view), i.e. url will be places after route hash sy: `#/${inner}`\n */\n DrillDownType[\"inner\"] = \"inner\";\n /**\n * Drilldown to an url relative to the current url: `/${relative}`\n */\n DrillDownType[\"relative\"] = \"relative\";\n /**\n * Drilldown to an url relative to the current url: `/${relative}` that opens in a new browser tab\n */\n DrillDownType[\"relativeNew\"] = \"relativeNew\";\n /**\n * An external redirect, i.e. `http://${external}`\n */\n DrillDownType[\"external\"] = \"external\";\n /**\n * An external redirect, i.e. `http://${external}` that opens in a new browser tab\n */\n DrillDownType[\"externalNew\"] = \"externalNew\";\n})(DrillDownType = exports.DrillDownType || (exports.DrillDownType = {}));\n","\"use strict\";\n/*\n * CXBOX-UI\n * Copyright (C) 2018-2021 Cxbox Contributors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nexports.__esModule = true;\nexports.FieldType = exports.PositionTypes = exports.WidgetTypes = void 0;\nvar WidgetTypes;\n(function (WidgetTypes) {\n WidgetTypes[\"Info\"] = \"Info\";\n WidgetTypes[\"Form\"] = \"Form\";\n WidgetTypes[\"List\"] = \"List\";\n WidgetTypes[\"DataGrid\"] = \"DataGrid\";\n WidgetTypes[\"AssocListPopup\"] = \"AssocListPopup\";\n WidgetTypes[\"PickListPopup\"] = \"PickListPopup\";\n WidgetTypes[\"HeaderWidget\"] = \"HeaderWidget\";\n WidgetTypes[\"SecondLevelMenu\"] = \"SecondLevelMenu\";\n WidgetTypes[\"ThirdLevelMenu\"] = \"ThirdLevelMenu\";\n WidgetTypes[\"FourthLevelMenu\"] = \"FourthLevelMenu\";\n WidgetTypes[\"WidgetCreator\"] = \"WidgetCreator\";\n WidgetTypes[\"Pivot\"] = \"Pivot\";\n WidgetTypes[\"DimFilter\"] = \"DimFilter\";\n WidgetTypes[\"Text\"] = \"Text\";\n WidgetTypes[\"FlatTree\"] = \"FlatTree\";\n WidgetTypes[\"FlatTreePopup\"] = \"FlatTreePopup\";\n /**\n * Navigation tabs widget to be excluded from the widget stream\n */\n WidgetTypes[\"ViewNavigation\"] = \"ViewNavigation\";\n /**\n * Navigation tabs widget to be displayed in the widget stream\n */\n WidgetTypes[\"NavigationTabs\"] = \"NavigationTabs\";\n})(WidgetTypes = exports.WidgetTypes || (exports.WidgetTypes = {}));\n/**\n * Description of possible positioning options\n */\nvar PositionTypes;\n(function (PositionTypes) {\n PositionTypes[\"Top\"] = \"Top\";\n PositionTypes[\"Bottom\"] = \"Bottom\";\n PositionTypes[\"TopAndBottom\"] = \"TopAndBottom\";\n})(PositionTypes = exports.PositionTypes || (exports.PositionTypes = {}));\nvar FieldType;\n(function (FieldType) {\n FieldType[\"number\"] = \"number\";\n FieldType[\"input\"] = \"input\";\n FieldType[\"monthYear\"] = \"monthYear\";\n FieldType[\"date\"] = \"date\";\n FieldType[\"dateTime\"] = \"dateTime\";\n FieldType[\"dateTimeWithSeconds\"] = \"dateTimeWithSeconds\";\n FieldType[\"checkbox\"] = \"checkbox\";\n /**\n * @deprecated TODO: project-specific, remove in 2.0.0\n */\n FieldType[\"checkboxSql\"] = \"checkboxSql\";\n /**\n * @deprecated TODO: project-specific, remove in 2.0.0\n */\n FieldType[\"DMN\"] = \"DMN\";\n FieldType[\"pickList\"] = \"pickList\";\n FieldType[\"inlinePickList\"] = \"inline-pickList\";\n FieldType[\"dictionary\"] = \"dictionary\";\n FieldType[\"hidden\"] = \"hidden\";\n FieldType[\"text\"] = \"text\";\n FieldType[\"percent\"] = \"percent\";\n FieldType[\"fileUpload\"] = \"fileUpload\";\n FieldType[\"money\"] = \"money\";\n /**\n * @deprecated TODO: project-specific, remove in 2.0.0\n */\n FieldType[\"comboCondition\"] = \"combo-condition\";\n FieldType[\"richText\"] = \"richText\";\n FieldType[\"printForm\"] = \"printForm\";\n FieldType[\"multifield\"] = \"multifield\";\n FieldType[\"multivalue\"] = \"multivalue\";\n FieldType[\"multivalueHover\"] = \"multivalueHover\";\n FieldType[\"hint\"] = \"hint\";\n FieldType[\"radio\"] = \"radio\";\n})(FieldType = exports.FieldType || (exports.FieldType = {}));\n"],"sourceRoot":""}
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./node_modules/@cxbox-ui/schema/dist/index.js","webpack:///(webpack)/buildin/module.js","webpack:///./src/interfaces/view.ts","webpack:///./node_modules/@cxbox-ui/schema/dist/generator.js","webpack:///./node_modules/json-stable-stringify/index.js","webpack:///./node_modules/jsonify/index.js","webpack:///./node_modules/jsonify/lib/parse.js","webpack:///./node_modules/jsonify/lib/stringify.js","webpack:///./node_modules/@cxbox-ui/schema/dist/interfaces/data.js","webpack:///./node_modules/@cxbox-ui/schema/dist/interfaces/navigation.js","webpack:///./node_modules/@cxbox-ui/schema/dist/interfaces/operations.js","webpack:///./node_modules/@cxbox-ui/schema/dist/interfaces/router.js","webpack:///./node_modules/@cxbox-ui/schema/dist/interfaces/widget.js"],"names":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","__createBinding","this","k","k2","undefined","__exportStar","run","generator_1","webpackPolyfill","deprecate","paths","children","PendingValidationFailsFormat","ApplicationErrorType","path_1","fs_1","stringify","TJS","schemas","existsSync","mkdirSync","program","getProgramFromFiles","map","item","join","__dirname","strictNullChecks","generator","buildGenerator","required","forEach","definition","getSchemaForSymbol","writeFile","src","space","stringifyJson","err","Error","message","window","json","JSON","obj","opts","cmp","Array","f","cycles","replacer","node","a","b","aobj","bobj","seen","parent","level","indent","colonSeparator","toJSON","isArray","out","length","push","indexOf","TypeError","keys","objectKeys","sort","keyValue","splice","x","toString","has","parse","at","ch","text","escapee","error","next","charAt","number","string","isFinite","hex","uffff","parseInt","String","fromCharCode","white","array","word","source","reviver","result","walk","holder","v","gap","rep","escapable","meta","quote","lastIndex","test","replace","charCodeAt","slice","str","partial","mind","apply","RecordSnapshotState","OperationTypeCrud","DrillDownType","FieldType","PositionTypes","WidgetTypes"],"mappings":"6DACE,IAAIA,EAAmB,GAGvB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GAAUC,QAGnC,IAAIC,EAASJ,EAAiBE,GAAY,CACzCG,EAAGH,EACHI,GAAG,EACHH,QAAS,IAUV,OANAI,EAAQL,GAAUM,KAAKJ,EAAOD,QAASC,EAAQA,EAAOD,QAASF,GAG/DG,EAAOE,GAAI,EAGJF,EAAOD,QA0Df,OArDAF,EAAoBQ,EAAIF,EAGxBN,EAAoBS,EAAIV,EAGxBC,EAAoBU,EAAI,SAASR,EAASS,EAAMC,GAC3CZ,EAAoBa,EAAEX,EAASS,IAClCG,OAAOC,eAAeb,EAASS,EAAM,CAAEK,YAAY,EAAMC,IAAKL,KAKhEZ,EAAoBkB,EAAI,SAAShB,GACX,oBAAXiB,QAA0BA,OAAOC,aAC1CN,OAAOC,eAAeb,EAASiB,OAAOC,YAAa,CAAEC,MAAO,WAE7DP,OAAOC,eAAeb,EAAS,aAAc,CAAEmB,OAAO,KAQvDrB,EAAoBsB,EAAI,SAASD,EAAOE,GAEvC,GADU,EAAPA,IAAUF,EAAQrB,EAAoBqB,IAC/B,EAAPE,EAAU,OAAOF,EACpB,GAAW,EAAPE,GAA8B,iBAAVF,GAAsBA,GAASA,EAAMG,WAAY,OAAOH,EAChF,IAAII,EAAKX,OAAOY,OAAO,MAGvB,GAFA1B,EAAoBkB,EAAEO,GACtBX,OAAOC,eAA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CAImBzJ,EAAQyJ,gBAAkBzJ,EAAQyJ,cAAgB,KAErE,SAAWD,GACPA,EAAkB,OAAI,SACtBA,EAAiB,MAAI,QACrBA,EAAqB,UAAI,YACzBA,EAAgB,KAAI,OACpBA,EAAoB,SAAI,WACxBA,EAA+B,oBAAI,sBACnCA,EAAoB,SAAI,WAIxBA,EAAuB,YAAI,cAI3BA,EAAe,IAAI,MACnBA,EAAoB,SAAI,WACxBA,EAA0B,eAAI,kBAC9BA,EAAsB,WAAI,aAC1BA,EAAkB,OAAI,SACtBA,EAAgB,KAAI,OACpBA,EAAmB,QAAI,UACvBA,EAAsB,WAAI,aAC1BA,EAAiB,MAAI,QAIrBA,EAA0B,eAAI,kBAC9BA,EAAoB,SAAI,WACxBA,EAAqB,UAAI,YACzBA,EAAsB,WAAI,aAC1BA,EAAsB,WAAI,aAC1BA,EAA2B,gBAAI,kBAC/BA,EAAgB,KAAI,OACpBA,EAAiB,MAAI,QAlCzB,CAmCexJ,EAAQwJ,YAAcxJ,EAAQwJ,UAAY","file":"interfaces/view.js","sourcesContent":[" \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 \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\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.l = 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// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 7);\n","\"use strict\";\n/*\n * CXBOX-UI\n * Copyright (C) 2018-2020 Cxbox Contributors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nexports.__esModule = true;\nexports.run = void 0;\nvar generator_1 = require(\"./generator\");\n__createBinding(exports, generator_1, \"run\");\n__exportStar(require(\"./interfaces/data\"), exports);\n__exportStar(require(\"./interfaces/navigation\"), exports);\n__exportStar(require(\"./interfaces/operations\"), exports);\n__exportStar(require(\"./interfaces/router\"), exports);\n__exportStar(require(\"./interfaces/widget\"), exports);\n","module.exports = function(module) {\n\tif (!module.webpackPolyfill) {\n\t\tmodule.deprecate = function() {};\n\t\tmodule.paths = [];\n\t\t// module.parent = undefined by default\n\t\tif (!module.children) module.children = [];\n\t\tObject.defineProperty(module, \"loaded\", {\n\t\t\tenumerable: true,\n\t\t\tget: function() {\n\t\t\t\treturn module.l;\n\t\t\t}\n\t\t});\n\t\tObject.defineProperty(module, \"id\", {\n\t\t\tenumerable: true,\n\t\t\tget: function() {\n\t\t\t\treturn module.i;\n\t\t\t}\n\t\t});\n\t\tmodule.webpackPolyfill = 1;\n\t}\n\treturn module;\n};\n","import { WidgetMeta } from '../interfaces/widget'\nimport { RowMeta } from '../interfaces/rowMeta'\nimport { PendingDataItem, PickMap } from '../interfaces/data'\nimport { SystemNotification } from './objectMap'\nimport { OperationTypeCrud, OperationPostInvokeConfirm } from './operation'\nimport { AxiosError } from 'axios'\nexport { FieldType } from '@cxbox-ui/schema'\n\nexport interface ViewSelectedCell {\n widgetName: string\n rowId: string\n fieldKey: string\n}\n\nexport interface PendingValidationFails {\n [bcName: string]: {\n [cursor: string]: Record<string, string>\n }\n}\n\n/**\n * Describes format of `pendingValidationFails`\n * TODO remove in 2.0.0\n */\nexport enum PendingValidationFailsFormat {\n old = 'old',\n target = 'target'\n}\n\nexport interface ViewState extends ViewMetaResponse {\n rowMeta: {\n [bcName: string]: {\n [bcUrl: string]: RowMeta\n }\n }\n pendingDataChanges: {\n [bcName: string]: {\n [cursor: string]: PendingDataItem\n }\n }\n handledForceActive: {\n [bcName: string]: {\n [cursor: string]: PendingDataItem\n }\n }\n metaInProgress: {\n [bcName: string]: boolean\n }\n popupData?: PopupData\n infiniteWidgets?: string[]\n pickMap?: PickMap\n selectedCell?: ViewSelectedCell\n systemNotifications?: SystemNotification[]\n error?: ApplicationError\n /**\n * For backward compatibility\n *\n * `old` describes `pendingValidationFails` as `Record<string, string>`\n * `target` describes `pendingValidationFails` as `PendingValidationFails`\n */\n pendingValidationFailsFormat?: PendingValidationFailsFormat.old | PendingValidationFailsFormat.target // TODO remove in 2.0.0\n // TODO 2.0.0: should be `pendingValidationFails?: PendingValidationFails`\n pendingValidationFails?: Record<string, string> | PendingValidationFails\n modalInvoke?: {\n operation: {\n bcName: string\n operationType: OperationTypeCrud | string\n widgetName: string\n }\n confirmOperation: OperationPostInvokeConfirm\n }\n}\n\n/**\n * View description returned by Cxbox API\n */\nexport interface ViewMetaResponse {\n /**\n * @deprecated Deprecated in favor of `name`\n */\n id?: number\n /**\n * Name of the view as specified in *.view.json file\n */\n name: string\n /**\n * Displayed title\n */\n title?: string\n /**\n * Specifies which layout template to use for the view\n *\n *Not used in Cxbox UI Core, but can used by client application\n */\n template?: string\n /**\n * @deprecated Used for dynamic view layouts (configurable from user side), which are no longer implemented\n */\n customizable?: boolean\n /**\n * @deprecated Not used\n */\n editable?: boolean\n /**\n * Url for the view (usually in form of `${screen.name}/${view.name}`)\n */\n url: string\n /**\n * Widgets present on the view\n */\n widgets: WidgetMeta[]\n /**\n * @deprecated Used for dynamic view layouts (configurable from user side), which are no longer implemented\n */\n columns?: number | null\n /**\n * @deprecated Used for dynamic view layouts (configurable from user side), which are no longer implemented\n */\n rowHeight?: number | null\n /**\n * Not used in Cxbox UI Core, but can be used by client application\n */\n readOnly?: boolean\n /**\n * Not used in Cxbox UI Core\n *\n * TODO: Need description\n */\n ignoreHistory?: boolean\n}\n\nexport type PopupType = 'assoc' | 'file-upload' | null\n\n/**\n * Describes currently open popup\n *\n * TODO: Split interface by popup types\n */\nexport interface PopupData {\n /**\n * Business component of the widget that initiated popup\n *\n * TODO: Will me removed in favor of widgetName in 2.0.0\n */\n calleeBCName?: string\n /**\n * Name of the widget that initiated popup\n */\n calleeWidgetName?: string\n /**\n * Type of the popup\n *\n * TODO: Will not be optional in 2.0.0\n */\n type?: PopupType\n /**\n * Business component for widget in Popup\n *\n * TODO: Move to inherited interfaces (not all popups display widgets)\n */\n bcName?: string\n /**\n * Name of popup widget\n *\n * TODO: Move to inherited interfaces (not all popups display widgets)\n */\n widgetName?: string\n /**\n * TODO: Description + move to AssocPopupDescriptor\n */\n associateFieldKey?: string\n /**\n * TODO: Description + move to AssocPopupDescriptor\n */\n assocValueKey?: string\n /**\n * If true popup confirm button will send selected items to Cxbox API\n *\n * TODO: Move to AssocPopupDescriptor\n */\n active?: boolean\n /**\n * This popup is used as a filter\n *\n * TODO: Used only by assocs so probably move to AssocPopupDescriptor\n */\n isFilter?: boolean\n}\n\nexport type ApplicationError = BusinessError | SystemError | ApplicationErrorBase\n\nexport enum ApplicationErrorType {\n BusinessError,\n SystemError,\n NetworkError\n}\n\nexport interface ApplicationErrorBase {\n type: ApplicationErrorType\n code?: number\n}\n\nexport interface BusinessError extends ApplicationErrorBase {\n type: ApplicationErrorType.BusinessError\n message: string\n}\n\nexport interface SystemError extends ApplicationErrorBase {\n type: ApplicationErrorType.SystemError\n error?: AxiosError\n details: string\n}\n\nexport interface NetworkError extends ApplicationErrorBase {\n type: ApplicationErrorType.NetworkError\n}\n","\"use strict\";\n/*\n * CXBOX-UI\n * Copyright (C) 2018-2021 Cxbox Contributors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nexports.__esModule = true;\nexports.run = void 0;\nvar path_1 = require(\"path\");\nvar fs_1 = require(\"fs\");\nvar stringify = require(\"json-stable-stringify\");\nvar TJS = require(\"typescript-json-schema\");\nfunction run() {\n var settings = {\n required: true\n };\n var compilerOptions = {\n strictNullChecks: true\n };\n var schemas = ['ScreenMeta', 'ViewMeta', 'WidgetMeta', 'SqlBc'];\n if (!fs_1.existsSync('schemas')) {\n fs_1.mkdirSync('schemas');\n }\n var program = TJS.getProgramFromFiles(schemas.map(function (item) { return path_1.join(__dirname, '../', \"src/files/\" + item + \".ts\"); }), compilerOptions);\n var generator = TJS.buildGenerator(program, settings);\n write(schemas);\n function write(src) {\n src.forEach(function (item) {\n var definition = generator.getSchemaForSymbol(item + \"Json\");\n fs_1.writeFile(\"schemas/\" + item + \".json\", stringifyJson(definition), function (err) {\n if (err) {\n throw new Error('Unable to write output file: ' + err.message);\n }\n });\n });\n }\n}\nexports.run = run;\nfunction stringifyJson(src) {\n return stringify(src, { space: 4 }) + '\\n\\n';\n}\nif (typeof window === 'undefined' && require.main === module) {\n run();\n}\n","var json = typeof JSON !== 'undefined' ? JSON : require('jsonify');\n\nmodule.exports = function (obj, opts) {\n if (!opts) opts = {};\n if (typeof opts === 'function') opts = { cmp: opts };\n var space = opts.space || '';\n if (typeof space === 'number') space = Array(space+1).join(' ');\n var cycles = (typeof opts.cycles === 'boolean') ? opts.cycles : false;\n var replacer = opts.replacer || function(key, value) { return value; };\n\n var cmp = opts.cmp && (function (f) {\n return function (node) {\n return function (a, b) {\n var aobj = { key: a, value: node[a] };\n var bobj = { key: b, value: node[b] };\n return f(aobj, bobj);\n };\n };\n })(opts.cmp);\n\n var seen = [];\n return (function stringify (parent, key, node, level) {\n var indent = space ? ('\\n' + new Array(level + 1).join(space)) : '';\n var colonSeparator = space ? ': ' : ':';\n\n if (node && node.toJSON && typeof node.toJSON === 'function') {\n node = node.toJSON();\n }\n\n node = replacer.call(parent, key, node);\n\n if (node === undefined) {\n return;\n }\n if (typeof node !== 'object' || node === null) {\n return json.stringify(node);\n }\n if (isArray(node)) {\n var out = [];\n for (var i = 0; i < node.length; i++) {\n var item = stringify(node, i, node[i], level+1) || json.stringify(null);\n out.push(indent + space + item);\n }\n return '[' + out.join(',') + indent + ']';\n }\n else {\n if (seen.indexOf(node) !== -1) {\n if (cycles) return json.stringify('__cycle__');\n throw new TypeError('Converting circular structure to JSON');\n }\n else seen.push(node);\n\n var keys = objectKeys(node).sort(cmp && cmp(node));\n var out = [];\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n var value = stringify(node, key, node[key], level+1);\n\n if(!value) continue;\n\n var keyValue = json.stringify(key)\n + colonSeparator\n + value;\n ;\n out.push(indent + space + keyValue);\n }\n seen.splice(seen.indexOf(node), 1);\n return '{' + out.join(',') + indent + '}';\n }\n })({ '': obj }, '', obj, 0);\n};\n\nvar isArray = Array.isArray || function (x) {\n return {}.toString.call(x) === '[object Array]';\n};\n\nvar objectKeys = Object.keys || function (obj) {\n var has = Object.prototype.hasOwnProperty || function () { return true };\n var keys = [];\n for (var key in obj) {\n if (has.call(obj, key)) keys.push(key);\n }\n return keys;\n};\n","exports.parse = require('./lib/parse');\nexports.stringify = require('./lib/stringify');\n","var at, // The index of the current character\n ch, // The current character\n escapee = {\n '\"': '\"',\n '\\\\': '\\\\',\n '/': '/',\n b: '\\b',\n f: '\\f',\n n: '\\n',\n r: '\\r',\n t: '\\t'\n },\n text,\n\n error = function (m) {\n // Call error when something is wrong.\n throw {\n name: 'SyntaxError',\n message: m,\n at: at,\n text: text\n };\n },\n \n next = function (c) {\n // If a c parameter is provided, verify that it matches the current character.\n if (c && c !== ch) {\n error(\"Expected '\" + c + \"' instead of '\" + ch + \"'\");\n }\n \n // Get the next character. When there are no more characters,\n // return the empty string.\n \n ch = text.charAt(at);\n at += 1;\n return ch;\n },\n \n number = function () {\n // Parse a number value.\n var number,\n string = '';\n \n if (ch === '-') {\n string = '-';\n next('-');\n }\n while (ch >= '0' && ch <= '9') {\n string += ch;\n next();\n }\n if (ch === '.') {\n string += '.';\n while (next() && ch >= '0' && ch <= '9') {\n string += ch;\n }\n }\n if (ch === 'e' || ch === 'E') {\n string += ch;\n next();\n if (ch === '-' || ch === '+') {\n string += ch;\n next();\n }\n while (ch >= '0' && ch <= '9') {\n string += ch;\n next();\n }\n }\n number = +string;\n if (!isFinite(number)) {\n error(\"Bad number\");\n } else {\n return number;\n }\n },\n \n string = function () {\n // Parse a string value.\n var hex,\n i,\n string = '',\n uffff;\n \n // When parsing for string values, we must look for \" and \\ characters.\n if (ch === '\"') {\n while (next()) {\n if (ch === '\"') {\n next();\n return string;\n } else if (ch === '\\\\') {\n next();\n if (ch === 'u') {\n uffff = 0;\n for (i = 0; i < 4; i += 1) {\n hex = parseInt(next(), 16);\n if (!isFinite(hex)) {\n break;\n }\n uffff = uffff * 16 + hex;\n }\n string += String.fromCharCode(uffff);\n } else if (typeof escapee[ch] === 'string') {\n string += escapee[ch];\n } else {\n break;\n }\n } else {\n string += ch;\n }\n }\n }\n error(\"Bad string\");\n },\n\n white = function () {\n\n// Skip whitespace.\n\n while (ch && ch <= ' ') {\n next();\n }\n },\n\n word = function () {\n\n// true, false, or null.\n\n switch (ch) {\n case 't':\n next('t');\n next('r');\n next('u');\n next('e');\n return true;\n case 'f':\n next('f');\n next('a');\n next('l');\n next('s');\n next('e');\n return false;\n case 'n':\n next('n');\n next('u');\n next('l');\n next('l');\n return null;\n }\n error(\"Unexpected '\" + ch + \"'\");\n },\n\n value, // Place holder for the value function.\n\n array = function () {\n\n// Parse an array value.\n\n var array = [];\n\n if (ch === '[') {\n next('[');\n white();\n if (ch === ']') {\n next(']');\n return array; // empty array\n }\n while (ch) {\n array.push(value());\n white();\n if (ch === ']') {\n next(']');\n return array;\n }\n next(',');\n white();\n }\n }\n error(\"Bad array\");\n },\n\n object = function () {\n\n// Parse an object value.\n\n var key,\n object = {};\n\n if (ch === '{') {\n next('{');\n white();\n if (ch === '}') {\n next('}');\n return object; // empty object\n }\n while (ch) {\n key = string();\n white();\n next(':');\n if (Object.hasOwnProperty.call(object, key)) {\n error('Duplicate key \"' + key + '\"');\n }\n object[key] = value();\n white();\n if (ch === '}') {\n next('}');\n return object;\n }\n next(',');\n white();\n }\n }\n error(\"Bad object\");\n };\n\nvalue = function () {\n\n// Parse a JSON value. It could be an object, an array, a string, a number,\n// or a word.\n\n white();\n switch (ch) {\n case '{':\n return object();\n case '[':\n return array();\n case '\"':\n return string();\n case '-':\n return number();\n default:\n return ch >= '0' && ch <= '9' ? number() : word();\n }\n};\n\n// Return the json_parse function. It will have access to all of the above\n// functions and variables.\n\nmodule.exports = function (source, reviver) {\n var result;\n \n text = source;\n at = 0;\n ch = ' ';\n result = value();\n white();\n if (ch) {\n error(\"Syntax error\");\n }\n\n // If there is a reviver function, we recursively walk the new structure,\n // passing each name/value pair to the reviver function for possible\n // transformation, starting with a temporary root object that holds the result\n // in an empty key. If there is not a reviver function, we simply return the\n // result.\n\n return typeof reviver === 'function' ? (function walk(holder, key) {\n var k, v, value = holder[key];\n if (value && typeof value === 'object') {\n for (k in value) {\n if (Object.prototype.hasOwnProperty.call(value, k)) {\n v = walk(value, k);\n if (v !== undefined) {\n value[k] = v;\n } else {\n delete value[k];\n }\n }\n }\n }\n return reviver.call(holder, key, value);\n }({'': result}, '')) : result;\n};\n","var cx = /[\\u0000\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]/g,\n escapable = /[\\\\\\\"\\x00-\\x1f\\x7f-\\x9f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]/g,\n gap,\n indent,\n meta = { // table of character substitutions\n '\\b': '\\\\b',\n '\\t': '\\\\t',\n '\\n': '\\\\n',\n '\\f': '\\\\f',\n '\\r': '\\\\r',\n '\"' : '\\\\\"',\n '\\\\': '\\\\\\\\'\n },\n rep;\n\nfunction quote(string) {\n // If the string contains no control characters, no quote characters, and no\n // backslash characters, then we can safely slap some quotes around it.\n // Otherwise we must also replace the offending characters with safe escape\n // sequences.\n \n escapable.lastIndex = 0;\n return escapable.test(string) ? '\"' + string.replace(escapable, function (a) {\n var c = meta[a];\n return typeof c === 'string' ? c :\n '\\\\u' + ('0000' + a.charCodeAt(0).toString(16)).slice(-4);\n }) + '\"' : '\"' + string + '\"';\n}\n\nfunction str(key, holder) {\n // Produce a string from holder[key].\n var i, // The loop counter.\n k, // The member key.\n v, // The member value.\n length,\n mind = gap,\n partial,\n value = holder[key];\n \n // If the value has a toJSON method, call it to obtain a replacement value.\n if (value && typeof value === 'object' &&\n typeof value.toJSON === 'function') {\n value = value.toJSON(key);\n }\n \n // If we were called with a replacer function, then call the replacer to\n // obtain a replacement value.\n if (typeof rep === 'function') {\n value = rep.call(holder, key, value);\n }\n \n // What happens next depends on the value's type.\n switch (typeof value) {\n case 'string':\n return quote(value);\n \n case 'number':\n // JSON numbers must be finite. Encode non-finite numbers as null.\n return isFinite(value) ? String(value) : 'null';\n \n case 'boolean':\n case 'null':\n // If the value is a boolean or null, convert it to a string. Note:\n // typeof null does not produce 'null'. The case is included here in\n // the remote chance that this gets fixed someday.\n return String(value);\n \n case 'object':\n if (!value) return 'null';\n gap += indent;\n partial = [];\n \n // Array.isArray\n if (Object.prototype.toString.apply(value) === '[object Array]') {\n length = value.length;\n for (i = 0; i < length; i += 1) {\n partial[i] = str(i, value) || 'null';\n }\n \n // Join all of the elements together, separated with commas, and\n // wrap them in brackets.\n v = partial.length === 0 ? '[]' : gap ?\n '[\\n' + gap + partial.join(',\\n' + gap) + '\\n' + mind + ']' :\n '[' + partial.join(',') + ']';\n gap = mind;\n return v;\n }\n \n // If the replacer is an array, use it to select the members to be\n // stringified.\n if (rep && typeof rep === 'object') {\n length = rep.length;\n for (i = 0; i < length; i += 1) {\n k = rep[i];\n if (typeof k === 'string') {\n v = str(k, value);\n if (v) {\n partial.push(quote(k) + (gap ? ': ' : ':') + v);\n }\n }\n }\n }\n else {\n // Otherwise, iterate through all of the keys in the object.\n for (k in value) {\n if (Object.prototype.hasOwnProperty.call(value, k)) {\n v = str(k, value);\n if (v) {\n partial.push(quote(k) + (gap ? ': ' : ':') + v);\n }\n }\n }\n }\n \n // Join all of the member texts together, separated with commas,\n // and wrap them in braces.\n\n v = partial.length === 0 ? '{}' : gap ?\n '{\\n' + gap + partial.join(',\\n' + gap) + '\\n' + mind + '}' :\n '{' + partial.join(',') + '}';\n gap = mind;\n return v;\n }\n}\n\nmodule.exports = function (value, replacer, space) {\n var i;\n gap = '';\n indent = '';\n \n // If the space parameter is a number, make an indent string containing that\n // many spaces.\n if (typeof space === 'number') {\n for (i = 0; i < space; i += 1) {\n indent += ' ';\n }\n }\n // If the space parameter is a string, it will be used as the indent string.\n else if (typeof space === 'string') {\n indent = space;\n }\n\n // If there is a replacer, it must be a function or an array.\n // Otherwise, throw an error.\n rep = replacer;\n if (replacer && typeof replacer !== 'function'\n && (typeof replacer !== 'object' || typeof replacer.length !== 'number')) {\n throw new Error('JSON.stringify');\n }\n \n // Make a fake root object containing our value under the key of ''.\n // Return the result of stringifying the value.\n return str('', {'': value});\n};\n","\"use strict\";\n/*\n * CXBOX-UI\n * Copyright (C) 2018-2021 Cxbox Contributors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nexports.__esModule = true;\nexports.RecordSnapshotState = void 0;\nvar RecordSnapshotState;\n(function (RecordSnapshotState) {\n RecordSnapshotState[\"noChange\"] = \"noChange\";\n RecordSnapshotState[\"new\"] = \"new\";\n RecordSnapshotState[\"deleted\"] = \"deleted\";\n})(RecordSnapshotState = exports.RecordSnapshotState || (exports.RecordSnapshotState = {}));\n","\"use strict\";\n/*\n * CXBOX-UI\n * Copyright (C) 2018-2021 Cxbox Contributors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nexports.__esModule = true;\n","\"use strict\";\n/*\n * CXBOX-UI\n * Copyright (C) 2018-2021 Cxbox Contributors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nexports.__esModule = true;\nexports.OperationTypeCrud = void 0;\n/**\n * TODO: Rename to CoreOperationRole in 2.0.0\n */\nvar OperationTypeCrud;\n(function (OperationTypeCrud) {\n OperationTypeCrud[\"create\"] = \"create\";\n OperationTypeCrud[\"save\"] = \"save\";\n OperationTypeCrud[\"delete\"] = \"delete\";\n OperationTypeCrud[\"associate\"] = \"associate\";\n OperationTypeCrud[\"cancelCreate\"] = \"cancel-create\";\n OperationTypeCrud[\"fileUpload\"] = \"file-upload\";\n})(OperationTypeCrud = exports.OperationTypeCrud || (exports.OperationTypeCrud = {}));\n","\"use strict\";\n/*\n * CXBOX-UI\n * Copyright (C) 2018-2021 Cxbox Contributors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nexports.__esModule = true;\nexports.DrillDownType = void 0;\n/**\n * Types of drilldowns in the application, specified by Cxbox API\n */\nvar DrillDownType;\n(function (DrillDownType) {\n /**\n * Drilldown to inner entity of the application (screen, view), i.e. url will be places after route hash sy: `#/${inner}`\n */\n DrillDownType[\"inner\"] = \"inner\";\n /**\n * Drilldown to an url relative to the current url: `/${relative}`\n */\n DrillDownType[\"relative\"] = \"relative\";\n /**\n * Drilldown to an url relative to the current url: `/${relative}` that opens in a new browser tab\n */\n DrillDownType[\"relativeNew\"] = \"relativeNew\";\n /**\n * An external redirect, i.e. `http://${external}`\n */\n DrillDownType[\"external\"] = \"external\";\n /**\n * An external redirect, i.e. `http://${external}` that opens in a new browser tab\n */\n DrillDownType[\"externalNew\"] = \"externalNew\";\n})(DrillDownType = exports.DrillDownType || (exports.DrillDownType = {}));\n","\"use strict\";\n/*\n * CXBOX-UI\n * Copyright (C) 2018-2021 Cxbox Contributors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nexports.__esModule = true;\nexports.FieldType = exports.PositionTypes = exports.WidgetTypes = void 0;\nvar WidgetTypes;\n(function (WidgetTypes) {\n WidgetTypes[\"Info\"] = \"Info\";\n WidgetTypes[\"Form\"] = \"Form\";\n WidgetTypes[\"List\"] = \"List\";\n WidgetTypes[\"DataGrid\"] = \"DataGrid\";\n WidgetTypes[\"AssocListPopup\"] = \"AssocListPopup\";\n WidgetTypes[\"PickListPopup\"] = \"PickListPopup\";\n WidgetTypes[\"HeaderWidget\"] = \"HeaderWidget\";\n WidgetTypes[\"SecondLevelMenu\"] = \"SecondLevelMenu\";\n WidgetTypes[\"ThirdLevelMenu\"] = \"ThirdLevelMenu\";\n WidgetTypes[\"FourthLevelMenu\"] = \"FourthLevelMenu\";\n WidgetTypes[\"WidgetCreator\"] = \"WidgetCreator\";\n WidgetTypes[\"Pivot\"] = \"Pivot\";\n WidgetTypes[\"DimFilter\"] = \"DimFilter\";\n WidgetTypes[\"Text\"] = \"Text\";\n WidgetTypes[\"FlatTree\"] = \"FlatTree\";\n WidgetTypes[\"FlatTreePopup\"] = \"FlatTreePopup\";\n /**\n * Navigation tabs widget to be excluded from the widget stream\n */\n WidgetTypes[\"ViewNavigation\"] = \"ViewNavigation\";\n /**\n * Navigation tabs widget to be displayed in the widget stream\n */\n WidgetTypes[\"NavigationTabs\"] = \"NavigationTabs\";\n})(WidgetTypes = exports.WidgetTypes || (exports.WidgetTypes = {}));\n/**\n * Description of possible positioning options\n */\nvar PositionTypes;\n(function (PositionTypes) {\n PositionTypes[\"Top\"] = \"Top\";\n PositionTypes[\"Bottom\"] = \"Bottom\";\n PositionTypes[\"TopAndBottom\"] = \"TopAndBottom\";\n})(PositionTypes = exports.PositionTypes || (exports.PositionTypes = {}));\nvar FieldType;\n(function (FieldType) {\n FieldType[\"number\"] = \"number\";\n FieldType[\"input\"] = \"input\";\n FieldType[\"monthYear\"] = \"monthYear\";\n FieldType[\"date\"] = \"date\";\n FieldType[\"dateTime\"] = \"dateTime\";\n FieldType[\"dateTimeWithSeconds\"] = \"dateTimeWithSeconds\";\n FieldType[\"checkbox\"] = \"checkbox\";\n /**\n * @deprecated TODO: project-specific, remove in 2.0.0\n */\n FieldType[\"checkboxSql\"] = \"checkboxSql\";\n /**\n * @deprecated TODO: project-specific, remove in 2.0.0\n */\n FieldType[\"DMN\"] = \"DMN\";\n FieldType[\"pickList\"] = \"pickList\";\n FieldType[\"inlinePickList\"] = \"inline-pickList\";\n FieldType[\"dictionary\"] = \"dictionary\";\n FieldType[\"hidden\"] = \"hidden\";\n FieldType[\"text\"] = \"text\";\n FieldType[\"percent\"] = \"percent\";\n FieldType[\"fileUpload\"] = \"fileUpload\";\n FieldType[\"money\"] = \"money\";\n /**\n * @deprecated TODO: project-specific, remove in 2.0.0\n */\n FieldType[\"comboCondition\"] = \"combo-condition\";\n FieldType[\"richText\"] = \"richText\";\n FieldType[\"printForm\"] = \"printForm\";\n FieldType[\"multifield\"] = \"multifield\";\n FieldType[\"multivalue\"] = \"multivalue\";\n FieldType[\"multivalueHover\"] = \"multivalueHover\";\n FieldType[\"hint\"] = \"hint\";\n FieldType[\"radio\"] = \"radio\";\n})(FieldType = exports.FieldType || (exports.FieldType = {}));\n"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./node_modules/@cxbox-ui/schema/dist/index.js","webpack:///(webpack)/buildin/module.js","webpack:///./src/interfaces/view.ts","webpack:///./node_modules/@cxbox-ui/schema/dist/generator.js","webpack:///./node_modules/json-stable-stringify/index.js","webpack:///./node_modules/jsonify/index.js","webpack:///./node_modules/jsonify/lib/parse.js","webpack:///./node_modules/jsonify/lib/stringify.js","webpack:///./node_modules/@cxbox-ui/schema/dist/interfaces/data.js","webpack:///./node_modules/@cxbox-ui/schema/dist/interfaces/navigation.js","webpack:///./node_modules/@cxbox-ui/schema/dist/interfaces/operations.js","webpack:///./node_modules/@cxbox-ui/schema/dist/interfaces/router.js","webpack:///./node_modules/@cxbox-ui/schema/dist/interfaces/widget.js"],"names":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","__createBinding","this","k","k2","undefined","__exportStar","run","generator_1","webpackPolyfill","deprecate","paths","children","PendingValidationFailsFormat","ApplicationErrorType","path_1","fs_1","stringify","TJS","schemas","existsSync","mkdirSync","program","getProgramFromFiles","map","item","join","__dirname","strictNullChecks","generator","buildGenerator","required","forEach","definition","getSchemaForSymbol","writeFile","src","space","stringifyJson","err","Error","message","window","json","JSON","obj","opts","cmp","Array","f","cycles","replacer","node","a","b","aobj","bobj","seen","parent","level","indent","colonSeparator","toJSON","isArray","out","length","push","indexOf","TypeError","keys","objectKeys","sort","keyValue","splice","x","toString","has","parse","at","ch","text","escapee","error","next","charAt","number","string","isFinite","hex","uffff","parseInt","String","fromCharCode","white","array","word","source","reviver","result","walk","holder","v","gap","rep","escapable","meta","quote","lastIndex","test","replace","charCodeAt","slice","str","partial","mind","apply","RecordSnapshotState","OperationTypeCrud","DrillDownType","FieldType","PositionTypes","WidgetTypes"],"mappings":"6DACE,IAAIA,EAAmB,GAGvB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GAAUC,QAGnC,IAAIC,EAASJ,EAAiBE,GAAY,CACzCG,EAAGH,EACHI,GAAG,EACHH,QAAS,IAUV,OANAI,EAAQL,GAAUM,KAAKJ,EAAOD,QAASC,EAAQA,EAAOD,QAASF,GAG/DG,EAAOE,GAAI,EAGJF,EAAOD,QA0Df,OArDAF,EAAoBQ,EAAIF,EAGxBN,EAAoBS,EAAIV,EAGxBC,EAAoBU,EAAI,SA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{};\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 \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\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.l = 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// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 7);\n","\"use strict\";\n/*\n * CXBOX-UI\n * Copyright (C) 2018-2020 Cxbox Contributors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nexports.__esModule = true;\nexports.run = void 0;\nvar generator_1 = require(\"./generator\");\n__createBinding(exports, generator_1, \"run\");\n__exportStar(require(\"./interfaces/data\"), exports);\n__exportStar(require(\"./interfaces/navigation\"), exports);\n__exportStar(require(\"./interfaces/operations\"), exports);\n__exportStar(require(\"./interfaces/router\"), exports);\n__exportStar(require(\"./interfaces/widget\"), exports);\n","module.exports = function(module) {\n\tif (!module.webpackPolyfill) {\n\t\tmodule.deprecate = function() {};\n\t\tmodule.paths = [];\n\t\t// module.parent = undefined by default\n\t\tif (!module.children) module.children = [];\n\t\tObject.defineProperty(module, \"loaded\", {\n\t\t\tenumerable: true,\n\t\t\tget: function() {\n\t\t\t\treturn module.l;\n\t\t\t}\n\t\t});\n\t\tObject.defineProperty(module, \"id\", {\n\t\t\tenumerable: true,\n\t\t\tget: function() {\n\t\t\t\treturn module.i;\n\t\t\t}\n\t\t});\n\t\tmodule.webpackPolyfill = 1;\n\t}\n\treturn module;\n};\n","/*\n * © OOO \"SI IKS LAB\", 2022-2023\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { WidgetMeta } from '../interfaces/widget'\nimport { RowMeta } from '../interfaces/rowMeta'\nimport { PendingDataItem, PickMap } from '../interfaces/data'\nimport { SystemNotification } from './objectMap'\nimport { OperationTypeCrud, OperationPostInvokeConfirm } from './operation'\nimport { AxiosError } from 'axios'\nexport { FieldType } from '@cxbox-ui/schema'\n\nexport interface ViewSelectedCell {\n widgetName: string\n rowId: string\n fieldKey: string\n}\n\nexport interface PendingValidationFails {\n [bcName: string]: {\n [cursor: string]: Record<string, string>\n }\n}\n\n/**\n * Describes format of `pendingValidationFails`\n * TODO remove in 2.0.0\n */\nexport enum PendingValidationFailsFormat {\n old = 'old',\n target = 'target'\n}\n\nexport interface ViewState extends ViewMetaResponse {\n rowMeta: {\n [bcName: string]: {\n [bcUrl: string]: RowMeta\n }\n }\n pendingDataChanges: {\n [bcName: string]: {\n [cursor: string]: PendingDataItem\n }\n }\n handledForceActive: {\n [bcName: string]: {\n [cursor: string]: PendingDataItem\n }\n }\n metaInProgress: {\n [bcName: string]: boolean\n }\n popupData?: PopupData\n infiniteWidgets?: string[]\n pickMap?: PickMap\n selectedCell?: ViewSelectedCell\n systemNotifications?: SystemNotification[]\n error?: ApplicationError\n /**\n * For backward compatibility\n *\n * `old` describes `pendingValidationFails` as `Record<string, string>`\n * `target` describes `pendingValidationFails` as `PendingValidationFails`\n */\n pendingValidationFailsFormat?: PendingValidationFailsFormat.old | PendingValidationFailsFormat.target // TODO remove in 2.0.0\n // TODO 2.0.0: should be `pendingValidationFails?: PendingValidationFails`\n pendingValidationFails?: Record<string, string> | PendingValidationFails\n modalInvoke?: {\n operation: {\n bcName: string\n operationType: OperationTypeCrud | string\n widgetName: string\n }\n confirmOperation: OperationPostInvokeConfirm\n }\n}\n\n/**\n * View description returned by Cxbox API\n */\nexport interface ViewMetaResponse {\n /**\n * @deprecated Deprecated in favor of `name`\n */\n id?: number\n /**\n * Name of the view as specified in *.view.json file\n */\n name: string\n /**\n * Displayed title\n */\n title?: string\n /**\n * Specifies which layout template to use for the view\n *\n *Not used in Cxbox UI Core, but can used by client application\n */\n template?: string\n /**\n * @deprecated Used for dynamic view layouts (configurable from user side), which are no longer implemented\n */\n customizable?: boolean\n /**\n * @deprecated Not used\n */\n editable?: boolean\n /**\n * Url for the view (usually in form of `${screen.name}/${view.name}`)\n */\n url: string\n /**\n * Widgets present on the view\n */\n widgets: WidgetMeta[]\n /**\n * @deprecated Used for dynamic view layouts (configurable from user side), which are no longer implemented\n */\n columns?: number | null\n /**\n * @deprecated Used for dynamic view layouts (configurable from user side), which are no longer implemented\n */\n rowHeight?: number | null\n /**\n * Not used in Cxbox UI Core, but can be used by client application\n */\n readOnly?: boolean\n /**\n * Not used in Cxbox UI Core\n *\n * TODO: Need description\n */\n ignoreHistory?: boolean\n}\n\nexport type PopupType = 'assoc' | 'file-upload' | null\n\n/**\n * Describes currently open popup\n *\n * TODO: Split interface by popup types\n */\nexport interface PopupData {\n /**\n * Business component of the widget that initiated popup\n *\n * TODO: Will me removed in favor of widgetName in 2.0.0\n */\n calleeBCName?: string\n /**\n * Name of the widget that initiated popup\n */\n calleeWidgetName?: string\n /**\n * Type of the popup\n *\n * TODO: Will not be optional in 2.0.0\n */\n type?: PopupType\n /**\n * Business component for widget in Popup\n *\n * TODO: Move to inherited interfaces (not all popups display widgets)\n */\n bcName?: string\n /**\n * Name of popup widget\n *\n * TODO: Move to inherited interfaces (not all popups display widgets)\n */\n widgetName?: string\n /**\n * TODO: Description + move to AssocPopupDescriptor\n */\n associateFieldKey?: string\n /**\n * TODO: Description + move to AssocPopupDescriptor\n */\n assocValueKey?: string\n /**\n * If true popup confirm button will send selected items to Cxbox API\n *\n * TODO: Move to AssocPopupDescriptor\n */\n active?: boolean\n /**\n * This popup is used as a filter\n *\n * TODO: Used only by assocs so probably move to AssocPopupDescriptor\n */\n isFilter?: boolean\n}\n\nexport type ApplicationError = BusinessError | SystemError | ApplicationErrorBase\n\nexport enum ApplicationErrorType {\n BusinessError,\n SystemError,\n NetworkError\n}\n\nexport interface ApplicationErrorBase {\n type: ApplicationErrorType\n code?: number\n}\n\nexport interface BusinessError extends ApplicationErrorBase {\n type: ApplicationErrorType.BusinessError\n message: string\n}\n\nexport interface SystemError extends ApplicationErrorBase {\n type: ApplicationErrorType.SystemError\n error?: AxiosError\n details: string\n}\n\nexport interface NetworkError extends ApplicationErrorBase {\n type: ApplicationErrorType.NetworkError\n}\n","\"use strict\";\n/*\n * CXBOX-UI\n * Copyright (C) 2018-2021 Cxbox Contributors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nexports.__esModule = true;\nexports.run = void 0;\nvar path_1 = require(\"path\");\nvar fs_1 = require(\"fs\");\nvar stringify = require(\"json-stable-stringify\");\nvar TJS = require(\"typescript-json-schema\");\nfunction run() {\n var settings = {\n required: true\n };\n var compilerOptions = {\n strictNullChecks: true\n };\n var schemas = ['ScreenMeta', 'ViewMeta', 'WidgetMeta', 'SqlBc'];\n if (!fs_1.existsSync('schemas')) {\n fs_1.mkdirSync('schemas');\n }\n var program = TJS.getProgramFromFiles(schemas.map(function (item) { return path_1.join(__dirname, '../', \"src/files/\" + item + \".ts\"); }), compilerOptions);\n var generator = TJS.buildGenerator(program, settings);\n write(schemas);\n function write(src) {\n src.forEach(function (item) {\n var definition = generator.getSchemaForSymbol(item + \"Json\");\n fs_1.writeFile(\"schemas/\" + item + \".json\", stringifyJson(definition), function (err) {\n if (err) {\n throw new Error('Unable to write output file: ' + err.message);\n }\n });\n });\n }\n}\nexports.run = run;\nfunction stringifyJson(src) {\n return stringify(src, { space: 4 }) + '\\n\\n';\n}\nif (typeof window === 'undefined' && require.main === module) {\n run();\n}\n","var json = typeof JSON !== 'undefined' ? JSON : require('jsonify');\n\nmodule.exports = function (obj, opts) {\n if (!opts) opts = {};\n if (typeof opts === 'function') opts = { cmp: opts };\n var space = opts.space || '';\n if (typeof space === 'number') space = Array(space+1).join(' ');\n var cycles = (typeof opts.cycles === 'boolean') ? opts.cycles : false;\n var replacer = opts.replacer || function(key, value) { return value; };\n\n var cmp = opts.cmp && (function (f) {\n return function (node) {\n return function (a, b) {\n var aobj = { key: a, value: node[a] };\n var bobj = { key: b, value: node[b] };\n return f(aobj, bobj);\n };\n };\n })(opts.cmp);\n\n var seen = [];\n return (function stringify (parent, key, node, level) {\n var indent = space ? ('\\n' + new Array(level + 1).join(space)) : '';\n var colonSeparator = space ? ': ' : ':';\n\n if (node && node.toJSON && typeof node.toJSON === 'function') {\n node = node.toJSON();\n }\n\n node = replacer.call(parent, key, node);\n\n if (node === undefined) {\n return;\n }\n if (typeof node !== 'object' || node === null) {\n return json.stringify(node);\n }\n if (isArray(node)) {\n var out = [];\n for (var i = 0; i < node.length; i++) {\n var item = stringify(node, i, node[i], level+1) || json.stringify(null);\n out.push(indent + space + item);\n }\n return '[' + out.join(',') + indent + ']';\n }\n else {\n if (seen.indexOf(node) !== -1) {\n if (cycles) return json.stringify('__cycle__');\n throw new TypeError('Converting circular structure to JSON');\n }\n else seen.push(node);\n\n var keys = objectKeys(node).sort(cmp && cmp(node));\n var out = [];\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n var value = stringify(node, key, node[key], level+1);\n\n if(!value) continue;\n\n var keyValue = json.stringify(key)\n + colonSeparator\n + value;\n ;\n out.push(indent + space + keyValue);\n }\n seen.splice(seen.indexOf(node), 1);\n return '{' + out.join(',') + indent + '}';\n }\n })({ '': obj }, '', obj, 0);\n};\n\nvar isArray = Array.isArray || function (x) {\n return {}.toString.call(x) === '[object Array]';\n};\n\nvar objectKeys = Object.keys || function (obj) {\n var has = Object.prototype.hasOwnProperty || function () { return true };\n var keys = [];\n for (var key in obj) {\n if (has.call(obj, key)) keys.push(key);\n }\n return keys;\n};\n","exports.parse = require('./lib/parse');\nexports.stringify = require('./lib/stringify');\n","var at, // The index of the current character\n ch, // The current character\n escapee = {\n '\"': '\"',\n '\\\\': '\\\\',\n '/': '/',\n b: '\\b',\n f: '\\f',\n n: '\\n',\n r: '\\r',\n t: '\\t'\n },\n text,\n\n error = function (m) {\n // Call error when something is wrong.\n throw {\n name: 'SyntaxError',\n message: m,\n at: at,\n text: text\n };\n },\n \n next = function (c) {\n // If a c parameter is provided, verify that it matches the current character.\n if (c && c !== ch) {\n error(\"Expected '\" + c + \"' instead of '\" + ch + \"'\");\n }\n \n // Get the next character. When there are no more characters,\n // return the empty string.\n \n ch = text.charAt(at);\n at += 1;\n return ch;\n },\n \n number = function () {\n // Parse a number value.\n var number,\n string = '';\n \n if (ch === '-') {\n string = '-';\n next('-');\n }\n while (ch >= '0' && ch <= '9') {\n string += ch;\n next();\n }\n if (ch === '.') {\n string += '.';\n while (next() && ch >= '0' && ch <= '9') {\n string += ch;\n }\n }\n if (ch === 'e' || ch === 'E') {\n string += ch;\n next();\n if (ch === '-' || ch === '+') {\n string += ch;\n next();\n }\n while (ch >= '0' && ch <= '9') {\n string += ch;\n next();\n }\n }\n number = +string;\n if (!isFinite(number)) {\n error(\"Bad number\");\n } else {\n return number;\n }\n },\n \n string = function () {\n // Parse a string value.\n var hex,\n i,\n string = '',\n uffff;\n \n // When parsing for string values, we must look for \" and \\ characters.\n if (ch === '\"') {\n while (next()) {\n if (ch === '\"') {\n next();\n return string;\n } else if (ch === '\\\\') {\n next();\n if (ch === 'u') {\n uffff = 0;\n for (i = 0; i < 4; i += 1) {\n hex = parseInt(next(), 16);\n if (!isFinite(hex)) {\n break;\n }\n uffff = uffff * 16 + hex;\n }\n string += String.fromCharCode(uffff);\n } else if (typeof escapee[ch] === 'string') {\n string += escapee[ch];\n } else {\n break;\n }\n } else {\n string += ch;\n }\n }\n }\n error(\"Bad string\");\n },\n\n white = function () {\n\n// Skip whitespace.\n\n while (ch && ch <= ' ') {\n next();\n }\n },\n\n word = function () {\n\n// true, false, or null.\n\n switch (ch) {\n case 't':\n next('t');\n next('r');\n next('u');\n next('e');\n return true;\n case 'f':\n next('f');\n next('a');\n next('l');\n next('s');\n next('e');\n return false;\n case 'n':\n next('n');\n next('u');\n next('l');\n next('l');\n return null;\n }\n error(\"Unexpected '\" + ch + \"'\");\n },\n\n value, // Place holder for the value function.\n\n array = function () {\n\n// Parse an array value.\n\n var array = [];\n\n if (ch === '[') {\n next('[');\n white();\n if (ch === ']') {\n next(']');\n return array; // empty array\n }\n while (ch) {\n array.push(value());\n white();\n if (ch === ']') {\n next(']');\n return array;\n }\n next(',');\n white();\n }\n }\n error(\"Bad array\");\n },\n\n object = function () {\n\n// Parse an object value.\n\n var key,\n object = {};\n\n if (ch === '{') {\n next('{');\n white();\n if (ch === '}') {\n next('}');\n return object; // empty object\n }\n while (ch) {\n key = string();\n white();\n next(':');\n if (Object.hasOwnProperty.call(object, key)) {\n error('Duplicate key \"' + key + '\"');\n }\n object[key] = value();\n white();\n if (ch === '}') {\n next('}');\n return object;\n }\n next(',');\n white();\n }\n }\n error(\"Bad object\");\n };\n\nvalue = function () {\n\n// Parse a JSON value. It could be an object, an array, a string, a number,\n// or a word.\n\n white();\n switch (ch) {\n case '{':\n return object();\n case '[':\n return array();\n case '\"':\n return string();\n case '-':\n return number();\n default:\n return ch >= '0' && ch <= '9' ? number() : word();\n }\n};\n\n// Return the json_parse function. It will have access to all of the above\n// functions and variables.\n\nmodule.exports = function (source, reviver) {\n var result;\n \n text = source;\n at = 0;\n ch = ' ';\n result = value();\n white();\n if (ch) {\n error(\"Syntax error\");\n }\n\n // If there is a reviver function, we recursively walk the new structure,\n // passing each name/value pair to the reviver function for possible\n // transformation, starting with a temporary root object that holds the result\n // in an empty key. If there is not a reviver function, we simply return the\n // result.\n\n return typeof reviver === 'function' ? (function walk(holder, key) {\n var k, v, value = holder[key];\n if (value && typeof value === 'object') {\n for (k in value) {\n if (Object.prototype.hasOwnProperty.call(value, k)) {\n v = walk(value, k);\n if (v !== undefined) {\n value[k] = v;\n } else {\n delete value[k];\n }\n }\n }\n }\n return reviver.call(holder, key, value);\n }({'': result}, '')) : result;\n};\n","var cx = /[\\u0000\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]/g,\n escapable = /[\\\\\\\"\\x00-\\x1f\\x7f-\\x9f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]/g,\n gap,\n indent,\n meta = { // table of character substitutions\n '\\b': '\\\\b',\n '\\t': '\\\\t',\n '\\n': '\\\\n',\n '\\f': '\\\\f',\n '\\r': '\\\\r',\n '\"' : '\\\\\"',\n '\\\\': '\\\\\\\\'\n },\n rep;\n\nfunction quote(string) {\n // If the string contains no control characters, no quote characters, and no\n // backslash characters, then we can safely slap some quotes around it.\n // Otherwise we must also replace the offending characters with safe escape\n // sequences.\n \n escapable.lastIndex = 0;\n return escapable.test(string) ? '\"' + string.replace(escapable, function (a) {\n var c = meta[a];\n return typeof c === 'string' ? c :\n '\\\\u' + ('0000' + a.charCodeAt(0).toString(16)).slice(-4);\n }) + '\"' : '\"' + string + '\"';\n}\n\nfunction str(key, holder) {\n // Produce a string from holder[key].\n var i, // The loop counter.\n k, // The member key.\n v, // The member value.\n length,\n mind = gap,\n partial,\n value = holder[key];\n \n // If the value has a toJSON method, call it to obtain a replacement value.\n if (value && typeof value === 'object' &&\n typeof value.toJSON === 'function') {\n value = value.toJSON(key);\n }\n \n // If we were called with a replacer function, then call the replacer to\n // obtain a replacement value.\n if (typeof rep === 'function') {\n value = rep.call(holder, key, value);\n }\n \n // What happens next depends on the value's type.\n switch (typeof value) {\n case 'string':\n return quote(value);\n \n case 'number':\n // JSON numbers must be finite. Encode non-finite numbers as null.\n return isFinite(value) ? String(value) : 'null';\n \n case 'boolean':\n case 'null':\n // If the value is a boolean or null, convert it to a string. Note:\n // typeof null does not produce 'null'. The case is included here in\n // the remote chance that this gets fixed someday.\n return String(value);\n \n case 'object':\n if (!value) return 'null';\n gap += indent;\n partial = [];\n \n // Array.isArray\n if (Object.prototype.toString.apply(value) === '[object Array]') {\n length = value.length;\n for (i = 0; i < length; i += 1) {\n partial[i] = str(i, value) || 'null';\n }\n \n // Join all of the elements together, separated with commas, and\n // wrap them in brackets.\n v = partial.length === 0 ? '[]' : gap ?\n '[\\n' + gap + partial.join(',\\n' + gap) + '\\n' + mind + ']' :\n '[' + partial.join(',') + ']';\n gap = mind;\n return v;\n }\n \n // If the replacer is an array, use it to select the members to be\n // stringified.\n if (rep && typeof rep === 'object') {\n length = rep.length;\n for (i = 0; i < length; i += 1) {\n k = rep[i];\n if (typeof k === 'string') {\n v = str(k, value);\n if (v) {\n partial.push(quote(k) + (gap ? ': ' : ':') + v);\n }\n }\n }\n }\n else {\n // Otherwise, iterate through all of the keys in the object.\n for (k in value) {\n if (Object.prototype.hasOwnProperty.call(value, k)) {\n v = str(k, value);\n if (v) {\n partial.push(quote(k) + (gap ? ': ' : ':') + v);\n }\n }\n }\n }\n \n // Join all of the member texts together, separated with commas,\n // and wrap them in braces.\n\n v = partial.length === 0 ? '{}' : gap ?\n '{\\n' + gap + partial.join(',\\n' + gap) + '\\n' + mind + '}' :\n '{' + partial.join(',') + '}';\n gap = mind;\n return v;\n }\n}\n\nmodule.exports = function (value, replacer, space) {\n var i;\n gap = '';\n indent = '';\n \n // If the space parameter is a number, make an indent string containing that\n // many spaces.\n if (typeof space === 'number') {\n for (i = 0; i < space; i += 1) {\n indent += ' ';\n }\n }\n // If the space parameter is a string, it will be used as the indent string.\n else if (typeof space === 'string') {\n indent = space;\n }\n\n // If there is a replacer, it must be a function or an array.\n // Otherwise, throw an error.\n rep = replacer;\n if (replacer && typeof replacer !== 'function'\n && (typeof replacer !== 'object' || typeof replacer.length !== 'number')) {\n throw new Error('JSON.stringify');\n }\n \n // Make a fake root object containing our value under the key of ''.\n // Return the result of stringifying the value.\n return str('', {'': value});\n};\n","\"use strict\";\n/*\n * CXBOX-UI\n * Copyright (C) 2018-2021 Cxbox Contributors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nexports.__esModule = true;\nexports.RecordSnapshotState = void 0;\nvar RecordSnapshotState;\n(function (RecordSnapshotState) {\n RecordSnapshotState[\"noChange\"] = \"noChange\";\n RecordSnapshotState[\"new\"] = \"new\";\n RecordSnapshotState[\"deleted\"] = \"deleted\";\n})(RecordSnapshotState = exports.RecordSnapshotState || (exports.RecordSnapshotState = {}));\n","\"use strict\";\n/*\n * CXBOX-UI\n * Copyright (C) 2018-2021 Cxbox Contributors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nexports.__esModule = true;\n","\"use strict\";\n/*\n * CXBOX-UI\n * Copyright (C) 2018-2021 Cxbox Contributors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nexports.__esModule = true;\nexports.OperationTypeCrud = void 0;\n/**\n * TODO: Rename to CoreOperationRole in 2.0.0\n */\nvar OperationTypeCrud;\n(function (OperationTypeCrud) {\n OperationTypeCrud[\"create\"] = \"create\";\n OperationTypeCrud[\"save\"] = \"save\";\n OperationTypeCrud[\"delete\"] = \"delete\";\n OperationTypeCrud[\"associate\"] = \"associate\";\n OperationTypeCrud[\"cancelCreate\"] = \"cancel-create\";\n OperationTypeCrud[\"fileUpload\"] = \"file-upload\";\n})(OperationTypeCrud = exports.OperationTypeCrud || (exports.OperationTypeCrud = {}));\n","\"use strict\";\n/*\n * CXBOX-UI\n * Copyright (C) 2018-2021 Cxbox Contributors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nexports.__esModule = true;\nexports.DrillDownType = void 0;\n/**\n * Types of drilldowns in the application, specified by Cxbox API\n */\nvar DrillDownType;\n(function (DrillDownType) {\n /**\n * Drilldown to inner entity of the application (screen, view), i.e. url will be places after route hash sy: `#/${inner}`\n */\n DrillDownType[\"inner\"] = \"inner\";\n /**\n * Drilldown to an url relative to the current url: `/${relative}`\n */\n DrillDownType[\"relative\"] = \"relative\";\n /**\n * Drilldown to an url relative to the current url: `/${relative}` that opens in a new browser tab\n */\n DrillDownType[\"relativeNew\"] = \"relativeNew\";\n /**\n * An external redirect, i.e. `http://${external}`\n */\n DrillDownType[\"external\"] = \"external\";\n /**\n * An external redirect, i.e. `http://${external}` that opens in a new browser tab\n */\n DrillDownType[\"externalNew\"] = \"externalNew\";\n})(DrillDownType = exports.DrillDownType || (exports.DrillDownType = {}));\n","\"use strict\";\n/*\n * CXBOX-UI\n * Copyright (C) 2018-2021 Cxbox Contributors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nexports.__esModule = true;\nexports.FieldType = exports.PositionTypes = exports.WidgetTypes = void 0;\nvar WidgetTypes;\n(function (WidgetTypes) {\n WidgetTypes[\"Info\"] = \"Info\";\n WidgetTypes[\"Form\"] = \"Form\";\n WidgetTypes[\"List\"] = \"List\";\n WidgetTypes[\"DataGrid\"] = \"DataGrid\";\n WidgetTypes[\"AssocListPopup\"] = \"AssocListPopup\";\n WidgetTypes[\"PickListPopup\"] = \"PickListPopup\";\n WidgetTypes[\"HeaderWidget\"] = \"HeaderWidget\";\n WidgetTypes[\"SecondLevelMenu\"] = \"SecondLevelMenu\";\n WidgetTypes[\"ThirdLevelMenu\"] = \"ThirdLevelMenu\";\n WidgetTypes[\"FourthLevelMenu\"] = \"FourthLevelMenu\";\n WidgetTypes[\"WidgetCreator\"] = \"WidgetCreator\";\n WidgetTypes[\"Pivot\"] = \"Pivot\";\n WidgetTypes[\"DimFilter\"] = \"DimFilter\";\n WidgetTypes[\"Text\"] = \"Text\";\n WidgetTypes[\"FlatTree\"] = \"FlatTree\";\n WidgetTypes[\"FlatTreePopup\"] = \"FlatTreePopup\";\n /**\n * Navigation tabs widget to be excluded from the widget stream\n */\n WidgetTypes[\"ViewNavigation\"] = \"ViewNavigation\";\n /**\n * Navigation tabs widget to be displayed in the widget stream\n */\n WidgetTypes[\"NavigationTabs\"] = \"NavigationTabs\";\n})(WidgetTypes = exports.WidgetTypes || (exports.WidgetTypes = {}));\n/**\n * Description of possible positioning options\n */\nvar PositionTypes;\n(function (PositionTypes) {\n PositionTypes[\"Top\"] = \"Top\";\n PositionTypes[\"Bottom\"] = \"Bottom\";\n PositionTypes[\"TopAndBottom\"] = \"TopAndBottom\";\n})(PositionTypes = exports.PositionTypes || (exports.PositionTypes = {}));\nvar FieldType;\n(function (FieldType) {\n FieldType[\"number\"] = \"number\";\n FieldType[\"input\"] = \"input\";\n FieldType[\"monthYear\"] = \"monthYear\";\n FieldType[\"date\"] = \"date\";\n FieldType[\"dateTime\"] = \"dateTime\";\n FieldType[\"dateTimeWithSeconds\"] = \"dateTimeWithSeconds\";\n FieldType[\"checkbox\"] = \"checkbox\";\n /**\n * @deprecated TODO: project-specific, remove in 2.0.0\n */\n FieldType[\"checkboxSql\"] = \"checkboxSql\";\n /**\n * @deprecated TODO: project-specific, remove in 2.0.0\n */\n FieldType[\"DMN\"] = \"DMN\";\n FieldType[\"pickList\"] = \"pickList\";\n FieldType[\"inlinePickList\"] = \"inline-pickList\";\n FieldType[\"dictionary\"] = \"dictionary\";\n FieldType[\"hidden\"] = \"hidden\";\n FieldType[\"text\"] = \"text\";\n FieldType[\"percent\"] = \"percent\";\n FieldType[\"fileUpload\"] = \"fileUpload\";\n FieldType[\"money\"] = \"money\";\n /**\n * @deprecated TODO: project-specific, remove in 2.0.0\n */\n FieldType[\"comboCondition\"] = \"combo-condition\";\n FieldType[\"richText\"] = \"richText\";\n FieldType[\"printForm\"] = \"printForm\";\n FieldType[\"multifield\"] = \"multifield\";\n FieldType[\"multivalue\"] = \"multivalue\";\n FieldType[\"multivalueHover\"] = \"multivalueHover\";\n FieldType[\"hint\"] = \"hint\";\n FieldType[\"radio\"] = \"radio\";\n})(FieldType = exports.FieldType || (exports.FieldType = {}));\n"],"sourceRoot":""}