Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@tayeh/vue-components

Package Overview
Dependencies
Maintainers
3
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tayeh/vue-components - npm Package Compare versions

Comparing version 1.0.83-alpha to 1.0.84-alpha

254

dist/index.cjs.js

@@ -1293,3 +1293,3 @@ 'use strict';

/* template */
var __vue_render__$a = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('table',{class:['ty-table',_vm.striped?'ty-table-striped':'', _vm.divided?'ty-table-divided':'']},[_vm._t("default")],2)])};
var __vue_render__$a = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('table',{class:['ty-table',_vm.striped?'ty-table-striped':'ty-table-simple', _vm.divided?'ty-table-divided':'']},[_vm._t("default")],2)])};
var __vue_staticRenderFns__$a = [];

@@ -1346,2 +1346,14 @@

required: false
},
width: {
type: String,
default: 'auto'
},
minWidth: {
type: String,
default: 'auto'
},
maxWidth: {
type: String,
default: 'auto'
}

@@ -1352,3 +1364,3 @@ },

computed: {
isInsideHeader: function isInsideHeader() {
isTh: function isTh() {
return this.$parent._data.header || false;

@@ -1368,3 +1380,3 @@ }

/* template */
var __vue_render__$b = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isInsideHeader)?_c('th',{attrs:{"title":_vm.value}},[_vm._t("default",[_vm._v("\n "+_vm._s(_vm.label)+"\n ")])],2):_c('td',{attrs:{"title":_vm.label}},[_vm._t("default",[_vm._v("\n "+_vm._s(_vm.value)+"\n ")])],2)};
var __vue_render__$b = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isTh)?_c('th',{style:({minWidth: _vm.minWidth, maxWidth: _vm.maxWidth, width: _vm.width}),attrs:{"title":_vm.value}},[_vm._t("default",[_vm._v("\n "+_vm._s(_vm.label)+"\n ")])],2):_c('td',{attrs:{"title":_vm.label}},[_vm._t("default",[_vm._v("\n "+_vm._s(_vm.value)+"\n ")])],2)};
var __vue_staticRenderFns__$b = [];

@@ -1403,2 +1415,4 @@

//
//
//
var script$c = {

@@ -1418,10 +1432,3 @@ name: 'TyTableHeader',

};
},
// *----------------------- C o m p u t e d ---------------------------------------------------
computed: {},
// *----------------------- L i f e c i r c l e ---------------------------------------------
// *----------------------- M e t h o d s -----------------------------------------------------
methods: {},
// *----------------------- W a t c h ---------------------------------------------------------
watch: {}
}
};

@@ -1433,3 +1440,3 @@

/* template */
var __vue_render__$c = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('tr',{class:['ty-table-header', _vm.cssClass]},[_vm._t("default")],2)};
var __vue_render__$c = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('thead',[_c('tr',{class:['ty-table-header', _vm.cssClass]},[_vm._t("default")],2)])};
var __vue_staticRenderFns__$c = [];

@@ -1517,21 +1524,18 @@

//
//
//
var script$e = {
name: 'TyContainer',
componentName: 'TyContainer',
name: 'TyTableFooter',
// *----------------------- P r o p s ----------------------------------------------------------
props: {
direction: String
cssClass: {
type: String,
default: 'ty-bg-unset'
}
},
computed: {
isVertical: function isVertical() {
if (this.direction === 'vertical') {
return true;
} else if (this.direction === 'horizontal') {
return false;
}
return this.$slots && this.$slots.default ? this.$slots.default.some(function (vnode) {
var tag = vnode.componentOptions && vnode.componentOptions.tag;
return tag === 'ty-header' || tag === 'ty-footer';
}) : false;
}
// *----------------------- D a t a -----------------------------------------------------------
data: function data() {
return {
footer: true
};
}

@@ -1544,3 +1548,3 @@ };

/* template */
var __vue_render__$e = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',{staticClass:"ty-container",class:{ 'is-vertical': _vm.isVertical }},[_vm._t("default")],2)};
var __vue_render__$e = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('tfoot',[_c('tr',{class:['ty-table-footer', _vm.cssClass]},[_vm._t("default")],2)])};
var __vue_staticRenderFns__$e = [];

@@ -1562,3 +1566,3 @@

var Container = normalizeComponent_1(
var TableFooter = normalizeComponent_1(
{ render: __vue_render__$e, staticRenderFns: __vue_staticRenderFns__$e },

@@ -1581,4 +1585,3 @@ __vue_inject_styles__$e,

var script$f = {
name: 'TyMain',
componentName: 'TyMain'
name: 'TyTableBody'
};

@@ -1590,3 +1593,3 @@

/* template */
var __vue_render__$f = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('main',{staticClass:"ty-main"},[_vm._t("default")],2)};
var __vue_render__$f = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('tbody',[_vm._t("default")],2)};
var __vue_staticRenderFns__$f = [];

@@ -1608,3 +1611,3 @@

var Main = normalizeComponent_1(
var TableBody = normalizeComponent_1(
{ render: __vue_render__$f, staticRenderFns: __vue_staticRenderFns__$f },

@@ -1627,8 +1630,19 @@ __vue_inject_styles__$f,

var script$g = {
name: 'TyAside',
componentName: 'TyAside',
name: 'TyContainer',
componentName: 'TyContainer',
props: {
width: {
type: String,
default: '300px'
direction: String
},
computed: {
isVertical: function isVertical() {
if (this.direction === 'vertical') {
return true;
} else if (this.direction === 'horizontal') {
return false;
}
return this.$slots && this.$slots.default ? this.$slots.default.some(function (vnode) {
var tag = vnode.componentOptions && vnode.componentOptions.tag;
return tag === 'ty-header' || tag === 'ty-footer';
}) : false;
}

@@ -1642,3 +1656,3 @@ }

/* template */
var __vue_render__$g = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('aside',{staticClass:"ty-aside",style:({ width: _vm.width })},[_vm._t("default")],2)};
var __vue_render__$g = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',{staticClass:"ty-container",class:{ 'is-vertical': _vm.isVertical }},[_vm._t("default")],2)};
var __vue_staticRenderFns__$g = [];

@@ -1660,3 +1674,3 @@

var Aside = normalizeComponent_1(
var Container = normalizeComponent_1(
{ render: __vue_render__$g, staticRenderFns: __vue_staticRenderFns__$g },

@@ -1679,10 +1693,4 @@ __vue_inject_styles__$g,

var script$h = {
name: 'TyHeader',
componentName: 'TyHeader',
props: {
height: {
type: String,
default: '60px'
}
}
name: 'TyMain',
componentName: 'TyMain'
};

@@ -1694,3 +1702,3 @@

/* template */
var __vue_render__$h = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('header',{staticClass:"ty-header",style:({ height: _vm.height })},[_vm._t("default")],2)};
var __vue_render__$h = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('main',{staticClass:"ty-main"},[_vm._t("default")],2)};
var __vue_staticRenderFns__$h = [];

@@ -1712,3 +1720,3 @@

var Header = normalizeComponent_1(
var Main = normalizeComponent_1(
{ render: __vue_render__$h, staticRenderFns: __vue_staticRenderFns__$h },

@@ -1731,8 +1739,8 @@ __vue_inject_styles__$h,

var script$i = {
name: 'TyFooter',
componentName: 'TyFooter',
name: 'TyAside',
componentName: 'TyAside',
props: {
height: {
width: {
type: String,
default: '60px'
default: '300px'
}

@@ -1746,3 +1754,3 @@ }

/* template */
var __vue_render__$i = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('footer',{staticClass:"ty-footer",style:({ height: _vm.height })},[_vm._t("default")],2)};
var __vue_render__$i = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('aside',{staticClass:"ty-aside",style:({ width: _vm.width })},[_vm._t("default")],2)};
var __vue_staticRenderFns__$i = [];

@@ -1764,3 +1772,3 @@

var Footer = normalizeComponent_1(
var Aside = normalizeComponent_1(
{ render: __vue_render__$i, staticRenderFns: __vue_staticRenderFns__$i },

@@ -1776,2 +1784,100 @@ __vue_inject_styles__$i,

//
//
//
//
//
//
var script$j = {
name: 'TyHeader',
componentName: 'TyHeader',
props: {
height: {
type: String,
default: '60px'
}
}
};
/* script */
const __vue_script__$j = script$j;
/* template */
var __vue_render__$j = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('header',{staticClass:"ty-header",style:({ height: _vm.height })},[_vm._t("default")],2)};
var __vue_staticRenderFns__$j = [];
/* style */
const __vue_inject_styles__$j = undefined;
/* scoped */
const __vue_scope_id__$j = undefined;
/* module identifier */
const __vue_module_identifier__$j = undefined;
/* functional template */
const __vue_is_functional_template__$j = false;
/* style inject */
/* style inject SSR */
var Header = normalizeComponent_1(
{ render: __vue_render__$j, staticRenderFns: __vue_staticRenderFns__$j },
__vue_inject_styles__$j,
__vue_script__$j,
__vue_scope_id__$j,
__vue_is_functional_template__$j,
__vue_module_identifier__$j,
undefined,
undefined
);
//
//
//
//
//
//
var script$k = {
name: 'TyFooter',
componentName: 'TyFooter',
props: {
height: {
type: String,
default: '60px'
}
}
};
/* script */
const __vue_script__$k = script$k;
/* template */
var __vue_render__$k = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('footer',{staticClass:"ty-footer",style:({ height: _vm.height })},[_vm._t("default")],2)};
var __vue_staticRenderFns__$k = [];
/* style */
const __vue_inject_styles__$k = undefined;
/* scoped */
const __vue_scope_id__$k = undefined;
/* module identifier */
const __vue_module_identifier__$k = undefined;
/* functional template */
const __vue_is_functional_template__$k = false;
/* style inject */
/* style inject SSR */
var Footer = normalizeComponent_1(
{ render: __vue_render__$k, staticRenderFns: __vue_staticRenderFns__$k },
__vue_inject_styles__$k,
__vue_script__$k,
__vue_scope_id__$k,
__vue_is_functional_template__$k,
__vue_module_identifier__$k,
undefined,
undefined
);
var Row = {

@@ -1901,3 +2007,3 @@ name: 'TyRow',

//
var script$j = {
var script$l = {
name: 'TyIframe',

@@ -1936,15 +2042,15 @@ props: ['src', 'width', 'height', 'scrollable'],

/* script */
const __vue_script__$j = script$j;
const __vue_script__$l = script$l;
/* template */
var __vue_render__$j = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('iframe',{ref:"frame",attrs:{"sandbox":"allow-scripts allow-pointer-lock allow-same-origin allow-popups allow-forms","scrolling":_vm.scrolling,"frameborder":"0","width":_vm.width,"height":_vm.height}})};
var __vue_staticRenderFns__$j = [];
var __vue_render__$l = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('iframe',{ref:"frame",attrs:{"sandbox":"allow-scripts allow-pointer-lock allow-same-origin allow-popups allow-forms","scrolling":_vm.scrolling,"frameborder":"0","width":_vm.width,"height":_vm.height}})};
var __vue_staticRenderFns__$l = [];
/* style */
const __vue_inject_styles__$j = undefined;
const __vue_inject_styles__$l = undefined;
/* scoped */
const __vue_scope_id__$j = "data-v-1dee95ea";
const __vue_scope_id__$l = "data-v-1dee95ea";
/* module identifier */
const __vue_module_identifier__$j = undefined;
const __vue_module_identifier__$l = undefined;
/* functional template */
const __vue_is_functional_template__$j = false;
const __vue_is_functional_template__$l = false;
/* style inject */

@@ -1957,8 +2063,8 @@

var Iframe = normalizeComponent_1(
{ render: __vue_render__$j, staticRenderFns: __vue_staticRenderFns__$j },
__vue_inject_styles__$j,
__vue_script__$j,
__vue_scope_id__$j,
__vue_is_functional_template__$j,
__vue_module_identifier__$j,
{ render: __vue_render__$l, staticRenderFns: __vue_staticRenderFns__$l },
__vue_inject_styles__$l,
__vue_script__$l,
__vue_scope_id__$l,
__vue_is_functional_template__$l,
__vue_module_identifier__$l,
undefined,

@@ -1968,3 +2074,3 @@ undefined

var components = [Input, CurrencyInput, EditableText, EditableNumber, Select, Card, Border, Button, Table, TableColumn, TableHeader, TableRow, Container, Main, Aside, Header, Footer, Row, Col, Acardion, AcardionItem, Iframe];
var components = [Input, CurrencyInput, EditableText, EditableNumber, Select, Card, Border, Button, Table, TableColumn, TableHeader, TableRow, TableFooter, TableBody, Container, Main, Aside, Header, Footer, Row, Col, Acardion, AcardionItem, Iframe];

@@ -1994,2 +2100,6 @@ var install = function install(Vue) {

TableColumn: TableColumn,
TableHeader: TableHeader,
TableRow: TableRow,
TableFooter: TableFooter,
TableBody: TableBody,
Container: Container,

@@ -1996,0 +2106,0 @@ Main: Main,

@@ -1291,3 +1291,3 @@ function _broadcast(componentName, eventName, params) {

/* template */
var __vue_render__$a = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('table',{class:['ty-table',_vm.striped?'ty-table-striped':'', _vm.divided?'ty-table-divided':'']},[_vm._t("default")],2)])};
var __vue_render__$a = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('table',{class:['ty-table',_vm.striped?'ty-table-striped':'ty-table-simple', _vm.divided?'ty-table-divided':'']},[_vm._t("default")],2)])};
var __vue_staticRenderFns__$a = [];

@@ -1344,2 +1344,14 @@

required: false
},
width: {
type: String,
default: 'auto'
},
minWidth: {
type: String,
default: 'auto'
},
maxWidth: {
type: String,
default: 'auto'
}

@@ -1350,3 +1362,3 @@ },

computed: {
isInsideHeader: function isInsideHeader() {
isTh: function isTh() {
return this.$parent._data.header || false;

@@ -1366,3 +1378,3 @@ }

/* template */
var __vue_render__$b = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isInsideHeader)?_c('th',{attrs:{"title":_vm.value}},[_vm._t("default",[_vm._v("\n "+_vm._s(_vm.label)+"\n ")])],2):_c('td',{attrs:{"title":_vm.label}},[_vm._t("default",[_vm._v("\n "+_vm._s(_vm.value)+"\n ")])],2)};
var __vue_render__$b = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isTh)?_c('th',{style:({minWidth: _vm.minWidth, maxWidth: _vm.maxWidth, width: _vm.width}),attrs:{"title":_vm.value}},[_vm._t("default",[_vm._v("\n "+_vm._s(_vm.label)+"\n ")])],2):_c('td',{attrs:{"title":_vm.label}},[_vm._t("default",[_vm._v("\n "+_vm._s(_vm.value)+"\n ")])],2)};
var __vue_staticRenderFns__$b = [];

@@ -1401,2 +1413,4 @@

//
//
//
var script$c = {

@@ -1416,10 +1430,3 @@ name: 'TyTableHeader',

};
},
// *----------------------- C o m p u t e d ---------------------------------------------------
computed: {},
// *----------------------- L i f e c i r c l e ---------------------------------------------
// *----------------------- M e t h o d s -----------------------------------------------------
methods: {},
// *----------------------- W a t c h ---------------------------------------------------------
watch: {}
}
};

@@ -1431,3 +1438,3 @@

/* template */
var __vue_render__$c = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('tr',{class:['ty-table-header', _vm.cssClass]},[_vm._t("default")],2)};
var __vue_render__$c = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('thead',[_c('tr',{class:['ty-table-header', _vm.cssClass]},[_vm._t("default")],2)])};
var __vue_staticRenderFns__$c = [];

@@ -1515,21 +1522,18 @@

//
//
//
var script$e = {
name: 'TyContainer',
componentName: 'TyContainer',
name: 'TyTableFooter',
// *----------------------- P r o p s ----------------------------------------------------------
props: {
direction: String
cssClass: {
type: String,
default: 'ty-bg-unset'
}
},
computed: {
isVertical: function isVertical() {
if (this.direction === 'vertical') {
return true;
} else if (this.direction === 'horizontal') {
return false;
}
return this.$slots && this.$slots.default ? this.$slots.default.some(function (vnode) {
var tag = vnode.componentOptions && vnode.componentOptions.tag;
return tag === 'ty-header' || tag === 'ty-footer';
}) : false;
}
// *----------------------- D a t a -----------------------------------------------------------
data: function data() {
return {
footer: true
};
}

@@ -1542,3 +1546,3 @@ };

/* template */
var __vue_render__$e = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',{staticClass:"ty-container",class:{ 'is-vertical': _vm.isVertical }},[_vm._t("default")],2)};
var __vue_render__$e = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('tfoot',[_c('tr',{class:['ty-table-footer', _vm.cssClass]},[_vm._t("default")],2)])};
var __vue_staticRenderFns__$e = [];

@@ -1560,3 +1564,3 @@

var Container = normalizeComponent_1(
var TableFooter = normalizeComponent_1(
{ render: __vue_render__$e, staticRenderFns: __vue_staticRenderFns__$e },

@@ -1579,4 +1583,3 @@ __vue_inject_styles__$e,

var script$f = {
name: 'TyMain',
componentName: 'TyMain'
name: 'TyTableBody'
};

@@ -1588,3 +1591,3 @@

/* template */
var __vue_render__$f = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('main',{staticClass:"ty-main"},[_vm._t("default")],2)};
var __vue_render__$f = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('tbody',[_vm._t("default")],2)};
var __vue_staticRenderFns__$f = [];

@@ -1606,3 +1609,3 @@

var Main = normalizeComponent_1(
var TableBody = normalizeComponent_1(
{ render: __vue_render__$f, staticRenderFns: __vue_staticRenderFns__$f },

@@ -1625,8 +1628,19 @@ __vue_inject_styles__$f,

var script$g = {
name: 'TyAside',
componentName: 'TyAside',
name: 'TyContainer',
componentName: 'TyContainer',
props: {
width: {
type: String,
default: '300px'
direction: String
},
computed: {
isVertical: function isVertical() {
if (this.direction === 'vertical') {
return true;
} else if (this.direction === 'horizontal') {
return false;
}
return this.$slots && this.$slots.default ? this.$slots.default.some(function (vnode) {
var tag = vnode.componentOptions && vnode.componentOptions.tag;
return tag === 'ty-header' || tag === 'ty-footer';
}) : false;
}

@@ -1640,3 +1654,3 @@ }

/* template */
var __vue_render__$g = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('aside',{staticClass:"ty-aside",style:({ width: _vm.width })},[_vm._t("default")],2)};
var __vue_render__$g = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',{staticClass:"ty-container",class:{ 'is-vertical': _vm.isVertical }},[_vm._t("default")],2)};
var __vue_staticRenderFns__$g = [];

@@ -1658,3 +1672,3 @@

var Aside = normalizeComponent_1(
var Container = normalizeComponent_1(
{ render: __vue_render__$g, staticRenderFns: __vue_staticRenderFns__$g },

@@ -1677,10 +1691,4 @@ __vue_inject_styles__$g,

var script$h = {
name: 'TyHeader',
componentName: 'TyHeader',
props: {
height: {
type: String,
default: '60px'
}
}
name: 'TyMain',
componentName: 'TyMain'
};

@@ -1692,3 +1700,3 @@

/* template */
var __vue_render__$h = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('header',{staticClass:"ty-header",style:({ height: _vm.height })},[_vm._t("default")],2)};
var __vue_render__$h = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('main',{staticClass:"ty-main"},[_vm._t("default")],2)};
var __vue_staticRenderFns__$h = [];

@@ -1710,3 +1718,3 @@

var Header = normalizeComponent_1(
var Main = normalizeComponent_1(
{ render: __vue_render__$h, staticRenderFns: __vue_staticRenderFns__$h },

@@ -1729,8 +1737,8 @@ __vue_inject_styles__$h,

var script$i = {
name: 'TyFooter',
componentName: 'TyFooter',
name: 'TyAside',
componentName: 'TyAside',
props: {
height: {
width: {
type: String,
default: '60px'
default: '300px'
}

@@ -1744,3 +1752,3 @@ }

/* template */
var __vue_render__$i = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('footer',{staticClass:"ty-footer",style:({ height: _vm.height })},[_vm._t("default")],2)};
var __vue_render__$i = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('aside',{staticClass:"ty-aside",style:({ width: _vm.width })},[_vm._t("default")],2)};
var __vue_staticRenderFns__$i = [];

@@ -1762,3 +1770,3 @@

var Footer = normalizeComponent_1(
var Aside = normalizeComponent_1(
{ render: __vue_render__$i, staticRenderFns: __vue_staticRenderFns__$i },

@@ -1774,2 +1782,100 @@ __vue_inject_styles__$i,

//
//
//
//
//
//
var script$j = {
name: 'TyHeader',
componentName: 'TyHeader',
props: {
height: {
type: String,
default: '60px'
}
}
};
/* script */
const __vue_script__$j = script$j;
/* template */
var __vue_render__$j = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('header',{staticClass:"ty-header",style:({ height: _vm.height })},[_vm._t("default")],2)};
var __vue_staticRenderFns__$j = [];
/* style */
const __vue_inject_styles__$j = undefined;
/* scoped */
const __vue_scope_id__$j = undefined;
/* module identifier */
const __vue_module_identifier__$j = undefined;
/* functional template */
const __vue_is_functional_template__$j = false;
/* style inject */
/* style inject SSR */
var Header = normalizeComponent_1(
{ render: __vue_render__$j, staticRenderFns: __vue_staticRenderFns__$j },
__vue_inject_styles__$j,
__vue_script__$j,
__vue_scope_id__$j,
__vue_is_functional_template__$j,
__vue_module_identifier__$j,
undefined,
undefined
);
//
//
//
//
//
//
var script$k = {
name: 'TyFooter',
componentName: 'TyFooter',
props: {
height: {
type: String,
default: '60px'
}
}
};
/* script */
const __vue_script__$k = script$k;
/* template */
var __vue_render__$k = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('footer',{staticClass:"ty-footer",style:({ height: _vm.height })},[_vm._t("default")],2)};
var __vue_staticRenderFns__$k = [];
/* style */
const __vue_inject_styles__$k = undefined;
/* scoped */
const __vue_scope_id__$k = undefined;
/* module identifier */
const __vue_module_identifier__$k = undefined;
/* functional template */
const __vue_is_functional_template__$k = false;
/* style inject */
/* style inject SSR */
var Footer = normalizeComponent_1(
{ render: __vue_render__$k, staticRenderFns: __vue_staticRenderFns__$k },
__vue_inject_styles__$k,
__vue_script__$k,
__vue_scope_id__$k,
__vue_is_functional_template__$k,
__vue_module_identifier__$k,
undefined,
undefined
);
var Row = {

@@ -1899,3 +2005,3 @@ name: 'TyRow',

//
var script$j = {
var script$l = {
name: 'TyIframe',

@@ -1934,15 +2040,15 @@ props: ['src', 'width', 'height', 'scrollable'],

/* script */
const __vue_script__$j = script$j;
const __vue_script__$l = script$l;
/* template */
var __vue_render__$j = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('iframe',{ref:"frame",attrs:{"sandbox":"allow-scripts allow-pointer-lock allow-same-origin allow-popups allow-forms","scrolling":_vm.scrolling,"frameborder":"0","width":_vm.width,"height":_vm.height}})};
var __vue_staticRenderFns__$j = [];
var __vue_render__$l = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('iframe',{ref:"frame",attrs:{"sandbox":"allow-scripts allow-pointer-lock allow-same-origin allow-popups allow-forms","scrolling":_vm.scrolling,"frameborder":"0","width":_vm.width,"height":_vm.height}})};
var __vue_staticRenderFns__$l = [];
/* style */
const __vue_inject_styles__$j = undefined;
const __vue_inject_styles__$l = undefined;
/* scoped */
const __vue_scope_id__$j = "data-v-1dee95ea";
const __vue_scope_id__$l = "data-v-1dee95ea";
/* module identifier */
const __vue_module_identifier__$j = undefined;
const __vue_module_identifier__$l = undefined;
/* functional template */
const __vue_is_functional_template__$j = false;
const __vue_is_functional_template__$l = false;
/* style inject */

@@ -1955,8 +2061,8 @@

var Iframe = normalizeComponent_1(
{ render: __vue_render__$j, staticRenderFns: __vue_staticRenderFns__$j },
__vue_inject_styles__$j,
__vue_script__$j,
__vue_scope_id__$j,
__vue_is_functional_template__$j,
__vue_module_identifier__$j,
{ render: __vue_render__$l, staticRenderFns: __vue_staticRenderFns__$l },
__vue_inject_styles__$l,
__vue_script__$l,
__vue_scope_id__$l,
__vue_is_functional_template__$l,
__vue_module_identifier__$l,
undefined,

@@ -1966,3 +2072,3 @@ undefined

var components = [Input, CurrencyInput, EditableText, EditableNumber, Select, Card, Border, Button, Table, TableColumn, TableHeader, TableRow, Container, Main, Aside, Header, Footer, Row, Col, Acardion, AcardionItem, Iframe];
var components = [Input, CurrencyInput, EditableText, EditableNumber, Select, Card, Border, Button, Table, TableColumn, TableHeader, TableRow, TableFooter, TableBody, Container, Main, Aside, Header, Footer, Row, Col, Acardion, AcardionItem, Iframe];

@@ -1992,2 +2098,6 @@ var install = function install(Vue) {

TableColumn: TableColumn,
TableHeader: TableHeader,
TableRow: TableRow,
TableFooter: TableFooter,
TableBody: TableBody,
Container: Container,

@@ -1994,0 +2104,0 @@ Main: Main,

@@ -1297,3 +1297,3 @@ (function (global, factory) {

/* template */
var __vue_render__$a = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('table',{class:['ty-table',_vm.striped?'ty-table-striped':'', _vm.divided?'ty-table-divided':'']},[_vm._t("default")],2)])};
var __vue_render__$a = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('table',{class:['ty-table',_vm.striped?'ty-table-striped':'ty-table-simple', _vm.divided?'ty-table-divided':'']},[_vm._t("default")],2)])};
var __vue_staticRenderFns__$a = [];

@@ -1350,2 +1350,14 @@

required: false
},
width: {
type: String,
default: 'auto'
},
minWidth: {
type: String,
default: 'auto'
},
maxWidth: {
type: String,
default: 'auto'
}

@@ -1356,3 +1368,3 @@ },

computed: {
isInsideHeader: function isInsideHeader() {
isTh: function isTh() {
return this.$parent._data.header || false;

@@ -1372,3 +1384,3 @@ }

/* template */
var __vue_render__$b = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isInsideHeader)?_c('th',{attrs:{"title":_vm.value}},[_vm._t("default",[_vm._v("\n "+_vm._s(_vm.label)+"\n ")])],2):_c('td',{attrs:{"title":_vm.label}},[_vm._t("default",[_vm._v("\n "+_vm._s(_vm.value)+"\n ")])],2)};
var __vue_render__$b = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isTh)?_c('th',{style:({minWidth: _vm.minWidth, maxWidth: _vm.maxWidth, width: _vm.width}),attrs:{"title":_vm.value}},[_vm._t("default",[_vm._v("\n "+_vm._s(_vm.label)+"\n ")])],2):_c('td',{attrs:{"title":_vm.label}},[_vm._t("default",[_vm._v("\n "+_vm._s(_vm.value)+"\n ")])],2)};
var __vue_staticRenderFns__$b = [];

@@ -1407,2 +1419,4 @@

//
//
//
var script$c = {

@@ -1422,10 +1436,3 @@ name: 'TyTableHeader',

};
},
// *----------------------- C o m p u t e d ---------------------------------------------------
computed: {},
// *----------------------- L i f e c i r c l e ---------------------------------------------
// *----------------------- M e t h o d s -----------------------------------------------------
methods: {},
// *----------------------- W a t c h ---------------------------------------------------------
watch: {}
}
};

@@ -1437,3 +1444,3 @@

/* template */
var __vue_render__$c = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('tr',{class:['ty-table-header', _vm.cssClass]},[_vm._t("default")],2)};
var __vue_render__$c = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('thead',[_c('tr',{class:['ty-table-header', _vm.cssClass]},[_vm._t("default")],2)])};
var __vue_staticRenderFns__$c = [];

@@ -1521,21 +1528,18 @@

//
//
//
var script$e = {
name: 'TyContainer',
componentName: 'TyContainer',
name: 'TyTableFooter',
// *----------------------- P r o p s ----------------------------------------------------------
props: {
direction: String
cssClass: {
type: String,
default: 'ty-bg-unset'
}
},
computed: {
isVertical: function isVertical() {
if (this.direction === 'vertical') {
return true;
} else if (this.direction === 'horizontal') {
return false;
}
return this.$slots && this.$slots.default ? this.$slots.default.some(function (vnode) {
var tag = vnode.componentOptions && vnode.componentOptions.tag;
return tag === 'ty-header' || tag === 'ty-footer';
}) : false;
}
// *----------------------- D a t a -----------------------------------------------------------
data: function data() {
return {
footer: true
};
}

@@ -1548,3 +1552,3 @@ };

/* template */
var __vue_render__$e = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',{staticClass:"ty-container",class:{ 'is-vertical': _vm.isVertical }},[_vm._t("default")],2)};
var __vue_render__$e = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('tfoot',[_c('tr',{class:['ty-table-footer', _vm.cssClass]},[_vm._t("default")],2)])};
var __vue_staticRenderFns__$e = [];

@@ -1566,3 +1570,3 @@

var Container = normalizeComponent_1(
var TableFooter = normalizeComponent_1(
{ render: __vue_render__$e, staticRenderFns: __vue_staticRenderFns__$e },

@@ -1585,4 +1589,3 @@ __vue_inject_styles__$e,

var script$f = {
name: 'TyMain',
componentName: 'TyMain'
name: 'TyTableBody'
};

@@ -1594,3 +1597,3 @@

/* template */
var __vue_render__$f = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('main',{staticClass:"ty-main"},[_vm._t("default")],2)};
var __vue_render__$f = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('tbody',[_vm._t("default")],2)};
var __vue_staticRenderFns__$f = [];

@@ -1612,3 +1615,3 @@

var Main = normalizeComponent_1(
var TableBody = normalizeComponent_1(
{ render: __vue_render__$f, staticRenderFns: __vue_staticRenderFns__$f },

@@ -1631,8 +1634,19 @@ __vue_inject_styles__$f,

var script$g = {
name: 'TyAside',
componentName: 'TyAside',
name: 'TyContainer',
componentName: 'TyContainer',
props: {
width: {
type: String,
default: '300px'
direction: String
},
computed: {
isVertical: function isVertical() {
if (this.direction === 'vertical') {
return true;
} else if (this.direction === 'horizontal') {
return false;
}
return this.$slots && this.$slots.default ? this.$slots.default.some(function (vnode) {
var tag = vnode.componentOptions && vnode.componentOptions.tag;
return tag === 'ty-header' || tag === 'ty-footer';
}) : false;
}

@@ -1646,3 +1660,3 @@ }

/* template */
var __vue_render__$g = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('aside',{staticClass:"ty-aside",style:({ width: _vm.width })},[_vm._t("default")],2)};
var __vue_render__$g = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',{staticClass:"ty-container",class:{ 'is-vertical': _vm.isVertical }},[_vm._t("default")],2)};
var __vue_staticRenderFns__$g = [];

@@ -1664,3 +1678,3 @@

var Aside = normalizeComponent_1(
var Container = normalizeComponent_1(
{ render: __vue_render__$g, staticRenderFns: __vue_staticRenderFns__$g },

@@ -1683,10 +1697,4 @@ __vue_inject_styles__$g,

var script$h = {
name: 'TyHeader',
componentName: 'TyHeader',
props: {
height: {
type: String,
default: '60px'
}
}
name: 'TyMain',
componentName: 'TyMain'
};

@@ -1698,3 +1706,3 @@

/* template */
var __vue_render__$h = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('header',{staticClass:"ty-header",style:({ height: _vm.height })},[_vm._t("default")],2)};
var __vue_render__$h = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('main',{staticClass:"ty-main"},[_vm._t("default")],2)};
var __vue_staticRenderFns__$h = [];

@@ -1716,3 +1724,3 @@

var Header = normalizeComponent_1(
var Main = normalizeComponent_1(
{ render: __vue_render__$h, staticRenderFns: __vue_staticRenderFns__$h },

@@ -1735,8 +1743,8 @@ __vue_inject_styles__$h,

var script$i = {
name: 'TyFooter',
componentName: 'TyFooter',
name: 'TyAside',
componentName: 'TyAside',
props: {
height: {
width: {
type: String,
default: '60px'
default: '300px'
}

@@ -1750,3 +1758,3 @@ }

/* template */
var __vue_render__$i = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('footer',{staticClass:"ty-footer",style:({ height: _vm.height })},[_vm._t("default")],2)};
var __vue_render__$i = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('aside',{staticClass:"ty-aside",style:({ width: _vm.width })},[_vm._t("default")],2)};
var __vue_staticRenderFns__$i = [];

@@ -1768,3 +1776,3 @@

var Footer = normalizeComponent_1(
var Aside = normalizeComponent_1(
{ render: __vue_render__$i, staticRenderFns: __vue_staticRenderFns__$i },

@@ -1780,2 +1788,100 @@ __vue_inject_styles__$i,

//
//
//
//
//
//
var script$j = {
name: 'TyHeader',
componentName: 'TyHeader',
props: {
height: {
type: String,
default: '60px'
}
}
};
/* script */
const __vue_script__$j = script$j;
/* template */
var __vue_render__$j = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('header',{staticClass:"ty-header",style:({ height: _vm.height })},[_vm._t("default")],2)};
var __vue_staticRenderFns__$j = [];
/* style */
const __vue_inject_styles__$j = undefined;
/* scoped */
const __vue_scope_id__$j = undefined;
/* module identifier */
const __vue_module_identifier__$j = undefined;
/* functional template */
const __vue_is_functional_template__$j = false;
/* style inject */
/* style inject SSR */
var Header = normalizeComponent_1(
{ render: __vue_render__$j, staticRenderFns: __vue_staticRenderFns__$j },
__vue_inject_styles__$j,
__vue_script__$j,
__vue_scope_id__$j,
__vue_is_functional_template__$j,
__vue_module_identifier__$j,
undefined,
undefined
);
//
//
//
//
//
//
var script$k = {
name: 'TyFooter',
componentName: 'TyFooter',
props: {
height: {
type: String,
default: '60px'
}
}
};
/* script */
const __vue_script__$k = script$k;
/* template */
var __vue_render__$k = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('footer',{staticClass:"ty-footer",style:({ height: _vm.height })},[_vm._t("default")],2)};
var __vue_staticRenderFns__$k = [];
/* style */
const __vue_inject_styles__$k = undefined;
/* scoped */
const __vue_scope_id__$k = undefined;
/* module identifier */
const __vue_module_identifier__$k = undefined;
/* functional template */
const __vue_is_functional_template__$k = false;
/* style inject */
/* style inject SSR */
var Footer = normalizeComponent_1(
{ render: __vue_render__$k, staticRenderFns: __vue_staticRenderFns__$k },
__vue_inject_styles__$k,
__vue_script__$k,
__vue_scope_id__$k,
__vue_is_functional_template__$k,
__vue_module_identifier__$k,
undefined,
undefined
);
var Row = {

@@ -1905,3 +2011,3 @@ name: 'TyRow',

//
var script$j = {
var script$l = {
name: 'TyIframe',

@@ -1940,15 +2046,15 @@ props: ['src', 'width', 'height', 'scrollable'],

/* script */
const __vue_script__$j = script$j;
const __vue_script__$l = script$l;
/* template */
var __vue_render__$j = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('iframe',{ref:"frame",attrs:{"sandbox":"allow-scripts allow-pointer-lock allow-same-origin allow-popups allow-forms","scrolling":_vm.scrolling,"frameborder":"0","width":_vm.width,"height":_vm.height}})};
var __vue_staticRenderFns__$j = [];
var __vue_render__$l = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('iframe',{ref:"frame",attrs:{"sandbox":"allow-scripts allow-pointer-lock allow-same-origin allow-popups allow-forms","scrolling":_vm.scrolling,"frameborder":"0","width":_vm.width,"height":_vm.height}})};
var __vue_staticRenderFns__$l = [];
/* style */
const __vue_inject_styles__$j = undefined;
const __vue_inject_styles__$l = undefined;
/* scoped */
const __vue_scope_id__$j = "data-v-1dee95ea";
const __vue_scope_id__$l = "data-v-1dee95ea";
/* module identifier */
const __vue_module_identifier__$j = undefined;
const __vue_module_identifier__$l = undefined;
/* functional template */
const __vue_is_functional_template__$j = false;
const __vue_is_functional_template__$l = false;
/* style inject */

@@ -1961,8 +2067,8 @@

var Iframe = normalizeComponent_1(
{ render: __vue_render__$j, staticRenderFns: __vue_staticRenderFns__$j },
__vue_inject_styles__$j,
__vue_script__$j,
__vue_scope_id__$j,
__vue_is_functional_template__$j,
__vue_module_identifier__$j,
{ render: __vue_render__$l, staticRenderFns: __vue_staticRenderFns__$l },
__vue_inject_styles__$l,
__vue_script__$l,
__vue_scope_id__$l,
__vue_is_functional_template__$l,
__vue_module_identifier__$l,
undefined,

@@ -1972,3 +2078,3 @@ undefined

var components = [Input, CurrencyInput, EditableText, EditableNumber, Select, Card, Border, Button, Table, TableColumn, TableHeader, TableRow, Container, Main, Aside, Header, Footer, Row, Col, Acardion, AcardionItem, Iframe];
var components = [Input, CurrencyInput, EditableText, EditableNumber, Select, Card, Border, Button, Table, TableColumn, TableHeader, TableRow, TableFooter, TableBody, Container, Main, Aside, Header, Footer, Row, Col, Acardion, AcardionItem, Iframe];

@@ -1998,2 +2104,6 @@ var install = function install(Vue) {

TableColumn: TableColumn,
TableHeader: TableHeader,
TableRow: TableRow,
TableFooter: TableFooter,
TableBody: TableBody,
Container: Container,

@@ -2000,0 +2110,0 @@ Main: Main,

{
"name": "@tayeh/vue-components",
"version": "1.0.83-alpha",
"version": "1.0.84-alpha",
"author": "Aref Akbari",

@@ -5,0 +5,0 @@ "license": "MIT",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc