wiki-js-customization/test/wiki_homepage_files/ui-extra.js

2 lines
57 KiB
JavaScript
Raw Permalink Normal View History

2024-03-14 21:45:50 +00:00
/*! Wiki.js - wiki.js.org - Licensed under AGPL */
(this.webpackJsonp=this.webpackJsonp||[]).push([["ui-extra"],{"./client/components/common/loader.vue":function(e,t,s){"use strict";s.r(t);var i=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("v-dialog",{attrs:{persistent:"","max-width":"350","overlay-color":e.color,"overlay-opacity":".7"},model:{value:e.value,callback:function(t){e.value=t},expression:"value"}},[s("v-card",{staticClass:"loader-dialog radius-7",attrs:{color:e.color,dark:""}},[s("v-card-text",{staticClass:"text-center py-4"},["loading"===e.mode?s("atom-spinner",{staticClass:"is-inline",attrs:{"animation-duration":1e3,size:60,color:"#FFF"}}):"icon"===e.mode?s("img",{attrs:{src:"/_assets/svg/icon-"+e.icon+".svg",alt:e.icon}}):e._e(),s("div",{staticClass:"subtitle-1 white--text"},[e._v(e._s(e.title))]),s("div",{staticClass:"caption"},[e._v(e._s(e.subtitle))])],1)],1)],1)};i._withStripped=!0;var o={components:{AtomSpinner:s("./node_modules/epic-spinners/src/lib.js").a},props:{value:{type:Boolean,default:!1},color:{type:String,default:"blue darken-3"},title:{type:String,default:"Working..."},subtitle:{type:String,default:"Please wait"},mode:{type:String,default:"loading"},icon:{type:String,default:"checkmark"}}},n=(s("./client/components/common/loader.vue?vue&type=style&index=0&lang=scss&"),s("./node_modules/vue-loader/lib/runtime/componentNormalizer.js")),l=s("./node_modules/vuetify-loader/lib/runtime/installComponents.js"),d=s.n(l),r=s("./node_modules/vuetify/lib/components/VCard/VCard.js"),a=s("./node_modules/vuetify/lib/components/VCard/index.js"),c=s("./node_modules/vuetify/lib/components/VDialog/VDialog.js"),u=Object(n.a)(o,i,[],!1,null,null,null);d()(u,{VCard:r.a,VCardText:a.b,VDialog:c.a}),u.options.__file="client/components/common/loader.vue";t.default=u.exports},"./client/components/common/loader.vue?vue&type=style&index=0&lang=scss&":function(e,t,s){"use strict";s("./node_modules/cache-loader/dist/cjs.js?!./node_modules/style-loader/dist/cjs.js!./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js!./node_modules/sass-loader/dist/cjs.js?!./node_modules/sass-resources-loader/lib/loader.js?!./node_modules/vue-loader/lib/index.js?!./client/components/common/loader.vue?vue&type=style&index=0&lang=scss&")},"./client/components/common/page-selector.vue":function(e,t,s){"use strict";s.r(t);var i=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("v-dialog",{attrs:{"max-width":"850px","overlay-color":"blue darken-4","overlay-opacity":".7"},model:{value:e.isShown,callback:function(t){e.isShown=t},expression:"isShown"}},[s("v-card",{staticClass:"page-selector"},[s("div",{staticClass:"dialog-header is-blue"},[s("v-icon",{staticClass:"mr-3",attrs:{color:"white"}},[e._v("mdi-page-next-outline")]),"create"===e.mode?s("div",{staticClass:"body-1"},[e._v(e._s(e.$t("common:pageSelector.createTitle")))]):"move"===e.mode?s("div",{staticClass:"body-1"},[e._v(e._s(e.$t("common:pageSelector.moveTitle")))]):"select"===e.mode?s("div",{staticClass:"body-1"},[e._v(e._s(e.$t("common:pageSelector.selectTitle")))]):e._e(),s("v-spacer"),s("v-progress-circular",{directives:[{name:"show",rawName:"v-show",value:e.searchLoading,expression:"searchLoading"}],attrs:{indeterminate:"",color:"white",size:20,width:2}})],1),s("div",{staticClass:"d-flex"},[s("v-flex",{staticClass:"grey",class:e.$vuetify.theme.dark?"darken-4":"lighten-3",attrs:{xs5:""}},[s("v-toolbar",{attrs:{color:"grey darken-3",dark:"",dense:"",flat:""}},[s("div",{staticClass:"body-2"},[e._v(e._s(e.$t("common:pageSelector.virtualFolders")))]),s("v-spacer"),s("v-btn",{attrs:{icon:"",tile:"",href:"https://docs.requarks.io/guide/pages#folders",target:"_blank"}},[s("v-icon",[e._v("mdi-help-box")])],1)],1),s("div",{staticStyle:{height:"400px"}},[s("vue-scroll",{attrs:{ops:e.scrollStyle}},[s("v-treeview",{key:"pageTree-"+e.treeViewCacheId,attrs:{active:e.currentNode,open:e.openNodes,items:e.tree,"load-children":e.fetchFolders,dense:"","expand-icon":"mdi-menu-dow