Skip to content

Commit

Permalink
rebuid dist
Browse files Browse the repository at this point in the history
  • Loading branch information
kzima committed Dec 9, 2015
1 parent 2e5d3da commit 16a5ac1
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 7 deletions.
26 changes: 23 additions & 3 deletions build/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,14 @@
routes: routes,
pageTitle: 'Vuestrap Docs'
},
methods: {
closeDropdownsAndPopovers: function closeDropdownsAndPopovers() {
this.$broadcast('hide::popover');
this.$broadcast('hide::tooltip');
this.$broadcast('hide::dropdown');
this.console = '';
}
},
components: {
docsPages: _vuestrapDocsSrcComponentsDocs2['default']
}
Expand Down Expand Up @@ -5005,6 +5013,7 @@
value: 'third'
}],
caret: true,
forceDefault: false,
position: 'left',
positions: _utils.positions,
size: 'md',
Expand Down Expand Up @@ -5083,6 +5092,13 @@
"required": false,
"description": "Default text shown before selection is made."
},
{
"name": "force-default",
"type": "Boolean",
"default": false,
"required": false,
"description": "Force default text to be always shown, if set to true."
},
{
"name": "size",
"type": "String",
Expand Down Expand Up @@ -5116,13 +5132,13 @@
/* 136 */
/***/ function(module, exports) {

module.exports = "<docs-demo :meta=\"meta\" :snippet=\"snippet\">\r\n\t<div slot=\"controls\">\r\n\t\t<!-- Html controls start-->\r\n\t\t<label>caret <input type=\"checkbox\" v-model=\"caret\"></label>\r\n\t\t<label>\r\n\t\t\tsize \r\n\t\t\t<select v-model=\"size\">\r\n\t\t\t\t<option v-for=\"option in sizes\" v-bind:value=\"option.value\">\r\n\t\t\t {{ option.text }}\r\n\t\t\t </option>\r\n\t\t\t</select>\r\n\t\t</label>\r\n\t\t<label>\r\n\t\t\tvariant \r\n\t\t\t<select v-model=\"variant\">\r\n\t\t\t\t<option v-for=\"option in variants\" v-bind:value=\"option.value\">\r\n\t\t\t {{ option.text }}\r\n\t\t\t </option>\r\n\t\t\t</select>\r\n\t\t</label>\r\n\t\t<label>\r\n\t\t\tposition \r\n\t\t\t<select v-model=\"position\">\r\n\t\t\t\t<option v-for=\"option in positions\" v-bind:value=\"option.value\">\r\n\t\t\t {{ option.text }}\r\n\t\t\t </option>\r\n\t\t\t</select>\r\n\t\t</label>\r\n\t\t<!-- Html controls end-->\r\n\t</div>\r\n\t<div slot=\"markup\" class=\"clearfix\">\r\n\t\t\t<!-- Html markup start-->\r\n\t\t\t<div class=\"div\" v-bind:class=\"{'pull-right': position == 'right'}\">\r\n\t\t\t\t<dropdown-select\r\n\t\t\t :list=\"list\"\r\n\t\t\t :model.sync=\"model\"\r\n\t\t\t :position=\"position\"\r\n\t\t\t :size=\"size\"\r\n\t\t\t :variant=\"variant\"\r\n\t\t\t :caret=\"caret\">\r\n\t\t\t\t</dropdown-select>\r\n\t\t\t</div>\r\n\t\t\t<!-- Html markup end-->\r\n\t</div>\r\n</docs-demo>\t\r\n";
module.exports = "<docs-demo :meta=\"meta\" :snippet=\"snippet\">\r\n\t<div slot=\"controls\">\r\n\t\t<!-- Html controls start-->\r\n\t\t<label>caret <input type=\"checkbox\" v-model=\"caret\"></label>\r\n\t\t<label>force default <input type=\"checkbox\" v-model=\"forceDefault\"></label>\r\n\t\t<label>\r\n\t\t\tsize \r\n\t\t\t<select v-model=\"size\">\r\n\t\t\t\t<option v-for=\"option in sizes\" v-bind:value=\"option.value\">\r\n\t\t\t {{ option.text }}\r\n\t\t\t </option>\r\n\t\t\t</select>\r\n\t\t</label>\r\n\t\t<label>\r\n\t\t\tvariant \r\n\t\t\t<select v-model=\"variant\">\r\n\t\t\t\t<option v-for=\"option in variants\" v-bind:value=\"option.value\">\r\n\t\t\t {{ option.text }}\r\n\t\t\t </option>\r\n\t\t\t</select>\r\n\t\t</label>\r\n\t\t<label>\r\n\t\t\tposition \r\n\t\t\t<select v-model=\"position\">\r\n\t\t\t\t<option v-for=\"option in positions\" v-bind:value=\"option.value\">\r\n\t\t\t {{ option.text }}\r\n\t\t\t </option>\r\n\t\t\t</select>\r\n\t\t</label>\r\n\t\t<!-- Html controls end-->\r\n\t</div>\r\n\t<div slot=\"markup\" class=\"clearfix\">\r\n\t\t\t<!-- Html markup start-->\r\n\t\t\t<div class=\"div\" v-bind:class=\"{'pull-right': position == 'right'}\">\r\n\t\t\t\t<dropdown-select\r\n\t\t\t :list=\"list\"\r\n\t\t\t :model.sync=\"model\"\r\n\t\t\t :position=\"position\"\r\n\t\t\t :size=\"size\"\r\n\t\t\t :variant=\"variant\"\r\n\t\t\t default-text=\"Action\"\r\n\t\t\t :force-default=\"forceDefault\"\r\n\t\t\t :caret=\"caret\">\r\n\t\t\t\t</dropdown-select>\r\n\t\t\t</div>\r\n\t\t\t<!-- Html markup end-->\r\n\t</div>\r\n</docs-demo>\t\r\n";

/***/ },
/* 137 */
/***/ function(module, exports) {

module.exports = "<span class=\"hljs-tag\">&lt;<span class=\"hljs-title\">dropdown-select</span> \r\n <span class=\"hljs-attribute\">:list</span>=<span class=\"hljs-value\">\"[\r\n {\r\n name: 'First',\r\n value: 'first',\r\n }, {\r\n name: 'Second',\r\n value: 'second',\r\n }, {\r\n name: 'Third',\r\n value: 'third',\r\n },\r\n ]\"</span>\r\n <span class=\"hljs-attribute\">:model.sync</span>=<span class=\"hljs-value\">\"model\"</span>\r\n <span class=\"hljs-attribute\">size</span>=<span class=\"hljs-value\">\"md\"</span>\r\n <span class=\"hljs-attribute\">variant</span>=<span class=\"hljs-value\">\"primary\"</span>\r\n <span class=\"hljs-attribute\">position</span>=<span class=\"hljs-value\">\"left\"</span>\r\n <span class=\"hljs-attribute\">caret</span>=<span class=\"hljs-value\">\"false\"</span>&gt;</span>\r\n<span class=\"hljs-tag\">&lt;/<span class=\"hljs-title\">dropdown-select</span>&gt;</span>\r\n";
module.exports = "<span class=\"hljs-tag\">&lt;<span class=\"hljs-title\">dropdown-select</span> \r\n <span class=\"hljs-attribute\">:list</span>=<span class=\"hljs-value\">\"[\r\n {\r\n text: 'First',\r\n value: 'first',\r\n }, {\r\n text: 'Second',\r\n value: 'second',\r\n }, {\r\n text: 'Third',\r\n value: 'third',\r\n },\r\n ]\"</span>\r\n <span class=\"hljs-attribute\">:model.sync</span>=<span class=\"hljs-value\">\"model\"</span>\r\n <span class=\"hljs-attribute\">size</span>=<span class=\"hljs-value\">\"md\"</span>\r\n <span class=\"hljs-attribute\">variant</span>=<span class=\"hljs-value\">\"primary\"</span>\r\n <span class=\"hljs-attribute\">position</span>=<span class=\"hljs-value\">\"left\"</span>\r\n <span class=\"hljs-attribute\">default-text</span>=<span class=\"hljs-value\">\"Action\"</span>\r\n <span class=\"hljs-attribute\">force-default</span>=<span class=\"hljs-value\">\"false\"</span>\r\n <span class=\"hljs-attribute\">caret</span>=<span class=\"hljs-value\">\"false\"</span>&gt;</span>\r\n<span class=\"hljs-tag\">&lt;/<span class=\"hljs-title\">dropdown-select</span>&gt;</span>\r\n";

/***/ },
/* 138 */
Expand Down Expand Up @@ -5198,6 +5214,10 @@
defaultText: {
type: String,
'default': 'Plase select one'
},
forceDefault: {
type: Boolean,
'default': false
}
},
methods: {
Expand Down Expand Up @@ -5237,7 +5257,7 @@
/* 139 */
/***/ function(module, exports) {

module.exports = "<div class=\"dropdown dropdown-select\" v-bind:class=\"{open: show}\">\r\n <button\r\n id=\"dLabel\"\r\n class=\"btn dropdown {{dropdownToggle}} {{btnVariant}} {{btnSize}}\"\r\n role=\"button\"\r\n aria-haspopup=\"true\"\r\n aria-expanded=\"show\"\r\n v-on:click=\"toggle($event)\">\r\n <span v-if=\"selected\">{{model.text}}</span>\r\n <span v-if=\"!selected\">{{defaultText}}</span>\r\n </button>\r\n <ul class=\"dropdown-menu\" v-bind:class=\"{'dropdown-menu-right' : position == 'right'}\" aria-labelledby=\"dLabel\">\r\n <li v-for=\"item in list\">\r\n <button class=\"dropdown-item\" v-on:click.stop=\"select(item)\">{{item.text}}</button>\r\n </li>\r\n </ul>\r\n</div>\r\n";
module.exports = "<div class=\"dropdown dropdown-select\" v-bind:class=\"{open: show}\">\r\n <button\r\n id=\"dLabel\"\r\n class=\"btn dropdown {{dropdownToggle}} {{btnVariant}} {{btnSize}}\"\r\n role=\"button\"\r\n aria-haspopup=\"true\"\r\n aria-expanded=\"show\"\r\n v-on:click=\"toggle($event)\">\r\n <span v-if=\"selected && !forceDefault\">{{model.text}}</span>\r\n <span v-if=\"!selected || forceDefault\">{{defaultText}}</span>\r\n </button>\r\n <ul class=\"dropdown-menu\" v-bind:class=\"{'dropdown-menu-right' : position == 'right'}\" aria-labelledby=\"dLabel\">\r\n <li v-for=\"item in list\">\r\n <button class=\"dropdown-item\" v-on:click.stop=\"select(item)\">{{item.text}}</button>\r\n </li>\r\n </ul>\r\n</div>\r\n";

/***/ },
/* 140 */
Expand Down
6 changes: 5 additions & 1 deletion dist/vuestrapBase.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/vuestrapBase.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/vuestrapBase.min.js

Large diffs are not rendered by default.

0 comments on commit 16a5ac1

Please sign in to comment.