@egova/egova-api 1.0.266 → 1.0.267

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.
@@ -38225,6 +38225,520 @@ var store = __webpack_require__("c6cd");
38225
38225
  });
38226
38226
 
38227
38227
 
38228
+ /***/ }),
38229
+
38230
+ /***/ "56e3":
38231
+ /***/ (function(module, exports) {
38232
+
38233
+ ace.define("ace/ext/searchbox",["require","exports","module","ace/lib/dom","ace/lib/lang","ace/lib/event","ace/keyboard/hash_handler","ace/lib/keys"], function(acequire, exports, module) {
38234
+ "use strict";
38235
+
38236
+ var dom = acequire("../lib/dom");
38237
+ var lang = acequire("../lib/lang");
38238
+ var event = acequire("../lib/event");
38239
+ var searchboxCss = "\
38240
+ .ace_search {\
38241
+ background-color: #ddd;\
38242
+ color: #666;\
38243
+ border: 1px solid #cbcbcb;\
38244
+ border-top: 0 none;\
38245
+ overflow: hidden;\
38246
+ margin: 0;\
38247
+ padding: 4px 6px 0 4px;\
38248
+ position: absolute;\
38249
+ top: 0;\
38250
+ z-index: 99;\
38251
+ white-space: normal;\
38252
+ }\
38253
+ .ace_search.left {\
38254
+ border-left: 0 none;\
38255
+ border-radius: 0px 0px 5px 0px;\
38256
+ left: 0;\
38257
+ }\
38258
+ .ace_search.right {\
38259
+ border-radius: 0px 0px 0px 5px;\
38260
+ border-right: 0 none;\
38261
+ right: 0;\
38262
+ }\
38263
+ .ace_search_form, .ace_replace_form {\
38264
+ margin: 0 20px 4px 0;\
38265
+ overflow: hidden;\
38266
+ line-height: 1.9;\
38267
+ }\
38268
+ .ace_replace_form {\
38269
+ margin-right: 0;\
38270
+ }\
38271
+ .ace_search_form.ace_nomatch {\
38272
+ outline: 1px solid red;\
38273
+ }\
38274
+ .ace_search_field {\
38275
+ border-radius: 3px 0 0 3px;\
38276
+ background-color: white;\
38277
+ color: black;\
38278
+ border: 1px solid #cbcbcb;\
38279
+ border-right: 0 none;\
38280
+ box-sizing: border-box!important;\
38281
+ outline: 0;\
38282
+ padding: 0;\
38283
+ font-size: inherit;\
38284
+ margin: 0;\
38285
+ line-height: inherit;\
38286
+ padding: 0 6px;\
38287
+ min-width: 17em;\
38288
+ vertical-align: top;\
38289
+ }\
38290
+ .ace_searchbtn {\
38291
+ border: 1px solid #cbcbcb;\
38292
+ line-height: inherit;\
38293
+ display: inline-block;\
38294
+ padding: 0 6px;\
38295
+ background: #fff;\
38296
+ border-right: 0 none;\
38297
+ border-left: 1px solid #dcdcdc;\
38298
+ cursor: pointer;\
38299
+ margin: 0;\
38300
+ position: relative;\
38301
+ box-sizing: content-box!important;\
38302
+ color: #666;\
38303
+ }\
38304
+ .ace_searchbtn:last-child {\
38305
+ border-radius: 0 3px 3px 0;\
38306
+ border-right: 1px solid #cbcbcb;\
38307
+ }\
38308
+ .ace_searchbtn:disabled {\
38309
+ background: none;\
38310
+ cursor: default;\
38311
+ }\
38312
+ .ace_searchbtn:hover {\
38313
+ background-color: #eef1f6;\
38314
+ }\
38315
+ .ace_searchbtn.prev, .ace_searchbtn.next {\
38316
+ padding: 0px 0.7em\
38317
+ }\
38318
+ .ace_searchbtn.prev:after, .ace_searchbtn.next:after {\
38319
+ content: \"\";\
38320
+ border: solid 2px #888;\
38321
+ width: 0.5em;\
38322
+ height: 0.5em;\
38323
+ border-width: 2px 0 0 2px;\
38324
+ display:inline-block;\
38325
+ transform: rotate(-45deg);\
38326
+ }\
38327
+ .ace_searchbtn.next:after {\
38328
+ border-width: 0 2px 2px 0 ;\
38329
+ }\
38330
+ .ace_searchbtn_close {\
38331
+ background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAcCAYAAABRVo5BAAAAZ0lEQVR42u2SUQrAMAhDvazn8OjZBilCkYVVxiis8H4CT0VrAJb4WHT3C5xU2a2IQZXJjiQIRMdkEoJ5Q2yMqpfDIo+XY4k6h+YXOyKqTIj5REaxloNAd0xiKmAtsTHqW8sR2W5f7gCu5nWFUpVjZwAAAABJRU5ErkJggg==) no-repeat 50% 0;\
38332
+ border-radius: 50%;\
38333
+ border: 0 none;\
38334
+ color: #656565;\
38335
+ cursor: pointer;\
38336
+ font: 16px/16px Arial;\
38337
+ padding: 0;\
38338
+ height: 14px;\
38339
+ width: 14px;\
38340
+ top: 9px;\
38341
+ right: 7px;\
38342
+ position: absolute;\
38343
+ }\
38344
+ .ace_searchbtn_close:hover {\
38345
+ background-color: #656565;\
38346
+ background-position: 50% 100%;\
38347
+ color: white;\
38348
+ }\
38349
+ .ace_button {\
38350
+ margin-left: 2px;\
38351
+ cursor: pointer;\
38352
+ -webkit-user-select: none;\
38353
+ -moz-user-select: none;\
38354
+ -o-user-select: none;\
38355
+ -ms-user-select: none;\
38356
+ user-select: none;\
38357
+ overflow: hidden;\
38358
+ opacity: 0.7;\
38359
+ border: 1px solid rgba(100,100,100,0.23);\
38360
+ padding: 1px;\
38361
+ box-sizing: border-box!important;\
38362
+ color: black;\
38363
+ }\
38364
+ .ace_button:hover {\
38365
+ background-color: #eee;\
38366
+ opacity:1;\
38367
+ }\
38368
+ .ace_button:active {\
38369
+ background-color: #ddd;\
38370
+ }\
38371
+ .ace_button.checked {\
38372
+ border-color: #3399ff;\
38373
+ opacity:1;\
38374
+ }\
38375
+ .ace_search_options{\
38376
+ margin-bottom: 3px;\
38377
+ text-align: right;\
38378
+ -webkit-user-select: none;\
38379
+ -moz-user-select: none;\
38380
+ -o-user-select: none;\
38381
+ -ms-user-select: none;\
38382
+ user-select: none;\
38383
+ clear: both;\
38384
+ }\
38385
+ .ace_search_counter {\
38386
+ float: left;\
38387
+ font-family: arial;\
38388
+ padding: 0 8px;\
38389
+ }";
38390
+ var HashHandler = acequire("../keyboard/hash_handler").HashHandler;
38391
+ var keyUtil = acequire("../lib/keys");
38392
+
38393
+ var MAX_COUNT = 999;
38394
+
38395
+ dom.importCssString(searchboxCss, "ace_searchbox");
38396
+
38397
+ var html = '<div class="ace_search right">\
38398
+ <span action="hide" class="ace_searchbtn_close"></span>\
38399
+ <div class="ace_search_form">\
38400
+ <input class="ace_search_field" placeholder="Search for" spellcheck="false"></input>\
38401
+ <span action="findPrev" class="ace_searchbtn prev"></span>\
38402
+ <span action="findNext" class="ace_searchbtn next"></span>\
38403
+ <span action="findAll" class="ace_searchbtn" title="Alt-Enter">All</span>\
38404
+ </div>\
38405
+ <div class="ace_replace_form">\
38406
+ <input class="ace_search_field" placeholder="Replace with" spellcheck="false"></input>\
38407
+ <span action="replaceAndFindNext" class="ace_searchbtn">Replace</span>\
38408
+ <span action="replaceAll" class="ace_searchbtn">All</span>\
38409
+ </div>\
38410
+ <div class="ace_search_options">\
38411
+ <span action="toggleReplace" class="ace_button" title="Toggel Replace mode"\
38412
+ style="float:left;margin-top:-2px;padding:0 5px;">+</span>\
38413
+ <span class="ace_search_counter"></span>\
38414
+ <span action="toggleRegexpMode" class="ace_button" title="RegExp Search">.*</span>\
38415
+ <span action="toggleCaseSensitive" class="ace_button" title="CaseSensitive Search">Aa</span>\
38416
+ <span action="toggleWholeWords" class="ace_button" title="Whole Word Search">\\b</span>\
38417
+ <span action="searchInSelection" class="ace_button" title="Search In Selection">S</span>\
38418
+ </div>\
38419
+ </div>'.replace(/> +/g, ">");
38420
+
38421
+ var SearchBox = function(editor, range, showReplaceForm) {
38422
+ var div = dom.createElement("div");
38423
+ div.innerHTML = html;
38424
+ this.element = div.firstChild;
38425
+
38426
+ this.setSession = this.setSession.bind(this);
38427
+
38428
+ this.$init();
38429
+ this.setEditor(editor);
38430
+ };
38431
+
38432
+ (function() {
38433
+ this.setEditor = function(editor) {
38434
+ editor.searchBox = this;
38435
+ editor.renderer.scroller.appendChild(this.element);
38436
+ this.editor = editor;
38437
+ };
38438
+
38439
+ this.setSession = function(e) {
38440
+ this.searchRange = null;
38441
+ this.$syncOptions(true);
38442
+ };
38443
+
38444
+ this.$initElements = function(sb) {
38445
+ this.searchBox = sb.querySelector(".ace_search_form");
38446
+ this.replaceBox = sb.querySelector(".ace_replace_form");
38447
+ this.searchOption = sb.querySelector("[action=searchInSelection]");
38448
+ this.replaceOption = sb.querySelector("[action=toggleReplace]");
38449
+ this.regExpOption = sb.querySelector("[action=toggleRegexpMode]");
38450
+ this.caseSensitiveOption = sb.querySelector("[action=toggleCaseSensitive]");
38451
+ this.wholeWordOption = sb.querySelector("[action=toggleWholeWords]");
38452
+ this.searchInput = this.searchBox.querySelector(".ace_search_field");
38453
+ this.replaceInput = this.replaceBox.querySelector(".ace_search_field");
38454
+ this.searchCounter = sb.querySelector(".ace_search_counter");
38455
+ };
38456
+
38457
+ this.$init = function() {
38458
+ var sb = this.element;
38459
+
38460
+ this.$initElements(sb);
38461
+
38462
+ var _this = this;
38463
+ event.addListener(sb, "mousedown", function(e) {
38464
+ setTimeout(function(){
38465
+ _this.activeInput.focus();
38466
+ }, 0);
38467
+ event.stopPropagation(e);
38468
+ });
38469
+ event.addListener(sb, "click", function(e) {
38470
+ var t = e.target || e.srcElement;
38471
+ var action = t.getAttribute("action");
38472
+ if (action && _this[action])
38473
+ _this[action]();
38474
+ else if (_this.$searchBarKb.commands[action])
38475
+ _this.$searchBarKb.commands[action].exec(_this);
38476
+ event.stopPropagation(e);
38477
+ });
38478
+
38479
+ event.addCommandKeyListener(sb, function(e, hashId, keyCode) {
38480
+ var keyString = keyUtil.keyCodeToString(keyCode);
38481
+ var command = _this.$searchBarKb.findKeyCommand(hashId, keyString);
38482
+ if (command && command.exec) {
38483
+ command.exec(_this);
38484
+ event.stopEvent(e);
38485
+ }
38486
+ });
38487
+
38488
+ this.$onChange = lang.delayedCall(function() {
38489
+ _this.find(false, false);
38490
+ });
38491
+
38492
+ event.addListener(this.searchInput, "input", function() {
38493
+ _this.$onChange.schedule(20);
38494
+ });
38495
+ event.addListener(this.searchInput, "focus", function() {
38496
+ _this.activeInput = _this.searchInput;
38497
+ _this.searchInput.value && _this.highlight();
38498
+ });
38499
+ event.addListener(this.replaceInput, "focus", function() {
38500
+ _this.activeInput = _this.replaceInput;
38501
+ _this.searchInput.value && _this.highlight();
38502
+ });
38503
+ };
38504
+ this.$closeSearchBarKb = new HashHandler([{
38505
+ bindKey: "Esc",
38506
+ name: "closeSearchBar",
38507
+ exec: function(editor) {
38508
+ editor.searchBox.hide();
38509
+ }
38510
+ }]);
38511
+ this.$searchBarKb = new HashHandler();
38512
+ this.$searchBarKb.bindKeys({
38513
+ "Ctrl-f|Command-f": function(sb) {
38514
+ var isReplace = sb.isReplace = !sb.isReplace;
38515
+ sb.replaceBox.style.display = isReplace ? "" : "none";
38516
+ sb.replaceOption.checked = false;
38517
+ sb.$syncOptions();
38518
+ sb.searchInput.focus();
38519
+ },
38520
+ "Ctrl-H|Command-Option-F": function(sb) {
38521
+ sb.replaceOption.checked = true;
38522
+ sb.$syncOptions();
38523
+ sb.replaceInput.focus();
38524
+ },
38525
+ "Ctrl-G|Command-G": function(sb) {
38526
+ sb.findNext();
38527
+ },
38528
+ "Ctrl-Shift-G|Command-Shift-G": function(sb) {
38529
+ sb.findPrev();
38530
+ },
38531
+ "esc": function(sb) {
38532
+ setTimeout(function() { sb.hide();});
38533
+ },
38534
+ "Return": function(sb) {
38535
+ if (sb.activeInput == sb.replaceInput)
38536
+ sb.replace();
38537
+ sb.findNext();
38538
+ },
38539
+ "Shift-Return": function(sb) {
38540
+ if (sb.activeInput == sb.replaceInput)
38541
+ sb.replace();
38542
+ sb.findPrev();
38543
+ },
38544
+ "Alt-Return": function(sb) {
38545
+ if (sb.activeInput == sb.replaceInput)
38546
+ sb.replaceAll();
38547
+ sb.findAll();
38548
+ },
38549
+ "Tab": function(sb) {
38550
+ (sb.activeInput == sb.replaceInput ? sb.searchInput : sb.replaceInput).focus();
38551
+ }
38552
+ });
38553
+
38554
+ this.$searchBarKb.addCommands([{
38555
+ name: "toggleRegexpMode",
38556
+ bindKey: {win: "Alt-R|Alt-/", mac: "Ctrl-Alt-R|Ctrl-Alt-/"},
38557
+ exec: function(sb) {
38558
+ sb.regExpOption.checked = !sb.regExpOption.checked;
38559
+ sb.$syncOptions();
38560
+ }
38561
+ }, {
38562
+ name: "toggleCaseSensitive",
38563
+ bindKey: {win: "Alt-C|Alt-I", mac: "Ctrl-Alt-R|Ctrl-Alt-I"},
38564
+ exec: function(sb) {
38565
+ sb.caseSensitiveOption.checked = !sb.caseSensitiveOption.checked;
38566
+ sb.$syncOptions();
38567
+ }
38568
+ }, {
38569
+ name: "toggleWholeWords",
38570
+ bindKey: {win: "Alt-B|Alt-W", mac: "Ctrl-Alt-B|Ctrl-Alt-W"},
38571
+ exec: function(sb) {
38572
+ sb.wholeWordOption.checked = !sb.wholeWordOption.checked;
38573
+ sb.$syncOptions();
38574
+ }
38575
+ }, {
38576
+ name: "toggleReplace",
38577
+ exec: function(sb) {
38578
+ sb.replaceOption.checked = !sb.replaceOption.checked;
38579
+ sb.$syncOptions();
38580
+ }
38581
+ }, {
38582
+ name: "searchInSelection",
38583
+ exec: function(sb) {
38584
+ sb.searchOption.checked = !sb.searchRange;
38585
+ sb.setSearchRange(sb.searchOption.checked && sb.editor.getSelectionRange());
38586
+ sb.$syncOptions();
38587
+ }
38588
+ }]);
38589
+
38590
+ this.setSearchRange = function(range) {
38591
+ this.searchRange = range;
38592
+ if (range) {
38593
+ this.searchRangeMarker = this.editor.session.addMarker(range, "ace_active-line");
38594
+ } else if (this.searchRangeMarker) {
38595
+ this.editor.session.removeMarker(this.searchRangeMarker);
38596
+ this.searchRangeMarker = null;
38597
+ }
38598
+ };
38599
+
38600
+ this.$syncOptions = function(preventScroll) {
38601
+ dom.setCssClass(this.replaceOption, "checked", this.searchRange);
38602
+ dom.setCssClass(this.searchOption, "checked", this.searchOption.checked);
38603
+ this.replaceOption.textContent = this.replaceOption.checked ? "-" : "+";
38604
+ dom.setCssClass(this.regExpOption, "checked", this.regExpOption.checked);
38605
+ dom.setCssClass(this.wholeWordOption, "checked", this.wholeWordOption.checked);
38606
+ dom.setCssClass(this.caseSensitiveOption, "checked", this.caseSensitiveOption.checked);
38607
+ this.replaceBox.style.display = this.replaceOption.checked ? "" : "none";
38608
+ this.find(false, false, preventScroll);
38609
+ };
38610
+
38611
+ this.highlight = function(re) {
38612
+ this.editor.session.highlight(re || this.editor.$search.$options.re);
38613
+ this.editor.renderer.updateBackMarkers();
38614
+ };
38615
+ this.find = function(skipCurrent, backwards, preventScroll) {
38616
+ var range = this.editor.find(this.searchInput.value, {
38617
+ skipCurrent: skipCurrent,
38618
+ backwards: backwards,
38619
+ wrap: true,
38620
+ regExp: this.regExpOption.checked,
38621
+ caseSensitive: this.caseSensitiveOption.checked,
38622
+ wholeWord: this.wholeWordOption.checked,
38623
+ preventScroll: preventScroll,
38624
+ range: this.searchRange
38625
+ });
38626
+ var noMatch = !range && this.searchInput.value;
38627
+ dom.setCssClass(this.searchBox, "ace_nomatch", noMatch);
38628
+ this.editor._emit("findSearchBox", { match: !noMatch });
38629
+ this.highlight();
38630
+ this.updateCounter();
38631
+ };
38632
+ this.updateCounter = function() {
38633
+ var editor = this.editor;
38634
+ var regex = editor.$search.$options.re;
38635
+ var all = 0;
38636
+ var before = 0;
38637
+ if (regex) {
38638
+ var value = this.searchRange
38639
+ ? editor.session.getTextRange(this.searchRange)
38640
+ : editor.getValue();
38641
+
38642
+ var offset = editor.session.doc.positionToIndex(editor.selection.anchor);
38643
+ if (this.searchRange)
38644
+ offset -= editor.session.doc.positionToIndex(this.searchRange.start);
38645
+
38646
+ var last = regex.lastIndex = 0;
38647
+ var m;
38648
+ while ((m = regex.exec(value))) {
38649
+ all++;
38650
+ last = m.index;
38651
+ if (last <= offset)
38652
+ before++;
38653
+ if (all > MAX_COUNT)
38654
+ break;
38655
+ if (!m[0]) {
38656
+ regex.lastIndex = last += 1;
38657
+ if (last >= value.length)
38658
+ break;
38659
+ }
38660
+ }
38661
+ }
38662
+ this.searchCounter.textContent = before + " of " + (all > MAX_COUNT ? MAX_COUNT + "+" : all);
38663
+ };
38664
+ this.findNext = function() {
38665
+ this.find(true, false);
38666
+ };
38667
+ this.findPrev = function() {
38668
+ this.find(true, true);
38669
+ };
38670
+ this.findAll = function(){
38671
+ var range = this.editor.findAll(this.searchInput.value, {
38672
+ regExp: this.regExpOption.checked,
38673
+ caseSensitive: this.caseSensitiveOption.checked,
38674
+ wholeWord: this.wholeWordOption.checked
38675
+ });
38676
+ var noMatch = !range && this.searchInput.value;
38677
+ dom.setCssClass(this.searchBox, "ace_nomatch", noMatch);
38678
+ this.editor._emit("findSearchBox", { match: !noMatch });
38679
+ this.highlight();
38680
+ this.hide();
38681
+ };
38682
+ this.replace = function() {
38683
+ if (!this.editor.getReadOnly())
38684
+ this.editor.replace(this.replaceInput.value);
38685
+ };
38686
+ this.replaceAndFindNext = function() {
38687
+ if (!this.editor.getReadOnly()) {
38688
+ this.editor.replace(this.replaceInput.value);
38689
+ this.findNext();
38690
+ }
38691
+ };
38692
+ this.replaceAll = function() {
38693
+ if (!this.editor.getReadOnly())
38694
+ this.editor.replaceAll(this.replaceInput.value);
38695
+ };
38696
+
38697
+ this.hide = function() {
38698
+ this.active = false;
38699
+ this.setSearchRange(null);
38700
+ this.editor.off("changeSession", this.setSession);
38701
+
38702
+ this.element.style.display = "none";
38703
+ this.editor.keyBinding.removeKeyboardHandler(this.$closeSearchBarKb);
38704
+ this.editor.focus();
38705
+ };
38706
+ this.show = function(value, isReplace) {
38707
+ this.active = true;
38708
+ this.editor.on("changeSession", this.setSession);
38709
+ this.element.style.display = "";
38710
+ this.replaceOption.checked = isReplace;
38711
+
38712
+ if (value)
38713
+ this.searchInput.value = value;
38714
+
38715
+ this.searchInput.focus();
38716
+ this.searchInput.select();
38717
+
38718
+ this.editor.keyBinding.addKeyboardHandler(this.$closeSearchBarKb);
38719
+
38720
+ this.$syncOptions(true);
38721
+ };
38722
+
38723
+ this.isFocused = function() {
38724
+ var el = document.activeElement;
38725
+ return el == this.searchInput || el == this.replaceInput;
38726
+ };
38727
+ }).call(SearchBox.prototype);
38728
+
38729
+ exports.SearchBox = SearchBox;
38730
+
38731
+ exports.Search = function(editor, isReplace) {
38732
+ var sb = editor.searchBox || new SearchBox(editor);
38733
+ sb.show(editor.session.getTextRange(), isReplace);
38734
+ };
38735
+
38736
+ });
38737
+ (function() {
38738
+ ace.acequire(["ace/ext/searchbox"], function() {});
38739
+ })();
38740
+
38741
+
38228
38742
  /***/ }),
38229
38743
 
38230
38744
  /***/ "56ef":
@@ -41932,7 +42446,7 @@ module.exports = function (S, index, unicode) {
41932
42446
  /***/ "8ab8":
41933
42447
  /***/ (function(module, exports) {
41934
42448
 
41935
- module.exports = "<article class=\"pre-execution-setting\">\r\n <section class=\"script\">\r\n <div class=\"script-title\">\r\n <div class=\"empty\"></div>\r\n <div class=\"script-btns\">\r\n <span @click=\"onViewMax\"><i class=\"iconfont icon-zuidahua1\"></i>{{viewMax ? \"还原显示\" : \"最大化\"}}</span>\r\n <span @click=\"onSave\"><i class=\"iconfont icon-baocun1\"></i>保存</span>\r\n <span @click=\"onRun\"><i class=\"iconfont icon-run1\"></i>RUN</span>\r\n </div>\r\n </div>\r\n <u-editor\r\n v-if=\"refreshEditor\"\r\n class=\"editor\"\r\n :model.sync=\"script\"\r\n :diyKeywordList=\"diyKeywordList\"\r\n lang=\"groovy\"\r\n @inited=\"onEditorInited\"\r\n >\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 <i-input class=\"diy-input\" v-model=\"keyword\" @on-change=\"onFilter\" placeholder=\"输入关键字查询\">\r\n <i class=\"iconfont icon-chaxun\" slot=\"prefix\"></i>\r\n </i-input>\r\n <div class=\"quick-list\">\r\n <div v-for=\"type in tempScriptData.group\" class=\"quick-type\">\r\n <div class=\"quick-type-name\" @click=\"onQuickGroupClick(type)\">\r\n <i-icon type=\"md-arrow-dropright\" :class=\"type.expand ? 'expand' : ''\"/>\r\n <p>{{type.name}}</p>\r\n </div>\r\n <div\r\n v-show=\"type.expand\"\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"
42449
+ module.exports = "<article class=\"pre-execution-setting\">\r\n <section class=\"script\">\r\n <div class=\"script-title\">\r\n <div class=\"empty\"></div>\r\n <div class=\"script-btns\">\r\n <span @click=\"onViewMax\"><i class=\"iconfont icon-zuidahua1\"></i>{{viewMax ? \"还原显示\" : \"最大化\"}}</span>\r\n <span @click=\"onSave\"><i class=\"iconfont icon-baocun1\"></i>保存</span>\r\n <span @click=\"onRun\"><i class=\"iconfont icon-run1\"></i>RUN</span>\r\n <span @click=\"onSearch\"><i class=\"iconfont icon-search\"></i>搜索</span>\r\n </div>\r\n </div>\r\n <u-editor\r\n v-if=\"refreshEditor\"\r\n class=\"editor\"\r\n :model.sync=\"script\"\r\n :diyKeywordList=\"diyKeywordList\"\r\n lang=\"groovy\"\r\n @inited=\"onEditorInited\"\r\n >\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 <i-input class=\"diy-input\" v-model=\"keyword\" @on-change=\"onFilter\" placeholder=\"输入关键字查询\">\r\n <i class=\"iconfont icon-chaxun\" slot=\"prefix\"></i>\r\n </i-input>\r\n <div class=\"quick-list\">\r\n <div v-for=\"type in tempScriptData.group\" class=\"quick-type\">\r\n <div class=\"quick-type-name\" @click=\"onQuickGroupClick(type)\">\r\n <i-icon type=\"md-arrow-dropright\" :class=\"type.expand ? 'expand' : ''\"/>\r\n <p>{{type.name}}</p>\r\n </div>\r\n <div\r\n v-show=\"type.expand\"\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"
41936
42450
 
41937
42451
  /***/ }),
41938
42452
 
@@ -53630,6 +54144,10 @@ function (_super) {
53630
54144
 
53631
54145
 
53632
54146
  __webpack_require__("5f48"); // tslint:disable-next-line
54147
+
54148
+
54149
+ __webpack_require__("56e3"); //添加搜索功能
54150
+ // tslint:disable-next-line
53633
54151
  // require("brace/mode/json");
53634
54152
  // // tslint:disable-next-line
53635
54153
  // require("brace/mode/xml");
@@ -60983,7 +61501,6 @@ function (_super) {
60983
61501
  setTimeout(function () {
60984
61502
  _this.displayError(_this.errorLine);
60985
61503
  }, 5);
60986
- clearTimeout();
60987
61504
  }
60988
61505
  }); // 获取代码编辑器滚动条
60989
61506
 
@@ -61001,7 +61518,6 @@ function (_super) {
61001
61518
  setTimeout(function () {
61002
61519
  _this.displayError(value);
61003
61520
  }, 5);
61004
- clearTimeout();
61005
61521
  };
61006
61522
  /**
61007
61523
  * 添加错误行的错误图标
@@ -61143,6 +61659,10 @@ function (_super) {
61143
61659
  this.$emit("on-script-run");
61144
61660
  };
61145
61661
 
61662
+ PreExecutionSetting.prototype.onSearch = function () {
61663
+ this.editor && this.editor.execCommand("find");
61664
+ };
61665
+
61146
61666
  PreExecutionSetting.prototype.onSave = function () {
61147
61667
  this.$emit("on-script-save");
61148
61668
  };