mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 06:31:03 +00:00
auto-commit for 419f22ef-909a-4d7d-ab8a-e053a891ce1f
This commit is contained in:
+1
@@ -0,0 +1 @@
|
||||
{"dependencies":[],"output":[{"data":{"code":"__d(function (global, require, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {\n \"use strict\";\n\n Object.defineProperty(exports, '__esModule', {\n value: true\n });\n exports.stringShorten = stringShorten;\n /**\n * @name stringShorten\n * @summary Returns a string with maximum length\n * @description\n * Checks the string against the `prefixLength`, if longer than double this, shortens it by placing `..` in the middle of it\n * @example\n * <BR>\n *\n * ```javascript\n * import { stringShorten } from '@polkadot/util';\n *\n * stringShorten('1234567890', 2); // => 12..90\n * ```\n */\n function stringShorten(value, prefixLength = 6) {\n return value.length <= 2 + 2 * prefixLength ? value.toString() : `${value.substring(0, prefixLength)}…${value.slice(-prefixLength)}`;\n }\n});","lineCount":25,"map":[[7,2,15,0,"exports"],[7,9,15,0],[7,10,15,0,"stringShorten"],[7,23,15,0],[7,26,15,0,"stringShorten"],[7,39,15,0],[8,2,1,0],[9,0,2,0],[10,0,3,0],[11,0,4,0],[12,0,5,0],[13,0,6,0],[14,0,7,0],[15,0,8,0],[16,0,9,0],[17,0,10,0],[18,0,11,0],[19,0,12,0],[20,0,13,0],[21,0,14,0],[22,2,15,7],[22,11,15,16,"stringShorten"],[22,24,15,29,"stringShorten"],[22,25,15,30,"value"],[22,30,15,35],[22,32,15,37,"prefixLength"],[22,44,15,49],[22,47,15,52],[22,48,15,53],[22,50,15,55],[23,4,16,4],[23,11,16,11,"value"],[23,16,16,16],[23,17,16,17,"length"],[23,23,16,23],[23,27,16,27],[23,28,16,28],[23,31,16,31],[23,32,16,32],[23,35,16,35,"prefixLength"],[23,47,16,47],[23,50,17,10,"value"],[23,55,17,15],[23,56,17,16,"toString"],[23,64,17,24],[23,65,17,25],[23,66,17,26],[23,69,18,10],[23,72,18,13,"value"],[23,77,18,18],[23,78,18,19,"substring"],[23,87,18,28],[23,88,18,29],[23,89,18,30],[23,91,18,32,"prefixLength"],[23,103,18,44],[23,104,18,45],[23,108,18,49,"value"],[23,113,18,54],[23,114,18,55,"slice"],[23,119,18,60],[23,120,18,61],[23,121,18,62,"prefixLength"],[23,133,18,74],[23,134,18,75],[23,136,18,77],[24,2,19,0],[25,0,19,1],[25,3]],"functionMap":{"names":["<global>","stringShorten"],"mappings":"AAA;OCc;CDI"},"hasCjsExports":false},"type":"js/module"}]}
|
||||
+1
File diff suppressed because one or more lines are too long
+1
@@ -0,0 +1 @@
|
||||
{"dependencies":[{"name":"../util/not","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":34,"index":34}}],"key":"Ys/5FyJ3yshGRQPnZ3JNj6q9byM=","exportNames":["*"],"imports":1}},{"name":"../operators/filter","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":2,"column":0,"index":35},"end":{"line":2,"column":45,"index":80}}],"key":"wQ9Wt/EN50/2empK27kEVqolEFw=","exportNames":["*"],"imports":1}},{"name":"./innerFrom","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":3,"column":0,"index":81},"end":{"line":3,"column":40,"index":121}}],"key":"GD504xZ5zFsHIT0gjoPad6Smhns=","exportNames":["*"],"imports":1}}],"output":[{"data":{"code":"__d(function (global, require, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {\n \"use strict\";\n\n Object.defineProperty(exports, '__esModule', {\n value: true\n });\n exports.partition = partition;\n var _utilNot = require(_dependencyMap[0], \"../util/not\");\n var _operatorsFilter = require(_dependencyMap[1], \"../operators/filter\");\n var _innerFrom = require(_dependencyMap[2], \"./innerFrom\");\n function partition(source, predicate, thisArg) {\n return [(0, _operatorsFilter.filter)(predicate, thisArg)((0, _innerFrom.innerFrom)(source)), (0, _operatorsFilter.filter)((0, _utilNot.not)(predicate, thisArg))((0, _innerFrom.innerFrom)(source))];\n }\n});","lineCount":14,"map":[[7,2,4,0,"exports"],[7,9,4,0],[7,10,4,0,"partition"],[7,19,4,0],[7,22,4,0,"partition"],[7,31,4,0],[8,2,1,0],[8,6,1,0,"_utilNot"],[8,14,1,0],[8,17,1,0,"require"],[8,24,1,0],[8,25,1,0,"_dependencyMap"],[8,39,1,0],[9,2,2,0],[9,6,2,0,"_operatorsFilter"],[9,22,2,0],[9,25,2,0,"require"],[9,32,2,0],[9,33,2,0,"_dependencyMap"],[9,47,2,0],[10,2,3,0],[10,6,3,0,"_innerFrom"],[10,16,3,0],[10,19,3,0,"require"],[10,26,3,0],[10,27,3,0,"_dependencyMap"],[10,41,3,0],[11,2,4,7],[11,11,4,16,"partition"],[11,20,4,25,"partition"],[11,21,4,26,"source"],[11,27,4,32],[11,29,4,34,"predicate"],[11,38,4,43],[11,40,4,45,"thisArg"],[11,47,4,52],[11,49,4,54],[12,4,5,4],[12,11,5,11],[12,12,5,12],[12,16,5,12,"filter"],[12,32,5,18],[12,33,5,18,"filter"],[12,39,5,18],[12,41,5,19,"predicate"],[12,50,5,28],[12,52,5,30,"thisArg"],[12,59,5,37],[12,60,5,38],[12,61,5,39],[12,65,5,39,"innerFrom"],[12,75,5,48],[12,76,5,48,"innerFrom"],[12,85,5,48],[12,87,5,49,"source"],[12,93,5,55],[12,94,5,56],[12,95,5,57],[12,97,5,59],[12,101,5,59,"filter"],[12,117,5,65],[12,118,5,65,"filter"],[12,124,5,65],[12,126,5,66],[12,130,5,66,"not"],[12,138,5,69],[12,139,5,69,"not"],[12,142,5,69],[12,144,5,70,"predicate"],[12,153,5,79],[12,155,5,81,"thisArg"],[12,162,5,88],[12,163,5,89],[12,164,5,90],[12,165,5,91],[12,169,5,91,"innerFrom"],[12,179,5,100],[12,180,5,100,"innerFrom"],[12,189,5,100],[12,191,5,101,"source"],[12,197,5,107],[12,198,5,108],[12,199,5,109],[12,200,5,110],[13,2,6,0],[14,0,6,1],[14,3]],"functionMap":{"names":["<global>","partition"],"mappings":"AAA;OCG;CDE"},"hasCjsExports":false},"type":"js/module"}]}
|
||||
+1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user