mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-01-16 02:42:02 -06:00
1 line
18 KiB
JavaScript
1 line
18 KiB
JavaScript
|
(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{372:function(module,__webpack_exports__,__webpack_require__){"use strict";eval('__webpack_require__.r(__webpack_exports__);\n\n// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vuetify-loader/lib/loader.js??ref--16-0!./node_modules/vue-loader/lib??vue-loader-options!./pages/docs/namespaces.vue?vue&type=template&id=6b991db7&\nvar render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(\'v-app\',[_c(\'div\',[_c(\'v-list\',{model:{value:(_vm.namespaces),callback:function ($$v) {_vm.namespaces=$$v},expression:"namespaces"}},_vm._l((_vm.namespaces),function(namespace,idx){return _c(\'v-list-item\',{key:idx,attrs:{"title":namespace.namespace}},[_c(\'div\',{attrs:{"display":"inline"}},[_vm._v("ns:"+_vm._s(namespace.namespace + ": " + namespace.show))]),_vm._v(" "),_c(\'v-list-item-title\',[_vm._v(_vm._s(namespace.namespace))]),_vm._v(" "),_c(\'v-switch\',{model:{value:(namespace.show),callback:function ($$v) {_vm.$set(namespace, "show", $$v)},expression:"namespace.show"}})],1)}),1)],1)])}\nvar staticRenderFns = []\n\n\n// CONCATENATED MODULE: ./pages/docs/namespaces.vue?vue&type=template&id=6b991db7&\n\n// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.regexp.replace.js\nvar es6_regexp_replace = __webpack_require__(36);\n\n// EXTERNAL MODULE: ./node_modules/core-js/modules/es7.array.includes.js\nvar es7_array_includes = __webpack_require__(46);\n\n// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.string.includes.js\nvar es6_string_includes = __webpack_require__(59);\n\n// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.regexp.split.js\nvar es6_regexp_split = __webpack_require__(47);\n\n// EXTERNAL MODULE: ./node_modules/regenerator-runtime/runtime.js\nvar runtime = __webpack_require__(63);\n\n// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js\nvar asyncToGenerator = __webpack_require__(12);\n\n// CONCATENATED MODULE: ./mixins/get_namespaces.js\n\n\n\n\n\n\n// asyncData in multiple mixins seems to be broken, or worse, working as designed\n/* harmony default export */ var get_namespaces = ({\n asyncData: function () {\n var _asyncData = Object(asyncToGenerator["a" /* default */])(\n /*#__PURE__*/\n regeneratorRuntime.mark(function _callee(context) {\n var baseurl, services, fm, namespaces_endpoint, namespaces, collated, ena, ns, result;\n return regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n // if (context.req) {\n // console.log("avoiding server-side async");\n // return;\n // }\n baseurl = document.location.href.split(\'/\').slice(0, 3).join(\'/\');\n\n if (context.isDev && baseurl.includes(":3000")) {\n console.log("Dev mode: remapping 3000 to 12345 for split dev environment.");\n baseurl = baseurl.replace("3000", "12345");\n }\n\n services = baseurl + "/services"; // console.log("async loading get_categories data: context: " + context);\n\n fm = __webpack_require__(221);\n namespaces_endpoint = services + "/docs/namespaces";\n _context.next = 7;\n return context.$axios.$get(namespaces_endpoint);\n\n case 7:\n namespaces = _context.sent;\n // let namespaces = await fetch(services+"/docs/namespaces")\n // .then(response => {\n // return response.json()\n // })\n // .catch(err => {\n // console.log("error:" + err)\n // });\n collated = Array();\n\n for (ena in namespaces) {\n for (ns in namespaces[ena]) {\n collated.push({\n namespace: ns,\n show: ena === "enabled",\n paths: na
|