Swarmlab.io DocLive is a *free online AsciiDoc editor*. - Just type AsciiDoc source text, - ...and the live preview appears
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

1 lines
76 KiB

{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/App.vue?7e02","webpack:///./src/components/doclive/runLlo.vue?dcee","webpack:///./src/App.vue?74b8","webpack:///./src/components/DocLive.vue?9985","webpack:///./src/components/doclive/runLlo.vue?008f","webpack:///src/components/doclive/runLlo.vue","webpack:///./src/components/doclive/runLlo.vue?9486","webpack:///./src/components/doclive/runLlo.vue?e78a","webpack:///./src/components/doclive/AdhocView.vue?5f61","webpack:///src/components/doclive/AdhocView.vue","webpack:///./src/components/doclive/AdhocView.vue?df6e","webpack:///./src/components/doclive/AdhocView.vue?9d30","webpack:///src/components/DocLive.vue","webpack:///./src/components/DocLive.vue?d98d","webpack:///./src/components/DocLive.vue","webpack:///src/App.vue","webpack:///./src/App.vue?1160","webpack:///./src/App.vue?bff9","webpack:///./src/main.js","webpack:///./src/components/doclive/AdhocView.vue?d223"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","exports","module","l","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","p","jsonpArray","window","oldJsonpFunction","slice","_vm","this","_h","$createElement","_c","_self","attrs","staticClass","_v","slot","on","$event","addtemplate","saveDocLive","staticStyle","staticRenderFns","directives","rawName","showmenou","expression","columnviewdefault","fullscreen","_e","_m","columncodedefault","class","columnview","columncode","htmlasciitmp","swarmlabllo","ssl","url_asciijshighlight","url_asciijs","url_asciicss","code","editchoice","optionsedit","searchLLOactive","ADOC_html_code","challenge","action","tryLLO","service","active","activecount","remove","activeField","bootstrap","firstbootstrap","datafile","datadir","LearningObject","asciidochtml","asciidochtmlzip","showllo","showlloedit","methods","handleChange","computed","beforeDestroy","component","$$selectedVal","Array","filter","target","options","selected","map","val","_value","multiple","setKeymap","_l","option","domProps","_s","text","cmOptions","keyMap","infoFilter","closelog","addlloasciisource","ref","onCmCursorActivity","onCmReady","onCmFocus","onCmCodeChange","cm","newCode","$root","$emit","codemirror","$refs","myCm","v","props","components","RunLlo","AdHoc","mounted","$off","DocLive","show","SwarmabAsciiLabTemplate","Vue","use","VueSweetalert2","BootstrapVue","config","productionTip","render","h","App","$mount"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAG/Be,GAAqBA,EAAoBhB,GAE5C,MAAMO,EAASC,OACdD,EAASU,OAATV,GAOD,OAHAW,EAAgBJ,KAAKK,MAAMD,EAAiBb,GAAkB,IAGvDe,IAER,SAASA,IAER,IADA,IAAIC,EACIf,EAAI,EAAGA,EAAIY,EAAgBV,OAAQF,IAAK,CAG/C,IAFA,IAAIgB,EAAiBJ,EAAgBZ,GACjCiB,GAAY,EACRC,EAAI,EAAGA,EAAIF,EAAed,OAAQgB,IAAK,CAC9C,IAAIC,EAAQH,EAAeE,GACG,IAA3BX,EAAgBY,KAAcF,GAAY,GAE3CA,IACFL,EAAgBQ,OAAOpB,IAAK,GAC5Be,EAASM,EAAoBA,EAAoBC,EAAIN,EAAe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KAAR,+BACQ,KAAR,8BACQ,KAAR,oBACQ,KAAR,oBACQ,KAAR,6CACQ,QAAR,uBAGI,SApCJ,SAoCA,GAAM,IAAN,OAAM,OAAN,qDAAQ,OAAR,qCAAU,MAAV,+BACA,qBADA,gDCrJiV,ICO7U,EAAY,eACd,EACA,EACA,GACA,EACA,KACA,WACA,MAIa,I,QCyEf,G,UAAA,CACE7H,KAAM,MACNyH,WAAY,CACVK,QAAJ,GAEElK,KALF,WAMI,MAAO,CACLmK,MAAM,EACNC,wBAAN,KAGA,QAXA,aAaE/C,QAAS,CACP3C,YADJ,WAEMZ,KAAKwF,MAAMC,MAAM,iBAAvB,SAEI9E,YAJJ,SAIA,GACA,mBAEQ,KAAR,4+FAmHQ,KAAR,wEClO8T,ICQ1T,G,UAAY,eACd,EACA,EACAG,GACA,EACA,KACA,KACA,OAIa,I,sDCbfyF,aAAIC,IAAIC,QAKRF,aAAIC,IAAIE,QAERH,aAAII,OAAOC,eAAgB,EAE3B,IAAIL,aAAI,CACNM,OAAQ,SAAAC,GAAC,OAAIA,EAAEC,MACdC,OAAO,S,2DCjBV,yBAAke,EAAG,G","file":"js/app.4b13ac7c.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","import mod from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&lang=css&\"","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./runLlo.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./runLlo.vue?vue&type=style&index=0&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"app\"}},[_c('b-navbar',{staticClass:\"navbar-secondary\",attrs:{\"toggleable\":\"md\"}},[_c('b-navbar-toggle',{attrs:{\"target\":\"nav_collapse\"}}),_c('b-navbar-brand',{staticClass:\"logo simple-text ti-swarmlab text-secondary\"},[_vm._v(\" Swarmlab.io Doclive \")]),_c('b-collapse',{attrs:{\"is-nav\":\"\",\"id\":\"nav_collapse\"}},[_c('b-navbar-nav'),_c('b-navbar-nav',{staticClass:\"ml-auto\"},[_c('b-nav-item',{attrs:{\"href\":\"http://docs.swarmlab.io/SwarmLab-HowTos/labs/Howtos/asciidoc/AsciiDocSyntaxQuickReference.adoc.html\",\"target\":\"_ascii\"}},[_vm._v(\" Asciidoc_QuickReference \")]),_c('b-nav-item',[_vm._v(\" | \")]),_c('b-nav-item',{attrs:{\"href\":\"https://git.swarmlab.io:3000\",\"target\":\"_swarmlabgit\"}},[_vm._v(\" Swarmlab_git \")]),_c('b-nav-item',[_vm._v(\" | \")]),_c('b-nav-item',{attrs:{\"href\":\"https://api-client.swarmlab.io:8088/#/signin?redirect=%2Fdashboard\",\"target\":\"_swarmlab\"}},[_vm._v(\" Lab_onDemand \")]),_c('b-nav-item',[_vm._v(\" | \")]),_c('b-nav-item-dropdown',{attrs:{\"right\":\"\"}},[_c('template',{slot:\"button-content\"},[_c('em',[_vm._v(\"Template\")])]),_c('b-dropdown-item',[_c('button',{staticClass:\"btn btn-outline-info btn-sm\",attrs:{\"type\":\"button\",\"round\":\"\"},on:{\"click\":function($event){return _vm.addtemplate('LabTemplate')}}},[_vm._v(\" LabTemplate\")])])],2),_c('b-nav-item'),_c('button',{staticClass:\"btn btn-outline-info btn-sm\",attrs:{\"type\":\"button\",\"round\":\"\"},on:{\"click\":_vm.saveDocLive}},[_vm._v(\" Save As Zip\")]),_c('button',{staticClass:\"btn btn-outline-secondary btn-sm\",attrs:{\"type\":\"button\",\"round\":\"\"}},[_c('a',{staticStyle:{\"color\":\"inherit\"},attrs:{\"href\":\"http://docs.swarmlab.io/SwarmLab-HowTos/labs/Howtos/doclive/asciidoc.adoc.html\",\"target\":\"_asciimore\"}},[_vm._v(\" More Formats \")])])],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('doc-live',{staticStyle:{\"background-color\":\"#f8f9fa\"}})],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showmenou == 1),expression:\"showmenou == 1\"}],staticClass:\"row\"},[_c('div',{staticClass:\"col-3\"},[_c('div',{staticClass:\"input-group-append\"},[(_vm.columnviewdefault == '0')?_c('button',{staticClass:\"ti-layout-sidebar-none btn btn-outline-info btn-sm\",attrs:{\"type\":\"button\",\"round\":\"\"},on:{\"click\":function($event){return _vm.fullscreen('max')}}},[_vm._v(\" Max-Notebook View \")]):_vm._e(),(_vm.columnviewdefault == '1')?_c('button',{staticClass:\"ti-layout-sidebar-right btn btn-outline-info btn-sm\",attrs:{\"type\":\"button\",\"round\":\"\"},on:{\"click\":function($event){return _vm.fullscreen('min')}}},[_vm._v(\" Min-Notebook View\")]):_vm._e()])]),_vm._m(0),_c('div',{staticClass:\"col-3\"},[_c('div',{staticClass:\"input-group-prepend\"},[(_vm.columncodedefault == '0')?_c('button',{staticClass:\"ti-layout-sidebar-none btn btn-outline-info btn-sm\",staticStyle:{\"float\":\"right\"},attrs:{\"type\":\"button\",\"round\":\"\"},on:{\"click\":function($event){return _vm.fullscreen('codemax')}}},[_vm._v(\" Max-Code View \")]):_vm._e(),(_vm.columncodedefault == '1')?_c('button',{staticClass:\"ti-layout-sidebar-left btn btn-outline-info btn-sm\",staticStyle:{\"float\":\"right\"},attrs:{\"type\":\"button\",\"round\":\"\"},on:{\"click\":function($event){return _vm.fullscreen('codemin')}}},[_vm._v(\" Min-Code View\")]):_vm._e()])])]),_c('div',{staticClass:\"row\"},[_c('div',{class:_vm.columnview},[_c('run-llo',{staticStyle:{\"background-color\":\"#f8f9fa\"}})],1),_c('div',{class:_vm.columncode},[_c('ad-hoc',{staticStyle:{\"background-color\":\"#f8f9fa\"}})],1)])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"col-6\"},[_c('span')])}]\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showlloedit)?_c('b-row',{attrs:{\"no-gutters\":\"\",\"w-100\":\"\",\"h-100\":\"\"}},[_c('b-col',{attrs:{\"cols\":\"12\",\"sm\":\"12\",\"md\":\"12\"}},[_c('iframe',{attrs:{\"id\":\"llocontainer\",\"srcdoc\":_vm.htmlasciitmp,\"width\":\"100%\",\"height\":\"750\",\"frameBorder\":\"0\",\"name\":\"Forgot_Iframe\"}})])],1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n\n <b-row no-gutters w-100 h-100 \n v-if=\"showlloedit\"\n >\n <b-col cols=\"12\" sm=\"12\" md=\"12\" >\n <iframe id=\"llocontainer\" \n :srcdoc=\"htmlasciitmp\"\n width=\"100%\" \n height=\"750\" \n frameBorder=\"0\" \n name=\"Forgot_Iframe\">\n </iframe>\n\n </b-col>\n </b-row>\n\n \n\n</template>\n<script>\nimport Vue from 'vue'\nimport Asciidoctor from 'asciidoctor'\nimport JSZip from 'jszip';\nimport FileSaver from 'file-saver';\nexport default {\n components: {\n },\n data () {\n return {\n swarmlabllo: 'https://git.swarmlab.io:3000/labs/examples-mpi2/raw/branch/master/llo-index.yml',\n ssl:{},\n url_asciijshighlight:[\n 'https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.15.6/highlight.min.js'\n ],\n url_asciijs:[\n //'https://code.jquery.com/jquery-3.5.1.slim.min.js',\n //'https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js',\n 'https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js'\n ],\n url_asciicss:[\n 'https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css',\n 'https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.15.6/styles/github.min.css',\n 'https://cdnjs.cloudflare.com/ajax/libs/asciidoctor.js/1.5.9/css/asciidoctor.min.css',\n 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.14.0/css/all.min.css'\n ],\n\n code: '',\n editchoice: '',\n optionsedit: [\n { text: 'code', value: 'code' },\n { text: 'text', value: 'text' }\n ],\n llodesc:[{\n llo_url : '',\n llo_name : '',\n llo_author : '',\n llo_intro : ''\n }],\n\t\t searchLLO: [],\n searchLLOactive : false,\n ADOC_html_code:'',\n challenge:[],\n action:'',\n tryLLO:[],\n service:'os2',\n active:0,\n activecount:0,\n remove:'',\n activeField:'',\n bootstrap:false,\n firstbootstrap:0,\n htmlasciitmp:'',\n datafile: 'https://git.swarmlab.io:3000/labs/examples-mpi2/raw/branch/master/0_netstat/data',\n datadir: '0_netstat/data',\n LearningObject:'',\n asciidochtml:'',\n asciidochtmlzip:'',\n showllo:true,\n showlloedit:true,\n \t\tselected: 'sublime',\n options: [\n { text: 'vim', value: 'vim' },\n { text: 'sublime', value: 'sublime' }\n ],\n pValidate: false,\n ADOC_html:[]\n }\n },\n methods: {\n async saveascii() {\n var asciiname = 'myname'\n var filesave = asciiname+\"_DocLive.zip\"\n var zip = new JSZip();\n\n var llofile = zip.folder(asciiname);\n var ziphtml = await this.createhtmlfromadoc()\n llofile.file(\"ascii.adoc.html\", this.asciidochtmlzip);\n llofile.file(\"ascii.adoc\", this.code);\n\n zip.generateAsync({type:\"blob\"})\n .then(function(content) {\n FileSaver.saveAs(content, filesave);\n });\n\n },\n async bootsrapllo() {\n console.log('created');\n var action=this.action\n var value=this.code\n var service=this.service\n var asciiID = this.active\n var asciiid = \"llo_\"+asciiID+\"_ascii\"\n try {\n\n // *************************************\n // ***** ------- HTML ------- ***** \n // *************************************\n try{\n // -------------------------------------\n // ------- create file\n // -------------------------------------\n var thishtml = `<!doctype html>\n <html lang=\"en\">\n <head>\n <meta charset=\"utf-8\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">\n </head>\n <body>\n <div id=\"firstElement\">\n <span id=\"AsciiElement\"></span>\n </div>\n <div id=\"lastElement\">\n <span id=\"jsElement\"></span>\n </div>\n </body>\n </html>`\n\n var htmlAscii = new DOMParser().parseFromString(thishtml, \"text/html\");\n\n // -------------------------------------\n // ------- insert script head\n // -------------------------------------\n var arrayLengthi1 = this.url_asciijshighlight.length\n for (var i = 0; i < arrayLengthi1; i++) {\n var asciiscript0 = document.createElement('script');\n asciiscript0.type = 'text/javascript';\n asciiscript0.src = this.url_asciijshighlight[i]\n htmlAscii.head.appendChild(asciiscript0);\n }\n\n // -------------------------------------\n // ------- create css head\n // -------------------------------------\n var arrayLength = this.url_asciicss.length\n for (var i = 0; i < arrayLength; i++) {\n var asciilink = document.createElement('link');\n asciilink.rel = 'stylesheet';\n asciilink.href = this.url_asciicss[i]\n htmlAscii.head.appendChild(asciilink);\n //console.log(this.url_asciicss[i])\n }\n\n // -------------------------------------\n // ------- insert custom functions head\n // -------------------------------------\n var myfunction = `function llorm(msg) {\n var origin = 'https://api-client.swarmlab.io:8088'\n window.parent.postMessage({'event': 'warranty-transaction-rm', 'data': msg}, origin);\n }; \n function topwindow(field) {\n var asciiid = \"llo_\"+field+\"_ascii\"\n var llotarget = document.getElementById(asciiid);\n if(llotarget){\n llotarget.scrollIntoView({ behavior: 'smooth', block: 'nearest', inline: 'start' })\n }\n }; \n function lloedit(msg,field) {\n var origin = 'https://api-client.swarmlab.io:8088'\n topwindow(msg);\n window.parent.postMessage({'event': 'warranty-transaction-success', 'data': msg , 'field': field}, origin);\n };` \n var asciiscript2 = document.createElement('script');\n asciiscript2.type = 'text/javascript';\n asciiscript2.innerHTML = myfunction\n htmlAscii.head.appendChild(asciiscript2);\n\n // -------------------------------------\n // ------- insert script body \n // -------------------------------------\n var arrayLengthi = this.url_asciijs.length\n //console.log(arrayLengthi)\n for (var i = 0; i < arrayLengthi; i++) {\n var asciiscript = document.createElement('script');\n asciiscript.type = 'text/javascript';\n asciiscript.src = this.url_asciijs[i]\n let parentDiv = htmlAscii.getElementById(\"jsElement\").parentNode\n let lastel = document.getElementById(\"jsElement\")\n parentDiv.insertBefore(asciiscript, lastel)\n //htmlAscii.body.appendChild(asciiscript);\n }\n\n // -------------------------------------\n // ------- run hlhs body\n // -------------------------------------\n var asciiscript1 = document.createElement('script');\n asciiscript1.type = 'text/javascript';\n asciiscript1.innerHTML = \"hljs.initHighlighting()\";\n htmlAscii.body.appendChild(asciiscript1);\n\n // -------------------------------------\n // ------- html serialize \n // -------------------------------------\n var Myascii = new XMLSerializer();\n this.htmlasciitmp = Myascii.serializeToString(htmlAscii)\n\n // *************************************\n // ***** ------- HTML ------- ***** \n // *************************************\n\n //console.log(\" asciii3 \"+JSON.stringify(this.htmlasciitmp))\n //console.log(asciidoctor1.getRuntime())\n this.bootstrap = true\n //console.log(\" bootstrap \"+JSON.stringify(this.htmlasciitmp))\n\n\n }catch (ex) {\n console.log(\" asc error \"+JSON.stringify(ex))\n return\n }\n\n\n\n\n\n }catch (ex) {\n console.log(\" logi error \"+JSON.stringify(ex))\n return\n }\n },\n async addlloascii() {\n var value = this.code\n console.log(\" ascii code \"+JSON.stringify(this.code))\n\n // *************************************\n // ***** ------- HTML ------- ***** \n // *************************************\n try{\n var asciidoctor1 = Asciidoctor()\n var value_compiled = asciidoctor1.convert(value,\n {\n standalone: false,\n backend: 'html5',\n header_footer: false,\n doctype: 'article',\n safe: 'safe',\n attributes: {\n 'source-highlighter': 'highlightjs',\n //'toc':'right',\n 'sectnumlevels':4,\n 'toclevels':4,\n 'sectnums':true,\n 'icons': 'font',\n 'copycss':true,\n 'stylesheet': 'https://cdnjs.cloudflare.com/ajax/libs/asciidoctor.js/1.5.9/css/asciidoctor.min.css',\n 'iconfont-cdn': 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.14.0/css/all.min.css',\n 'iconfont-name': 'fontawesome-5-14.0',\n 'iconfont-remote':true,\n 'linkcss': true\n }\n }) // (2)\n\n\n var mydinfunction = ` <div>\n ${value_compiled}\n </div>`\n\n\n console.log(\" ascii \"+JSON.stringify(value_compiled))\n var asciiidtext = 'firstElement'\n this.asciidochtml = value_compiled\n document.getElementById('llocontainer').contentWindow.document.getElementById(asciiidtext).innerHTML = this.asciidochtml\n //this.addtask (asciiID, divascii);\n\n\n }catch (ex) {\n console.log(\" ascerror \"+JSON.stringify(ex))\n return\n }\n\n\n },\n async createhtmlfromadoc() {\n var value = this.code\n\n // *************************************\n // ***** ------- HTML ------- ***** \n // *************************************\n try{\n var asciidoctor1 = Asciidoctor()\n var value_compiled = asciidoctor1.convert(value,\n {\n standalone: true,\n backend: 'html5',\n header_footer: false,\n doctype: 'article',\n safe: 'safe',\n attributes: {\n 'source-highlighter': 'highlightjs',\n 'sectnumlevels':4,\n 'toclevels':4,\n 'sectnums':true,\n 'icons': 'font',\n 'copycss':true,\n 'stylesheet': 'https://cdnjs.cloudflare.com/ajax/libs/asciidoctor.js/1.5.9/css/asciidoctor.min.css',\n 'iconfont-cdn': 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.14.0/css/all.min.css',\n 'iconfont-name': 'fontawesome-5-14.0',\n 'iconfont-remote':true,\n 'linkcss': true\n }\n }) // (2)\n\n this.asciidochtmlzip = value_compiled\n\n }catch (ex) {\n console.log(\" ascerror \"+JSON.stringify(ex))\n return\n }\n\n\n },\n handleChange() {\n },\n },\n computed: {\n\n\t},\n\tmounted() {\n\t\tthis.$root.$on('asciilive_add', (v) => {\n this.code = v\n this.addlloascii()\n\t\t})\n\t\tthis.$root.$on('asciilive_save', (v) => {\n this.saveascii()\n\t\t})\n\n\t},\n beforeDestroy () {\n\t\tthis.$root.$off('asciilive_add')\n\t\tthis.$root.$off('asciilive_save')\n },\n\n\t\tcreated () {\n this.bootsrapllo()\n\t\t},\n};\n</script>\n\n<style>\n.CodeMirror {\n\n\n /* Set height, width, borders, and global font properties here */\n font-family: monospace;\n height: 750px;\n}\n\n</style>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./runLlo.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./runLlo.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./runLlo.vue?vue&type=template&id=8add2fa4&\"\nimport script from \"./runLlo.vue?vue&type=script&lang=js&\"\nexport * from \"./runLlo.vue?vue&type=script&lang=js&\"\nimport style0 from \"./runLlo.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showlloedit)?_c('b-row',{attrs:{\"no-gutters\":\"\",\"w-100\":\"\",\"h-100\":\"\"}},[_c('b-col',{attrs:{\"cols\":\"12\",\"sm\":\"12\",\"md\":\"12\"}},[_c('b-row',[_c('b-col',{attrs:{\"cols\":\"5\"}},[_c('div',{staticClass:\"input-group input-group-sm sm-3\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.selected),expression:\"selected\"}],staticClass:\"custom-select custom-select-sm \",on:{\"change\":[function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.selected=$event.target.multiple ? $$selectedVal : $$selectedVal[0]},_vm.setKeymap]}},_vm._l((_vm.options),function(option){return _c('option',{domProps:{\"value\":option.value}},[_vm._v(\" \"+_vm._s(option.text)+\" \")])}),0),_c('div',{staticClass:\"input-group-append\"},[(_vm.cmOptions.keyMap == 'sublime')?_c('button',{staticClass:\"btn btn-outline-info btn-sm\",attrs:{\"type\":\"button\",\"round\":\"\"},on:{\"click\":_vm.infoFilter}},[_vm._v(\" i\")]):_vm._e()])])]),_c('b-col',{attrs:{\"cols\":\"7\"}},[_c('div',{staticClass:\"input-group input-group-sm d-flex justify-content-end\"}),_c('div',{staticClass:\"input-group input-group-sm d-flex justify-content-end\"},[_c('div',{staticClass:\"input-group-append\"},[(_vm.tryLLO[_vm.active])?_c('button',{staticClass:\"btn btn-outline-warning btn-sm\",attrs:{\"type\":\"button\",\"round\":\"\"},on:{\"click\":function($event){return _vm.closelog(_vm.key)}}},[_vm._v(\" Close\")]):_vm._e()]),_c('div',{staticClass:\"input-group-append\"},[(_vm.tryLLO[_vm.active])?_c('button',{staticClass:\"btn btn-outline-dark btn-sm\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.addlloasciisource}},[_vm._v(\"Create task!\")]):_vm._e()])])])],1),_c('div',{staticClass:\"codemirror\"},[_c('codemirror',{ref:\"myCm\",attrs:{\"value\":_vm.code,\"options\":_vm.cmOptions},on:{\"cursorActivity\":_vm.onCmCursorActivity,\"ready\":_vm.onCmReady,\"focus\":_vm.onCmFocus,\"input\":_vm.onCmCodeChange}})],1)],1)],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div>\n\n <b-row no-gutters w-100 h-100 \n v-if=\"showlloedit\"\n >\n <b-col cols=\"12\" sm=\"12\" md=\"12\" >\n\n <b-row >\n <b-col cols=\"5\">\n <div class=\"input-group input-group-sm sm-3\">\n <select\n class=\"custom-select custom-select-sm \"\n @change=\"setKeymap\"\n v-model=\"selected\">\n <option \n v-for=\"option in options\" \n v-bind:value=\"option.value\">\n {{ option.text }}\n </option>\n </select>\n <div class=\"input-group-append\">\n <button type=\"button\"\n round\n class=\"btn btn-outline-info btn-sm\"\n v-if=\"cmOptions.keyMap == 'sublime'\"\n @click=\"infoFilter\">\n i</button>\n </div>\n </div>\n </b-col>\n <b-col cols=\"7\" >\n <div class=\"input-group input-group-sm d-flex justify-content-end\">\n </div>\n <div class=\"input-group input-group-sm d-flex justify-content-end\">\n <div class=\"input-group-append\">\n <button type=\"button\"\n round\n class=\"btn btn-outline-warning btn-sm\"\n v-if=\"tryLLO[active]\"\n @click=\"closelog(key)\">\n Close</button>\n </div>\n <div class=\"input-group-append\">\n <button \n type=\"button\"\n class=\"btn btn-outline-dark btn-sm\"\n v-if=\"tryLLO[active]\"\n @click=\"addlloasciisource\"\n >Create task!</button>\n </div>\n </div>\n </b-col>\n </b-row>\n\n <div class=\"codemirror\" >\n <codemirror\n ref=\"myCm\"\n :value=\"code\"\n :options=\"cmOptions\"\n @cursorActivity=\"onCmCursorActivity\"\n @ready=\"onCmReady\"\n @focus=\"onCmFocus\"\n @input=\"onCmCodeChange\"\n ></codemirror>\n </div>\n </b-col>\n </b-row>\n\n\n\n\n\t</div>\n</template>\n<script>\n//import {mapState, mapGetters, mapActions,dispatch} from 'vuex'\nimport Vue from 'vue'\n//import store from '@/store/index' \n//import '@asciidoctor/core/dist/browser/asciidoctor'\nimport Asciidoctor from 'asciidoctor'\n//import '@asciidoctor/core/dist/css/asciidoctor.css'\n\n\nimport { codemirror } from 'vue-codemirror'\nimport JSZip from 'jszip';\nimport FileSaver from 'file-saver';\nimport 'codemirror/lib/codemirror.css'\n import 'codemirror/theme/neat.css'\n import'codemirror/addon/selection/active-line.js'\n\n // hint\n import'codemirror/addon/hint/show-hint.js'\n import'codemirror/addon/hint/show-hint.css'\n import'codemirror/addon/hint/javascript-hint.js'\n import'codemirror/addon/selection/active-line.js'\n import'codemirror/addon/scroll/annotatescrollbar.js'\n import'codemirror/addon/search/matchesonscrollbar.js'\n import'codemirror/addon/search/searchcursor.js'\n import'codemirror/addon/search/match-highlighter.js'\n // keyMap\n\timport'codemirror/mode/shell/shell.js'\n import'codemirror/addon/edit/matchbrackets.js'\n import'codemirror/addon/comment/comment.js'\n import'codemirror/addon/dialog/dialog.js'\n import'codemirror/addon/dialog/dialog.css'\n import'codemirror/addon/search/searchcursor.js'\n import'codemirror/addon/search/search.js'\n import'codemirror/keymap/sublime.js'\n import'codemirror/keymap/vim.js'\n // foldGutter\n import'codemirror/addon/fold/foldgutter.css'\n import'codemirror/addon/fold/brace-fold.js'\n import'codemirror/addon/fold/comment-fold.js'\n import'codemirror/addon/fold/foldcode.js'\n import'codemirror/addon/fold/foldgutter.js'\n import'codemirror/addon/fold/indent-fold.js'\n import'codemirror/addon/fold/markdown-fold.js'\n import'codemirror/addon/fold/xml-fold.js'\nimport 'codemirror/lib/codemirror';\nimport 'codemirror/addon/display/placeholder';\nimport 'codemirror-asciidoc';\n//import yaml from 'js-yaml'\nexport default {\n components: {\n\t\t\tcodemirror\n },\n data () {\n return {\n swarmlabllo: 'https://git.swarmlab.io:3000/labs/examples-mpi2/raw/branch/master/llo-index.yml',\n ssl:{},\n url_asciijshighlight:[\n 'https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.15.6/highlight.min.js'\n ],\n url_asciijs:[\n //'https://code.jquery.com/jquery-3.5.1.slim.min.js',\n //'https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js',\n 'https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js'\n ],\n url_asciicss:[\n 'https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css',\n 'https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.15.6/styles/github.min.css',\n 'https://cdnjs.cloudflare.com/ajax/libs/asciidoctor.js/1.5.9/css/asciidoctor.min.css',\n 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.14.0/css/all.min.css'\n ],\n\n code: '# Try!',\n editchoice: '',\n optionsedit: [\n { text: 'code', value: 'code' },\n { text: 'text', value: 'text' }\n ],\n llodesc:[{\n llo_url : '',\n llo_name : '',\n llo_author : '',\n llo_intro : ''\n }],\n llo:[{\n id : 0,\n rm : false,\n data_info : 'Asciidoc \\n',\n data_code : '#Your source code',\n data_service : '',\n code_datafile : 'url',\n code_name : '',\n code_exec : '',\n code_options : '',\n code_mime : '',\n code_info : '',\n code_code : '',\n code_codeout : '',\n code_codeoutput : 'console',\n points : '',\n challenge_question : '',\n code_challenge_question : '',\n challenge_answer : '',\n challenge_answer_hint : '',\n code_challenge_answer_hint : '',\n challenge_answer_source : '',\n challenge_answer_code_out : '',\n challenge_answer_code : '',\n code_challenge_answer_code : ''\n }],\n\t\t searchLLO: [],\n searchLLOactive : false,\n ADOC_html_code:'',\n challenge:[],\n action:'',\n tryLLO:[],\n service:'os2',\n active:0,\n activecount:0,\n remove:'',\n activeField:'',\n bootstrap:false,\n firstbootstrap:0,\n htmlasciitmp:'',\n datafile: 'https://git.swarmlab.io:3000/labs/examples-mpi2/raw/branch/master/0_netstat/data',\n datadir: '0_netstat/data',\n LearningObject:'',\n showllo:true,\n showlloedit:true,\n \t\tselected: 'sublime',\n options: [\n { text: 'vim', value: 'vim' },\n { text: 'sublime', value: 'sublime' }\n ],\n optionsmime: [\n { text: 'sh', value: 'bash' },\n { text: 'javascript', value: 'javascript' },\n { text: 'python', value: 'python' },\n { text: 'php', value: 'php' },\n { text: 'sql', value: 'sq;' },\n { text: 'xml', value: 'xml' },\n { text: 'c', value: 'c' }\n ],\n pValidate: false,\n cmOptions: {\n tabSize: 2,\n styleActiveLine: true,\n lineNumbers: true,\n lineSeparator:'\\n',\n line: true,\n foldGutter: true,\n gutters: [\"CodeMirror-linenumbers\", \"CodeMirror-foldgutter\"],\n highlightSelectionMatches: { showToken: /\\w/, annotateScrollbar: true },\n styleSelectedText: true,\n mode: 'asciidoc',\n hintOptions:{\n completeSingle: false\n },\n keyMap: \"sublime\",\n //keyMap: \"vim\",\n matchBrackets: true,\n showCursorWhenSelecting: true,\n indentUnit:this.ADOC_html_code,\n lineWrapping: true,\n theme: 'neat',\n refresh:true,\n autofocus: false,\n extraKeys: { \"Ctrl\": \"autocomplete\" }\n },\n ADOC_html:[]\n }\n },\n methods: {\n async showactive(index) {\n this.topwindow(index)\n\t\t},\n onCmReady(cm) {\n cm.on('change', (cm, chg) => {\n }),\n cm.on('keypress', () => {\n cm.showHint({completeSingle:false})\n })\n },\n onCmCursorActivity(a, b, c) {\n },\n onCmFocus(cm) {\n },\n onCmCodeChange(newCode) {\n this.code = newCode\n this.$root.$emit('asciilive_add',this.code)\n },\n handleChange() {\n },\n setKeymap () {\n this.cmOptions.keyMap = this.selected\n },\n\t\tinfoFilter() {\n\t\t\t\tvar title1='<h3>Playbook Images</h3>'\n\t\t\t\t\tvar winfop='<table class=\"table table-striped table-sm \">'+\n '<tr><td class=\"text-left\">Shift-Tab</td> <td class=\"text-left\">indentLess</td></tr>'+\n '<tr><td class=\"text-left\">Shift-Ctrl-K</td> <td class=\"text-left\">deleteLine</td></tr>'+\n '<tr><td class=\"text-left\">Alt-Q</td> <td class=\"text-left\">wrapLines</td></tr>'+\n '<tr><td class=\"text-left\">Ctrl-T</td> <td class=\"text-left\">transposeChars</td></tr>'+\n '<tr><td class=\"text-left\">Alt-Left</td> <td class=\"text-left\">goSubwordLeft</td></tr>'+\n '<tr><td class=\"text-left\">Alt-Right</td> <td class=\"text-left\">goSubwordRight</td></tr>'+\n '<tr><td class=\"text-left\">Ctrl-Up</td> <td class=\"text-left\">scrollLineUp</td></tr>'+\n '<tr><td class=\"text-left\">Ctrl-Down</td> <td class=\"text-left\">scrollLineDown</td></tr>'+\n '<tr><td class=\"text-left\">Ctrl-L</td> <td class=\"text-left\">selectLine</td></tr>'+\n '<tr><td class=\"text-left\">Shift-Ctrl-L</td> <td class=\"text-left\">splitSelectionByLine</td></tr>'+\n '<tr><td class=\"text-left\">Esc</td> <td class=\"text-left\">singleSelectionTop</td></tr>'+\n '<tr><td class=\"text-left\">Ctrl-Enter</td> <td class=\"text-left\">insertLineAfter</td></tr>'+\n '<tr><td class=\"text-left\">Shift-Ctrl-Enter</td> <td class=\"text-left\">insertLineBefore</td></tr>'+\n '<tr><td class=\"text-left\">Ctrl-D</td> <td class=\"text-left\">selectNextOccurrence</td></tr>'+\n '<tr><td class=\"text-left\">Shift-Ctrl-Space</td> <td class=\"text-left\">selectScope</td></tr>'+\n '<tr><td class=\"text-left\">Shift-Ctrl-M</td> <td class=\"text-left\">selectBetweenBrackets</td></tr>'+\n '<tr><td class=\"text-left\">Ctrl-M</td> <td class=\"text-left\">goToBracket</td></tr>'+\n '<tr><td class=\"text-left\">Shift-Ctrl-Up</td> <td class=\"text-left\">swapLineUp</td></tr>'+\n '<tr><td class=\"text-left\">Shift-Ctrl-Down</td> <td class=\"text-left\">swapLineDown</td></tr>'+\n '<tr><td class=\"text-left\">Ctrl-/</td> <td class=\"text-left\">toggleCommentIndented</td></tr>'+\n '<tr><td class=\"text-left\">Ctrl-J</td> <td class=\"text-left\">joinLines</td></tr>'+\n '<tr><td class=\"text-left\">Shift-Ctrl-D</td> <td class=\"text-left\">duplicateLine</td></tr>'+\n '<tr><td class=\"text-left\">F9</td> <td class=\"text-left\">sortLines</td></tr>'+\n '<tr><td class=\"text-left\">Ctrl-F9</td> <td class=\"text-left\">sortLinesInsensitive</td></tr>'+\n '<tr><td class=\"text-left\">F2</td> <td class=\"text-left\">nextBookmark</td></tr>'+\n '<tr><td class=\"text-left\">Shift-F2</td> <td class=\"text-left\">prevBookmark</td></tr>'+\n '<tr><td class=\"text-left\">Ctrl-F2</td> <td class=\"text-left\">toggleBookmark</td></tr>'+\n '<tr><td class=\"text-left\">Shift-Ctrl-F2</td> <td class=\"text-left\">clearBookmarks</td></tr>'+\n '<tr><td class=\"text-left\">Alt-F2</td> <td class=\"text-left\">selectBookmarks</td></tr>'+\n '<tr><td class=\"text-left\">Backspace</td> <td class=\"text-left\">smartBackspace</td></tr>'+\n '<tr><td class=\"text-left\">Ctrl-K Ctrl-K</td> <td class=\"text-left\">delLineRight</td></tr>'+\n '<tr><td class=\"text-left\">Ctrl-K Ctrl-U</td> <td class=\"text-left\">upcaseAtCursor</td></tr>'+\n '<tr><td class=\"text-left\">Ctrl-K Ctrl-L</td> <td class=\"text-left\">downcaseAtCursor</td></tr>'+\n '<tr><td class=\"text-left\">Ctrl-K Ctrl-Space</td> <td class=\"text-left\">setSublimeMark</td></tr>'+\n '<tr><td class=\"text-left\">Ctrl-K Ctrl-A</td> <td class=\"text-left\">selectToSublimeMark</td></tr>'+\n '<tr><td class=\"text-left\">Ctrl-K Ctrl-W</td> <td class=\"text-left\">deleteToSublimeMark</td></tr>'+\n '<tr><td class=\"text-left\">Ctrl-K Ctrl-X</td> <td class=\"text-left\">swapWithSublimeMark</td></tr>'+\n '<tr><td class=\"text-left\">Ctrl-K Ctrl-Y</td> <td class=\"text-left\">sublimeYank</td></tr>'+\n '<tr><td class=\"text-left\">Ctrl-K Ctrl-C</td> <td class=\"text-left\">showInCenter</td></tr>'+\n '<tr><td class=\"text-left\">Ctrl-K Ctrl-G</td> <td class=\"text-left\">clearBookmarks</td></tr>'+\n '<tr><td class=\"text-left\">Ctrl-K Ctrl-Backspace</td> <td class=\"text-left\">delLineLeft</td></tr>'+\n '<tr><td class=\"text-left\">Ctrl-K Ctrl-0</td> <td class=\"text-left\">unfoldAll</td></tr>'+\n '<tr><td class=\"text-left\">Ctrl-K Ctrl-J</td> <td class=\"text-left\">unfoldAll</td></tr>'+\n '<tr><td class=\"text-left\">Ctrl-Alt-Up</td> <td class=\"text-left\">addCursorToPrevLine</td></tr>'+\n '<tr><td class=\"text-left\">Ctrl-Alt-Down</td> <td class=\"text-left\">addCursorToNextLine</td></tr>'+\n '<tr><td class=\"text-left\">Ctrl-F3</td> <td class=\"text-left\">findUnder</td></tr>'+\n '<tr><td class=\"text-left\">Shift-Ctrl-F3</td> <td class=\"text-left\">findUnderPrevious</td></tr>'+\n '<tr><td class=\"text-left\">Shift-Ctrl-[</td> <td class=\"text-left\">fold</td></tr>'+\n '<tr><td class=\"text-left\">Shift-Ctrl-]</td> <td class=\"text-left\">unfold</td></tr>'+\n '<tr><td class=\"text-left\">Ctrl-H</td> <td class=\"text-left\">replace</td></tr>'+\n'</table>'\n\t\t\t\t\t\n\t\t\t\t\t//var title1='<div>Repositories are set to Default</div>'\n\t\t\t\t\t//var winfo='if you want sumthing special plaese first insert the repo'\n\t\t\t\t\tvar title1=''\n\t\t\t\t\tvar winfo=''\n\t\t\t\tthis.$swal({\n\t\t\t\t\ttitle: '<strong>Sublime Text bindings</strong>',\n\t\t\t\t\ttype: 'info',\n\t\t\t\t\thtml: winfop+title1+winfo,\n\t\t\t\t\tshowCloseButton: true,\n\t\t\t\t\tshowLoaderOnConfirm: false,\n\t\t\t\t\tallowOutsideClick: false\n\t\t\t\t})\n\t\t}\n\n },\n computed: {\n codemirror() {\n return this.$refs.myCm.codemirror\n }\n\n\t},\n\tmounted() {\n\t\tthis.$root.$on('asciilive_template_add', (v) => {\n\t\t\tthis.$nextTick(function () {\n this.code = v\n\t\t\t})\n\t\t})\n\n\t},\n beforeDestroy () {\n\t\tthis.$root.$off('PipelineRunSwarmserviceLLOAdhoc')\n },\n\n\t\tcreated () {\n\t\t}\n};\n</script>\n\n<style>\n.CodeMirror {\n\n\n /* Set height, width, borders, and global font properties here */\n font-family: monospace;\n height: 750px;\n}\n\n</style>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdhocView.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdhocView.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./AdhocView.vue?vue&type=template&id=0d3fb91c&\"\nimport script from \"./AdhocView.vue?vue&type=script&lang=js&\"\nexport * from \"./AdhocView.vue?vue&type=script&lang=js&\"\nimport style0 from \"./AdhocView.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","<template>\n<div>\n\n <!-- menou -->\n <div class=\"row\"\n v-show=\"showmenou == 1\"\n >\n\n <div class=\"col-3\">\n <div class=\"input-group-append\">\n <button type=\"button\"\n round\n v-if=\"columnviewdefault == '0'\"\n class=\"ti-layout-sidebar-none btn btn-outline-info btn-sm\"\n @click=\"fullscreen('max')\">\n Max-Notebook View </button>\n\n <button type=\"button\"\n round\n v-if=\"columnviewdefault == '1'\"\n class=\"ti-layout-sidebar-right btn btn-outline-info btn-sm\"\n @click=\"fullscreen('min')\">\n Min-Notebook View</button>\n </div>\n </div>\n\n <div class=\"col-6\">\n <span></span>\n </div>\n\n <div class=\"col-3\">\n <div class=\"input-group-prepend\">\n <button type=\"button\"\n round\n v-if=\"columncodedefault == '0'\"\n class=\"ti-layout-sidebar-none btn btn-outline-info btn-sm\"\n style=\"float: right;\"\n @click=\"fullscreen('codemax')\">\n Max-Code View </button>\n\n <button type=\"button\"\n round\n v-if=\"columncodedefault == '1'\"\n style=\"float: right;\"\n class=\"ti-layout-sidebar-left btn btn-outline-info btn-sm\"\n @click=\"fullscreen('codemin')\">\n Min-Code View</button>\n </div>\n </div>\n </div>\n <!-- menou -->\n\n\n\n <div class=\"row\" >\n\n <div :class=\"columnview\">\n <run-llo\n style=\"background-color: #f8f9fa\"\n >\n </run-llo>\n </div>\n\n <div :class=\"columncode\">\n <ad-hoc\n style=\"background-color: #f8f9fa\"\n >\n </ad-hoc>\n </div>\n </div>\n\n </div>\n</template>\n\n<script>\nimport RunLlo from \"./doclive/runLlo.vue\";\nimport AdHoc from \"./doclive/AdhocView.vue\";\n\nexport default {\n name: 'DocLive',\n props: {\n }, \n components: {\n RunLlo,\n AdHoc\n },\n data () {\n return {\n loading: false,\n showhistory : 0,\n productIndex: 1,\n showmenou: 1,\n columnviewdefault : 0,\n columncodedefault : 0,\n columnview : 'col-7 order-first',\n columncode : 'col-5 order-last',\n tutorMenou: 'student'\n }\n },\n created: function () {\n },\n mounted() {\n this.$root.$on('LLOshowmenounotebooks', () => {\n this.showmenou = 1\n }),\n this.$root.$on('lloshowchallengehistory', (llo,active) => {\n this.showhistory = 1\n })\n },\n beforeDestroy () {\n this.$root.$off('LLOshowmenounotebooks'),\n this.$root.$off('lloshowchallengehistory') // working\n },\n methods: {\n fullscreen(action){\n if(action == 'max'){\n this.columnview = 'col-11 order-first'\n this.columncode = 'col-1 order-last'\n this.columnviewdefault = 1\n this.columncodedefault = 0\n //set height iframe\n this.$root.$emit('LLOresizemenounotebooks','max')\n console.log(this.columnview)\n }\n else if(action == 'min'){\n this.columnview = 'col-7 order-first'\n this.columncode = 'col-5 order-last'\n this.columnviewdefault = 0\n this.columncodedefault = 1\n //set height iframe\n this.$root.$emit('LLOresizemenounotebooks','min')\n console.log(this.columnview)\n }\n else if(action == 'codemax'){\n this.columnview = 'col-1 order-first'\n this.columncode = 'col-11 order-last'\n this.columnviewdefault = 0\n this.columncodedefault = 1\n console.log(this.columnview)\n }\n else if(action == 'codemin'){\n this.columnview = 'col-7 order-first'\n this.columncode = 'col-5 order-last'\n this.columnviewdefault = 1\n this.columncodedefault = 0\n this.$root.$emit('LLOresizemenounotebooks','min')\n console.log(this.columnview)\n }\n },\n async onAction (action) {\n this.tutorMenou='tutor'\n //this.tutorMenou='student'\n }\n }\n\n\n}\n</script>\n\n<!-- Add \"scoped\" attribute to limit CSS to this component only -->\n<style scoped>\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DocLive.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DocLive.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./DocLive.vue?vue&type=template&id=6b2c0280&scoped=true&\"\nimport script from \"./DocLive.vue?vue&type=script&lang=js&\"\nexport * from \"./DocLive.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6b2c0280\",\n null\n \n)\n\nexport default component.exports","<template>\n <div id=\"app\">\n\n <!-- ***************** nav items ****************** -->\n <b-navbar toggleable=\"md\" class=\"navbar-secondary\" >\n <b-navbar-toggle target=\"nav_collapse\"> </b-navbar-toggle>\n <b-navbar-brand class=\"logo simple-text ti-swarmlab text-secondary\">\n Swarmlab.io Doclive \n </b-navbar-brand>\n <b-collapse is-nav id=\"nav_collapse\">\n <b-navbar-nav>\n \n \n </b-navbar-nav>\n\n <!-- Right aligned nav items -->\n <b-navbar-nav class=\"ml-auto\">\n <b-nav-item href=\"http://docs.swarmlab.io/SwarmLab-HowTos/labs/Howtos/asciidoc/AsciiDocSyntaxQuickReference.adoc.html\" target=\"_ascii\" > Asciidoc_QuickReference </b-nav-item>\n <b-nav-item > | </b-nav-item>\n <b-nav-item href=\"https://git.swarmlab.io:3000\" target=\"_swarmlabgit\"> Swarmlab_git </b-nav-item>\n <b-nav-item > | </b-nav-item>\n <b-nav-item href=\"https://api-client.swarmlab.io:8088/#/signin?redirect=%2Fdashboard\" target=\"_swarmlab\"> Lab_onDemand </b-nav-item>\n <b-nav-item > | </b-nav-item>\n <!--\n <b-nav-form>\n <b-form-input size=\"sm\" class=\"mr-sm-2\" type=\"text\" placeholder=\"Search\"/>\n <b-button size=\"sm\" class=\"my-2 my-sm-0\" type=\"submit\">Search</b-button>\n </b-nav-form>\n -->\n <b-nav-item-dropdown right>\n\n <!-- Using template slot -->\n <template slot=\"button-content\">\n <em>Template</em>\n </template>\n\n <b-dropdown-item >\n <button type=\"button\"\n round\n class=\"btn btn-outline-info btn-sm\"\n @click=\"addtemplate('LabTemplate')\">\n LabTemplate</button>\n </b-dropdown-item>\n\n </b-nav-item-dropdown>\n\n <b-nav-item > &nbsp; &nbsp; &nbsp; </b-nav-item>\n\n <button type=\"button\"\n round\n class=\"btn btn-outline-info btn-sm\"\n @click=\"saveDocLive\">\n Save As Zip</button>\n\n <button type=\"button\"\n round\n class=\"btn btn-outline-secondary btn-sm\"\n >\n <a href=\"http://docs.swarmlab.io/SwarmLab-HowTos/labs/Howtos/doclive/asciidoc.adoc.html\" target=\"_asciimore\" style=\"color:inherit\">\n More Formats\n </a>\n </button>\n\n </b-navbar-nav>\n\n </b-collapse>\n </b-navbar>\n\n <!-- ***************** container items ****************** -->\n <b-row>\n <b-col cols=\"12\">\n\n <doc-live\n style=\"background-color: #f8f9fa\"\n >\n </doc-live>\n\n </b-col>\n </b-row>\n\n\n\n\n </div>\n</template>\n\n<script>\nimport DocLive from './components/DocLive.vue'\nimport Asciidoctor from 'asciidoctor'\nimport \"@/assets/css/themify-icons.css\";\n\nexport default {\n name: 'app',\n components: {\n DocLive\n },\n data() {\n return {\n show: true,\n SwarmabAsciiLabTemplate:''\n }\n },\n\tmounted() {\n },\n methods: {\n saveDocLive() {\n this.$root.$emit('asciilive_save','save')\n },\n addtemplate(template) {\n if( template == 'LabTemplate' ){\n\n this.SwarmabAsciiLabTemplate = `= Title!\nmyName email@emailserver.foo\n:description: Description\n:keywords: Lab, myLab\n:data-uri:\n:toc: true\n:toc-title: Table of Contents\n:toclevels: 4\n:source-highlighter: highlight\n:icons: font\n:sectnums: \n\n{empty} +\n\n.Welcome to Swarmlab.io\n****\nSwarmlab is a powerful collaboration tool that connects tutors and students in a unique all-in-one environment that gets work done fast and easily\nReady-to-Use Virtual Labs one click away.\n****\n\n== Chapter 1\n\n\n.NOTE\n[NOTE]\n====\nAssuming you're already logged in\n====\n\n\n=== Install docker\n\n\nTo Docker είναι μια πλατφόρμα λογισμικού ανοιχτού κώδικα που υλοποιεί Εικονικοποίηση (Virtualization) σε επίπεδο Λειτουργικού Συστήματος.\n\nTο Docker προσφέρει αυτοματοποιημένες διαδικασίες για την ανάπτυξη εφαρμογών σε απομονωμένες Περιοχές Χρήστη (User Spaces) που ονομάζονται Software Containers\n\nΤο λογισμικό χρησιμοποιεί τεχνολογιές του πυρήνα του Linux όπως τα cgroups και οι χώροι ονομάτων πυρήνα (kernel namespaces), για να επιτρέπει σε ανεξάρτητα software containers να εκτελούνται στο ίδιο λειτουργικό σύστημα.\n\nΈτσι αποφεύγεται η χρήση επιπλέον υπολογιστικών πόρων που θα απαιτούσε μια εικονική μηχανή (virtual machine).\nΟρισμός, βασικά χαρακτηριστικά και αρχιτεκτονικές IoT, εφαρμογές ΙοΤ, αντιδιαστολή με τον ιστό των αντικειμένων (Web of Things / WoT), προκλήσεις του IoT όπως προτυποποίηση, κλιμάκωση, μέγεθος συσκευών, κατανάλωση ενέργειας, διευθυνσιοδότηση, ασφάλεια/ιδιωτικότητα, ποιότητας υπηρεσιών, κινητικότητα κ.α\n\nMore Info +\nhttps://en.wikipedia.org/wiki/Docker_(software)[^]\n\n[[cheat-Dockervideo]]\n== docker Intro\n\n* Docker - Explained\n+\nvideo::wi-MGFhrad0[youtube]\n\n* How DOCKER works - Virtualization vs containerization\n+\nvideo::0e-KiGJIiDc[youtube]\n\n\n== Installation (Ubuntu)\n\n.Run with sudo\n[source,bash]\n----\ncurl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -\nsudo add-apt-repository \"deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable\"\nsudo apt update\n\nsudo apt install -y docker-ce\n echo \"or\"\nsudo apt install docker*\n\nsudo systemctl status docker\nsudo usermod -aG docker username #οπου username το όνομα του χρήστη που θα δουλεύει με docker\n----\n\n== Usage swarmlab.io DocLive\n\n\n- Open a console\n\n- Switch to the directory that contains *.adoc documents\n\n- Call the Asciidoctor processor with the command\n\n\n\n\n.If you need to convert only one file\n[TIP]\n====\n[source,bash]\n----\ndocker run --rm -v $(pwd):/documents/ registry.vlabs.uniwa.gr:5080/swarmlab-asciidoctor asciidoctor --safe -b html5 -a theme=flask -a toc2 -o ./path/to/FILENAME.html ./path/from/FILENAME.adoc\n----\nPlease note, there is a **.** in ./path\n====\n\n== Usage Tables\n\nTables\n^^^^^^\n.An example table\n[options=\"header,footer\"]\n|=======================\n|Rank |Ομάδα |Points\n|1 |*Barca* |15\n|2 |*PSG* |08\n|3 |Larnaka |05\n|4 |Osfp |03\n|=======================\n\n\n\n\n`\n\n this.$root.$emit('asciilive_template_add', this.SwarmabAsciiLabTemplate)\n }\n }\n }\n}\n</script>\n\n<style>\n @import url('https://fonts.googleapis.com/css?family=Lato:400,700');\n\n body {\n background: #EEF1F4 !important;\n //font-family: 'Lato', sans-serif !important;\n }\n\n .nav-background {\n background: #353535;\n //background: #74b3c8;\n }\n\n .ti-swarmlab:before {\n position: relative;\n top:-5px;\n right:-8px;\n font-size: 1.5em;\n font-weight: 300;\n content: \"\\e606\";\n color: #222;\n /*color: #5FCF80; */\n color: #74B3C8;\n border-color: #c60000;\n}\n\n.ti-themify-logo:before {\n content: \"\\e6d1\";\n}\n\n .menoutext {\n font-family: 'Lato', sans-serif !important;\n }\n\n</style>\n","import mod from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=0d004c2a&\"\nimport script from \"./App.vue?vue&type=script&lang=js&\"\nexport * from \"./App.vue?vue&type=script&lang=js&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import Vue from 'vue'\nimport App from './App.vue'\nimport BootstrapVue from 'bootstrap-vue'\nimport 'bootstrap/dist/css/bootstrap.css'\nimport 'bootstrap-vue/dist/bootstrap-vue.css'\nimport VueSweetalert2 from 'vue-sweetalert2';\nVue.use(VueSweetalert2);\n\n\n//eslint-disable \n\nVue.use(BootstrapVue);\n\nVue.config.productionTip = false\n\nnew Vue({\n render: h => h(App)\n}).$mount('#app')\n","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdhocView.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AdhocView.vue?vue&type=style&index=0&lang=css&\""],"sourceRoot":""}