2016-05-25 01:54:56 +08:00
|
|
|
{"version":3,"sources":["./dist/jsoneditor.js"],"names":["root","factory","exports","module","define","amd","this","modules","__webpack_require__","moduleId","installedModules","id","loaded","call","m","c","p","JSONEditor","container","options","json","Error","ieVersion","util","getInternetExplorerVersion","error","console","warn","onError","change","onChange","editable","onEditable","VALID_OPTIONS","Object","keys","forEach","option","indexOf","arguments","length","_create","Ajv","err","treemode","textmode","modes","prototype","DEBOUNCE_INTERVAL","mode","setMode","destroy","set","get","setText","jsonText","parse","getText","JSON","stringify","setName","name","getName","data","extend","oldMode","config","asText","clear","mixin","create","load","onModeChange","_onError","getMode","setSchema","schema","ajv","allErrors","verbose","validateSchema","compile","validate","refresh","registerMode","i","prop","isArray","reserved","SCHEMA_URI_FORMAT_FUNC","str","SCHEMA_URI_FORMAT","test","opts","schemaKeyRef","v","getSchema","schemaObj","_addSchema","_compile","valid","async","self","_opts","co","errors","addSchema","key","_skipValidation","_meta","Array","undefined","resolve","normalizeId","checkUnique","_schemas","meta","addMetaSchema","skipValidation","throwOrLogError","$schema","defaultMeta","currentUriFormat","_formats","uri","message","errorsText","v5","META_SCHEMA_ID","keyRef","_getSchemaObj","_refs","removeSchema","_removeAllSchemas","_cache","del","jsonStr","RegExp","stableStringify","schemas","regex","shouldAddSchema","cached","addUsedSchema","localRefs","ids","SchemaObject","put","callValidate","_validate","result","apply","compiling","$async","currentOpts","_metaOpts","compileSchema","refs","refVal","separator","dataVar","text","e","dataPath","slice","addFormat","format","addInitialSchemas","metaSchema","optsSchemas","addInitialFormats","formats","getMetaSchemaOptions","metaOpts","copy","META_IGNORE_OPTIONS","cache","Cache","_loadingSchemas","RULES","rules","loopRequired","Infinity","transpile","setup","beautify","indent_size","errorDataPath","_errorDataPathProperty","enable","compileAsync","addKeyword","ValidationError","baseId","localCompile","_schema","_root","isRoot","sourceCode","validateGenerator","isTop","schemaPath","errSchemaPath","errorPath","resolveRef","usePattern","useDefault","useCustomRule","vars","refValCode","patterns","patternCode","defaults","defaultCode","customRules","customRuleCode","validateCode","_transpileFunc","eval","ref","url","_refVal","refCode","refIndex","resolvedRef","rootRefId","addLocalRef","localSchema","inlineRef","inlineRefs","replaceLocalRef","refId","code","inline","regexStr","index","patternsHash","value","toQuotedString","valueStr","defaultsHash","rule","parentSchema","it","definition","macro","keyword","arr","statement","js_beautify","ucs2length","equal","res","_resolve","refPath","_getFullPath","getFullPath","resolveRecursive","getJsonPointer","parsedRef","resolveUrl","hash","parts","split","part","unescapeFragment","PREVENT_SCOPE_CHANGE","$ref","limit","checkNoRef","countKeys","item","count","SIMPLE_INLINED","normalize","protocol","host","path","replace","TRAILING_SLASH_HASH","resolveIds","_resolveIds","fullPath","escapeFragment","toHash","Url","slashes","auth","port","hostname","search","query","pathname","href","urlParse","parseQueryString","slashesDenoteHost","isObject","u","urlFormat","obj","isString","urlResolve","source","relative","urlResolveObject","resolveObject","arg","isNull","isNullOrUndefined","punycode","protocolPattern","portPattern","delims","unwise","concat","autoEscape","nonHostChars","hostEndingChars","hostnameMaxLen","hostnamePartPattern","hostnamePartStart","unsafeProtocol","javascript","javascript:","hostlessProtocol","slashedProtocol","http","https","ftp","gopher","file","http:","https:","ftp:","gopher:","file:","querystring","TypeError","rest","trim","proto","exec","lowerProto","toLowerCase","substr","match","hostEnd","hec","atSign","lastIndexOf","decodeURIComponent","parseHost","ipv6Hostname","hostparts","l","newpart","j","k","charCodeAt","validParts",
|