!function(e){function t(s){if(o[s])return o[s].exports;var a=o[s]={exports:{},id:s,loaded:!1};return e[s].call(a.exports,a,a.exports,t),a.loaded=!0,a.exports}var o={};return t.m=e,t.c=o,t.p="",t(0)}({0:function(e,t,o){var s,a;s=o(6),a=o(20),e.exports=s||{},e.exports.__esModule&&(e.exports=e.exports["default"]),a&&(("function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports).template=a)},6:function(e,t){"use strict";e.exports={section:{label:"Content"},props:["node","roles","form"],data:function(){return{page:{data:{title:!0}}}},ready:function(){this.node.id||(this.node.status=1)},events:{save:function(e){e.page=this.page,this.node.title||(this.node.title=this.page.title)}},watch:{"node.data.defaults.id":{handler:function(e){e&&this.$http.get("api/site/page{/id}",{id:e}).then(function(e){this.$set("page",e.data)})},immediate:!0}}},window.Site.components["page:settings"]=e.exports},20:function(e,t){e.exports=" <div class=\"uk-grid pk-grid-large pk-width-sidebar-large uk-form-stacked\" data-uk-grid-margin> <div class=pk-width-content> <div class=uk-form-row> <input class=\"uk-width-1-1 uk-form-large\" type=text name=page[title] :placeholder=\"'Enter Title' | trans\" v-model=page.title v-validate:required lazy> <div class=\"uk-form-help-block uk-text-danger\" v-show=\"form['page[title]'].invalid\">{{ 'Title cannot be blank.' | trans }}</div> </div> <div class=uk-form-row> <v-editor :value.sync=page.content :options=\"{markdown : page.data.markdown}\"></v-editor> <p> <label><input type=checkbox v-model=page.data.markdown> {{ 'Enable Markdown' | trans }}</label> </p> </div> </div> <div class=pk-width-sidebar> <div class=uk-panel> <div class=uk-form-row> <label for=form-menu-title class=uk-form-label>{{ 'Menu Title' | trans }}</label> <div class=uk-form-controls> <input id=form-menu-title class=uk-form-width-large type=text v-model=node.title> </div> </div> <div class=uk-form-row> <label for=form-slug class=uk-form-label>{{ 'Slug' | trans }}</label> <div class=uk-form-controls> <input id=form-slug class=uk-form-width-large type=text v-model=node.slug> </div> </div> <div class=uk-form-row> <label for=form-status class=uk-form-label>{{ 'Status' | trans }}</label> <div class=uk-form-controls> <select id=form-status class=uk-form-width-large v-model=node.status> <option value=0>{{ 'Disabled' | trans }}</option> <option value=1>{{ 'Enabled' | trans }}</option> </select> </div> </div> <div class=uk-form-row> <span class=uk-form-label>{{ 'Restrict Access' | trans }}</span> <div class=\"uk-form-controls uk-form-controls-text\"> <p v-for=\"role in roles\" class=uk-form-controls-condensed> <label><input type=checkbox :value=role.id v-model=node.roles number> {{ role.name }}</label> </p> </div> </div> <div class=uk-form-row> <span class=uk-form-label>{{ 'Menu' | trans }}</span> <div class=\"uk-form-controls uk-form-controls-text\"> <label><input type=checkbox value=center-content v-model=node.data.menu_hide> {{ 'Hide in menu' | trans }}</label> </div> </div> </div> </div> </div> "}});