mirror of
https://github.com/tauri-apps/tauri.studio.git
synced 2026-02-04 02:21:17 +01:00
* feat(site): initial scaffolding * fix(redirect): 404 * feat(CNAME): reference to tauri-apps.org * feat(CNAME): add CNAME to build script CMD * feat(work): various things, including patterns page * feat(sidebar): Now scroll works - needed to close the sidebar, because there is no docheight - added a # to urls * feat(slides): add landing carousel * feat(landing): add ministories and roadmap and mermaid * feat(links): update links, enhance mermaid * feat(patterns): stylish page, 5 patterns, dynamic mermaid - note: trollbridge -> api-bridge - update mermaid * feat(patterns): - add multiwin pattern - add pattern icons - rename patterns - add config section with dynamic markdown - use keep-alive - minor revisions to landing page * feat(security): add docs/security page * feat(patterns): add cloudish flowchart * feat(patterns): fix infobar for mobile * feat(quasar): update deps * feat(examples): basic scaffolding * feat(patterns): mosts, bests * feat(patterns): icons * feat(build): last manual build
1 line
5.7 KiB
JavaScript
1 line
5.7 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["2d374d09"],{"1ec1":function(t,e,s){"use strict";s.r(e);var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("hero",[s("div",{staticStyle:{"padding-top":"260px"},attrs:{id:"padding"}}),s("q-markdown",{attrs:{src:t.markdown,toc:"","no-line-numbers":""},on:{data:t.onToc}}),s("q-page-scroller",{attrs:{position:"bottom-right","scroll-offset":150,offset:[18,18]}},[s("q-btn",{attrs:{fab:"",icon:"keyboard_arrow_up",color:"primary"}})],1)],1)},l=[],i=s("2514"),o="The Tauri API \n\n```\nwhitelist: { // all whitelist values are default:false\n all: false, // use this flag to enable all API features\n answer: false, // enable rust to direct the UI\n bridge: false, // enable Quasar Bridge\n event: false, // enable binding to message\n execute: false, // enable application execution\n listFiles: false, // list files in a directory\n open: false, // open link in a browser\n readBinaryFile: false, // read binary file from local filesystem\n readTextFile: false, // read text file from local filesystem\n setTitle: false, // set the window title\n writeFile: false // write file to local filesystem\n},\n```\n",n={name:"API",components:{Hero:i["a"]},data:function(){return{markdown:o}},computed:{toc:{get:function(){return this.$store.state.common.toc},set:function(t){this.$store.commit("common/toc",t)}}},methods:{onToc:function(t){this.toc=t}}},r=n,c=s("2877"),d=Object(c["a"])(r,a,l,!1,null,null,null);e["default"]=d.exports},2514:function(t,e,s){"use strict";var a=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"full-width q-pa-md"},[s("q-page-sticky",{directives:[{name:"scroll",rawName:"v-scroll",value:t.scrolled,expression:"scrolled"}],staticClass:"page-header fixed-top shadow-8 scroll-determined",staticStyle:{position:"fixed!important"},attrs:{expand:""}},[s("q-chip",{staticClass:"claim text-weight-light text-black bg-cyan-1 shadow-8",staticStyle:{top:"84%"},attrs:{outline:"",dense:"",square:"",icon:"star","icon-right":"star"}},[t._v("Build more secure native apps with fast, tiny binaries.")]),s("div",{staticClass:"bg-container scroll-determined q-pa-md q-ml-lg"}),s("div",[s("router-link",{attrs:{to:"/"}},[s("img",{staticClass:"tauri-name scroll-determined",staticStyle:{cursor:"pointer"},attrs:{src:"statics/tauri-wordmark.png"}})]),t.buttons?s("div",{staticClass:"row",staticStyle:{"margin-top":"90px"}},[s("q-btn",{staticClass:"btn",attrs:{dense:"",size:"small",to:"/docs/quickstart",label:"Quick Start","no-caps":"",color:"yellow-2","text-color":"black"}}),s("q-btn",{staticClass:"btn",attrs:{dense:"",size:"small",to:"/docs/patterns",label:"Patterns","no-caps":"",color:"yellow-2","text-color":"black"}}),t.showDocs?s("q-btn",{staticClass:"btn",attrs:{dense:"",size:"small",to:"/docs",label:"Docs","no-caps":"",color:"yellow-2","text-color":"black"}}):t._e()],1):s("div",{staticClass:"absolute-right",staticStyle:{margin:"18px 35px 0 0"}},[s("q-btn-dropdown",{staticClass:"q-mr-lg",attrs:{dense:"",color:"yellow-2",label:t.current,"no-caps":"","text-color":"black"}},[s("q-list",{attrs:{color:"yellow-2"}},[t.showDocs?s("q-item",{directives:[{name:"close-popup",rawName:"v-close-popup"}],attrs:{clickable:"",to:"/docs"},on:{click:function(e){t.current="Docs"}}},[s("q-item-section",[s("q-item-label",[t._v("Docs")])],1)],1):t._e(),s("q-item",{directives:[{name:"close-popup",rawName:"v-close-popup"}],attrs:{clickable:"",to:"/docs/quickstart"}},[s("q-item-section",[s("q-item-label",[t._v("Quick Start")])],1)],1),s("q-item",{directives:[{name:"close-popup",rawName:"v-close-popup"}],attrs:{clickable:"",to:"/docs/patterns"}},[s("q-item-section",[s("q-item-label",[t._v("Patterns")])],1)],1),s("q-item",{directives:[{name:"close-popup",rawName:"v-close-popup"}],attrs:{clickable:"",to:"/docs/environment"}},[s("q-item-section",[s("q-item-label",[t._v("Environment")])],1)],1)],1)],1)],1)],1)],1),s("main",{staticClass:"flex flex-start justify-center"},[s("div",{staticClass:"q-pa-sm col-12-sm col-10-md col-8-lg",staticStyle:{"max-width":"1024px",width:"100%"}},[t._t("default")],2)])],1)},l=[],i={name:"Hero",data:function(){return{buttons:!0,current:"Menu",height:270,heightName:140,heightPic:250,heightClaim:100,rightDrawerOpen:this.$q.platform.is.desktop}},mounted:function(){},computed:{showDocs:function(){var t=this.$route.meta.showDocslink;return"undefined"===typeof t||t}},methods:{scrolled:function(t){var e=t/4;this.height=270-e,this.heightName=140-e,this.heightPic=250-e,this.heightClaim=220-e,e>=50&&!1!==this.buttons?(this.buttons=!1,document.getElementsByClassName("scroll-determined")[0].setAttribute("style","height: 70px"),document.getElementsByClassName("scroll-determined")[1].setAttribute("style","height: 55px;width: 55px;transform: rotate(".concat(t,"deg)")),document.getElementsByClassName("tauri-name")[0].setAttribute("style","\n height: 35px;\n "),document.getElementsByClassName("q-drawer__content")[0].setAttribute("style","background-color: #FDFADE;margin-top: 60px;padding-top:20px"),document.getElementById("scrollHolder").setAttribute("style","height: calc(100% - 132px)"),document.getElementById("padding").setAttribute("style","height: 40px")):!1===this.buttons?document.getElementsByClassName("scroll-determined")[1].setAttribute("style","height: 55px;width: 55px;transform: rotate(".concat(t,"deg)")):document.getElementsByClassName("scroll-determined")[1].setAttribute("style","transform: rotate(".concat(t,"deg)"))}}},o=i,n=(s("42ef"),s("2877")),r=Object(n["a"])(o,a,l,!1,null,null,null);e["a"]=r.exports},"42ef":function(t,e,s){"use strict";var a=s("efb7"),l=s.n(a);l.a},efb7:function(t,e,s){}}]); |