vue-layout-system
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -546,9 +546,3 @@ module.exports = | ||
// EXPORTS | ||
__webpack_require__.d(__webpack_exports__, "install", function() { return /* reexport */ src_0["h" /* install */]; }); | ||
__webpack_require__.d(__webpack_exports__, "LayoutAbsolute", function() { return /* reexport */ src_0["a" /* LayoutAbsolute */]; }); | ||
__webpack_require__.d(__webpack_exports__, "LayoutAlign", function() { return /* reexport */ src_0["b" /* LayoutAlign */]; }); | ||
__webpack_require__.d(__webpack_exports__, "LayoutFlexColumn", function() { return /* reexport */ src_0["c" /* LayoutFlexColumn */]; }); | ||
__webpack_require__.d(__webpack_exports__, "LayoutFlexRow", function() { return /* reexport */ src_0["d" /* LayoutFlexRow */]; }); | ||
__webpack_require__.d(__webpack_exports__, "LayoutList", function() { return /* reexport */ src_0["e" /* LayoutList */]; }); | ||
__webpack_require__.d(__webpack_exports__, "LayoutListInline", function() { return /* reexport */ src_0["f" /* LayoutListInline */]; }); | ||
__webpack_require__.d(__webpack_exports__, "install", function() { return /* reexport */ src_0["b" /* install */]; }); | ||
@@ -585,3 +579,3 @@ // CONCATENATED MODULE: /usr/local/lib/node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js | ||
/* harmony default export */ var entry_lib = __webpack_exports__["default"] = (src_0["g" /* default */]); | ||
/* harmony default export */ var entry_lib = __webpack_exports__["default"] = (src_0["a" /* default */]); | ||
@@ -596,21 +590,9 @@ | ||
"use strict"; | ||
/* WEBPACK VAR INJECTION */(function(global) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return install; }); | ||
/* WEBPACK VAR INJECTION */(function(global) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return install; }); | ||
/* harmony import */ var _components_LayoutAbsolute_vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("efce"); | ||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _components_LayoutAbsolute_vue__WEBPACK_IMPORTED_MODULE_0__["a"]; }); | ||
/* harmony import */ var _components_LayoutAlign_vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("caf1"); | ||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "b", function() { return _components_LayoutAlign_vue__WEBPACK_IMPORTED_MODULE_1__["a"]; }); | ||
/* harmony import */ var _components_LayoutFlexColumn_vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("908f"); | ||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "c", function() { return _components_LayoutFlexColumn_vue__WEBPACK_IMPORTED_MODULE_2__["a"]; }); | ||
/* harmony import */ var _components_LayoutFlexRow_vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("9655"); | ||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "d", function() { return _components_LayoutFlexRow_vue__WEBPACK_IMPORTED_MODULE_3__["a"]; }); | ||
/* harmony import */ var _components_LayoutList_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("d5e6"); | ||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "e", function() { return _components_LayoutList_vue__WEBPACK_IMPORTED_MODULE_4__["a"]; }); | ||
/* harmony import */ var _components_LayoutListInline_vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("a3f1"); | ||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "f", function() { return _components_LayoutListInline_vue__WEBPACK_IMPORTED_MODULE_5__["a"]; }); | ||
/* harmony import */ var _scss_main_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("b107"); | ||
@@ -655,4 +637,3 @@ /* harmony import */ var _scss_main_scss__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_scss_main_scss__WEBPACK_IMPORTED_MODULE_6__); | ||
/* harmony default export */ __webpack_exports__["g"] = (VueLayoutSystem); | ||
/* harmony default export */ __webpack_exports__["a"] = (VueLayoutSystem); | ||
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("da16"))) | ||
@@ -659,0 +640,0 @@ |
@@ -555,9 +555,3 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
// EXPORTS | ||
__webpack_require__.d(__webpack_exports__, "install", function() { return /* reexport */ src_0["h" /* install */]; }); | ||
__webpack_require__.d(__webpack_exports__, "LayoutAbsolute", function() { return /* reexport */ src_0["a" /* LayoutAbsolute */]; }); | ||
__webpack_require__.d(__webpack_exports__, "LayoutAlign", function() { return /* reexport */ src_0["b" /* LayoutAlign */]; }); | ||
__webpack_require__.d(__webpack_exports__, "LayoutFlexColumn", function() { return /* reexport */ src_0["c" /* LayoutFlexColumn */]; }); | ||
__webpack_require__.d(__webpack_exports__, "LayoutFlexRow", function() { return /* reexport */ src_0["d" /* LayoutFlexRow */]; }); | ||
__webpack_require__.d(__webpack_exports__, "LayoutList", function() { return /* reexport */ src_0["e" /* LayoutList */]; }); | ||
__webpack_require__.d(__webpack_exports__, "LayoutListInline", function() { return /* reexport */ src_0["f" /* LayoutListInline */]; }); | ||
__webpack_require__.d(__webpack_exports__, "install", function() { return /* reexport */ src_0["b" /* install */]; }); | ||
@@ -594,3 +588,3 @@ // CONCATENATED MODULE: /usr/local/lib/node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js | ||
/* harmony default export */ var entry_lib = __webpack_exports__["default"] = (src_0["g" /* default */]); | ||
/* harmony default export */ var entry_lib = __webpack_exports__["default"] = (src_0["a" /* default */]); | ||
@@ -605,21 +599,9 @@ | ||
"use strict"; | ||
/* WEBPACK VAR INJECTION */(function(global) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return install; }); | ||
/* WEBPACK VAR INJECTION */(function(global) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return install; }); | ||
/* harmony import */ var _components_LayoutAbsolute_vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("efce"); | ||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _components_LayoutAbsolute_vue__WEBPACK_IMPORTED_MODULE_0__["a"]; }); | ||
/* harmony import */ var _components_LayoutAlign_vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("caf1"); | ||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "b", function() { return _components_LayoutAlign_vue__WEBPACK_IMPORTED_MODULE_1__["a"]; }); | ||
/* harmony import */ var _components_LayoutFlexColumn_vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("908f"); | ||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "c", function() { return _components_LayoutFlexColumn_vue__WEBPACK_IMPORTED_MODULE_2__["a"]; }); | ||
/* harmony import */ var _components_LayoutFlexRow_vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("9655"); | ||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "d", function() { return _components_LayoutFlexRow_vue__WEBPACK_IMPORTED_MODULE_3__["a"]; }); | ||
/* harmony import */ var _components_LayoutList_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("d5e6"); | ||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "e", function() { return _components_LayoutList_vue__WEBPACK_IMPORTED_MODULE_4__["a"]; }); | ||
/* harmony import */ var _components_LayoutListInline_vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("a3f1"); | ||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "f", function() { return _components_LayoutListInline_vue__WEBPACK_IMPORTED_MODULE_5__["a"]; }); | ||
/* harmony import */ var _scss_main_scss__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("b107"); | ||
@@ -664,4 +646,3 @@ /* harmony import */ var _scss_main_scss__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_scss_main_scss__WEBPACK_IMPORTED_MODULE_6__); | ||
/* harmony default export */ __webpack_exports__["g"] = (VueLayoutSystem); | ||
/* harmony default export */ __webpack_exports__["a"] = (VueLayoutSystem); | ||
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("da16"))) | ||
@@ -668,0 +649,0 @@ |
@@ -1,2 +0,2 @@ | ||
(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e():"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["vue-layout-system"]=e():t["vue-layout-system"]=e()})("undefined"!==typeof self?self:this,(function(){return function(t){var e={};function n(l){if(e[l])return e[l].exports;var i=e[l]={i:l,l:!1,exports:{}};return t[l].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,l){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:l})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var l=Object.create(null);if(n.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(l,i,function(e){return t[e]}.bind(null,i));return l},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="b458")}({6645:function(t,e,n){var l,i,a;(function(n,o){i=[],l=o,a="function"===typeof l?l.apply(e,i):l,void 0===a||(t.exports=a)})("undefined"!==typeof self&&self,(function(){function t(){var e=Object.getOwnPropertyDescriptor(document,"currentScript");if(!e&&"currentScript"in document&&document.currentScript)return document.currentScript;if(e&&e.get!==t&&document.currentScript)return document.currentScript;try{throw new Error}catch(p){var n,l,i,a=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,o=/@([^@]*):(\d+):(\d+)\s*$/gi,r=a.exec(p.stack)||o.exec(p.stack),s=r&&r[1]||!1,u=r&&r[2]||!1,c=document.location.href.replace(document.location.hash,""),f=document.getElementsByTagName("script");s===c&&(n=document.documentElement.outerHTML,l=new RegExp("(?:[^\\n]+?\\n){0,"+(u-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),i=n.replace(l,"$1").trim());for(var d=0;d<f.length;d++){if("interactive"===f[d].readyState)return f[d];if(f[d].src===s)return f[d];if(s===c&&f[d].innerHTML&&f[d].innerHTML.trim()===i)return f[d]}return null}}return t}))},"7c9a":function(t,e,n){"use strict";e["a"]={props:{indent:{type:[Number,String],default:0},indentX:{type:[Number,String],default:0},indentY:{type:[Number,String],default:0}},computed:{indentClass:function(){var t=[];return Number.isInteger(+this.indent)&&+this.indent>0&&t.push("layout-u-p-".concat(this.indent)),Number.isInteger(+this.indentX)&&+this.indentX>0&&t.push("layout-u-px-".concat(this.indentX)),Number.isInteger(+this.indentY)&&+this.indentY>0&&t.push("layout-u-py-".concat(this.indentY)),t}}}},"908f":function(t,e,n){"use strict";var l=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"layout-flex-column",class:[t.horizontalAlignClass,t.gapClass,t.indentClass]},[t.$slots.top?n("div",{staticClass:"layout-flex-column__top"},[t._t("top")],2):t._e(),n("div",{staticClass:"layout-flex-column__remain layout-u-content-fill-height"},[t._t("remain")],2),t.$slots.bottom?n("div",{staticClass:"layout-flex-column__bottom"},[t._t("bottom")],2):t._e()])},i=[],a=n("7c9a"),o={mixins:[a["a"]],props:{gap:{type:[Number,String],default:0},horizontalAlign:{type:String,default:"default"}},computed:{gapClass:function(){return Number.isInteger(+this.gap)&&+this.gap>0?"layout-flex-column--gap-".concat(this.gap):null},horizontalAlignClass:function(){return-1!==["left","center","right"].indexOf(this.horizontalAlign)?"layout-flex-column--horizontal-align-".concat(this.horizontalAlign):null}}},r=o,s=n("ff08"),u=Object(s["a"])(r,l,i,!1,null,null,null);e["a"]=u.exports},9655:function(t,e,n){"use strict";var l=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"layout-flex-row",class:[t.verticalAlignClass,t.gapClass,t.indentClass]},[t.$slots.left?n("div",{staticClass:"layout-flex-row__left",class:{"layout-u-content-fill-height":!t.verticalAlignClass}},[t._t("left")],2):t._e(),n("div",{staticClass:"layout-flex-row__remain",class:{"layout-u-content-fill-height":!t.verticalAlignClass}},[t._t("remain")],2),t.$slots.right?n("div",{staticClass:"layout-flex-row__right",class:{"layout-u-content-fill-height":!t.verticalAlignClass}},[t._t("right")],2):t._e()])},i=[],a=n("7c9a"),o={mixins:[a["a"]],props:{gap:{type:[Number,String],default:0},verticalAlign:{type:String,default:"default"}},computed:{gapClass:function(){return Number.isInteger(+this.gap)&&+this.gap>0?"layout-flex-row--gap-".concat(this.gap):null},verticalAlignClass:function(){return-1!==["top","center","bottom"].indexOf(this.verticalAlign)?"layout-flex-row--vertical-align-".concat(this.verticalAlign):null}}},r=o,s=n("ff08"),u=Object(s["a"])(r,l,i,!1,null,null,null);e["a"]=u.exports},a3f1:function(t,e,n){"use strict";var l,i,a=n("7c9a"),o={mixins:[a["a"]],props:{gap:{type:[Number,String],default:0},gapX:{type:[Number,String],default:0},gapY:{type:[Number,String],default:0},horizontalAlign:{type:String,default:"default"},verticalAlign:{type:String,default:"default"},wrap:{type:Boolean,default:!0}},computed:{gapClass:function(){var t=[];return Number.isInteger(+this.gap)&&+this.gap>0&&t.push("layout-list-inline--gap-".concat(this.gap)),Number.isInteger(+this.gapX)&&+this.gapX>0&&t.push("layout-list-inline--gap-x-".concat(this.gapX)),Number.isInteger(+this.gapY)&&+this.gapY>0&&t.push("layout-list-inline--gap-y-".concat(this.gapY)),t},horizontalAlignClass:function(){return-1!==["left","center","right"].indexOf(this.horizontalAlign)?"layout-list-inline--horizontal-align-".concat(this.horizontalAlign):null},verticalAlignClass:function(){return-1!==["top","center","bottom"].indexOf(this.verticalAlign)?"layout-list-inline--vertical-align-".concat(this.verticalAlign):null},nowrapClass:function(){return this.wrap?null:"layout-list-inline--nowrap"}},render:function(t){return t("div",{class:["layout-list-inline",this.verticalAlignClass,this.gapClass,this.horizontalAlignClass,this.nowrapClass,this.indentClass]},[t("div",{class:"layout-list-inline__wrapper"},this.$slots["default"].filter((function(t){return t.tag})).map((function(e){return t("div",{class:"layout-list-inline__item"},[e])})))])}},r=o,s=n("ff08"),u=Object(s["a"])(r,l,i,!1,null,null,null);e["a"]=u.exports},b107:function(t,e,n){},b458:function(t,e,n){"use strict";if(n.r(e),n.d(e,"install",(function(){return o["h"]})),n.d(e,"LayoutAbsolute",(function(){return o["a"]})),n.d(e,"LayoutAlign",(function(){return o["b"]})),n.d(e,"LayoutFlexColumn",(function(){return o["c"]})),n.d(e,"LayoutFlexRow",(function(){return o["d"]})),n.d(e,"LayoutList",(function(){return o["e"]})),n.d(e,"LayoutListInline",(function(){return o["f"]})),"undefined"!==typeof window){var l=window.document.currentScript,i=n("6645");l=i(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:i});var a=l&&l.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);a&&(n.p=a[1])}var o=n("b635");e["default"]=o["g"]},b635:function(t,e,n){"use strict";(function(t){n.d(e,"h",(function(){return c}));var l=n("efce");n.d(e,"a",(function(){return l["a"]}));var i=n("caf1");n.d(e,"b",(function(){return i["a"]}));var a=n("908f");n.d(e,"c",(function(){return a["a"]}));var o=n("9655");n.d(e,"d",(function(){return o["a"]}));var r=n("d5e6");n.d(e,"e",(function(){return r["a"]}));var s=n("a3f1");n.d(e,"f",(function(){return s["a"]}));n("b107");var u={LayoutAbsolute:l["a"],LayoutAlign:i["a"],LayoutFlexColumn:a["a"],LayoutFlexRow:o["a"],LayoutList:r["a"],LayoutListInline:s["a"]};function c(t){c.installed||(c.installed=!0,Object.keys(u).forEach((function(e){t.component(e,u[e])})))}var f={install:c},d=null;"undefined"!==typeof window?d=window.Vue:"undefined"!==typeof t&&(d=t.Vue),d&&d.use(f),e["g"]=u}).call(this,n("da16"))},caf1:function(t,e,n){"use strict";var l=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"layout-align",class:[t.verticalAlignClass,t.horizontalAlignClass,t.indentClass]},[n("div",{staticClass:"layout-align__content"},[t._t("default")],2)])},i=[],a=n("7c9a"),o={mixins:[a["a"]],props:{horizontalAlign:{type:String,default:"default"},verticalAlign:{type:String,default:"default"}},computed:{horizontalAlignClass:function(){return-1!==["left","center","right"].indexOf(this.horizontalAlign)?"layout-align--horizontal-align-".concat(this.horizontalAlign):null},verticalAlignClass:function(){return-1!==["top","center","bottom"].indexOf(this.verticalAlign)?"layout-align--vertical-align-".concat(this.verticalAlign):null}}},r=o,s=n("ff08"),u=Object(s["a"])(r,l,i,!1,null,null,null);e["a"]=u.exports},d5e6:function(t,e,n){"use strict";var l=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"layout-list",class:[t.gapClass,t.horizontalAlignClass,t.indentClass]},[t._t("default")],2)},i=[],a=n("7c9a"),o={mixins:[a["a"]],props:{gap:{type:[Number,String],default:0},horizontalAlign:{type:String,default:"default"}},computed:{gapClass:function(){return Number.isInteger(+this.gap)&&+this.gap>0?"layout-list--gap-".concat(this.gap):null},horizontalAlignClass:function(){return-1!==["left","center","right"].indexOf(this.horizontalAlign)?"layout-list--horizontal-align-".concat(this.horizontalAlign):null}}},r=o,s=n("ff08"),u=Object(s["a"])(r,l,i,!1,null,null,null);e["a"]=u.exports},da16:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(l){"object"===typeof window&&(n=window)}t.exports=n},efce:function(t,e,n){"use strict";var l=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"layout-absolute",class:[t.indentClass]},[n("div",{staticClass:"layout-absolute__wrapper"},[t.$slots.topLeft?n("div",{staticClass:"layout-absolute__cell layout-absolute__cell--top-left"},[t._t("topLeft")],2):t._e(),t.$slots.top?n("div",{staticClass:"layout-absolute__cell layout-absolute__cell--top"},[t._t("top")],2):t._e(),t.$slots.topRight?n("div",{staticClass:"layout-absolute__cell layout-absolute__cell--top-right"},[t._t("topRight")],2):t._e(),t.$slots.right?n("div",{staticClass:"layout-absolute__cell layout-absolute__cell--right"},[t._t("right")],2):t._e(),t.$slots.bottomRight?n("div",{staticClass:"layout-absolute__cell layout-absolute__cell--bottom-right"},[t._t("bottomRight")],2):t._e(),t.$slots.bottom?n("div",{staticClass:"layout-absolute__cell layout-absolute__cell--bottom"},[t._t("bottom")],2):t._e(),t.$slots.bottomLeft?n("div",{staticClass:"layout-absolute__cell layout-absolute__cell--bottom-left"},[t._t("bottomLeft")],2):t._e(),t.$slots.left?n("div",{staticClass:"layout-absolute__cell layout-absolute__cell--left"},[t._t("left")],2):t._e(),t.$slots.center?n("div",{staticClass:"layout-absolute__cell layout-absolute__cell--center"},[t._t("center")],2):t._e()])])},i=[],a=n("7c9a"),o={mixins:[a["a"]]},r=o,s=n("ff08"),u=Object(s["a"])(r,l,i,!1,null,null,null);e["a"]=u.exports},ff08:function(t,e,n){"use strict";function l(t,e,n,l,i,a,o,r){var s,u="function"===typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),l&&(u.functional=!0),a&&(u._scopeId="data-v-"+a),o?(s=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},u._ssrRegister=s):i&&(s=r?function(){i.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:i),s)if(u.functional){u._injectStyles=s;var c=u.render;u.render=function(t,e){return s.call(e),c(t,e)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,s):[s]}return{exports:t,options:u}}n.d(e,"a",(function(){return l}))}})["default"]})); | ||
(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e():"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["vue-layout-system"]=e():t["vue-layout-system"]=e()})("undefined"!==typeof self?self:this,(function(){return function(t){var e={};function n(l){if(e[l])return e[l].exports;var i=e[l]={i:l,l:!1,exports:{}};return t[l].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,l){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:l})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var l=Object.create(null);if(n.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(l,i,function(e){return t[e]}.bind(null,i));return l},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="b458")}({6645:function(t,e,n){var l,i,a;(function(n,o){i=[],l=o,a="function"===typeof l?l.apply(e,i):l,void 0===a||(t.exports=a)})("undefined"!==typeof self&&self,(function(){function t(){var e=Object.getOwnPropertyDescriptor(document,"currentScript");if(!e&&"currentScript"in document&&document.currentScript)return document.currentScript;if(e&&e.get!==t&&document.currentScript)return document.currentScript;try{throw new Error}catch(d){var n,l,i,a=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,o=/@([^@]*):(\d+):(\d+)\s*$/gi,s=a.exec(d.stack)||o.exec(d.stack),r=s&&s[1]||!1,u=s&&s[2]||!1,c=document.location.href.replace(document.location.hash,""),f=document.getElementsByTagName("script");r===c&&(n=document.documentElement.outerHTML,l=new RegExp("(?:[^\\n]+?\\n){0,"+(u-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),i=n.replace(l,"$1").trim());for(var p=0;p<f.length;p++){if("interactive"===f[p].readyState)return f[p];if(f[p].src===r)return f[p];if(r===c&&f[p].innerHTML&&f[p].innerHTML.trim()===i)return f[p]}return null}}return t}))},"7c9a":function(t,e,n){"use strict";e["a"]={props:{indent:{type:[Number,String],default:0},indentX:{type:[Number,String],default:0},indentY:{type:[Number,String],default:0}},computed:{indentClass:function(){var t=[];return Number.isInteger(+this.indent)&&+this.indent>0&&t.push("layout-u-p-".concat(this.indent)),Number.isInteger(+this.indentX)&&+this.indentX>0&&t.push("layout-u-px-".concat(this.indentX)),Number.isInteger(+this.indentY)&&+this.indentY>0&&t.push("layout-u-py-".concat(this.indentY)),t}}}},"908f":function(t,e,n){"use strict";var l=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"layout-flex-column",class:[t.horizontalAlignClass,t.gapClass,t.indentClass]},[t.$slots.top?n("div",{staticClass:"layout-flex-column__top"},[t._t("top")],2):t._e(),n("div",{staticClass:"layout-flex-column__remain layout-u-content-fill-height"},[t._t("remain")],2),t.$slots.bottom?n("div",{staticClass:"layout-flex-column__bottom"},[t._t("bottom")],2):t._e()])},i=[],a=n("7c9a"),o={mixins:[a["a"]],props:{gap:{type:[Number,String],default:0},horizontalAlign:{type:String,default:"default"}},computed:{gapClass:function(){return Number.isInteger(+this.gap)&&+this.gap>0?"layout-flex-column--gap-".concat(this.gap):null},horizontalAlignClass:function(){return-1!==["left","center","right"].indexOf(this.horizontalAlign)?"layout-flex-column--horizontal-align-".concat(this.horizontalAlign):null}}},s=o,r=n("ff08"),u=Object(r["a"])(s,l,i,!1,null,null,null);e["a"]=u.exports},9655:function(t,e,n){"use strict";var l=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"layout-flex-row",class:[t.verticalAlignClass,t.gapClass,t.indentClass]},[t.$slots.left?n("div",{staticClass:"layout-flex-row__left",class:{"layout-u-content-fill-height":!t.verticalAlignClass}},[t._t("left")],2):t._e(),n("div",{staticClass:"layout-flex-row__remain",class:{"layout-u-content-fill-height":!t.verticalAlignClass}},[t._t("remain")],2),t.$slots.right?n("div",{staticClass:"layout-flex-row__right",class:{"layout-u-content-fill-height":!t.verticalAlignClass}},[t._t("right")],2):t._e()])},i=[],a=n("7c9a"),o={mixins:[a["a"]],props:{gap:{type:[Number,String],default:0},verticalAlign:{type:String,default:"default"}},computed:{gapClass:function(){return Number.isInteger(+this.gap)&&+this.gap>0?"layout-flex-row--gap-".concat(this.gap):null},verticalAlignClass:function(){return-1!==["top","center","bottom"].indexOf(this.verticalAlign)?"layout-flex-row--vertical-align-".concat(this.verticalAlign):null}}},s=o,r=n("ff08"),u=Object(r["a"])(s,l,i,!1,null,null,null);e["a"]=u.exports},a3f1:function(t,e,n){"use strict";var l,i,a=n("7c9a"),o={mixins:[a["a"]],props:{gap:{type:[Number,String],default:0},gapX:{type:[Number,String],default:0},gapY:{type:[Number,String],default:0},horizontalAlign:{type:String,default:"default"},verticalAlign:{type:String,default:"default"},wrap:{type:Boolean,default:!0}},computed:{gapClass:function(){var t=[];return Number.isInteger(+this.gap)&&+this.gap>0&&t.push("layout-list-inline--gap-".concat(this.gap)),Number.isInteger(+this.gapX)&&+this.gapX>0&&t.push("layout-list-inline--gap-x-".concat(this.gapX)),Number.isInteger(+this.gapY)&&+this.gapY>0&&t.push("layout-list-inline--gap-y-".concat(this.gapY)),t},horizontalAlignClass:function(){return-1!==["left","center","right"].indexOf(this.horizontalAlign)?"layout-list-inline--horizontal-align-".concat(this.horizontalAlign):null},verticalAlignClass:function(){return-1!==["top","center","bottom"].indexOf(this.verticalAlign)?"layout-list-inline--vertical-align-".concat(this.verticalAlign):null},nowrapClass:function(){return this.wrap?null:"layout-list-inline--nowrap"}},render:function(t){return t("div",{class:["layout-list-inline",this.verticalAlignClass,this.gapClass,this.horizontalAlignClass,this.nowrapClass,this.indentClass]},[t("div",{class:"layout-list-inline__wrapper"},this.$slots["default"].filter((function(t){return t.tag})).map((function(e){return t("div",{class:"layout-list-inline__item"},[e])})))])}},s=o,r=n("ff08"),u=Object(r["a"])(s,l,i,!1,null,null,null);e["a"]=u.exports},b107:function(t,e,n){},b458:function(t,e,n){"use strict";if(n.r(e),n.d(e,"install",(function(){return o["b"]})),"undefined"!==typeof window){var l=window.document.currentScript,i=n("6645");l=i(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:i});var a=l&&l.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);a&&(n.p=a[1])}var o=n("b635");e["default"]=o["a"]},b635:function(t,e,n){"use strict";(function(t){n.d(e,"b",(function(){return c}));var l=n("efce"),i=n("caf1"),a=n("908f"),o=n("9655"),s=n("d5e6"),r=n("a3f1"),u=(n("b107"),{LayoutAbsolute:l["a"],LayoutAlign:i["a"],LayoutFlexColumn:a["a"],LayoutFlexRow:o["a"],LayoutList:s["a"],LayoutListInline:r["a"]});function c(t){c.installed||(c.installed=!0,Object.keys(u).forEach((function(e){t.component(e,u[e])})))}var f={install:c},p=null;"undefined"!==typeof window?p=window.Vue:"undefined"!==typeof t&&(p=t.Vue),p&&p.use(f),e["a"]=u}).call(this,n("da16"))},caf1:function(t,e,n){"use strict";var l=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"layout-align",class:[t.verticalAlignClass,t.horizontalAlignClass,t.indentClass]},[n("div",{staticClass:"layout-align__content"},[t._t("default")],2)])},i=[],a=n("7c9a"),o={mixins:[a["a"]],props:{horizontalAlign:{type:String,default:"default"},verticalAlign:{type:String,default:"default"}},computed:{horizontalAlignClass:function(){return-1!==["left","center","right"].indexOf(this.horizontalAlign)?"layout-align--horizontal-align-".concat(this.horizontalAlign):null},verticalAlignClass:function(){return-1!==["top","center","bottom"].indexOf(this.verticalAlign)?"layout-align--vertical-align-".concat(this.verticalAlign):null}}},s=o,r=n("ff08"),u=Object(r["a"])(s,l,i,!1,null,null,null);e["a"]=u.exports},d5e6:function(t,e,n){"use strict";var l=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"layout-list",class:[t.gapClass,t.horizontalAlignClass,t.indentClass]},[t._t("default")],2)},i=[],a=n("7c9a"),o={mixins:[a["a"]],props:{gap:{type:[Number,String],default:0},horizontalAlign:{type:String,default:"default"}},computed:{gapClass:function(){return Number.isInteger(+this.gap)&&+this.gap>0?"layout-list--gap-".concat(this.gap):null},horizontalAlignClass:function(){return-1!==["left","center","right"].indexOf(this.horizontalAlign)?"layout-list--horizontal-align-".concat(this.horizontalAlign):null}}},s=o,r=n("ff08"),u=Object(r["a"])(s,l,i,!1,null,null,null);e["a"]=u.exports},da16:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(l){"object"===typeof window&&(n=window)}t.exports=n},efce:function(t,e,n){"use strict";var l=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"layout-absolute",class:[t.indentClass]},[n("div",{staticClass:"layout-absolute__wrapper"},[t.$slots.topLeft?n("div",{staticClass:"layout-absolute__cell layout-absolute__cell--top-left"},[t._t("topLeft")],2):t._e(),t.$slots.top?n("div",{staticClass:"layout-absolute__cell layout-absolute__cell--top"},[t._t("top")],2):t._e(),t.$slots.topRight?n("div",{staticClass:"layout-absolute__cell layout-absolute__cell--top-right"},[t._t("topRight")],2):t._e(),t.$slots.right?n("div",{staticClass:"layout-absolute__cell layout-absolute__cell--right"},[t._t("right")],2):t._e(),t.$slots.bottomRight?n("div",{staticClass:"layout-absolute__cell layout-absolute__cell--bottom-right"},[t._t("bottomRight")],2):t._e(),t.$slots.bottom?n("div",{staticClass:"layout-absolute__cell layout-absolute__cell--bottom"},[t._t("bottom")],2):t._e(),t.$slots.bottomLeft?n("div",{staticClass:"layout-absolute__cell layout-absolute__cell--bottom-left"},[t._t("bottomLeft")],2):t._e(),t.$slots.left?n("div",{staticClass:"layout-absolute__cell layout-absolute__cell--left"},[t._t("left")],2):t._e(),t.$slots.center?n("div",{staticClass:"layout-absolute__cell layout-absolute__cell--center"},[t._t("center")],2):t._e()])])},i=[],a=n("7c9a"),o={mixins:[a["a"]]},s=o,r=n("ff08"),u=Object(r["a"])(s,l,i,!1,null,null,null);e["a"]=u.exports},ff08:function(t,e,n){"use strict";function l(t,e,n,l,i,a,o,s){var r,u="function"===typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),l&&(u.functional=!0),a&&(u._scopeId="data-v-"+a),o?(r=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},u._ssrRegister=r):i&&(r=s?function(){i.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:i),r)if(u.functional){u._injectStyles=r;var c=u.render;u.render=function(t,e){return r.call(e),c(t,e)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,r):[r]}return{exports:t,options:u}}n.d(e,"a",(function(){return l}))}})["default"]})); | ||
//# sourceMappingURL=vue-layout-system.umd.min.js.map |
{ | ||
"name": "vue-layout-system", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "Vue components for solving daily layout problems", | ||
@@ -5,0 +5,0 @@ "main": "dist/vue-layout-system.common.js", |
@@ -41,9 +41,1 @@ import LayoutAbsolute from './components/LayoutAbsolute.vue'; | ||
export default VueLayoutSystem; | ||
export { | ||
LayoutAbsolute, | ||
LayoutAlign, | ||
LayoutFlexColumn, | ||
LayoutFlexRow, | ||
LayoutList, | ||
LayoutListInline, | ||
}; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
243633
1890