@giwisoft/wc-tabs
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -30,3 +30,2 @@ 'use strict'; | ||
const [group] = this.tabGroup; | ||
console.log(this.tabGroup); | ||
this.selectGroup(group); | ||
@@ -39,3 +38,2 @@ } | ||
const group = this.tabGroup.find(group => group.header.id === event.detail.id); | ||
console.debug(group, event.detail); | ||
this.selectGroup(group); | ||
@@ -63,5 +61,3 @@ } | ||
this.tabGroup = this.tabsHeader.map(header => { | ||
console.log('header', header); | ||
const content = this.tabsContent.find(content => content.name === header.name); | ||
console.log('content', content); | ||
return { | ||
@@ -68,0 +64,0 @@ header: header, |
@@ -24,3 +24,2 @@ import { h } from "@stencil/core"; | ||
const [group] = this.tabGroup; | ||
console.log(this.tabGroup); | ||
this.selectGroup(group); | ||
@@ -33,3 +32,2 @@ } | ||
const group = this.tabGroup.find(group => group.header.id === event.detail.id); | ||
console.debug(group, event.detail); | ||
this.selectGroup(group); | ||
@@ -57,5 +55,3 @@ } | ||
this.tabGroup = this.tabsHeader.map(header => { | ||
console.log('header', header); | ||
const content = this.tabsContent.find(content => content.name === header.name); | ||
console.log('content', content); | ||
return { | ||
@@ -62,0 +58,0 @@ header: header, |
@@ -61,3 +61,2 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
var group = _this.tabGroup[0]; | ||
console.log(_this.tabGroup); | ||
_this.selectGroup(group); | ||
@@ -70,3 +69,2 @@ } | ||
var group = this.tabGroup.find(function (group) { return group.header.id === event.detail.id; }); | ||
console.debug(group, event.detail); | ||
this.selectGroup(group); | ||
@@ -95,5 +93,3 @@ } | ||
_this.tabGroup = _this.tabsHeader.map(function (header) { | ||
console.log('header', header); | ||
var content = _this.tabsContent.find(function (content) { return content.name === header.name; }); | ||
console.log('content', content); | ||
return { | ||
@@ -100,0 +96,0 @@ header: header, |
@@ -26,3 +26,2 @@ import { r as registerInstance, h, g as getElement, c as createEvent } from './core-220da979.js'; | ||
const [group] = this.tabGroup; | ||
console.log(this.tabGroup); | ||
this.selectGroup(group); | ||
@@ -35,3 +34,2 @@ } | ||
const group = this.tabGroup.find(group => group.header.id === event.detail.id); | ||
console.debug(group, event.detail); | ||
this.selectGroup(group); | ||
@@ -59,5 +57,3 @@ } | ||
this.tabGroup = this.tabsHeader.map(header => { | ||
console.log('header', header); | ||
const content = this.tabsContent.find(content => content.name === header.name); | ||
console.log('content', content); | ||
return { | ||
@@ -64,0 +60,0 @@ header: header, |
@@ -1,1 +0,1 @@ | ||
System.register(["./p-f4bb163a.system.js"],function(){"use strict";var e,t;return{setters:[function(s){e=s.p;t=s.b}],execute:function(){e().then(function(e){return t([["p-yfbmrfvx.system",[[1,"wc-tabs",{selection:[2]},[[0,"onSelect","onSelectedTab"]]],[4,"wc-tabs-content",{name:[1],responsive:[4],isSelected:[32],getChild:[64]}],[1,"wc-tabs-header",{name:[1],disabled:[4],isSelected:[32],getChild:[64]}]]]],e)})}}}); | ||
System.register(["./p-f4bb163a.system.js"],function(){"use strict";var e,t;return{setters:[function(n){e=n.p;t=n.b}],execute:function(){e().then(function(e){return t([["p-hkf3wihn.system",[[1,"wc-tabs",{selection:[2]},[[0,"onSelect","onSelectedTab"]]],[4,"wc-tabs-content",{name:[1],responsive:[4],isSelected:[32],getChild:[64]}],[1,"wc-tabs-header",{name:[1],disabled:[4],isSelected:[32],getChild:[64]}]]]],e)})}}}); |
@@ -1,1 +0,1 @@ | ||
import{p as e,b as t}from"./p-b1dfca4c.js";e().then(e=>t([["p-oxoml7ip",[[1,"wc-tabs",{selection:[2]},[[0,"onSelect","onSelectedTab"]]],[4,"wc-tabs-content",{name:[1],responsive:[4],isSelected:[32],getChild:[64]}],[1,"wc-tabs-header",{name:[1],disabled:[4],isSelected:[32],getChild:[64]}]]]],e)); | ||
import{p as e,b as s}from"./p-b1dfca4c.js";e().then(e=>s([["p-suxzck7n",[[1,"wc-tabs",{selection:[2]},[[0,"onSelect","onSelectedTab"]]],[4,"wc-tabs-content",{name:[1],responsive:[4],isSelected:[32],getChild:[64]}],[1,"wc-tabs-header",{name:[1],disabled:[4],isSelected:[32],getChild:[64]}]]]],e)); |
{ | ||
"name": "@giwisoft/wc-tabs", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "Tabs component", | ||
@@ -5,0 +5,0 @@ "unpkg": "dist/wc-tabs/wc-tabs.js", |
844376
13670