@egova/egova-api 1.0.31 → 1.0.35
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.
- package/dist/index.common.js +1570 -201
- package/dist/index.css +1 -1
- package/dist/index.umd.js +1570 -201
- package/dist/index.umd.min.js +3 -3
- package/dist/types/src/views/project-detail/after-execution-script/index.d.ts +1 -1
- package/dist/types/src/views/project-detail/index.d.ts +1 -1
- package/dist/types/src/views/project-detail/pre-execution-setting/index.d.ts +5 -2
- package/dist/types/src/views/project-detail/response/index.d.ts +2 -0
- package/dist/types/src/views/project-detail/service.d.ts +2 -0
- package/package.json +2 -2
package/dist/index.common.js
CHANGED
|
@@ -21210,6 +21210,993 @@ module.exports = !fails(function () {
|
|
|
21210
21210
|
});
|
|
21211
21211
|
|
|
21212
21212
|
|
|
21213
|
+
/***/ }),
|
|
21214
|
+
|
|
21215
|
+
/***/ "0f6a":
|
|
21216
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
21217
|
+
|
|
21218
|
+
ace.define("ace/mode/doc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"], function(acequire, exports, module) {
|
|
21219
|
+
"use strict";
|
|
21220
|
+
|
|
21221
|
+
var oop = acequire("../lib/oop");
|
|
21222
|
+
var TextHighlightRules = acequire("./text_highlight_rules").TextHighlightRules;
|
|
21223
|
+
|
|
21224
|
+
var DocCommentHighlightRules = function() {
|
|
21225
|
+
this.$rules = {
|
|
21226
|
+
"start" : [ {
|
|
21227
|
+
token : "comment.doc.tag",
|
|
21228
|
+
regex : "@[\\w\\d_]+" // TODO: fix email addresses
|
|
21229
|
+
},
|
|
21230
|
+
DocCommentHighlightRules.getTagRule(),
|
|
21231
|
+
{
|
|
21232
|
+
defaultToken : "comment.doc",
|
|
21233
|
+
caseInsensitive: true
|
|
21234
|
+
}]
|
|
21235
|
+
};
|
|
21236
|
+
};
|
|
21237
|
+
|
|
21238
|
+
oop.inherits(DocCommentHighlightRules, TextHighlightRules);
|
|
21239
|
+
|
|
21240
|
+
DocCommentHighlightRules.getTagRule = function(start) {
|
|
21241
|
+
return {
|
|
21242
|
+
token : "comment.doc.tag.storage.type",
|
|
21243
|
+
regex : "\\b(?:TODO|FIXME|XXX|HACK)\\b"
|
|
21244
|
+
};
|
|
21245
|
+
};
|
|
21246
|
+
|
|
21247
|
+
DocCommentHighlightRules.getStartRule = function(start) {
|
|
21248
|
+
return {
|
|
21249
|
+
token : "comment.doc", // doc comment
|
|
21250
|
+
regex : "\\/\\*(?=\\*)",
|
|
21251
|
+
next : start
|
|
21252
|
+
};
|
|
21253
|
+
};
|
|
21254
|
+
|
|
21255
|
+
DocCommentHighlightRules.getEndRule = function (start) {
|
|
21256
|
+
return {
|
|
21257
|
+
token : "comment.doc", // closing comment
|
|
21258
|
+
regex : "\\*\\/",
|
|
21259
|
+
next : start
|
|
21260
|
+
};
|
|
21261
|
+
};
|
|
21262
|
+
|
|
21263
|
+
|
|
21264
|
+
exports.DocCommentHighlightRules = DocCommentHighlightRules;
|
|
21265
|
+
|
|
21266
|
+
});
|
|
21267
|
+
|
|
21268
|
+
ace.define("ace/mode/javascript_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/doc_comment_highlight_rules","ace/mode/text_highlight_rules"], function(acequire, exports, module) {
|
|
21269
|
+
"use strict";
|
|
21270
|
+
|
|
21271
|
+
var oop = acequire("../lib/oop");
|
|
21272
|
+
var DocCommentHighlightRules = acequire("./doc_comment_highlight_rules").DocCommentHighlightRules;
|
|
21273
|
+
var TextHighlightRules = acequire("./text_highlight_rules").TextHighlightRules;
|
|
21274
|
+
var identifierRe = "[a-zA-Z\\$_\u00a1-\uffff][a-zA-Z\\d\\$_\u00a1-\uffff]*";
|
|
21275
|
+
|
|
21276
|
+
var JavaScriptHighlightRules = function(options) {
|
|
21277
|
+
var keywordMapper = this.createKeywordMapper({
|
|
21278
|
+
"variable.language":
|
|
21279
|
+
"Array|Boolean|Date|Function|Iterator|Number|Object|RegExp|String|Proxy|" + // Constructors
|
|
21280
|
+
"Namespace|QName|XML|XMLList|" + // E4X
|
|
21281
|
+
"ArrayBuffer|Float32Array|Float64Array|Int16Array|Int32Array|Int8Array|" +
|
|
21282
|
+
"Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray|" +
|
|
21283
|
+
"Error|EvalError|InternalError|RangeError|ReferenceError|StopIteration|" + // Errors
|
|
21284
|
+
"SyntaxError|TypeError|URIError|" +
|
|
21285
|
+
"decodeURI|decodeURIComponent|encodeURI|encodeURIComponent|eval|isFinite|" + // Non-constructor functions
|
|
21286
|
+
"isNaN|parseFloat|parseInt|" +
|
|
21287
|
+
"JSON|Math|" + // Other
|
|
21288
|
+
"this|arguments|prototype|window|document" , // Pseudo
|
|
21289
|
+
"keyword":
|
|
21290
|
+
"const|yield|import|get|set|async|await|" +
|
|
21291
|
+
"break|case|catch|continue|default|delete|do|else|finally|for|function|" +
|
|
21292
|
+
"if|in|of|instanceof|new|return|switch|throw|try|typeof|let|var|while|with|debugger|" +
|
|
21293
|
+
"__parent__|__count__|escape|unescape|with|__proto__|" +
|
|
21294
|
+
"class|enum|extends|super|export|implements|private|public|interface|package|protected|static",
|
|
21295
|
+
"storage.type":
|
|
21296
|
+
"const|let|var|function",
|
|
21297
|
+
"constant.language":
|
|
21298
|
+
"null|Infinity|NaN|undefined",
|
|
21299
|
+
"support.function":
|
|
21300
|
+
"alert",
|
|
21301
|
+
"constant.language.boolean": "true|false"
|
|
21302
|
+
}, "identifier");
|
|
21303
|
+
var kwBeforeRe = "case|do|else|finally|in|instanceof|return|throw|try|typeof|yield|void";
|
|
21304
|
+
|
|
21305
|
+
var escapedRe = "\\\\(?:x[0-9a-fA-F]{2}|" + // hex
|
|
21306
|
+
"u[0-9a-fA-F]{4}|" + // unicode
|
|
21307
|
+
"u{[0-9a-fA-F]{1,6}}|" + // es6 unicode
|
|
21308
|
+
"[0-2][0-7]{0,2}|" + // oct
|
|
21309
|
+
"3[0-7][0-7]?|" + // oct
|
|
21310
|
+
"[4-7][0-7]?|" + //oct
|
|
21311
|
+
".)";
|
|
21312
|
+
|
|
21313
|
+
this.$rules = {
|
|
21314
|
+
"no_regex" : [
|
|
21315
|
+
DocCommentHighlightRules.getStartRule("doc-start"),
|
|
21316
|
+
comments("no_regex"),
|
|
21317
|
+
{
|
|
21318
|
+
token : "string",
|
|
21319
|
+
regex : "'(?=.)",
|
|
21320
|
+
next : "qstring"
|
|
21321
|
+
}, {
|
|
21322
|
+
token : "string",
|
|
21323
|
+
regex : '"(?=.)',
|
|
21324
|
+
next : "qqstring"
|
|
21325
|
+
}, {
|
|
21326
|
+
token : "constant.numeric", // hexadecimal, octal and binary
|
|
21327
|
+
regex : /0(?:[xX][0-9a-fA-F]+|[oO][0-7]+|[bB][01]+)\b/
|
|
21328
|
+
}, {
|
|
21329
|
+
token : "constant.numeric", // decimal integers and floats
|
|
21330
|
+
regex : /(?:\d\d*(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+\b)?/
|
|
21331
|
+
}, {
|
|
21332
|
+
token : [
|
|
21333
|
+
"storage.type", "punctuation.operator", "support.function",
|
|
21334
|
+
"punctuation.operator", "entity.name.function", "text","keyword.operator"
|
|
21335
|
+
],
|
|
21336
|
+
regex : "(" + identifierRe + ")(\\.)(prototype)(\\.)(" + identifierRe +")(\\s*)(=)",
|
|
21337
|
+
next: "function_arguments"
|
|
21338
|
+
}, {
|
|
21339
|
+
token : [
|
|
21340
|
+
"storage.type", "punctuation.operator", "entity.name.function", "text",
|
|
21341
|
+
"keyword.operator", "text", "storage.type", "text", "paren.lparen"
|
|
21342
|
+
],
|
|
21343
|
+
regex : "(" + identifierRe + ")(\\.)(" + identifierRe +")(\\s*)(=)(\\s*)(function)(\\s*)(\\()",
|
|
21344
|
+
next: "function_arguments"
|
|
21345
|
+
}, {
|
|
21346
|
+
token : [
|
|
21347
|
+
"entity.name.function", "text", "keyword.operator", "text", "storage.type",
|
|
21348
|
+
"text", "paren.lparen"
|
|
21349
|
+
],
|
|
21350
|
+
regex : "(" + identifierRe +")(\\s*)(=)(\\s*)(function)(\\s*)(\\()",
|
|
21351
|
+
next: "function_arguments"
|
|
21352
|
+
}, {
|
|
21353
|
+
token : [
|
|
21354
|
+
"storage.type", "punctuation.operator", "entity.name.function", "text",
|
|
21355
|
+
"keyword.operator", "text",
|
|
21356
|
+
"storage.type", "text", "entity.name.function", "text", "paren.lparen"
|
|
21357
|
+
],
|
|
21358
|
+
regex : "(" + identifierRe + ")(\\.)(" + identifierRe +")(\\s*)(=)(\\s*)(function)(\\s+)(\\w+)(\\s*)(\\()",
|
|
21359
|
+
next: "function_arguments"
|
|
21360
|
+
}, {
|
|
21361
|
+
token : [
|
|
21362
|
+
"storage.type", "text", "entity.name.function", "text", "paren.lparen"
|
|
21363
|
+
],
|
|
21364
|
+
regex : "(function)(\\s+)(" + identifierRe + ")(\\s*)(\\()",
|
|
21365
|
+
next: "function_arguments"
|
|
21366
|
+
}, {
|
|
21367
|
+
token : [
|
|
21368
|
+
"entity.name.function", "text", "punctuation.operator",
|
|
21369
|
+
"text", "storage.type", "text", "paren.lparen"
|
|
21370
|
+
],
|
|
21371
|
+
regex : "(" + identifierRe + ")(\\s*)(:)(\\s*)(function)(\\s*)(\\()",
|
|
21372
|
+
next: "function_arguments"
|
|
21373
|
+
}, {
|
|
21374
|
+
token : [
|
|
21375
|
+
"text", "text", "storage.type", "text", "paren.lparen"
|
|
21376
|
+
],
|
|
21377
|
+
regex : "(:)(\\s*)(function)(\\s*)(\\()",
|
|
21378
|
+
next: "function_arguments"
|
|
21379
|
+
}, {
|
|
21380
|
+
token : "keyword",
|
|
21381
|
+
regex : "from(?=\\s*('|\"))"
|
|
21382
|
+
}, {
|
|
21383
|
+
token : "keyword",
|
|
21384
|
+
regex : "(?:" + kwBeforeRe + ")\\b",
|
|
21385
|
+
next : "start"
|
|
21386
|
+
}, {
|
|
21387
|
+
token : ["support.constant"],
|
|
21388
|
+
regex : /that\b/
|
|
21389
|
+
}, {
|
|
21390
|
+
token : ["storage.type", "punctuation.operator", "support.function.firebug"],
|
|
21391
|
+
regex : /(console)(\.)(warn|info|log|error|time|trace|timeEnd|assert)\b/
|
|
21392
|
+
}, {
|
|
21393
|
+
token : keywordMapper,
|
|
21394
|
+
regex : identifierRe
|
|
21395
|
+
}, {
|
|
21396
|
+
token : "punctuation.operator",
|
|
21397
|
+
regex : /[.](?![.])/,
|
|
21398
|
+
next : "property"
|
|
21399
|
+
}, {
|
|
21400
|
+
token : "storage.type",
|
|
21401
|
+
regex : /=>/
|
|
21402
|
+
}, {
|
|
21403
|
+
token : "keyword.operator",
|
|
21404
|
+
regex : /--|\+\+|\.{3}|===|==|=|!=|!==|<+=?|>+=?|!|&&|\|\||\?:|[!$%&*+\-~\/^]=?/,
|
|
21405
|
+
next : "start"
|
|
21406
|
+
}, {
|
|
21407
|
+
token : "punctuation.operator",
|
|
21408
|
+
regex : /[?:,;.]/,
|
|
21409
|
+
next : "start"
|
|
21410
|
+
}, {
|
|
21411
|
+
token : "paren.lparen",
|
|
21412
|
+
regex : /[\[({]/,
|
|
21413
|
+
next : "start"
|
|
21414
|
+
}, {
|
|
21415
|
+
token : "paren.rparen",
|
|
21416
|
+
regex : /[\])}]/
|
|
21417
|
+
}, {
|
|
21418
|
+
token: "comment",
|
|
21419
|
+
regex: /^#!.*$/
|
|
21420
|
+
}
|
|
21421
|
+
],
|
|
21422
|
+
property: [{
|
|
21423
|
+
token : "text",
|
|
21424
|
+
regex : "\\s+"
|
|
21425
|
+
}, {
|
|
21426
|
+
token : [
|
|
21427
|
+
"storage.type", "punctuation.operator", "entity.name.function", "text",
|
|
21428
|
+
"keyword.operator", "text",
|
|
21429
|
+
"storage.type", "text", "entity.name.function", "text", "paren.lparen"
|
|
21430
|
+
],
|
|
21431
|
+
regex : "(" + identifierRe + ")(\\.)(" + identifierRe +")(\\s*)(=)(\\s*)(function)(?:(\\s+)(\\w+))?(\\s*)(\\()",
|
|
21432
|
+
next: "function_arguments"
|
|
21433
|
+
}, {
|
|
21434
|
+
token : "punctuation.operator",
|
|
21435
|
+
regex : /[.](?![.])/
|
|
21436
|
+
}, {
|
|
21437
|
+
token : "support.function",
|
|
21438
|
+
regex : /(s(?:h(?:ift|ow(?:Mod(?:elessDialog|alDialog)|Help))|croll(?:X|By(?:Pages|Lines)?|Y|To)?|t(?:op|rike)|i(?:n|zeToContent|debar|gnText)|ort|u(?:p|b(?:str(?:ing)?)?)|pli(?:ce|t)|e(?:nd|t(?:Re(?:sizable|questHeader)|M(?:i(?:nutes|lliseconds)|onth)|Seconds|Ho(?:tKeys|urs)|Year|Cursor|Time(?:out)?|Interval|ZOptions|Date|UTC(?:M(?:i(?:nutes|lliseconds)|onth)|Seconds|Hours|Date|FullYear)|FullYear|Active)|arch)|qrt|lice|avePreferences|mall)|h(?:ome|andleEvent)|navigate|c(?:har(?:CodeAt|At)|o(?:s|n(?:cat|textual|firm)|mpile)|eil|lear(?:Timeout|Interval)?|a(?:ptureEvents|ll)|reate(?:StyleSheet|Popup|EventObject))|t(?:o(?:GMTString|S(?:tring|ource)|U(?:TCString|pperCase)|Lo(?:caleString|werCase))|est|a(?:n|int(?:Enabled)?))|i(?:s(?:NaN|Finite)|ndexOf|talics)|d(?:isableExternalCapture|ump|etachEvent)|u(?:n(?:shift|taint|escape|watch)|pdateCommands)|j(?:oin|avaEnabled)|p(?:o(?:p|w)|ush|lugins.refresh|a(?:ddings|rse(?:Int|Float)?)|r(?:int|ompt|eference))|e(?:scape|nableExternalCapture|val|lementFromPoint|x(?:p|ec(?:Script|Command)?))|valueOf|UTC|queryCommand(?:State|Indeterm|Enabled|Value)|f(?:i(?:nd|le(?:ModifiedDate|Size|CreatedDate|UpdatedDate)|xed)|o(?:nt(?:size|color)|rward)|loor|romCharCode)|watch|l(?:ink|o(?:ad|g)|astIndexOf)|a(?:sin|nchor|cos|t(?:tachEvent|ob|an(?:2)?)|pply|lert|b(?:s|ort))|r(?:ou(?:nd|teEvents)|e(?:size(?:By|To)|calc|turnValue|place|verse|l(?:oad|ease(?:Capture|Events)))|andom)|g(?:o|et(?:ResponseHeader|M(?:i(?:nutes|lliseconds)|onth)|Se(?:conds|lection)|Hours|Year|Time(?:zoneOffset)?|Da(?:y|te)|UTC(?:M(?:i(?:nutes|lliseconds)|onth)|Seconds|Hours|Da(?:y|te)|FullYear)|FullYear|A(?:ttention|llResponseHeaders)))|m(?:in|ove(?:B(?:y|elow)|To(?:Absolute)?|Above)|ergeAttributes|a(?:tch|rgins|x))|b(?:toa|ig|o(?:ld|rderWidths)|link|ack))\b(?=\()/
|
|
21439
|
+
}, {
|
|
21440
|
+
token : "support.function.dom",
|
|
21441
|
+
regex : /(s(?:ub(?:stringData|mit)|plitText|e(?:t(?:NamedItem|Attribute(?:Node)?)|lect))|has(?:ChildNodes|Feature)|namedItem|c(?:l(?:ick|o(?:se|neNode))|reate(?:C(?:omment|DATASection|aption)|T(?:Head|extNode|Foot)|DocumentFragment|ProcessingInstruction|E(?:ntityReference|lement)|Attribute))|tabIndex|i(?:nsert(?:Row|Before|Cell|Data)|tem)|open|delete(?:Row|C(?:ell|aption)|T(?:Head|Foot)|Data)|focus|write(?:ln)?|a(?:dd|ppend(?:Child|Data))|re(?:set|place(?:Child|Data)|move(?:NamedItem|Child|Attribute(?:Node)?)?)|get(?:NamedItem|Element(?:sBy(?:Name|TagName|ClassName)|ById)|Attribute(?:Node)?)|blur)\b(?=\()/
|
|
21442
|
+
}, {
|
|
21443
|
+
token : "support.constant",
|
|
21444
|
+
regex : /(s(?:ystemLanguage|cr(?:ipts|ollbars|een(?:X|Y|Top|Left))|t(?:yle(?:Sheets)?|atus(?:Text|bar)?)|ibling(?:Below|Above)|ource|uffixes|e(?:curity(?:Policy)?|l(?:ection|f)))|h(?:istory|ost(?:name)?|as(?:h|Focus))|y|X(?:MLDocument|SLDocument)|n(?:ext|ame(?:space(?:s|URI)|Prop))|M(?:IN_VALUE|AX_VALUE)|c(?:haracterSet|o(?:n(?:structor|trollers)|okieEnabled|lorDepth|mp(?:onents|lete))|urrent|puClass|l(?:i(?:p(?:boardData)?|entInformation)|osed|asses)|alle(?:e|r)|rypto)|t(?:o(?:olbar|p)|ext(?:Transform|Indent|Decoration|Align)|ags)|SQRT(?:1_2|2)|i(?:n(?:ner(?:Height|Width)|put)|ds|gnoreCase)|zIndex|o(?:scpu|n(?:readystatechange|Line)|uter(?:Height|Width)|p(?:sProfile|ener)|ffscreenBuffering)|NEGATIVE_INFINITY|d(?:i(?:splay|alog(?:Height|Top|Width|Left|Arguments)|rectories)|e(?:scription|fault(?:Status|Ch(?:ecked|arset)|View)))|u(?:ser(?:Profile|Language|Agent)|n(?:iqueID|defined)|pdateInterval)|_content|p(?:ixelDepth|ort|ersonalbar|kcs11|l(?:ugins|atform)|a(?:thname|dding(?:Right|Bottom|Top|Left)|rent(?:Window|Layer)?|ge(?:X(?:Offset)?|Y(?:Offset)?))|r(?:o(?:to(?:col|type)|duct(?:Sub)?|mpter)|e(?:vious|fix)))|e(?:n(?:coding|abledPlugin)|x(?:ternal|pando)|mbeds)|v(?:isibility|endor(?:Sub)?|Linkcolor)|URLUnencoded|P(?:I|OSITIVE_INFINITY)|f(?:ilename|o(?:nt(?:Size|Family|Weight)|rmName)|rame(?:s|Element)|gColor)|E|whiteSpace|l(?:i(?:stStyleType|n(?:eHeight|kColor))|o(?:ca(?:tion(?:bar)?|lName)|wsrc)|e(?:ngth|ft(?:Context)?)|a(?:st(?:M(?:odified|atch)|Index|Paren)|yer(?:s|X)|nguage))|a(?:pp(?:MinorVersion|Name|Co(?:deName|re)|Version)|vail(?:Height|Top|Width|Left)|ll|r(?:ity|guments)|Linkcolor|bove)|r(?:ight(?:Context)?|e(?:sponse(?:XML|Text)|adyState))|global|x|m(?:imeTypes|ultiline|enubar|argin(?:Right|Bottom|Top|Left))|L(?:N(?:10|2)|OG(?:10E|2E))|b(?:o(?:ttom|rder(?:Width|RightWidth|BottomWidth|Style|Color|TopWidth|LeftWidth))|ufferDepth|elow|ackground(?:Color|Image)))\b/
|
|
21445
|
+
}, {
|
|
21446
|
+
token : "identifier",
|
|
21447
|
+
regex : identifierRe
|
|
21448
|
+
}, {
|
|
21449
|
+
regex: "",
|
|
21450
|
+
token: "empty",
|
|
21451
|
+
next: "no_regex"
|
|
21452
|
+
}
|
|
21453
|
+
],
|
|
21454
|
+
"start": [
|
|
21455
|
+
DocCommentHighlightRules.getStartRule("doc-start"),
|
|
21456
|
+
comments("start"),
|
|
21457
|
+
{
|
|
21458
|
+
token: "string.regexp",
|
|
21459
|
+
regex: "\\/",
|
|
21460
|
+
next: "regex"
|
|
21461
|
+
}, {
|
|
21462
|
+
token : "text",
|
|
21463
|
+
regex : "\\s+|^$",
|
|
21464
|
+
next : "start"
|
|
21465
|
+
}, {
|
|
21466
|
+
token: "empty",
|
|
21467
|
+
regex: "",
|
|
21468
|
+
next: "no_regex"
|
|
21469
|
+
}
|
|
21470
|
+
],
|
|
21471
|
+
"regex": [
|
|
21472
|
+
{
|
|
21473
|
+
token: "regexp.keyword.operator",
|
|
21474
|
+
regex: "\\\\(?:u[\\da-fA-F]{4}|x[\\da-fA-F]{2}|.)"
|
|
21475
|
+
}, {
|
|
21476
|
+
token: "string.regexp",
|
|
21477
|
+
regex: "/[sxngimy]*",
|
|
21478
|
+
next: "no_regex"
|
|
21479
|
+
}, {
|
|
21480
|
+
token : "invalid",
|
|
21481
|
+
regex: /\{\d+\b,?\d*\}[+*]|[+*$^?][+*]|[$^][?]|\?{3,}/
|
|
21482
|
+
}, {
|
|
21483
|
+
token : "constant.language.escape",
|
|
21484
|
+
regex: /\(\?[:=!]|\)|\{\d+\b,?\d*\}|[+*]\?|[()$^+*?.]/
|
|
21485
|
+
}, {
|
|
21486
|
+
token : "constant.language.delimiter",
|
|
21487
|
+
regex: /\|/
|
|
21488
|
+
}, {
|
|
21489
|
+
token: "constant.language.escape",
|
|
21490
|
+
regex: /\[\^?/,
|
|
21491
|
+
next: "regex_character_class"
|
|
21492
|
+
}, {
|
|
21493
|
+
token: "empty",
|
|
21494
|
+
regex: "$",
|
|
21495
|
+
next: "no_regex"
|
|
21496
|
+
}, {
|
|
21497
|
+
defaultToken: "string.regexp"
|
|
21498
|
+
}
|
|
21499
|
+
],
|
|
21500
|
+
"regex_character_class": [
|
|
21501
|
+
{
|
|
21502
|
+
token: "regexp.charclass.keyword.operator",
|
|
21503
|
+
regex: "\\\\(?:u[\\da-fA-F]{4}|x[\\da-fA-F]{2}|.)"
|
|
21504
|
+
}, {
|
|
21505
|
+
token: "constant.language.escape",
|
|
21506
|
+
regex: "]",
|
|
21507
|
+
next: "regex"
|
|
21508
|
+
}, {
|
|
21509
|
+
token: "constant.language.escape",
|
|
21510
|
+
regex: "-"
|
|
21511
|
+
}, {
|
|
21512
|
+
token: "empty",
|
|
21513
|
+
regex: "$",
|
|
21514
|
+
next: "no_regex"
|
|
21515
|
+
}, {
|
|
21516
|
+
defaultToken: "string.regexp.charachterclass"
|
|
21517
|
+
}
|
|
21518
|
+
],
|
|
21519
|
+
"function_arguments": [
|
|
21520
|
+
{
|
|
21521
|
+
token: "variable.parameter",
|
|
21522
|
+
regex: identifierRe
|
|
21523
|
+
}, {
|
|
21524
|
+
token: "punctuation.operator",
|
|
21525
|
+
regex: "[, ]+"
|
|
21526
|
+
}, {
|
|
21527
|
+
token: "punctuation.operator",
|
|
21528
|
+
regex: "$"
|
|
21529
|
+
}, {
|
|
21530
|
+
token: "empty",
|
|
21531
|
+
regex: "",
|
|
21532
|
+
next: "no_regex"
|
|
21533
|
+
}
|
|
21534
|
+
],
|
|
21535
|
+
"qqstring" : [
|
|
21536
|
+
{
|
|
21537
|
+
token : "constant.language.escape",
|
|
21538
|
+
regex : escapedRe
|
|
21539
|
+
}, {
|
|
21540
|
+
token : "string",
|
|
21541
|
+
regex : "\\\\$",
|
|
21542
|
+
consumeLineEnd : true
|
|
21543
|
+
}, {
|
|
21544
|
+
token : "string",
|
|
21545
|
+
regex : '"|$',
|
|
21546
|
+
next : "no_regex"
|
|
21547
|
+
}, {
|
|
21548
|
+
defaultToken: "string"
|
|
21549
|
+
}
|
|
21550
|
+
],
|
|
21551
|
+
"qstring" : [
|
|
21552
|
+
{
|
|
21553
|
+
token : "constant.language.escape",
|
|
21554
|
+
regex : escapedRe
|
|
21555
|
+
}, {
|
|
21556
|
+
token : "string",
|
|
21557
|
+
regex : "\\\\$",
|
|
21558
|
+
consumeLineEnd : true
|
|
21559
|
+
}, {
|
|
21560
|
+
token : "string",
|
|
21561
|
+
regex : "'|$",
|
|
21562
|
+
next : "no_regex"
|
|
21563
|
+
}, {
|
|
21564
|
+
defaultToken: "string"
|
|
21565
|
+
}
|
|
21566
|
+
]
|
|
21567
|
+
};
|
|
21568
|
+
|
|
21569
|
+
|
|
21570
|
+
if (!options || !options.noES6) {
|
|
21571
|
+
this.$rules.no_regex.unshift({
|
|
21572
|
+
regex: "[{}]", onMatch: function(val, state, stack) {
|
|
21573
|
+
this.next = val == "{" ? this.nextState : "";
|
|
21574
|
+
if (val == "{" && stack.length) {
|
|
21575
|
+
stack.unshift("start", state);
|
|
21576
|
+
}
|
|
21577
|
+
else if (val == "}" && stack.length) {
|
|
21578
|
+
stack.shift();
|
|
21579
|
+
this.next = stack.shift();
|
|
21580
|
+
if (this.next.indexOf("string") != -1 || this.next.indexOf("jsx") != -1)
|
|
21581
|
+
return "paren.quasi.end";
|
|
21582
|
+
}
|
|
21583
|
+
return val == "{" ? "paren.lparen" : "paren.rparen";
|
|
21584
|
+
},
|
|
21585
|
+
nextState: "start"
|
|
21586
|
+
}, {
|
|
21587
|
+
token : "string.quasi.start",
|
|
21588
|
+
regex : /`/,
|
|
21589
|
+
push : [{
|
|
21590
|
+
token : "constant.language.escape",
|
|
21591
|
+
regex : escapedRe
|
|
21592
|
+
}, {
|
|
21593
|
+
token : "paren.quasi.start",
|
|
21594
|
+
regex : /\${/,
|
|
21595
|
+
push : "start"
|
|
21596
|
+
}, {
|
|
21597
|
+
token : "string.quasi.end",
|
|
21598
|
+
regex : /`/,
|
|
21599
|
+
next : "pop"
|
|
21600
|
+
}, {
|
|
21601
|
+
defaultToken: "string.quasi"
|
|
21602
|
+
}]
|
|
21603
|
+
});
|
|
21604
|
+
|
|
21605
|
+
if (!options || options.jsx != false)
|
|
21606
|
+
JSX.call(this);
|
|
21607
|
+
}
|
|
21608
|
+
|
|
21609
|
+
this.embedRules(DocCommentHighlightRules, "doc-",
|
|
21610
|
+
[ DocCommentHighlightRules.getEndRule("no_regex") ]);
|
|
21611
|
+
|
|
21612
|
+
this.normalizeRules();
|
|
21613
|
+
};
|
|
21614
|
+
|
|
21615
|
+
oop.inherits(JavaScriptHighlightRules, TextHighlightRules);
|
|
21616
|
+
|
|
21617
|
+
function JSX() {
|
|
21618
|
+
var tagRegex = identifierRe.replace("\\d", "\\d\\-");
|
|
21619
|
+
var jsxTag = {
|
|
21620
|
+
onMatch : function(val, state, stack) {
|
|
21621
|
+
var offset = val.charAt(1) == "/" ? 2 : 1;
|
|
21622
|
+
if (offset == 1) {
|
|
21623
|
+
if (state != this.nextState)
|
|
21624
|
+
stack.unshift(this.next, this.nextState, 0);
|
|
21625
|
+
else
|
|
21626
|
+
stack.unshift(this.next);
|
|
21627
|
+
stack[2]++;
|
|
21628
|
+
} else if (offset == 2) {
|
|
21629
|
+
if (state == this.nextState) {
|
|
21630
|
+
stack[1]--;
|
|
21631
|
+
if (!stack[1] || stack[1] < 0) {
|
|
21632
|
+
stack.shift();
|
|
21633
|
+
stack.shift();
|
|
21634
|
+
}
|
|
21635
|
+
}
|
|
21636
|
+
}
|
|
21637
|
+
return [{
|
|
21638
|
+
type: "meta.tag.punctuation." + (offset == 1 ? "" : "end-") + "tag-open.xml",
|
|
21639
|
+
value: val.slice(0, offset)
|
|
21640
|
+
}, {
|
|
21641
|
+
type: "meta.tag.tag-name.xml",
|
|
21642
|
+
value: val.substr(offset)
|
|
21643
|
+
}];
|
|
21644
|
+
},
|
|
21645
|
+
regex : "</?" + tagRegex + "",
|
|
21646
|
+
next: "jsxAttributes",
|
|
21647
|
+
nextState: "jsx"
|
|
21648
|
+
};
|
|
21649
|
+
this.$rules.start.unshift(jsxTag);
|
|
21650
|
+
var jsxJsRule = {
|
|
21651
|
+
regex: "{",
|
|
21652
|
+
token: "paren.quasi.start",
|
|
21653
|
+
push: "start"
|
|
21654
|
+
};
|
|
21655
|
+
this.$rules.jsx = [
|
|
21656
|
+
jsxJsRule,
|
|
21657
|
+
jsxTag,
|
|
21658
|
+
{include : "reference"},
|
|
21659
|
+
{defaultToken: "string"}
|
|
21660
|
+
];
|
|
21661
|
+
this.$rules.jsxAttributes = [{
|
|
21662
|
+
token : "meta.tag.punctuation.tag-close.xml",
|
|
21663
|
+
regex : "/?>",
|
|
21664
|
+
onMatch : function(value, currentState, stack) {
|
|
21665
|
+
if (currentState == stack[0])
|
|
21666
|
+
stack.shift();
|
|
21667
|
+
if (value.length == 2) {
|
|
21668
|
+
if (stack[0] == this.nextState)
|
|
21669
|
+
stack[1]--;
|
|
21670
|
+
if (!stack[1] || stack[1] < 0) {
|
|
21671
|
+
stack.splice(0, 2);
|
|
21672
|
+
}
|
|
21673
|
+
}
|
|
21674
|
+
this.next = stack[0] || "start";
|
|
21675
|
+
return [{type: this.token, value: value}];
|
|
21676
|
+
},
|
|
21677
|
+
nextState: "jsx"
|
|
21678
|
+
},
|
|
21679
|
+
jsxJsRule,
|
|
21680
|
+
comments("jsxAttributes"),
|
|
21681
|
+
{
|
|
21682
|
+
token : "entity.other.attribute-name.xml",
|
|
21683
|
+
regex : tagRegex
|
|
21684
|
+
}, {
|
|
21685
|
+
token : "keyword.operator.attribute-equals.xml",
|
|
21686
|
+
regex : "="
|
|
21687
|
+
}, {
|
|
21688
|
+
token : "text.tag-whitespace.xml",
|
|
21689
|
+
regex : "\\s+"
|
|
21690
|
+
}, {
|
|
21691
|
+
token : "string.attribute-value.xml",
|
|
21692
|
+
regex : "'",
|
|
21693
|
+
stateName : "jsx_attr_q",
|
|
21694
|
+
push : [
|
|
21695
|
+
{token : "string.attribute-value.xml", regex: "'", next: "pop"},
|
|
21696
|
+
{include : "reference"},
|
|
21697
|
+
{defaultToken : "string.attribute-value.xml"}
|
|
21698
|
+
]
|
|
21699
|
+
}, {
|
|
21700
|
+
token : "string.attribute-value.xml",
|
|
21701
|
+
regex : '"',
|
|
21702
|
+
stateName : "jsx_attr_qq",
|
|
21703
|
+
push : [
|
|
21704
|
+
{token : "string.attribute-value.xml", regex: '"', next: "pop"},
|
|
21705
|
+
{include : "reference"},
|
|
21706
|
+
{defaultToken : "string.attribute-value.xml"}
|
|
21707
|
+
]
|
|
21708
|
+
},
|
|
21709
|
+
jsxTag
|
|
21710
|
+
];
|
|
21711
|
+
this.$rules.reference = [{
|
|
21712
|
+
token : "constant.language.escape.reference.xml",
|
|
21713
|
+
regex : "(?:&#[0-9]+;)|(?:&#x[0-9a-fA-F]+;)|(?:&[a-zA-Z0-9_:\\.-]+;)"
|
|
21714
|
+
}];
|
|
21715
|
+
}
|
|
21716
|
+
|
|
21717
|
+
function comments(next) {
|
|
21718
|
+
return [
|
|
21719
|
+
{
|
|
21720
|
+
token : "comment", // multi line comment
|
|
21721
|
+
regex : /\/\*/,
|
|
21722
|
+
next: [
|
|
21723
|
+
DocCommentHighlightRules.getTagRule(),
|
|
21724
|
+
{token : "comment", regex : "\\*\\/", next : next || "pop"},
|
|
21725
|
+
{defaultToken : "comment", caseInsensitive: true}
|
|
21726
|
+
]
|
|
21727
|
+
}, {
|
|
21728
|
+
token : "comment",
|
|
21729
|
+
regex : "\\/\\/",
|
|
21730
|
+
next: [
|
|
21731
|
+
DocCommentHighlightRules.getTagRule(),
|
|
21732
|
+
{token : "comment", regex : "$|^", next : next || "pop"},
|
|
21733
|
+
{defaultToken : "comment", caseInsensitive: true}
|
|
21734
|
+
]
|
|
21735
|
+
}
|
|
21736
|
+
];
|
|
21737
|
+
}
|
|
21738
|
+
exports.JavaScriptHighlightRules = JavaScriptHighlightRules;
|
|
21739
|
+
});
|
|
21740
|
+
|
|
21741
|
+
ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"], function(acequire, exports, module) {
|
|
21742
|
+
"use strict";
|
|
21743
|
+
|
|
21744
|
+
var Range = acequire("../range").Range;
|
|
21745
|
+
|
|
21746
|
+
var MatchingBraceOutdent = function() {};
|
|
21747
|
+
|
|
21748
|
+
(function() {
|
|
21749
|
+
|
|
21750
|
+
this.checkOutdent = function(line, input) {
|
|
21751
|
+
if (! /^\s+$/.test(line))
|
|
21752
|
+
return false;
|
|
21753
|
+
|
|
21754
|
+
return /^\s*\}/.test(input);
|
|
21755
|
+
};
|
|
21756
|
+
|
|
21757
|
+
this.autoOutdent = function(doc, row) {
|
|
21758
|
+
var line = doc.getLine(row);
|
|
21759
|
+
var match = line.match(/^(\s*\})/);
|
|
21760
|
+
|
|
21761
|
+
if (!match) return 0;
|
|
21762
|
+
|
|
21763
|
+
var column = match[1].length;
|
|
21764
|
+
var openBracePos = doc.findMatchingBracket({row: row, column: column});
|
|
21765
|
+
|
|
21766
|
+
if (!openBracePos || openBracePos.row == row) return 0;
|
|
21767
|
+
|
|
21768
|
+
var indent = this.$getIndent(doc.getLine(openBracePos.row));
|
|
21769
|
+
doc.replace(new Range(row, 0, row, column-1), indent);
|
|
21770
|
+
};
|
|
21771
|
+
|
|
21772
|
+
this.$getIndent = function(line) {
|
|
21773
|
+
return line.match(/^\s*/)[0];
|
|
21774
|
+
};
|
|
21775
|
+
|
|
21776
|
+
}).call(MatchingBraceOutdent.prototype);
|
|
21777
|
+
|
|
21778
|
+
exports.MatchingBraceOutdent = MatchingBraceOutdent;
|
|
21779
|
+
});
|
|
21780
|
+
|
|
21781
|
+
ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"], function(acequire, exports, module) {
|
|
21782
|
+
"use strict";
|
|
21783
|
+
|
|
21784
|
+
var oop = acequire("../../lib/oop");
|
|
21785
|
+
var Range = acequire("../../range").Range;
|
|
21786
|
+
var BaseFoldMode = acequire("./fold_mode").FoldMode;
|
|
21787
|
+
|
|
21788
|
+
var FoldMode = exports.FoldMode = function(commentRegex) {
|
|
21789
|
+
if (commentRegex) {
|
|
21790
|
+
this.foldingStartMarker = new RegExp(
|
|
21791
|
+
this.foldingStartMarker.source.replace(/\|[^|]*?$/, "|" + commentRegex.start)
|
|
21792
|
+
);
|
|
21793
|
+
this.foldingStopMarker = new RegExp(
|
|
21794
|
+
this.foldingStopMarker.source.replace(/\|[^|]*?$/, "|" + commentRegex.end)
|
|
21795
|
+
);
|
|
21796
|
+
}
|
|
21797
|
+
};
|
|
21798
|
+
oop.inherits(FoldMode, BaseFoldMode);
|
|
21799
|
+
|
|
21800
|
+
(function() {
|
|
21801
|
+
|
|
21802
|
+
this.foldingStartMarker = /([\{\[\(])[^\}\]\)]*$|^\s*(\/\*)/;
|
|
21803
|
+
this.foldingStopMarker = /^[^\[\{\(]*([\}\]\)])|^[\s\*]*(\*\/)/;
|
|
21804
|
+
this.singleLineBlockCommentRe= /^\s*(\/\*).*\*\/\s*$/;
|
|
21805
|
+
this.tripleStarBlockCommentRe = /^\s*(\/\*\*\*).*\*\/\s*$/;
|
|
21806
|
+
this.startRegionRe = /^\s*(\/\*|\/\/)#?region\b/;
|
|
21807
|
+
this._getFoldWidgetBase = this.getFoldWidget;
|
|
21808
|
+
this.getFoldWidget = function(session, foldStyle, row) {
|
|
21809
|
+
var line = session.getLine(row);
|
|
21810
|
+
|
|
21811
|
+
if (this.singleLineBlockCommentRe.test(line)) {
|
|
21812
|
+
if (!this.startRegionRe.test(line) && !this.tripleStarBlockCommentRe.test(line))
|
|
21813
|
+
return "";
|
|
21814
|
+
}
|
|
21815
|
+
|
|
21816
|
+
var fw = this._getFoldWidgetBase(session, foldStyle, row);
|
|
21817
|
+
|
|
21818
|
+
if (!fw && this.startRegionRe.test(line))
|
|
21819
|
+
return "start"; // lineCommentRegionStart
|
|
21820
|
+
|
|
21821
|
+
return fw;
|
|
21822
|
+
};
|
|
21823
|
+
|
|
21824
|
+
this.getFoldWidgetRange = function(session, foldStyle, row, forceMultiline) {
|
|
21825
|
+
var line = session.getLine(row);
|
|
21826
|
+
|
|
21827
|
+
if (this.startRegionRe.test(line))
|
|
21828
|
+
return this.getCommentRegionBlock(session, line, row);
|
|
21829
|
+
|
|
21830
|
+
var match = line.match(this.foldingStartMarker);
|
|
21831
|
+
if (match) {
|
|
21832
|
+
var i = match.index;
|
|
21833
|
+
|
|
21834
|
+
if (match[1])
|
|
21835
|
+
return this.openingBracketBlock(session, match[1], row, i);
|
|
21836
|
+
|
|
21837
|
+
var range = session.getCommentFoldRange(row, i + match[0].length, 1);
|
|
21838
|
+
|
|
21839
|
+
if (range && !range.isMultiLine()) {
|
|
21840
|
+
if (forceMultiline) {
|
|
21841
|
+
range = this.getSectionRange(session, row);
|
|
21842
|
+
} else if (foldStyle != "all")
|
|
21843
|
+
range = null;
|
|
21844
|
+
}
|
|
21845
|
+
|
|
21846
|
+
return range;
|
|
21847
|
+
}
|
|
21848
|
+
|
|
21849
|
+
if (foldStyle === "markbegin")
|
|
21850
|
+
return;
|
|
21851
|
+
|
|
21852
|
+
var match = line.match(this.foldingStopMarker);
|
|
21853
|
+
if (match) {
|
|
21854
|
+
var i = match.index + match[0].length;
|
|
21855
|
+
|
|
21856
|
+
if (match[1])
|
|
21857
|
+
return this.closingBracketBlock(session, match[1], row, i);
|
|
21858
|
+
|
|
21859
|
+
return session.getCommentFoldRange(row, i, -1);
|
|
21860
|
+
}
|
|
21861
|
+
};
|
|
21862
|
+
|
|
21863
|
+
this.getSectionRange = function(session, row) {
|
|
21864
|
+
var line = session.getLine(row);
|
|
21865
|
+
var startIndent = line.search(/\S/);
|
|
21866
|
+
var startRow = row;
|
|
21867
|
+
var startColumn = line.length;
|
|
21868
|
+
row = row + 1;
|
|
21869
|
+
var endRow = row;
|
|
21870
|
+
var maxRow = session.getLength();
|
|
21871
|
+
while (++row < maxRow) {
|
|
21872
|
+
line = session.getLine(row);
|
|
21873
|
+
var indent = line.search(/\S/);
|
|
21874
|
+
if (indent === -1)
|
|
21875
|
+
continue;
|
|
21876
|
+
if (startIndent > indent)
|
|
21877
|
+
break;
|
|
21878
|
+
var subRange = this.getFoldWidgetRange(session, "all", row);
|
|
21879
|
+
|
|
21880
|
+
if (subRange) {
|
|
21881
|
+
if (subRange.start.row <= startRow) {
|
|
21882
|
+
break;
|
|
21883
|
+
} else if (subRange.isMultiLine()) {
|
|
21884
|
+
row = subRange.end.row;
|
|
21885
|
+
} else if (startIndent == indent) {
|
|
21886
|
+
break;
|
|
21887
|
+
}
|
|
21888
|
+
}
|
|
21889
|
+
endRow = row;
|
|
21890
|
+
}
|
|
21891
|
+
|
|
21892
|
+
return new Range(startRow, startColumn, endRow, session.getLine(endRow).length);
|
|
21893
|
+
};
|
|
21894
|
+
this.getCommentRegionBlock = function(session, line, row) {
|
|
21895
|
+
var startColumn = line.search(/\s*$/);
|
|
21896
|
+
var maxRow = session.getLength();
|
|
21897
|
+
var startRow = row;
|
|
21898
|
+
|
|
21899
|
+
var re = /^\s*(?:\/\*|\/\/|--)#?(end)?region\b/;
|
|
21900
|
+
var depth = 1;
|
|
21901
|
+
while (++row < maxRow) {
|
|
21902
|
+
line = session.getLine(row);
|
|
21903
|
+
var m = re.exec(line);
|
|
21904
|
+
if (!m) continue;
|
|
21905
|
+
if (m[1]) depth--;
|
|
21906
|
+
else depth++;
|
|
21907
|
+
|
|
21908
|
+
if (!depth) break;
|
|
21909
|
+
}
|
|
21910
|
+
|
|
21911
|
+
var endRow = row;
|
|
21912
|
+
if (endRow > startRow) {
|
|
21913
|
+
return new Range(startRow, startColumn, endRow, line.length);
|
|
21914
|
+
}
|
|
21915
|
+
};
|
|
21916
|
+
|
|
21917
|
+
}).call(FoldMode.prototype);
|
|
21918
|
+
|
|
21919
|
+
});
|
|
21920
|
+
|
|
21921
|
+
ace.define("ace/mode/javascript",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/javascript_highlight_rules","ace/mode/matching_brace_outdent","ace/worker/worker_client","ace/mode/behaviour/cstyle","ace/mode/folding/cstyle"], function(acequire, exports, module) {
|
|
21922
|
+
"use strict";
|
|
21923
|
+
|
|
21924
|
+
var oop = acequire("../lib/oop");
|
|
21925
|
+
var TextMode = acequire("./text").Mode;
|
|
21926
|
+
var JavaScriptHighlightRules = acequire("./javascript_highlight_rules").JavaScriptHighlightRules;
|
|
21927
|
+
var MatchingBraceOutdent = acequire("./matching_brace_outdent").MatchingBraceOutdent;
|
|
21928
|
+
var WorkerClient = acequire("../worker/worker_client").WorkerClient;
|
|
21929
|
+
var CstyleBehaviour = acequire("./behaviour/cstyle").CstyleBehaviour;
|
|
21930
|
+
var CStyleFoldMode = acequire("./folding/cstyle").FoldMode;
|
|
21931
|
+
|
|
21932
|
+
var Mode = function() {
|
|
21933
|
+
this.HighlightRules = JavaScriptHighlightRules;
|
|
21934
|
+
|
|
21935
|
+
this.$outdent = new MatchingBraceOutdent();
|
|
21936
|
+
this.$behaviour = new CstyleBehaviour();
|
|
21937
|
+
this.foldingRules = new CStyleFoldMode();
|
|
21938
|
+
};
|
|
21939
|
+
oop.inherits(Mode, TextMode);
|
|
21940
|
+
|
|
21941
|
+
(function() {
|
|
21942
|
+
|
|
21943
|
+
this.lineCommentStart = "//";
|
|
21944
|
+
this.blockComment = {start: "/*", end: "*/"};
|
|
21945
|
+
this.$quotes = {'"': '"', "'": "'", "`": "`"};
|
|
21946
|
+
|
|
21947
|
+
this.getNextLineIndent = function(state, line, tab) {
|
|
21948
|
+
var indent = this.$getIndent(line);
|
|
21949
|
+
|
|
21950
|
+
var tokenizedLine = this.getTokenizer().getLineTokens(line, state);
|
|
21951
|
+
var tokens = tokenizedLine.tokens;
|
|
21952
|
+
var endState = tokenizedLine.state;
|
|
21953
|
+
|
|
21954
|
+
if (tokens.length && tokens[tokens.length-1].type == "comment") {
|
|
21955
|
+
return indent;
|
|
21956
|
+
}
|
|
21957
|
+
|
|
21958
|
+
if (state == "start" || state == "no_regex") {
|
|
21959
|
+
var match = line.match(/^.*(?:\bcase\b.*:|[\{\(\[])\s*$/);
|
|
21960
|
+
if (match) {
|
|
21961
|
+
indent += tab;
|
|
21962
|
+
}
|
|
21963
|
+
} else if (state == "doc-start") {
|
|
21964
|
+
if (endState == "start" || endState == "no_regex") {
|
|
21965
|
+
return "";
|
|
21966
|
+
}
|
|
21967
|
+
var match = line.match(/^\s*(\/?)\*/);
|
|
21968
|
+
if (match) {
|
|
21969
|
+
if (match[1]) {
|
|
21970
|
+
indent += " ";
|
|
21971
|
+
}
|
|
21972
|
+
indent += "* ";
|
|
21973
|
+
}
|
|
21974
|
+
}
|
|
21975
|
+
|
|
21976
|
+
return indent;
|
|
21977
|
+
};
|
|
21978
|
+
|
|
21979
|
+
this.checkOutdent = function(state, line, input) {
|
|
21980
|
+
return this.$outdent.checkOutdent(line, input);
|
|
21981
|
+
};
|
|
21982
|
+
|
|
21983
|
+
this.autoOutdent = function(state, doc, row) {
|
|
21984
|
+
this.$outdent.autoOutdent(doc, row);
|
|
21985
|
+
};
|
|
21986
|
+
|
|
21987
|
+
this.createWorker = function(session) {
|
|
21988
|
+
var worker = new WorkerClient(["ace"], __webpack_require__("6d68"), "JavaScriptWorker");
|
|
21989
|
+
worker.attachToDocument(session.getDocument());
|
|
21990
|
+
|
|
21991
|
+
worker.on("annotate", function(results) {
|
|
21992
|
+
session.setAnnotations(results.data);
|
|
21993
|
+
});
|
|
21994
|
+
|
|
21995
|
+
worker.on("terminate", function() {
|
|
21996
|
+
session.clearAnnotations();
|
|
21997
|
+
});
|
|
21998
|
+
|
|
21999
|
+
return worker;
|
|
22000
|
+
};
|
|
22001
|
+
|
|
22002
|
+
this.$id = "ace/mode/javascript";
|
|
22003
|
+
}).call(Mode.prototype);
|
|
22004
|
+
|
|
22005
|
+
exports.Mode = Mode;
|
|
22006
|
+
});
|
|
22007
|
+
|
|
22008
|
+
ace.define("ace/mode/groovy_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/doc_comment_highlight_rules","ace/mode/text_highlight_rules"], function(acequire, exports, module) {
|
|
22009
|
+
"use strict";
|
|
22010
|
+
|
|
22011
|
+
var oop = acequire("../lib/oop");
|
|
22012
|
+
var DocCommentHighlightRules = acequire("./doc_comment_highlight_rules").DocCommentHighlightRules;
|
|
22013
|
+
var TextHighlightRules = acequire("./text_highlight_rules").TextHighlightRules;
|
|
22014
|
+
|
|
22015
|
+
var GroovyHighlightRules = function() {
|
|
22016
|
+
|
|
22017
|
+
var keywords = (
|
|
22018
|
+
"assert|with|abstract|continue|for|new|switch|" +
|
|
22019
|
+
"assert|default|goto|package|synchronized|" +
|
|
22020
|
+
"boolean|do|if|private|this|" +
|
|
22021
|
+
"break|double|implements|protected|throw|" +
|
|
22022
|
+
"byte|else|import|public|throws|" +
|
|
22023
|
+
"case|enum|instanceof|return|transient|" +
|
|
22024
|
+
"catch|extends|int|short|try|" +
|
|
22025
|
+
"char|final|interface|static|void|" +
|
|
22026
|
+
"class|finally|long|strictfp|volatile|" +
|
|
22027
|
+
"def|float|native|super|while"
|
|
22028
|
+
);
|
|
22029
|
+
|
|
22030
|
+
var buildinConstants = (
|
|
22031
|
+
"null|Infinity|NaN|undefined"
|
|
22032
|
+
);
|
|
22033
|
+
|
|
22034
|
+
var langClasses = (
|
|
22035
|
+
"AbstractMethodError|AssertionError|ClassCircularityError|"+
|
|
22036
|
+
"ClassFormatError|Deprecated|EnumConstantNotPresentException|"+
|
|
22037
|
+
"ExceptionInInitializerError|IllegalAccessError|"+
|
|
22038
|
+
"IllegalThreadStateException|InstantiationError|InternalError|"+
|
|
22039
|
+
"NegativeArraySizeException|NoSuchFieldError|Override|Process|"+
|
|
22040
|
+
"ProcessBuilder|SecurityManager|StringIndexOutOfBoundsException|"+
|
|
22041
|
+
"SuppressWarnings|TypeNotPresentException|UnknownError|"+
|
|
22042
|
+
"UnsatisfiedLinkError|UnsupportedClassVersionError|VerifyError|"+
|
|
22043
|
+
"InstantiationException|IndexOutOfBoundsException|"+
|
|
22044
|
+
"ArrayIndexOutOfBoundsException|CloneNotSupportedException|"+
|
|
22045
|
+
"NoSuchFieldException|IllegalArgumentException|NumberFormatException|"+
|
|
22046
|
+
"SecurityException|Void|InheritableThreadLocal|IllegalStateException|"+
|
|
22047
|
+
"InterruptedException|NoSuchMethodException|IllegalAccessException|"+
|
|
22048
|
+
"UnsupportedOperationException|Enum|StrictMath|Package|Compiler|"+
|
|
22049
|
+
"Readable|Runtime|StringBuilder|Math|IncompatibleClassChangeError|"+
|
|
22050
|
+
"NoSuchMethodError|ThreadLocal|RuntimePermission|ArithmeticException|"+
|
|
22051
|
+
"NullPointerException|Long|Integer|Short|Byte|Double|Number|Float|"+
|
|
22052
|
+
"Character|Boolean|StackTraceElement|Appendable|StringBuffer|"+
|
|
22053
|
+
"Iterable|ThreadGroup|Runnable|Thread|IllegalMonitorStateException|"+
|
|
22054
|
+
"StackOverflowError|OutOfMemoryError|VirtualMachineError|"+
|
|
22055
|
+
"ArrayStoreException|ClassCastException|LinkageError|"+
|
|
22056
|
+
"NoClassDefFoundError|ClassNotFoundException|RuntimeException|"+
|
|
22057
|
+
"Exception|ThreadDeath|Error|Throwable|System|ClassLoader|"+
|
|
22058
|
+
"Cloneable|Class|CharSequence|Comparable|String|Object"
|
|
22059
|
+
);
|
|
22060
|
+
|
|
22061
|
+
var keywordMapper = this.createKeywordMapper({
|
|
22062
|
+
"variable.language": "this",
|
|
22063
|
+
"keyword": keywords,
|
|
22064
|
+
"support.function": langClasses,
|
|
22065
|
+
"constant.language": buildinConstants
|
|
22066
|
+
}, "identifier");
|
|
22067
|
+
|
|
22068
|
+
this.$rules = {
|
|
22069
|
+
"start" : [
|
|
22070
|
+
{
|
|
22071
|
+
token : "comment",
|
|
22072
|
+
regex : "\\/\\/.*$"
|
|
22073
|
+
},
|
|
22074
|
+
DocCommentHighlightRules.getStartRule("doc-start"),
|
|
22075
|
+
{
|
|
22076
|
+
token : "comment", // multi line comment
|
|
22077
|
+
regex : "\\/\\*",
|
|
22078
|
+
next : "comment"
|
|
22079
|
+
}, {
|
|
22080
|
+
token : "string.regexp",
|
|
22081
|
+
regex : "[/](?:(?:\\[(?:\\\\]|[^\\]])+\\])|(?:\\\\/|[^\\]/]))*[/]\\w*\\s*(?=[).,;]|$)"
|
|
22082
|
+
}, {
|
|
22083
|
+
token : "string",
|
|
22084
|
+
regex : '"""',
|
|
22085
|
+
next : "qqstring"
|
|
22086
|
+
}, {
|
|
22087
|
+
token : "string",
|
|
22088
|
+
regex : "'''",
|
|
22089
|
+
next : "qstring"
|
|
22090
|
+
}, {
|
|
22091
|
+
token : "string", // single line
|
|
22092
|
+
regex : '["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]'
|
|
22093
|
+
}, {
|
|
22094
|
+
token : "string", // single line
|
|
22095
|
+
regex : "['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"
|
|
22096
|
+
}, {
|
|
22097
|
+
token : "constant.numeric", // hex
|
|
22098
|
+
regex : "0[xX][0-9a-fA-F]+\\b"
|
|
22099
|
+
}, {
|
|
22100
|
+
token : "constant.numeric", // float
|
|
22101
|
+
regex : "[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"
|
|
22102
|
+
}, {
|
|
22103
|
+
token : "constant.language.boolean",
|
|
22104
|
+
regex : "(?:true|false)\\b"
|
|
22105
|
+
}, {
|
|
22106
|
+
token : keywordMapper,
|
|
22107
|
+
regex : "[a-zA-Z_$][a-zA-Z0-9_$]*\\b"
|
|
22108
|
+
}, {
|
|
22109
|
+
token : "keyword.operator",
|
|
22110
|
+
regex : "\\?:|\\?\\.|\\*\\.|<=>|=~|==~|\\.@|\\*\\.@|\\.&|as|in|is|!|\\$|%|&|\\*|\\-\\-|\\-|\\+\\+|\\+|~|===|==|=|!=|!==|<=|>=|<<=|>>=|>>>=|<>|<|>|!|&&|\\|\\||\\?\\:|\\*=|%=|\\+=|\\-=|&=|\\^=|\\b(?:in|instanceof|new|delete|typeof|void)"
|
|
22111
|
+
}, {
|
|
22112
|
+
token : "lparen",
|
|
22113
|
+
regex : "[[({]"
|
|
22114
|
+
}, {
|
|
22115
|
+
token : "rparen",
|
|
22116
|
+
regex : "[\\])}]"
|
|
22117
|
+
}, {
|
|
22118
|
+
token : "text",
|
|
22119
|
+
regex : "\\s+"
|
|
22120
|
+
}
|
|
22121
|
+
],
|
|
22122
|
+
"comment" : [
|
|
22123
|
+
{
|
|
22124
|
+
token : "comment", // closing comment
|
|
22125
|
+
regex : "\\*\\/",
|
|
22126
|
+
next : "start"
|
|
22127
|
+
}, {
|
|
22128
|
+
defaultToken : "comment"
|
|
22129
|
+
}
|
|
22130
|
+
],
|
|
22131
|
+
"qqstring" : [
|
|
22132
|
+
{
|
|
22133
|
+
token : "constant.language.escape",
|
|
22134
|
+
regex : /\\(?:u[0-9A-Fa-f]{4}|.|$)/
|
|
22135
|
+
}, {
|
|
22136
|
+
token : "constant.language.escape",
|
|
22137
|
+
regex : /\$[\w\d]+/
|
|
22138
|
+
}, {
|
|
22139
|
+
token : "constant.language.escape",
|
|
22140
|
+
regex : /\$\{[^"\}]+\}?/
|
|
22141
|
+
}, {
|
|
22142
|
+
token : "string",
|
|
22143
|
+
regex : '"{3,5}',
|
|
22144
|
+
next : "start"
|
|
22145
|
+
}, {
|
|
22146
|
+
token : "string",
|
|
22147
|
+
regex : '.+?'
|
|
22148
|
+
}
|
|
22149
|
+
],
|
|
22150
|
+
"qstring" : [
|
|
22151
|
+
{
|
|
22152
|
+
token : "constant.language.escape",
|
|
22153
|
+
regex : /\\(?:u[0-9A-Fa-f]{4}|.|$)/
|
|
22154
|
+
}, {
|
|
22155
|
+
token : "string",
|
|
22156
|
+
regex : "'{3,5}",
|
|
22157
|
+
next : "start"
|
|
22158
|
+
}, {
|
|
22159
|
+
token : "string",
|
|
22160
|
+
regex : ".+?"
|
|
22161
|
+
}
|
|
22162
|
+
]
|
|
22163
|
+
};
|
|
22164
|
+
|
|
22165
|
+
this.embedRules(DocCommentHighlightRules, "doc-",
|
|
22166
|
+
[ DocCommentHighlightRules.getEndRule("start") ]);
|
|
22167
|
+
};
|
|
22168
|
+
|
|
22169
|
+
oop.inherits(GroovyHighlightRules, TextHighlightRules);
|
|
22170
|
+
|
|
22171
|
+
exports.GroovyHighlightRules = GroovyHighlightRules;
|
|
22172
|
+
});
|
|
22173
|
+
|
|
22174
|
+
ace.define("ace/mode/groovy",["require","exports","module","ace/lib/oop","ace/mode/javascript","ace/mode/groovy_highlight_rules"], function(acequire, exports, module) {
|
|
22175
|
+
"use strict";
|
|
22176
|
+
|
|
22177
|
+
var oop = acequire("../lib/oop");
|
|
22178
|
+
var JavaScriptMode = acequire("./javascript").Mode;
|
|
22179
|
+
var GroovyHighlightRules = acequire("./groovy_highlight_rules").GroovyHighlightRules;
|
|
22180
|
+
|
|
22181
|
+
var Mode = function() {
|
|
22182
|
+
JavaScriptMode.call(this);
|
|
22183
|
+
this.HighlightRules = GroovyHighlightRules;
|
|
22184
|
+
};
|
|
22185
|
+
oop.inherits(Mode, JavaScriptMode);
|
|
22186
|
+
|
|
22187
|
+
(function() {
|
|
22188
|
+
|
|
22189
|
+
this.createWorker = function(session) {
|
|
22190
|
+
return null;
|
|
22191
|
+
};
|
|
22192
|
+
|
|
22193
|
+
this.$id = "ace/mode/groovy";
|
|
22194
|
+
}).call(Mode.prototype);
|
|
22195
|
+
|
|
22196
|
+
exports.Mode = Mode;
|
|
22197
|
+
});
|
|
22198
|
+
|
|
22199
|
+
|
|
21213
22200
|
/***/ }),
|
|
21214
22201
|
|
|
21215
22202
|
/***/ "10cf":
|
|
@@ -24837,7 +25824,7 @@ $({ global: true, forced: !USE_NATIVE_URL, sham: !DESCRIPTORS }, {
|
|
|
24837
25824
|
/***/ "2c48":
|
|
24838
25825
|
/***/ (function(module, exports) {
|
|
24839
25826
|
|
|
24840
|
-
module.exports = "<article class=\"response\">\r\n <header\r\n :class=\"{'status-success': response.code === 200, 'status-fail': response.code && response.code!==200}\"\r\n >\r\n <span class=\"title\">响应</span>\r\n <div class=\"items-div\">\r\n <span class=\"item-name\">响应码:</span\r\n ><span class=\"item-value\">{{response.code}}</span>\r\n <span class=\"item-name\">时间:</span\r\n ><span class=\"item-value\">{{response.time}}ms</span>\r\n <span class=\"item-name\">大小:</span\r\n ><span class=\"item-value\">{{response.size}}B</span>\r\n </div>\r\n </header>\r\n <main>\r\n <div class=\"response-bar\">\r\n <div\r\n class=\"tag\"\r\n @click=\"onClickResponseSettingTpye(item)\"\r\n :class=\"{'active': item.name === active.name}\"\r\n v-for=\"(item,index) in responseSettingTypeList\"\r\n :key=\"item.name\"\r\n >\r\n <span\r\n >{{item.title + (item.num > 0 ? '(' + item.num + ')':\r\n \"\")}}</span\r\n >\r\n </div>\r\n </div>\r\n <div class=\"response-content\">\r\n <template v-if=\"active.name === 'content'\">\r\n <header>\r\n <!-- <i-radio-group\r\n type=\"button\"\r\n class=\"diy-radio-group-button\"\r\n v-model=\"contentType\"\r\n >\r\n <i-radio label=\"Pretty\">Pretty(美化)</i-radio>\r\n <i-radio label=\"Raw\">Raw(原生)</i-radio>\r\n </i-radio-group> -->\r\n <i-radio-group\r\n type=\"button\"\r\n class=\"diy-radio-group-button\"\r\n v-model=\"contentType\"\r\n >\r\n <i-radio label=\"originalContent\">转换前</i-radio>\r\n <i-radio label=\"content\">转换后</i-radio>\r\n </i-radio-group>\r\n <i-dropdown class=\"diy-dropdown\" @on-click=\"onChangeLang\">\r\n <i-button ghost type=\"primary\" class=\"diy-btn-primary\">\r\n <span class=\"lang\">{{lang.toUpperCase()}}</span>\r\n <i class=\"api-icon icon-select\"></i>\r\n </i-button>\r\n <i-dropdown-menu slot=\"list\">\r\n <i-dropdown-item name=\"json\">JSON</i-dropdown-item>\r\n <i-dropdown-item name=\"xml\">XML</i-dropdown-item>\r\n </i-dropdown-menu>\r\n </i-dropdown>\r\n </header>\r\n <u-editor\r\n :value=\"content\"\r\n :lang=\"lang\"\r\n @inited=\"onEditorInited\"\r\n ></u-editor>\r\n </template>\r\n <div v-if=\"active.name === 'responseHeaders'\">\r\n <i-table\r\n :columns=\"headerColumns\"\r\n :data=\"responseHeaders\"\r\n class=\"diy-table\"\r\n >\r\n </i-table>\r\n </div>\r\n <template v-if=\"active.name === 'requestHeaders'\">\r\n <i-table\r\n :columns=\"headerColumns\"\r\n :data=\"requestHeaders\"\r\n class=\"diy-table\"\r\n >\r\n </i-table>\r\n </template>\r\n <template v-if=\"active.name === 'cookies'\">\r\n <i-table\r\n :columns=\"headerColumns\"\r\n :data=\"cookies\"\r\n class=\"diy-table\"\r\n >\r\n </i-table>\r\n </template>\r\n </div>\r\n </main>\r\n</article>\r\n"
|
|
25827
|
+
module.exports = "<article class=\"response\">\r\n <header\r\n :class=\"{'status-success': response.code === 200, 'status-fail': response.code && response.code!==200}\"\r\n >\r\n <span class=\"title\">响应</span>\r\n <div class=\"items-div\">\r\n <span class=\"item-name\">响应码:</span\r\n ><span class=\"item-value\">{{response.code}}</span>\r\n <span class=\"item-name\">时间:</span\r\n ><span class=\"item-value\">{{response.time}}ms</span>\r\n <span class=\"item-name\">大小:</span\r\n ><span class=\"item-value\">{{response.size}}B</span>\r\n </div>\r\n </header>\r\n <main>\r\n <div class=\"response-bar\">\r\n <div\r\n class=\"tag\"\r\n @click=\"onClickResponseSettingTpye(item)\"\r\n :class=\"{'active': item.name === active.name}\"\r\n v-for=\"(item,index) in responseSettingTypeList\"\r\n :key=\"item.name\"\r\n >\r\n <span\r\n >{{item.title + (item.num > 0 ? '(' + item.num + ')':\r\n \"\")}}</span\r\n >\r\n </div>\r\n </div>\r\n <div class=\"response-content\">\r\n <template v-if=\"active.name === 'content'\">\r\n <header>\r\n <!-- <i-radio-group\r\n type=\"button\"\r\n class=\"diy-radio-group-button\"\r\n v-model=\"contentType\"\r\n >\r\n <i-radio label=\"Pretty\">Pretty(美化)</i-radio>\r\n <i-radio label=\"Raw\">Raw(原生)</i-radio>\r\n </i-radio-group> -->\r\n <i-radio-group\r\n type=\"button\"\r\n class=\"diy-radio-group-button\"\r\n v-model=\"contentType\"\r\n >\r\n <i-radio label=\"originalContent\">转换前</i-radio>\r\n <i-radio label=\"content\">转换后</i-radio>\r\n </i-radio-group>\r\n <i-dropdown class=\"diy-dropdown\" @on-click=\"onChangeLang\">\r\n <i-button ghost type=\"primary\" class=\"diy-btn-primary\">\r\n <span class=\"lang\">{{lang.toUpperCase()}}</span>\r\n <i class=\"api-icon icon-select\"></i>\r\n </i-button>\r\n <i-dropdown-menu slot=\"list\">\r\n <i-dropdown-item name=\"json\">JSON</i-dropdown-item>\r\n <i-dropdown-item name=\"xml\">XML</i-dropdown-item>\r\n </i-dropdown-menu>\r\n </i-dropdown>\r\n </header>\r\n <u-editor\r\n :value=\"content\"\r\n :lang=\"lang\"\r\n @inited=\"onEditorInited\"\r\n ></u-editor>\r\n </template>\r\n <div v-if=\"active.name === 'responseHeaders'\">\r\n <i-table\r\n :columns=\"headerColumns\"\r\n :data=\"responseHeaders\"\r\n class=\"diy-table\"\r\n >\r\n </i-table>\r\n </div>\r\n <template v-if=\"active.name === 'requestHeaders'\">\r\n <i-table\r\n :columns=\"headerColumns\"\r\n :data=\"requestHeaders\"\r\n class=\"diy-table\"\r\n >\r\n </i-table>\r\n </template>\r\n <template v-if=\"active.name === 'cookies'\">\r\n <i-table\r\n :columns=\"headerColumns\"\r\n :data=\"cookies\"\r\n class=\"diy-table\"\r\n >\r\n </i-table>\r\n </template>\r\n <template v-if=\"active.name==='output'\">\r\n <span class=\"output\">{{output}}</span>\r\n </template>\r\n </div>\r\n </main>\r\n</article>\r\n"
|
|
24841
25828
|
|
|
24842
25829
|
/***/ }),
|
|
24843
25830
|
|
|
@@ -36188,6 +37175,13 @@ module.exports = function (bitmap, value) {
|
|
|
36188
37175
|
};
|
|
36189
37176
|
|
|
36190
37177
|
|
|
37178
|
+
/***/ }),
|
|
37179
|
+
|
|
37180
|
+
/***/ "5f48":
|
|
37181
|
+
/***/ (function(module, exports) {
|
|
37182
|
+
|
|
37183
|
+
ace.define("ace/snippets/groovy",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="groovy"})
|
|
37184
|
+
|
|
36191
37185
|
/***/ }),
|
|
36192
37186
|
|
|
36193
37187
|
/***/ "5fb2":
|
|
@@ -36437,137 +37431,27 @@ module.exports = !nativeAssign || fails(function () {
|
|
|
36437
37431
|
var argumentsLength = arguments.length;
|
|
36438
37432
|
var index = 1;
|
|
36439
37433
|
var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
|
|
36440
|
-
var propertyIsEnumerable = propertyIsEnumerableModule.f;
|
|
36441
|
-
while (argumentsLength > index) {
|
|
36442
|
-
var S = IndexedObject(arguments[index++]);
|
|
36443
|
-
var keys = getOwnPropertySymbols ? objectKeys(S).concat(getOwnPropertySymbols(S)) : objectKeys(S);
|
|
36444
|
-
var length = keys.length;
|
|
36445
|
-
var j = 0;
|
|
36446
|
-
var key;
|
|
36447
|
-
while (length > j) {
|
|
36448
|
-
key = keys[j++];
|
|
36449
|
-
if (!DESCRIPTORS || propertyIsEnumerable.call(S, key)) T[key] = S[key];
|
|
36450
|
-
}
|
|
36451
|
-
} return T;
|
|
36452
|
-
} : nativeAssign;
|
|
36453
|
-
|
|
36454
|
-
|
|
36455
|
-
/***/ }),
|
|
36456
|
-
|
|
36457
|
-
/***/ "6255":
|
|
36458
|
-
/***/ (function(module, exports) {
|
|
36459
|
-
|
|
36460
|
-
module.exports = "<i-modal\r\n draggable\r\n sticky\r\n reset-drag-position\r\n v-model=\"value\"\r\n class=\"diy-modal\"\r\n :mask-closable=\"false\"\r\n :title=\"data.id ? '编辑项目': '新建项目'\"\r\n>\r\n <i-form :label-width=\"95\" class=\"diy-form\" label-colon>\r\n <i-form-item label=\"项目名称\" required>\r\n <i-input\r\n v-model=\"data.name\"\r\n class=\"diy-input\"\r\n placeholder=\"请输入项目名称\"\r\n ></i-input>\r\n </i-form-item>\r\n <i-form-item label=\"项目描述\">\r\n <i-input\r\n class=\"diy-input\"\r\n type=\"textarea\"\r\n :rows=\"4\"\r\n v-model=\"data.description\"\r\n placeholder=\"请输入项目描述\"\r\n ></i-input>\r\n </i-form-item>\r\n </i-form>\r\n <slot slot=\"footer\" name=\"footer\"> </slot>\r\n</i-modal>\r\n"
|
|
36461
|
-
|
|
36462
|
-
/***/ }),
|
|
36463
|
-
|
|
36464
|
-
/***/ "62a2":
|
|
36465
|
-
/***/ (function(module, exports) {
|
|
36466
|
-
|
|
36467
|
-
ace.define("ace/theme/github",["require","exports","module","ace/lib/dom"], function(acequire, exports, module) {
|
|
36468
|
-
|
|
36469
|
-
exports.isDark = false;
|
|
36470
|
-
exports.cssClass = "ace-github";
|
|
36471
|
-
exports.cssText = "\
|
|
36472
|
-
.ace-github .ace_gutter {\
|
|
36473
|
-
background: #e8e8e8;\
|
|
36474
|
-
color: #AAA;\
|
|
36475
|
-
}\
|
|
36476
|
-
.ace-github {\
|
|
36477
|
-
background: #fff;\
|
|
36478
|
-
color: #000;\
|
|
36479
|
-
}\
|
|
36480
|
-
.ace-github .ace_keyword {\
|
|
36481
|
-
font-weight: bold;\
|
|
36482
|
-
}\
|
|
36483
|
-
.ace-github .ace_string {\
|
|
36484
|
-
color: #D14;\
|
|
36485
|
-
}\
|
|
36486
|
-
.ace-github .ace_variable.ace_class {\
|
|
36487
|
-
color: teal;\
|
|
36488
|
-
}\
|
|
36489
|
-
.ace-github .ace_constant.ace_numeric {\
|
|
36490
|
-
color: #099;\
|
|
36491
|
-
}\
|
|
36492
|
-
.ace-github .ace_constant.ace_buildin {\
|
|
36493
|
-
color: #0086B3;\
|
|
36494
|
-
}\
|
|
36495
|
-
.ace-github .ace_support.ace_function {\
|
|
36496
|
-
color: #0086B3;\
|
|
36497
|
-
}\
|
|
36498
|
-
.ace-github .ace_comment {\
|
|
36499
|
-
color: #998;\
|
|
36500
|
-
font-style: italic;\
|
|
36501
|
-
}\
|
|
36502
|
-
.ace-github .ace_variable.ace_language {\
|
|
36503
|
-
color: #0086B3;\
|
|
36504
|
-
}\
|
|
36505
|
-
.ace-github .ace_paren {\
|
|
36506
|
-
font-weight: bold;\
|
|
36507
|
-
}\
|
|
36508
|
-
.ace-github .ace_boolean {\
|
|
36509
|
-
font-weight: bold;\
|
|
36510
|
-
}\
|
|
36511
|
-
.ace-github .ace_string.ace_regexp {\
|
|
36512
|
-
color: #009926;\
|
|
36513
|
-
font-weight: normal;\
|
|
36514
|
-
}\
|
|
36515
|
-
.ace-github .ace_variable.ace_instance {\
|
|
36516
|
-
color: teal;\
|
|
36517
|
-
}\
|
|
36518
|
-
.ace-github .ace_constant.ace_language {\
|
|
36519
|
-
font-weight: bold;\
|
|
36520
|
-
}\
|
|
36521
|
-
.ace-github .ace_cursor {\
|
|
36522
|
-
color: black;\
|
|
36523
|
-
}\
|
|
36524
|
-
.ace-github.ace_focus .ace_marker-layer .ace_active-line {\
|
|
36525
|
-
background: rgb(255, 255, 204);\
|
|
36526
|
-
}\
|
|
36527
|
-
.ace-github .ace_marker-layer .ace_active-line {\
|
|
36528
|
-
background: rgb(245, 245, 245);\
|
|
36529
|
-
}\
|
|
36530
|
-
.ace-github .ace_marker-layer .ace_selection {\
|
|
36531
|
-
background: rgb(181, 213, 255);\
|
|
36532
|
-
}\
|
|
36533
|
-
.ace-github.ace_multiselect .ace_selection.ace_start {\
|
|
36534
|
-
box-shadow: 0 0 3px 0px white;\
|
|
36535
|
-
}\
|
|
36536
|
-
.ace-github.ace_nobold .ace_line > span {\
|
|
36537
|
-
font-weight: normal !important;\
|
|
36538
|
-
}\
|
|
36539
|
-
.ace-github .ace_marker-layer .ace_step {\
|
|
36540
|
-
background: rgb(252, 255, 0);\
|
|
36541
|
-
}\
|
|
36542
|
-
.ace-github .ace_marker-layer .ace_stack {\
|
|
36543
|
-
background: rgb(164, 229, 101);\
|
|
36544
|
-
}\
|
|
36545
|
-
.ace-github .ace_marker-layer .ace_bracket {\
|
|
36546
|
-
margin: -1px 0 0 -1px;\
|
|
36547
|
-
border: 1px solid rgb(192, 192, 192);\
|
|
36548
|
-
}\
|
|
36549
|
-
.ace-github .ace_gutter-active-line {\
|
|
36550
|
-
background-color : rgba(0, 0, 0, 0.07);\
|
|
36551
|
-
}\
|
|
36552
|
-
.ace-github .ace_marker-layer .ace_selected-word {\
|
|
36553
|
-
background: rgb(250, 250, 255);\
|
|
36554
|
-
border: 1px solid rgb(200, 200, 250);\
|
|
36555
|
-
}\
|
|
36556
|
-
.ace-github .ace_invisible {\
|
|
36557
|
-
color: #BFBFBF\
|
|
36558
|
-
}\
|
|
36559
|
-
.ace-github .ace_print-margin {\
|
|
36560
|
-
width: 1px;\
|
|
36561
|
-
background: #e8e8e8;\
|
|
36562
|
-
}\
|
|
36563
|
-
.ace-github .ace_indent-guide {\
|
|
36564
|
-
background: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==\") right repeat-y;\
|
|
36565
|
-
}";
|
|
37434
|
+
var propertyIsEnumerable = propertyIsEnumerableModule.f;
|
|
37435
|
+
while (argumentsLength > index) {
|
|
37436
|
+
var S = IndexedObject(arguments[index++]);
|
|
37437
|
+
var keys = getOwnPropertySymbols ? objectKeys(S).concat(getOwnPropertySymbols(S)) : objectKeys(S);
|
|
37438
|
+
var length = keys.length;
|
|
37439
|
+
var j = 0;
|
|
37440
|
+
var key;
|
|
37441
|
+
while (length > j) {
|
|
37442
|
+
key = keys[j++];
|
|
37443
|
+
if (!DESCRIPTORS || propertyIsEnumerable.call(S, key)) T[key] = S[key];
|
|
37444
|
+
}
|
|
37445
|
+
} return T;
|
|
37446
|
+
} : nativeAssign;
|
|
36566
37447
|
|
|
36567
|
-
var dom = acequire("../lib/dom");
|
|
36568
|
-
dom.importCssString(exports.cssText, exports.cssClass);
|
|
36569
|
-
});
|
|
36570
37448
|
|
|
37449
|
+
/***/ }),
|
|
37450
|
+
|
|
37451
|
+
/***/ "6255":
|
|
37452
|
+
/***/ (function(module, exports) {
|
|
37453
|
+
|
|
37454
|
+
module.exports = "<i-modal\r\n draggable\r\n sticky\r\n reset-drag-position\r\n v-model=\"value\"\r\n class=\"diy-modal\"\r\n :mask-closable=\"false\"\r\n :title=\"data.id ? '编辑项目': '新建项目'\"\r\n>\r\n <i-form :label-width=\"95\" class=\"diy-form\" label-colon>\r\n <i-form-item label=\"项目名称\" required>\r\n <i-input\r\n v-model=\"data.name\"\r\n class=\"diy-input\"\r\n placeholder=\"请输入项目名称\"\r\n ></i-input>\r\n </i-form-item>\r\n <i-form-item label=\"项目描述\">\r\n <i-input\r\n class=\"diy-input\"\r\n type=\"textarea\"\r\n :rows=\"4\"\r\n v-model=\"data.description\"\r\n placeholder=\"请输入项目描述\"\r\n ></i-input>\r\n </i-form-item>\r\n </i-form>\r\n <slot slot=\"footer\" name=\"footer\"> </slot>\r\n</i-modal>\r\n"
|
|
36571
37455
|
|
|
36572
37456
|
/***/ }),
|
|
36573
37457
|
|
|
@@ -39551,7 +40435,7 @@ module.exports = function (S, index, unicode) {
|
|
|
39551
40435
|
/***/ "8ab8":
|
|
39552
40436
|
/***/ (function(module, exports) {
|
|
39553
40437
|
|
|
39554
|
-
module.exports = "<article class=\"pre-execution-setting\">\r\n <section class=\"script\">\r\n <u-editor\r\n @inited=\"onEditorInited\"\r\n :value.sync=\"script\"\r\n lang=\"
|
|
40438
|
+
module.exports = "<article class=\"pre-execution-setting\">\r\n <section class=\"script\">\r\n <u-editor\r\n @inited=\"onEditorInited\"\r\n :value.sync=\"script\"\r\n lang=\"groovy\"\r\n ></u-editor>\r\n </section>\r\n <section class=\"quick-input\">\r\n <div class=\"info\">\r\n <p>{{scriptData.description}}</p>\r\n <!-- <ul>\r\n <li>request: 请求</li>\r\n </ul> -->\r\n </div>\r\n <div class=\"quick-list\">\r\n <div v-for=\"type in scriptData.group\" class=\"quick-type\">\r\n <p>{{type.name}}</p>\r\n <div\r\n v-for=\"item in type.list\"\r\n :key=\"item.name\"\r\n class=\"quick-item\"\r\n @click=\"onClickItem(item)\"\r\n >\r\n <i class=\"api-icon icon-item\"></i> {{item.name}}\r\n </div>\r\n </div>\r\n </div>\r\n </section>\r\n</article>\r\n"
|
|
39555
40439
|
|
|
39556
40440
|
/***/ }),
|
|
39557
40441
|
|
|
@@ -39735,6 +40619,141 @@ var POLYFILL = isForced.POLYFILL = 'P';
|
|
|
39735
40619
|
module.exports = isForced;
|
|
39736
40620
|
|
|
39737
40621
|
|
|
40622
|
+
/***/ }),
|
|
40623
|
+
|
|
40624
|
+
/***/ "95b8":
|
|
40625
|
+
/***/ (function(module, exports) {
|
|
40626
|
+
|
|
40627
|
+
ace.define("ace/theme/chrome",["require","exports","module","ace/lib/dom"], function(acequire, exports, module) {
|
|
40628
|
+
|
|
40629
|
+
exports.isDark = false;
|
|
40630
|
+
exports.cssClass = "ace-chrome";
|
|
40631
|
+
exports.cssText = ".ace-chrome .ace_gutter {\
|
|
40632
|
+
background: #ebebeb;\
|
|
40633
|
+
color: #333;\
|
|
40634
|
+
overflow : hidden;\
|
|
40635
|
+
}\
|
|
40636
|
+
.ace-chrome .ace_print-margin {\
|
|
40637
|
+
width: 1px;\
|
|
40638
|
+
background: #e8e8e8;\
|
|
40639
|
+
}\
|
|
40640
|
+
.ace-chrome {\
|
|
40641
|
+
background-color: #FFFFFF;\
|
|
40642
|
+
color: black;\
|
|
40643
|
+
}\
|
|
40644
|
+
.ace-chrome .ace_cursor {\
|
|
40645
|
+
color: black;\
|
|
40646
|
+
}\
|
|
40647
|
+
.ace-chrome .ace_invisible {\
|
|
40648
|
+
color: rgb(191, 191, 191);\
|
|
40649
|
+
}\
|
|
40650
|
+
.ace-chrome .ace_constant.ace_buildin {\
|
|
40651
|
+
color: rgb(88, 72, 246);\
|
|
40652
|
+
}\
|
|
40653
|
+
.ace-chrome .ace_constant.ace_language {\
|
|
40654
|
+
color: rgb(88, 92, 246);\
|
|
40655
|
+
}\
|
|
40656
|
+
.ace-chrome .ace_constant.ace_library {\
|
|
40657
|
+
color: rgb(6, 150, 14);\
|
|
40658
|
+
}\
|
|
40659
|
+
.ace-chrome .ace_invalid {\
|
|
40660
|
+
background-color: rgb(153, 0, 0);\
|
|
40661
|
+
color: white;\
|
|
40662
|
+
}\
|
|
40663
|
+
.ace-chrome .ace_fold {\
|
|
40664
|
+
}\
|
|
40665
|
+
.ace-chrome .ace_support.ace_function {\
|
|
40666
|
+
color: rgb(60, 76, 114);\
|
|
40667
|
+
}\
|
|
40668
|
+
.ace-chrome .ace_support.ace_constant {\
|
|
40669
|
+
color: rgb(6, 150, 14);\
|
|
40670
|
+
}\
|
|
40671
|
+
.ace-chrome .ace_support.ace_type,\
|
|
40672
|
+
.ace-chrome .ace_support.ace_class\
|
|
40673
|
+
.ace-chrome .ace_support.ace_other {\
|
|
40674
|
+
color: rgb(109, 121, 222);\
|
|
40675
|
+
}\
|
|
40676
|
+
.ace-chrome .ace_variable.ace_parameter {\
|
|
40677
|
+
font-style:italic;\
|
|
40678
|
+
color:#FD971F;\
|
|
40679
|
+
}\
|
|
40680
|
+
.ace-chrome .ace_keyword.ace_operator {\
|
|
40681
|
+
color: rgb(104, 118, 135);\
|
|
40682
|
+
}\
|
|
40683
|
+
.ace-chrome .ace_comment {\
|
|
40684
|
+
color: #236e24;\
|
|
40685
|
+
}\
|
|
40686
|
+
.ace-chrome .ace_comment.ace_doc {\
|
|
40687
|
+
color: #236e24;\
|
|
40688
|
+
}\
|
|
40689
|
+
.ace-chrome .ace_comment.ace_doc.ace_tag {\
|
|
40690
|
+
color: #236e24;\
|
|
40691
|
+
}\
|
|
40692
|
+
.ace-chrome .ace_constant.ace_numeric {\
|
|
40693
|
+
color: rgb(0, 0, 205);\
|
|
40694
|
+
}\
|
|
40695
|
+
.ace-chrome .ace_variable {\
|
|
40696
|
+
color: rgb(49, 132, 149);\
|
|
40697
|
+
}\
|
|
40698
|
+
.ace-chrome .ace_xml-pe {\
|
|
40699
|
+
color: rgb(104, 104, 91);\
|
|
40700
|
+
}\
|
|
40701
|
+
.ace-chrome .ace_entity.ace_name.ace_function {\
|
|
40702
|
+
color: #0000A2;\
|
|
40703
|
+
}\
|
|
40704
|
+
.ace-chrome .ace_heading {\
|
|
40705
|
+
color: rgb(12, 7, 255);\
|
|
40706
|
+
}\
|
|
40707
|
+
.ace-chrome .ace_list {\
|
|
40708
|
+
color:rgb(185, 6, 144);\
|
|
40709
|
+
}\
|
|
40710
|
+
.ace-chrome .ace_marker-layer .ace_selection {\
|
|
40711
|
+
background: rgb(181, 213, 255);\
|
|
40712
|
+
}\
|
|
40713
|
+
.ace-chrome .ace_marker-layer .ace_step {\
|
|
40714
|
+
background: rgb(252, 255, 0);\
|
|
40715
|
+
}\
|
|
40716
|
+
.ace-chrome .ace_marker-layer .ace_stack {\
|
|
40717
|
+
background: rgb(164, 229, 101);\
|
|
40718
|
+
}\
|
|
40719
|
+
.ace-chrome .ace_marker-layer .ace_bracket {\
|
|
40720
|
+
margin: -1px 0 0 -1px;\
|
|
40721
|
+
border: 1px solid rgb(192, 192, 192);\
|
|
40722
|
+
}\
|
|
40723
|
+
.ace-chrome .ace_marker-layer .ace_active-line {\
|
|
40724
|
+
background: rgba(0, 0, 0, 0.07);\
|
|
40725
|
+
}\
|
|
40726
|
+
.ace-chrome .ace_gutter-active-line {\
|
|
40727
|
+
background-color : #dcdcdc;\
|
|
40728
|
+
}\
|
|
40729
|
+
.ace-chrome .ace_marker-layer .ace_selected-word {\
|
|
40730
|
+
background: rgb(250, 250, 255);\
|
|
40731
|
+
border: 1px solid rgb(200, 200, 250);\
|
|
40732
|
+
}\
|
|
40733
|
+
.ace-chrome .ace_storage,\
|
|
40734
|
+
.ace-chrome .ace_keyword,\
|
|
40735
|
+
.ace-chrome .ace_meta.ace_tag {\
|
|
40736
|
+
color: rgb(147, 15, 128);\
|
|
40737
|
+
}\
|
|
40738
|
+
.ace-chrome .ace_string.ace_regex {\
|
|
40739
|
+
color: rgb(255, 0, 0)\
|
|
40740
|
+
}\
|
|
40741
|
+
.ace-chrome .ace_string {\
|
|
40742
|
+
color: #1A1AA6;\
|
|
40743
|
+
}\
|
|
40744
|
+
.ace-chrome .ace_entity.ace_other.ace_attribute-name {\
|
|
40745
|
+
color: #994409;\
|
|
40746
|
+
}\
|
|
40747
|
+
.ace-chrome .ace_indent-guide {\
|
|
40748
|
+
background: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==\") right repeat-y;\
|
|
40749
|
+
}\
|
|
40750
|
+
";
|
|
40751
|
+
|
|
40752
|
+
var dom = acequire("../lib/dom");
|
|
40753
|
+
dom.importCssString(exports.cssText, exports.cssClass);
|
|
40754
|
+
});
|
|
40755
|
+
|
|
40756
|
+
|
|
39738
40757
|
/***/ }),
|
|
39739
40758
|
|
|
39740
40759
|
/***/ "9721":
|
|
@@ -46773,6 +47792,7 @@ function (_super) {
|
|
|
46773
47792
|
project_list_decorate([autowired(project_list_service), project_list_metadata("design:type", typeof (_a = typeof project_list_service !== "undefined" && project_list_service) === "function" ? _a : Object)], ProjectList.prototype, "service", void 0);
|
|
46774
47793
|
|
|
46775
47794
|
ProjectList = project_list_decorate([Object(flagwind_web_["component"])({
|
|
47795
|
+
name: "ApiProjectList",
|
|
46776
47796
|
template: __webpack_require__("cfb3"),
|
|
46777
47797
|
components: {
|
|
46778
47798
|
"u-card": project_list_card,
|
|
@@ -47039,6 +48059,14 @@ function (_super) {
|
|
|
47039
48059
|
});
|
|
47040
48060
|
};
|
|
47041
48061
|
|
|
48062
|
+
ApiService.prototype.preScript = function () {
|
|
48063
|
+
return this._get("/api-help/preScript.json");
|
|
48064
|
+
};
|
|
48065
|
+
|
|
48066
|
+
ApiService.prototype.postScript = function () {
|
|
48067
|
+
return this._get("/api-help/postScript.json");
|
|
48068
|
+
};
|
|
48069
|
+
|
|
47042
48070
|
var _a, _b;
|
|
47043
48071
|
|
|
47044
48072
|
project_detail_service_decorate([serviceHandler("query", {
|
|
@@ -47081,6 +48109,14 @@ function (_super) {
|
|
|
47081
48109
|
title: "提取json的节点数据"
|
|
47082
48110
|
}), project_detail_service_metadata("design:type", Function), project_detail_service_metadata("design:paramtypes", [String, String, Boolean]), project_detail_service_metadata("design:returntype", void 0)], ApiService.prototype, "parseResponse2Fields", null);
|
|
47083
48111
|
|
|
48112
|
+
project_detail_service_decorate([serviceHandler("query", {
|
|
48113
|
+
title: "前置脚本"
|
|
48114
|
+
}), project_detail_service_metadata("design:type", Function), project_detail_service_metadata("design:paramtypes", []), project_detail_service_metadata("design:returntype", void 0)], ApiService.prototype, "preScript", null);
|
|
48115
|
+
|
|
48116
|
+
project_detail_service_decorate([serviceHandler("query", {
|
|
48117
|
+
title: "后置脚本"
|
|
48118
|
+
}), project_detail_service_metadata("design:type", Function), project_detail_service_metadata("design:paramtypes", []), project_detail_service_metadata("design:returntype", void 0)], ApiService.prototype, "postScript", null);
|
|
48119
|
+
|
|
47084
48120
|
return ApiService;
|
|
47085
48121
|
}(common_service);
|
|
47086
48122
|
|
|
@@ -47764,6 +48800,7 @@ function (_super) {
|
|
|
47764
48800
|
project_comment_decorate([autowired(project_comment_service), project_comment_metadata("design:type", typeof (_a = typeof project_comment_service !== "undefined" && project_comment_service) === "function" ? _a : Object)], ProjectComment.prototype, "service", void 0);
|
|
47765
48801
|
|
|
47766
48802
|
ProjectComment = project_comment_decorate([Object(flagwind_web_["component"])({
|
|
48803
|
+
name: "ApiProjectComment",
|
|
47767
48804
|
template: __webpack_require__("b769"),
|
|
47768
48805
|
components: {
|
|
47769
48806
|
VirtualList: dist_default.a
|
|
@@ -48081,14 +49118,18 @@ function (_super) {
|
|
|
48081
49118
|
|
|
48082
49119
|
_this.option = {
|
|
48083
49120
|
showPrintMargin: false,
|
|
48084
|
-
wrap: "free"
|
|
49121
|
+
wrap: "free",
|
|
49122
|
+
fontSize: 15
|
|
48085
49123
|
};
|
|
48086
49124
|
return _this;
|
|
48087
49125
|
}
|
|
48088
49126
|
|
|
48089
49127
|
CodeEditor.prototype.editorInit = function (editor) {
|
|
48090
49128
|
// tslint:disable-next-line
|
|
48091
|
-
__webpack_require__("
|
|
49129
|
+
__webpack_require__("0f6a"); // tslint:disable-next-line
|
|
49130
|
+
|
|
49131
|
+
|
|
49132
|
+
__webpack_require__("5f48"); // tslint:disable-next-line
|
|
48092
49133
|
|
|
48093
49134
|
|
|
48094
49135
|
__webpack_require__("818b"); // tslint:disable-next-line
|
|
@@ -48100,14 +49141,17 @@ function (_super) {
|
|
|
48100
49141
|
__webpack_require__("bb36"); // tslint:disable-next-line
|
|
48101
49142
|
|
|
48102
49143
|
|
|
48103
|
-
__webpack_require__("
|
|
49144
|
+
__webpack_require__("95b8"); // require("brace/theme/github");
|
|
48104
49145
|
// tslint:disable-next-line
|
|
48105
49146
|
|
|
48106
49147
|
|
|
48107
49148
|
__webpack_require__("6a21"); // tslint:disable-next-line
|
|
48108
49149
|
|
|
48109
49150
|
|
|
48110
|
-
__webpack_require__("b039");
|
|
49151
|
+
__webpack_require__("b039"); // tslint:disable-next-line
|
|
49152
|
+
|
|
49153
|
+
|
|
49154
|
+
__webpack_require__("2099");
|
|
48111
49155
|
|
|
48112
49156
|
this.$emit("inited", editor);
|
|
48113
49157
|
};
|
|
@@ -48218,6 +49262,12 @@ var pre_execution_setting = __webpack_require__("d928");
|
|
|
48218
49262
|
|
|
48219
49263
|
|
|
48220
49264
|
|
|
49265
|
+
|
|
49266
|
+
|
|
49267
|
+
|
|
49268
|
+
|
|
49269
|
+
|
|
49270
|
+
|
|
48221
49271
|
var pre_execution_setting_extends = undefined && undefined.__extends || function () {
|
|
48222
49272
|
var _extendStatics = function extendStatics(d, b) {
|
|
48223
49273
|
_extendStatics = Object.setPrototypeOf || {
|
|
@@ -48230,35 +49280,180 @@ var pre_execution_setting_extends = undefined && undefined.__extends || function
|
|
|
48230
49280
|
}
|
|
48231
49281
|
};
|
|
48232
49282
|
|
|
48233
|
-
return _extendStatics(d, b);
|
|
48234
|
-
};
|
|
49283
|
+
return _extendStatics(d, b);
|
|
49284
|
+
};
|
|
49285
|
+
|
|
49286
|
+
return function (d, b) {
|
|
49287
|
+
if (typeof b !== "function" && b !== null) throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
49288
|
+
|
|
49289
|
+
_extendStatics(d, b);
|
|
49290
|
+
|
|
49291
|
+
function __() {
|
|
49292
|
+
this.constructor = d;
|
|
49293
|
+
}
|
|
49294
|
+
|
|
49295
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
49296
|
+
};
|
|
49297
|
+
}();
|
|
49298
|
+
|
|
49299
|
+
var pre_execution_setting_decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
49300
|
+
var c = arguments.length,
|
|
49301
|
+
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
49302
|
+
d;
|
|
49303
|
+
if ((typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) {
|
|
49304
|
+
if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
49305
|
+
}
|
|
49306
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
49307
|
+
};
|
|
49308
|
+
|
|
49309
|
+
var pre_execution_setting_metadata = undefined && undefined.__metadata || function (k, v) {
|
|
49310
|
+
if ((typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
49311
|
+
};
|
|
49312
|
+
|
|
49313
|
+
var pre_execution_setting_awaiter = undefined && undefined.__awaiter || function (thisArg, _arguments, P, generator) {
|
|
49314
|
+
function adopt(value) {
|
|
49315
|
+
return value instanceof P ? value : new P(function (resolve) {
|
|
49316
|
+
resolve(value);
|
|
49317
|
+
});
|
|
49318
|
+
}
|
|
49319
|
+
|
|
49320
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
49321
|
+
function fulfilled(value) {
|
|
49322
|
+
try {
|
|
49323
|
+
step(generator.next(value));
|
|
49324
|
+
} catch (e) {
|
|
49325
|
+
reject(e);
|
|
49326
|
+
}
|
|
49327
|
+
}
|
|
49328
|
+
|
|
49329
|
+
function rejected(value) {
|
|
49330
|
+
try {
|
|
49331
|
+
step(generator["throw"](value));
|
|
49332
|
+
} catch (e) {
|
|
49333
|
+
reject(e);
|
|
49334
|
+
}
|
|
49335
|
+
}
|
|
49336
|
+
|
|
49337
|
+
function step(result) {
|
|
49338
|
+
result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
|
|
49339
|
+
}
|
|
49340
|
+
|
|
49341
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
49342
|
+
});
|
|
49343
|
+
};
|
|
49344
|
+
|
|
49345
|
+
var pre_execution_setting_generator = undefined && undefined.__generator || function (thisArg, body) {
|
|
49346
|
+
var _ = {
|
|
49347
|
+
label: 0,
|
|
49348
|
+
sent: function sent() {
|
|
49349
|
+
if (t[0] & 1) throw t[1];
|
|
49350
|
+
return t[1];
|
|
49351
|
+
},
|
|
49352
|
+
trys: [],
|
|
49353
|
+
ops: []
|
|
49354
|
+
},
|
|
49355
|
+
f,
|
|
49356
|
+
y,
|
|
49357
|
+
t,
|
|
49358
|
+
g;
|
|
49359
|
+
return g = {
|
|
49360
|
+
next: verb(0),
|
|
49361
|
+
"throw": verb(1),
|
|
49362
|
+
"return": verb(2)
|
|
49363
|
+
}, typeof Symbol === "function" && (g[Symbol.iterator] = function () {
|
|
49364
|
+
return this;
|
|
49365
|
+
}), g;
|
|
49366
|
+
|
|
49367
|
+
function verb(n) {
|
|
49368
|
+
return function (v) {
|
|
49369
|
+
return step([n, v]);
|
|
49370
|
+
};
|
|
49371
|
+
}
|
|
49372
|
+
|
|
49373
|
+
function step(op) {
|
|
49374
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
49375
|
+
|
|
49376
|
+
while (_) {
|
|
49377
|
+
try {
|
|
49378
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
49379
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
49380
|
+
|
|
49381
|
+
switch (op[0]) {
|
|
49382
|
+
case 0:
|
|
49383
|
+
case 1:
|
|
49384
|
+
t = op;
|
|
49385
|
+
break;
|
|
49386
|
+
|
|
49387
|
+
case 4:
|
|
49388
|
+
_.label++;
|
|
49389
|
+
return {
|
|
49390
|
+
value: op[1],
|
|
49391
|
+
done: false
|
|
49392
|
+
};
|
|
49393
|
+
|
|
49394
|
+
case 5:
|
|
49395
|
+
_.label++;
|
|
49396
|
+
y = op[1];
|
|
49397
|
+
op = [0];
|
|
49398
|
+
continue;
|
|
49399
|
+
|
|
49400
|
+
case 7:
|
|
49401
|
+
op = _.ops.pop();
|
|
49402
|
+
|
|
49403
|
+
_.trys.pop();
|
|
49404
|
+
|
|
49405
|
+
continue;
|
|
49406
|
+
|
|
49407
|
+
default:
|
|
49408
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
49409
|
+
_ = 0;
|
|
49410
|
+
continue;
|
|
49411
|
+
}
|
|
49412
|
+
|
|
49413
|
+
if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
|
|
49414
|
+
_.label = op[1];
|
|
49415
|
+
break;
|
|
49416
|
+
}
|
|
49417
|
+
|
|
49418
|
+
if (op[0] === 6 && _.label < t[1]) {
|
|
49419
|
+
_.label = t[1];
|
|
49420
|
+
t = op;
|
|
49421
|
+
break;
|
|
49422
|
+
}
|
|
49423
|
+
|
|
49424
|
+
if (t && _.label < t[2]) {
|
|
49425
|
+
_.label = t[2];
|
|
48235
49426
|
|
|
48236
|
-
|
|
48237
|
-
if (typeof b !== "function" && b !== null) throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
49427
|
+
_.ops.push(op);
|
|
48238
49428
|
|
|
48239
|
-
|
|
49429
|
+
break;
|
|
49430
|
+
}
|
|
48240
49431
|
|
|
48241
|
-
|
|
48242
|
-
this.constructor = d;
|
|
48243
|
-
}
|
|
49432
|
+
if (t[2]) _.ops.pop();
|
|
48244
49433
|
|
|
48245
|
-
|
|
48246
|
-
};
|
|
48247
|
-
}();
|
|
49434
|
+
_.trys.pop();
|
|
48248
49435
|
|
|
48249
|
-
|
|
48250
|
-
|
|
48251
|
-
|
|
48252
|
-
|
|
48253
|
-
|
|
48254
|
-
|
|
49436
|
+
continue;
|
|
49437
|
+
}
|
|
49438
|
+
|
|
49439
|
+
op = body.call(thisArg, _);
|
|
49440
|
+
} catch (e) {
|
|
49441
|
+
op = [6, e];
|
|
49442
|
+
y = 0;
|
|
49443
|
+
} finally {
|
|
49444
|
+
f = t = 0;
|
|
49445
|
+
}
|
|
49446
|
+
}
|
|
49447
|
+
|
|
49448
|
+
if (op[0] & 5) throw op[1];
|
|
49449
|
+
return {
|
|
49450
|
+
value: op[0] ? op[1] : void 0,
|
|
49451
|
+
done: true
|
|
49452
|
+
};
|
|
48255
49453
|
}
|
|
48256
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
48257
49454
|
};
|
|
48258
49455
|
|
|
48259
|
-
|
|
48260
|
-
if ((typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
48261
|
-
};
|
|
49456
|
+
|
|
48262
49457
|
|
|
48263
49458
|
|
|
48264
49459
|
|
|
@@ -48274,54 +49469,39 @@ function (_super) {
|
|
|
48274
49469
|
function PreExecutionSetting() {
|
|
48275
49470
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
48276
49471
|
|
|
49472
|
+
_this.scriptData = {};
|
|
48277
49473
|
_this.model = new PreScript();
|
|
48278
|
-
_this.description = "前执脚本在发送请求前,对请求头、请求体进行转换。默认变量 request ,语法基于 groovy 语言(基于 JVM 的脚本语言)";
|
|
48279
49474
|
_this.key = "preScripts";
|
|
48280
|
-
_this.quickList = [{
|
|
48281
|
-
type: "响应参数",
|
|
48282
|
-
children: [{
|
|
48283
|
-
title: "响应内容是否为test",
|
|
48284
|
-
value: "test"
|
|
48285
|
-
}, {
|
|
48286
|
-
title: "响应码是否为200",
|
|
48287
|
-
value: "code==200"
|
|
48288
|
-
}, {
|
|
48289
|
-
title: "响应时间是否大于100ms",
|
|
48290
|
-
value: "time>100"
|
|
48291
|
-
}]
|
|
48292
|
-
}, {
|
|
48293
|
-
type: "响应数据",
|
|
48294
|
-
children: [{
|
|
48295
|
-
title: "测试响应Json对象的code是否为1",
|
|
48296
|
-
value: "code == 1"
|
|
48297
|
-
}, {
|
|
48298
|
-
title: "测试响应Json对象的code是否大于等于1",
|
|
48299
|
-
value: "code>=1"
|
|
48300
|
-
}, {
|
|
48301
|
-
title: "将响应Json对象数据设置为环境变量",
|
|
48302
|
-
value: "env.set"
|
|
48303
|
-
}, {
|
|
48304
|
-
title: "测试响应Json对象的code是否为1",
|
|
48305
|
-
value: "code "
|
|
48306
|
-
}, {
|
|
48307
|
-
title: "测试响应Json对象的code是否大于等于1",
|
|
48308
|
-
value: "code=1"
|
|
48309
|
-
}, {
|
|
48310
|
-
title: "将响应Json对象数据设置为环境变量",
|
|
48311
|
-
value: "env.get"
|
|
48312
|
-
}, {
|
|
48313
|
-
title: "测试响应Json对象的code是否大于等于1",
|
|
48314
|
-
value: "code=11"
|
|
48315
|
-
}, {
|
|
48316
|
-
title: "将响应Json对象数据设置为环境变量",
|
|
48317
|
-
value: "env.get1"
|
|
48318
|
-
}]
|
|
48319
|
-
}];
|
|
48320
49475
|
return _this;
|
|
48321
49476
|
}
|
|
48322
49477
|
|
|
49478
|
+
PreExecutionSetting.prototype.mounted = function () {
|
|
49479
|
+
this.getScript();
|
|
49480
|
+
};
|
|
49481
|
+
|
|
49482
|
+
PreExecutionSetting.prototype.getScript = function () {
|
|
49483
|
+
return pre_execution_setting_awaiter(this, void 0, void 0, function () {
|
|
49484
|
+
var result;
|
|
49485
|
+
return pre_execution_setting_generator(this, function (_a) {
|
|
49486
|
+
switch (_a.label) {
|
|
49487
|
+
case 0:
|
|
49488
|
+
return [4
|
|
49489
|
+
/*yield*/
|
|
49490
|
+
, this.service.preScript()];
|
|
49491
|
+
|
|
49492
|
+
case 1:
|
|
49493
|
+
result = _a.sent();
|
|
49494
|
+
this.scriptData = result || {};
|
|
49495
|
+
return [2
|
|
49496
|
+
/*return*/
|
|
49497
|
+
];
|
|
49498
|
+
}
|
|
49499
|
+
});
|
|
49500
|
+
});
|
|
49501
|
+
};
|
|
49502
|
+
|
|
48323
49503
|
PreExecutionSetting.prototype.onClickItem = function (item) {
|
|
48324
|
-
this.editor.insert(item.
|
|
49504
|
+
this.editor.insert(item.code);
|
|
48325
49505
|
this.editor.focus();
|
|
48326
49506
|
};
|
|
48327
49507
|
|
|
@@ -48340,7 +49520,7 @@ function (_super) {
|
|
|
48340
49520
|
configurable: true
|
|
48341
49521
|
});
|
|
48342
49522
|
|
|
48343
|
-
var _a;
|
|
49523
|
+
var _a, _b;
|
|
48344
49524
|
|
|
48345
49525
|
pre_execution_setting_decorate([Object(flagwind_web_["config"])({
|
|
48346
49526
|
default: function _default() {
|
|
@@ -48348,6 +49528,8 @@ function (_super) {
|
|
|
48348
49528
|
}
|
|
48349
49529
|
}), pre_execution_setting_metadata("design:type", typeof (_a = typeof InterfaceModel !== "undefined" && InterfaceModel) === "function" ? _a : Object)], PreExecutionSetting.prototype, "interfaceModel", void 0);
|
|
48350
49530
|
|
|
49531
|
+
pre_execution_setting_decorate([autowired(project_detail_service), pre_execution_setting_metadata("design:type", typeof (_b = typeof project_detail_service !== "undefined" && project_detail_service) === "function" ? _b : Object)], PreExecutionSetting.prototype, "service", void 0);
|
|
49532
|
+
|
|
48351
49533
|
PreExecutionSetting = pre_execution_setting_decorate([Object(flagwind_web_["component"])({
|
|
48352
49534
|
template: __webpack_require__("8ab8"),
|
|
48353
49535
|
components: {
|
|
@@ -48365,6 +49547,12 @@ function (_super) {
|
|
|
48365
49547
|
|
|
48366
49548
|
|
|
48367
49549
|
|
|
49550
|
+
|
|
49551
|
+
|
|
49552
|
+
|
|
49553
|
+
|
|
49554
|
+
|
|
49555
|
+
|
|
48368
49556
|
var after_execution_script_extends = undefined && undefined.__extends || function () {
|
|
48369
49557
|
var _extendStatics = function extendStatics(d, b) {
|
|
48370
49558
|
_extendStatics = Object.setPrototypeOf || {
|
|
@@ -48403,6 +49591,149 @@ var after_execution_script_decorate = undefined && undefined.__decorate || funct
|
|
|
48403
49591
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
48404
49592
|
};
|
|
48405
49593
|
|
|
49594
|
+
var after_execution_script_awaiter = undefined && undefined.__awaiter || function (thisArg, _arguments, P, generator) {
|
|
49595
|
+
function adopt(value) {
|
|
49596
|
+
return value instanceof P ? value : new P(function (resolve) {
|
|
49597
|
+
resolve(value);
|
|
49598
|
+
});
|
|
49599
|
+
}
|
|
49600
|
+
|
|
49601
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
49602
|
+
function fulfilled(value) {
|
|
49603
|
+
try {
|
|
49604
|
+
step(generator.next(value));
|
|
49605
|
+
} catch (e) {
|
|
49606
|
+
reject(e);
|
|
49607
|
+
}
|
|
49608
|
+
}
|
|
49609
|
+
|
|
49610
|
+
function rejected(value) {
|
|
49611
|
+
try {
|
|
49612
|
+
step(generator["throw"](value));
|
|
49613
|
+
} catch (e) {
|
|
49614
|
+
reject(e);
|
|
49615
|
+
}
|
|
49616
|
+
}
|
|
49617
|
+
|
|
49618
|
+
function step(result) {
|
|
49619
|
+
result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
|
|
49620
|
+
}
|
|
49621
|
+
|
|
49622
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
49623
|
+
});
|
|
49624
|
+
};
|
|
49625
|
+
|
|
49626
|
+
var after_execution_script_generator = undefined && undefined.__generator || function (thisArg, body) {
|
|
49627
|
+
var _ = {
|
|
49628
|
+
label: 0,
|
|
49629
|
+
sent: function sent() {
|
|
49630
|
+
if (t[0] & 1) throw t[1];
|
|
49631
|
+
return t[1];
|
|
49632
|
+
},
|
|
49633
|
+
trys: [],
|
|
49634
|
+
ops: []
|
|
49635
|
+
},
|
|
49636
|
+
f,
|
|
49637
|
+
y,
|
|
49638
|
+
t,
|
|
49639
|
+
g;
|
|
49640
|
+
return g = {
|
|
49641
|
+
next: verb(0),
|
|
49642
|
+
"throw": verb(1),
|
|
49643
|
+
"return": verb(2)
|
|
49644
|
+
}, typeof Symbol === "function" && (g[Symbol.iterator] = function () {
|
|
49645
|
+
return this;
|
|
49646
|
+
}), g;
|
|
49647
|
+
|
|
49648
|
+
function verb(n) {
|
|
49649
|
+
return function (v) {
|
|
49650
|
+
return step([n, v]);
|
|
49651
|
+
};
|
|
49652
|
+
}
|
|
49653
|
+
|
|
49654
|
+
function step(op) {
|
|
49655
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
49656
|
+
|
|
49657
|
+
while (_) {
|
|
49658
|
+
try {
|
|
49659
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
49660
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
49661
|
+
|
|
49662
|
+
switch (op[0]) {
|
|
49663
|
+
case 0:
|
|
49664
|
+
case 1:
|
|
49665
|
+
t = op;
|
|
49666
|
+
break;
|
|
49667
|
+
|
|
49668
|
+
case 4:
|
|
49669
|
+
_.label++;
|
|
49670
|
+
return {
|
|
49671
|
+
value: op[1],
|
|
49672
|
+
done: false
|
|
49673
|
+
};
|
|
49674
|
+
|
|
49675
|
+
case 5:
|
|
49676
|
+
_.label++;
|
|
49677
|
+
y = op[1];
|
|
49678
|
+
op = [0];
|
|
49679
|
+
continue;
|
|
49680
|
+
|
|
49681
|
+
case 7:
|
|
49682
|
+
op = _.ops.pop();
|
|
49683
|
+
|
|
49684
|
+
_.trys.pop();
|
|
49685
|
+
|
|
49686
|
+
continue;
|
|
49687
|
+
|
|
49688
|
+
default:
|
|
49689
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
49690
|
+
_ = 0;
|
|
49691
|
+
continue;
|
|
49692
|
+
}
|
|
49693
|
+
|
|
49694
|
+
if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
|
|
49695
|
+
_.label = op[1];
|
|
49696
|
+
break;
|
|
49697
|
+
}
|
|
49698
|
+
|
|
49699
|
+
if (op[0] === 6 && _.label < t[1]) {
|
|
49700
|
+
_.label = t[1];
|
|
49701
|
+
t = op;
|
|
49702
|
+
break;
|
|
49703
|
+
}
|
|
49704
|
+
|
|
49705
|
+
if (t && _.label < t[2]) {
|
|
49706
|
+
_.label = t[2];
|
|
49707
|
+
|
|
49708
|
+
_.ops.push(op);
|
|
49709
|
+
|
|
49710
|
+
break;
|
|
49711
|
+
}
|
|
49712
|
+
|
|
49713
|
+
if (t[2]) _.ops.pop();
|
|
49714
|
+
|
|
49715
|
+
_.trys.pop();
|
|
49716
|
+
|
|
49717
|
+
continue;
|
|
49718
|
+
}
|
|
49719
|
+
|
|
49720
|
+
op = body.call(thisArg, _);
|
|
49721
|
+
} catch (e) {
|
|
49722
|
+
op = [6, e];
|
|
49723
|
+
y = 0;
|
|
49724
|
+
} finally {
|
|
49725
|
+
f = t = 0;
|
|
49726
|
+
}
|
|
49727
|
+
}
|
|
49728
|
+
|
|
49729
|
+
if (op[0] & 5) throw op[1];
|
|
49730
|
+
return {
|
|
49731
|
+
value: op[0] ? op[1] : void 0,
|
|
49732
|
+
done: true
|
|
49733
|
+
};
|
|
49734
|
+
}
|
|
49735
|
+
};
|
|
49736
|
+
|
|
48406
49737
|
|
|
48407
49738
|
|
|
48408
49739
|
|
|
@@ -48417,10 +49748,30 @@ function (_super) {
|
|
|
48417
49748
|
|
|
48418
49749
|
_this.key = "postScripts";
|
|
48419
49750
|
_this.model = new PostScript();
|
|
48420
|
-
_this.description = "后执脚本在发送请求后,对请求结果进行转换。默认变量 data (结果字符串),语法基于 groovy 语言(基于 JVM 的脚本语言)";
|
|
48421
49751
|
return _this;
|
|
48422
49752
|
}
|
|
48423
49753
|
|
|
49754
|
+
AfterExecutionScript.prototype.getScript = function () {
|
|
49755
|
+
return after_execution_script_awaiter(this, void 0, void 0, function () {
|
|
49756
|
+
var result;
|
|
49757
|
+
return after_execution_script_generator(this, function (_a) {
|
|
49758
|
+
switch (_a.label) {
|
|
49759
|
+
case 0:
|
|
49760
|
+
return [4
|
|
49761
|
+
/*yield*/
|
|
49762
|
+
, this.service.postScript()];
|
|
49763
|
+
|
|
49764
|
+
case 1:
|
|
49765
|
+
result = _a.sent();
|
|
49766
|
+
this.scriptData = result || {};
|
|
49767
|
+
return [2
|
|
49768
|
+
/*return*/
|
|
49769
|
+
];
|
|
49770
|
+
}
|
|
49771
|
+
});
|
|
49772
|
+
});
|
|
49773
|
+
};
|
|
49774
|
+
|
|
48424
49775
|
AfterExecutionScript = after_execution_script_decorate([Object(flagwind_web_["component"])({})], AfterExecutionScript);
|
|
48425
49776
|
return AfterExecutionScript;
|
|
48426
49777
|
}(project_detail_pre_execution_setting);
|
|
@@ -48503,6 +49854,7 @@ function () {
|
|
|
48503
49854
|
this.responseHeaders = {};
|
|
48504
49855
|
this.cookies = {};
|
|
48505
49856
|
this.errorMessage = "";
|
|
49857
|
+
this.output = "";
|
|
48506
49858
|
}
|
|
48507
49859
|
|
|
48508
49860
|
return Response;
|
|
@@ -48533,6 +49885,10 @@ function (_super) {
|
|
|
48533
49885
|
name: "cookies",
|
|
48534
49886
|
title: "Cookies",
|
|
48535
49887
|
num: 0
|
|
49888
|
+
}, {
|
|
49889
|
+
name: "output",
|
|
49890
|
+
title: "输出",
|
|
49891
|
+
num: 0
|
|
48536
49892
|
}];
|
|
48537
49893
|
_this.lang = "json"; // public contentType: "Pretty" | "Raw" = "Pretty";
|
|
48538
49894
|
|
|
@@ -48573,6 +49929,13 @@ function (_super) {
|
|
|
48573
49929
|
enumerable: false,
|
|
48574
49930
|
configurable: true
|
|
48575
49931
|
});
|
|
49932
|
+
Object.defineProperty(ResponsePanel.prototype, "output", {
|
|
49933
|
+
get: function get() {
|
|
49934
|
+
return this.response.output || "";
|
|
49935
|
+
},
|
|
49936
|
+
enumerable: false,
|
|
49937
|
+
configurable: true
|
|
49938
|
+
});
|
|
48576
49939
|
Object.defineProperty(ResponsePanel.prototype, "responseHeaders", {
|
|
48577
49940
|
get: function get() {
|
|
48578
49941
|
var _this = this;
|
|
@@ -51590,7 +52953,7 @@ function (_super) {
|
|
|
51590
52953
|
this.showCurrentModal = true;
|
|
51591
52954
|
};
|
|
51592
52955
|
|
|
51593
|
-
ProjectDetail.prototype.
|
|
52956
|
+
ProjectDetail.prototype.onRouteChange = function () {
|
|
51594
52957
|
var _a;
|
|
51595
52958
|
|
|
51596
52959
|
this.projectId = (_a = this.$route.params) === null || _a === void 0 ? void 0 : _a.id;
|
|
@@ -51616,7 +52979,13 @@ function (_super) {
|
|
|
51616
52979
|
|
|
51617
52980
|
project_detail_decorate([autowired(project_detail_service), project_detail_metadata("design:type", typeof (_a = typeof project_detail_service !== "undefined" && project_detail_service) === "function" ? _a : Object)], ProjectDetail.prototype, "service", void 0);
|
|
51618
52981
|
|
|
52982
|
+
project_detail_decorate([Object(flagwind_web_["watch"])("$route", {
|
|
52983
|
+
deep: true,
|
|
52984
|
+
immediate: true
|
|
52985
|
+
}), project_detail_metadata("design:type", Function), project_detail_metadata("design:paramtypes", []), project_detail_metadata("design:returntype", void 0)], ProjectDetail.prototype, "onRouteChange", null);
|
|
52986
|
+
|
|
51619
52987
|
ProjectDetail = project_detail_decorate([Object(flagwind_web_["component"])({
|
|
52988
|
+
name: "ApiProjectDetail",
|
|
51620
52989
|
template: __webpack_require__("d63e"),
|
|
51621
52990
|
components: {
|
|
51622
52991
|
"u-tree": project_detail_tree,
|