@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/widget.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","PaginationMode","TableLikeWidgetTypes","List","DataGrid","AssocListPopup","PickListPopup","FlatTree","FlatTreePopup","PopupWidgetTypes","isCustomWidget","descriptor","isCustomWidgetConfiguration","isWidgetFieldBlock","item","webpackPolyfill","deprecate","paths","children","path_1","fs_1","stringify","TJS","schemas","existsSync","mkdirSync","program","getProgramFromFiles","map","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,EAA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K,YAAc,KAK/D,SAAWD,GACPA,EAAmB,IAAI,MACvBA,EAAsB,OAAI,SAC1BA,EAA4B,aAAI,eAHpC,CAImBpK,EAAQoK,gBAAkBpK,EAAQoK,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,CAmCenK,EAAQmK,YAAcnK,EAAQmK,UAAY","file":"interfaces/widget.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 = 17);\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","import { WidgetShowCondition, WidgetTypes, WidgetOptions, WidgetFormField, WidgetListField, WidgetInfoField } from '@cxbox-ui/schema'\nimport { ComponentType } from 'react'\nexport {\n WidgetShowCondition,\n WidgetTypes,\n WidgetOptions,\n LayoutRow,\n LayoutCol,\n WidgetOperations,\n TableOperations,\n PositionTypes,\n WidgetTableHierarchy,\n WidgetFieldBase,\n WidgetListFieldBase,\n WidgetFormFieldBase,\n AllWidgetTypeFieldBase,\n NumberFieldMeta,\n DateFieldMeta,\n CheckboxFieldMeta,\n DateTimeFieldMeta,\n DateTimeWithSecondsFieldMeta,\n DictionaryFieldMeta,\n TextFieldMeta,\n InputFieldMeta,\n MultiFieldMeta,\n MultivalueFieldMeta,\n PickListFieldMeta,\n InlinePickListFieldMeta,\n FileUploadFieldMeta,\n WidgetFormField,\n WidgetListField,\n HiddenFieldMeta,\n RadioButtonFieldMeta,\n WidgetField,\n WidgetInfoField\n} from '@cxbox-ui/schema'\n\n/**\n * Different widget types that are considered `tables` in nature for purposes of applying some shared features.\n * For example, autofocus on missing required field should work for tables but not forms.\n *\n * TODO: Make extension point\n *\n * @category Components\n */\nexport const TableLikeWidgetTypes = [\n WidgetTypes.List,\n WidgetTypes.DataGrid,\n WidgetTypes.AssocListPopup,\n WidgetTypes.PickListPopup,\n WidgetTypes.FlatTree,\n WidgetTypes.FlatTreePopup\n] as const\n\n/**\n * Widgets that are considered `popups` and usually excluded from widgets layout grid\n */\nexport const PopupWidgetTypes: string[] = [WidgetTypes.PickListPopup, WidgetTypes.AssocListPopup, WidgetTypes.FlatTreePopup]\n\n/**\n * All widget types that display table-like data\n */\ntype TableLikeWidgetType = typeof TableLikeWidgetTypes[number]\n\nexport interface WidgetInfoOptions {\n fieldBorderBottom?: boolean\n footer?: string\n}\n\nexport interface WidgetMeta {\n name: string\n type: WidgetTypes | string // TODO: Как учитывать типы клиентских виджетов кроме string?\n title: string // отображаемое название,\n bcName: string\n /**\n * Business components ancestors hierarchy\n *\n * TODO: Will be mandatory (but nullable) in 2.0.0\n *\n * It is declared in `WidgetDTO` of Cxbox API, can be null for widgets without\n * business component (headers, navigation tabs, etc.)\n */\n url?: string | null\n position: number\n limit?: number\n gridWidth: number // 1-24\n fields: unknown[]\n options?: WidgetOptions\n showCondition?: WidgetShowCondition\n description?: string // description for documentation\n}\n\n/**\n * Description of the list of fields of block type.\n *\n * @deprecated Used to create a block grouping of fields\n */\nexport interface WidgetFieldBlock<T> {\n /**\n * Block ID\n */\n blockId: number\n /**\n * Name of the block\n */\n name: string\n /**\n * Fields contained in the block\n */\n fields: T[]\n /**\n * @deprecated TODO: Remove in 2.0.0, used to denote a new row in old layout system for forms\n */\n newRow?: boolean\n /**\n * @deprecated TODO: Remove in 2.0.0, used to ...\n */\n break?: boolean\n}\n\nexport type WidgetFieldsOrBlocks<T> = Array<T | WidgetFieldBlock<T>>\n\n/**\n * Configuration for widgets dislaying form data\n */\nexport interface WidgetFormMeta extends WidgetMeta {\n /**\n * Unambiguous marker for JSON file specifing widget type\n */\n type: WidgetTypes.Form\n /**\n * Descriptor for fields or block of fields on the form\n */\n fields: WidgetFieldsOrBlocks<WidgetFormField>\n}\n\n/**\n * Configuration for widgets displaying table-like data\n */\nexport interface WidgetTableMeta extends WidgetMeta {\n /**\n * Unambiguous marker for JSON file specifing widget type\n */\n type: TableLikeWidgetType\n /**\n * Descriptor for table columns\n */\n fields: WidgetListField[]\n}\n\n/**\n * Configuration for widgets displaying read-only table data\n */\nexport interface WidgetInfoMeta extends WidgetMeta {\n /**\n * Unambiguous marker for JSON file specifying widget type\n */\n type: WidgetTypes.Info\n /**\n * Descriptor for fields or block of fields on the form\n */\n fields: WidgetFieldsOrBlocks<WidgetInfoField>\n /**\n * Options for customizing widget\n */\n options?: WidgetOptions & WidgetInfoOptions\n}\n\n/**\n * Configuration for widgets displaying markdown text\n */\nexport interface WidgetTextMeta extends WidgetMeta {\n /**\n * Unambiguous marker for JSON file specifying widget type\n */\n type: WidgetTypes.Text\n /**\n * Text to display\n */\n description: string\n /**\n * Title text\n */\n descriptionTitle: string\n}\n\n/**\n * Options configuration for widgets displaying NavigationTabs\n */\nexport interface NavigationOptions extends WidgetOptions {\n /**\n * Level of menu\n */\n navigationLevel?: number\n}\n\n/**\n * Configuration for widgets displaying NavigationTabs\n */\nexport interface NavigationWidgetMeta extends WidgetMeta {\n /**\n * Unambiguous marker for JSON file specifying widget type\n */\n type: WidgetTypes.NavigationTabs | WidgetTypes.ViewNavigation\n /**\n * Options for customizing widget\n */\n options: NavigationOptions\n}\n\n/**\n * A widget configuration of any known type\n */\nexport type WidgetMetaAny = WidgetFormMeta | WidgetTableMeta | WidgetTextMeta | WidgetInfoMeta | NavigationWidgetMeta\n\n/**\n * Component of custom widget\n *\n * @deprecated TODO: Remove in 2.0.0\n */\nexport type CustomWidget = ComponentType<any>\n\n/**\n * Configuration of custom widget\n */\nexport interface CustomWidgetConfiguration {\n /**\n * Whether widget is popup\n */\n isPopup?: boolean\n /**\n * Component of custom widget\n */\n component: ComponentType<any>\n /**\n * Card of widget\n */\n card?: ComponentType<any> | null\n}\n\nexport type CustomWidgetDescriptor = CustomWidget | CustomWidgetConfiguration\n/**\n * Check if descriptor is just a widget, or it has additional data\n */\nexport function isCustomWidget(descriptor: CustomWidgetDescriptor): descriptor is CustomWidget {\n return !!descriptor && !('component' in descriptor)\n}\n\n/**\n * Checks whether @param descriptor is an instance of `CustomWidgetConfiguration`\n *\n * @param descriptor custom widget descriptor\n */\nexport function isCustomWidgetConfiguration(descriptor: CustomWidgetDescriptor): descriptor is CustomWidgetConfiguration {\n return descriptor && 'component' in descriptor\n}\n\n/**\n * TODO\n *\n * @param item\n * @category Type Guards\n */\nexport function isWidgetFieldBlock(item: any): item is WidgetFieldBlock<any> {\n return !!item && 'blockId' in item\n}\n\n/**\n * Type of pagination, either page numbers or \"Load More\" button\n */\nexport enum PaginationMode {\n page = 'page',\n loadMore = 'loadMore'\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/widget.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","PaginationMode","TableLikeWidgetTypes","List","DataGrid","AssocListPopup","PickListPopup","FlatTree","FlatTreePopup","PopupWidgetTypes","isCustomWidget","descriptor","isCustomWidgetConfiguration","isWidgetFieldBlock","item","webpackPolyfill","deprecate","paths","children","path_1","fs_1","stringify","TJS","schemas","existsSync","mkdirSync","program","getProgramFromFiles","map","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,IAAK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B,MAAI,QAlCzB,CAmCenK,EAAQmK,YAAcnK,EAAQmK,UAAY","file":"interfaces/widget.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 = 17);\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\nimport { WidgetShowCondition, WidgetTypes, WidgetOptions, WidgetFormField, WidgetListField, WidgetInfoField } from '@cxbox-ui/schema'\nimport { ComponentType } from 'react'\nexport {\n WidgetShowCondition,\n WidgetTypes,\n WidgetOptions,\n LayoutRow,\n LayoutCol,\n WidgetOperations,\n TableOperations,\n PositionTypes,\n WidgetTableHierarchy,\n WidgetFieldBase,\n WidgetListFieldBase,\n WidgetFormFieldBase,\n AllWidgetTypeFieldBase,\n NumberFieldMeta,\n DateFieldMeta,\n CheckboxFieldMeta,\n DateTimeFieldMeta,\n DateTimeWithSecondsFieldMeta,\n DictionaryFieldMeta,\n TextFieldMeta,\n InputFieldMeta,\n MultiFieldMeta,\n MultivalueFieldMeta,\n PickListFieldMeta,\n InlinePickListFieldMeta,\n FileUploadFieldMeta,\n WidgetFormField,\n WidgetListField,\n HiddenFieldMeta,\n RadioButtonFieldMeta,\n WidgetField,\n WidgetInfoField\n} from '@cxbox-ui/schema'\n\n/**\n * Different widget types that are considered `tables` in nature for purposes of applying some shared features.\n * For example, autofocus on missing required field should work for tables but not forms.\n *\n * TODO: Make extension point\n *\n * @category Components\n */\nexport const TableLikeWidgetTypes = [\n WidgetTypes.List,\n WidgetTypes.DataGrid,\n WidgetTypes.AssocListPopup,\n WidgetTypes.PickListPopup,\n WidgetTypes.FlatTree,\n WidgetTypes.FlatTreePopup\n] as const\n\n/**\n * Widgets that are considered `popups` and usually excluded from widgets layout grid\n */\nexport const PopupWidgetTypes: string[] = [WidgetTypes.PickListPopup, WidgetTypes.AssocListPopup, WidgetTypes.FlatTreePopup]\n\n/**\n * All widget types that display table-like data\n */\ntype TableLikeWidgetType = typeof TableLikeWidgetTypes[number]\n\nexport interface WidgetInfoOptions {\n fieldBorderBottom?: boolean\n footer?: string\n}\n\nexport interface WidgetMeta {\n name: string\n type: WidgetTypes | string // TODO: Как учитывать типы клиентских виджетов кроме string?\n title: string // отображаемое название,\n bcName: string\n /**\n * Business components ancestors hierarchy\n *\n * TODO: Will be mandatory (but nullable) in 2.0.0\n *\n * It is declared in `WidgetDTO` of Cxbox API, can be null for widgets without\n * business component (headers, navigation tabs, etc.)\n */\n url?: string | null\n position: number\n limit?: number\n gridWidth: number // 1-24\n fields: unknown[]\n options?: WidgetOptions\n showCondition?: WidgetShowCondition\n description?: string // description for documentation\n}\n\n/**\n * Description of the list of fields of block type.\n *\n * @deprecated Used to create a block grouping of fields\n */\nexport interface WidgetFieldBlock<T> {\n /**\n * Block ID\n */\n blockId: number\n /**\n * Name of the block\n */\n name: string\n /**\n * Fields contained in the block\n */\n fields: T[]\n /**\n * @deprecated TODO: Remove in 2.0.0, used to denote a new row in old layout system for forms\n */\n newRow?: boolean\n /**\n * @deprecated TODO: Remove in 2.0.0, used to ...\n */\n break?: boolean\n}\n\nexport type WidgetFieldsOrBlocks<T> = Array<T | WidgetFieldBlock<T>>\n\n/**\n * Configuration for widgets dislaying form data\n */\nexport interface WidgetFormMeta extends WidgetMeta {\n /**\n * Unambiguous marker for JSON file specifing widget type\n */\n type: WidgetTypes.Form\n /**\n * Descriptor for fields or block of fields on the form\n */\n fields: WidgetFieldsOrBlocks<WidgetFormField>\n}\n\n/**\n * Configuration for widgets displaying table-like data\n */\nexport interface WidgetTableMeta extends WidgetMeta {\n /**\n * Unambiguous marker for JSON file specifing widget type\n */\n type: TableLikeWidgetType\n /**\n * Descriptor for table columns\n */\n fields: WidgetListField[]\n}\n\n/**\n * Configuration for widgets displaying read-only table data\n */\nexport interface WidgetInfoMeta extends WidgetMeta {\n /**\n * Unambiguous marker for JSON file specifying widget type\n */\n type: WidgetTypes.Info\n /**\n * Descriptor for fields or block of fields on the form\n */\n fields: WidgetFieldsOrBlocks<WidgetInfoField>\n /**\n * Options for customizing widget\n */\n options?: WidgetOptions & WidgetInfoOptions\n}\n\n/**\n * Configuration for widgets displaying markdown text\n */\nexport interface WidgetTextMeta extends WidgetMeta {\n /**\n * Unambiguous marker for JSON file specifying widget type\n */\n type: WidgetTypes.Text\n /**\n * Text to display\n */\n description: string\n /**\n * Title text\n */\n descriptionTitle: string\n}\n\n/**\n * Options configuration for widgets displaying NavigationTabs\n */\nexport interface NavigationOptions extends WidgetOptions {\n /**\n * Level of menu\n */\n navigationLevel?: number\n}\n\n/**\n * Configuration for widgets displaying NavigationTabs\n */\nexport interface NavigationWidgetMeta extends WidgetMeta {\n /**\n * Unambiguous marker for JSON file specifying widget type\n */\n type: WidgetTypes.NavigationTabs | WidgetTypes.ViewNavigation\n /**\n * Options for customizing widget\n */\n options: NavigationOptions\n}\n\n/**\n * A widget configuration of any known type\n */\nexport type WidgetMetaAny = WidgetFormMeta | WidgetTableMeta | WidgetTextMeta | WidgetInfoMeta | NavigationWidgetMeta\n\n/**\n * Component of custom widget\n *\n * @deprecated TODO: Remove in 2.0.0\n */\nexport type CustomWidget = ComponentType<any>\n\n/**\n * Configuration of custom widget\n */\nexport interface CustomWidgetConfiguration {\n /**\n * Whether widget is popup\n */\n isPopup?: boolean\n /**\n * Component of custom widget\n */\n component: ComponentType<any>\n /**\n * Card of widget\n */\n card?: ComponentType<any> | null\n}\n\nexport type CustomWidgetDescriptor = CustomWidget | CustomWidgetConfiguration\n/**\n * Check if descriptor is just a widget, or it has additional data\n */\nexport function isCustomWidget(descriptor: CustomWidgetDescriptor): descriptor is CustomWidget {\n return !!descriptor && !('component' in descriptor)\n}\n\n/**\n * Checks whether @param descriptor is an instance of `CustomWidgetConfiguration`\n *\n * @param descriptor custom widget descriptor\n */\nexport function isCustomWidgetConfiguration(descriptor: CustomWidgetDescriptor): descriptor is CustomWidgetConfiguration {\n return descriptor && 'component' in descriptor\n}\n\n/**\n * TODO\n *\n * @param item\n * @category Type Guards\n */\nexport function isWidgetFieldBlock(item: any): item is WidgetFieldBlock<any> {\n return !!item && 'blockId' in item\n}\n\n/**\n * Type of pagination, either page numbers or \"Load More\" button\n */\nexport enum PaginationMode {\n page = 'page',\n loadMore = 'loadMore'\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":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cxbox-ui/core",
3
- "version": "1.34.1",
3
+ "version": "1.34.2",
4
4
  "main": "cxbox-ui-core.js",
5
5
  "exports": {
6
6
  ".": "./cxbox-ui-core.js",
@@ -11,7 +11,7 @@
11
11
  "./interfaces/router": "./interfaces/router.js",
12
12
  "./interfaces/view": "./interfaces/view.js"
13
13
  },
14
- "homepage": "https://cxbox.io/",
14
+ "homepage": "https://cxbox.org/",
15
15
  "types": "index.d.ts",
16
16
  "author": "cxbox",
17
17
  "license": "Apache-2.0",