diff --git a/src/components/accordion/Accordion.vue b/src/components/accordion/Accordion.vue index 0885220112..a44d9eeba5 100755 --- a/src/components/accordion/Accordion.vue +++ b/src/components/accordion/Accordion.vue @@ -1,132 +1,48 @@ - diff --git a/src/components/accordiontab/AccordionTab.d.ts b/src/components/accordiontab/AccordionTab.d.ts index 11f4638e3b..569d581195 100755 --- a/src/components/accordiontab/AccordionTab.d.ts +++ b/src/components/accordiontab/AccordionTab.d.ts @@ -2,7 +2,6 @@ import Vue, { VNode } from 'vue'; declare class AccordionTab extends Vue { header?: string; - active?: boolean; disabled?: boolean; $slot: { '': VNode[]; diff --git a/src/components/accordiontab/AccordionTab.vue b/src/components/accordiontab/AccordionTab.vue index 039f6327dd..72fd3b805b 100755 --- a/src/components/accordiontab/AccordionTab.vue +++ b/src/components/accordiontab/AccordionTab.vue @@ -1,13 +1,75 @@ + \ No newline at end of file diff --git a/src/components/tabpanel/TabPanel.d.ts b/src/components/tabpanel/TabPanel.d.ts index 51a24f199c..c942c9e1ef 100755 --- a/src/components/tabpanel/TabPanel.d.ts +++ b/src/components/tabpanel/TabPanel.d.ts @@ -2,7 +2,6 @@ import Vue, { VNode } from 'vue'; declare class TabPanel extends Vue { header?: any; - active?: boolean; disabled?: boolean; $slots: { '': VNode[]; diff --git a/src/components/tabpanel/TabPanel.vue b/src/components/tabpanel/TabPanel.vue index 6a7d53a39a..73caf534e9 100755 --- a/src/components/tabpanel/TabPanel.vue +++ b/src/components/tabpanel/TabPanel.vue @@ -1,12 +1,46 @@ + + \ No newline at end of file diff --git a/src/components/tabview/TabView.d.ts b/src/components/tabview/TabView.d.ts index b6fe61fbbf..fc285ac1cc 100755 --- a/src/components/tabview/TabView.d.ts +++ b/src/components/tabview/TabView.d.ts @@ -3,6 +3,7 @@ import Vue, { VNode } from 'vue'; declare class TabView extends Vue { activeIndex?: number; $emit(eventName: 'tab-change', e: { originalEvent: Event, tab: any }): this; + $emit(eventName: 'tab-click', e: { originalEvent: Event, tab: any }): this; $slots: { '': VNode[]; } diff --git a/src/components/tabview/TabView.vue b/src/components/tabview/TabView.vue index f95d2486a7..cdf497175d 100755 --- a/src/components/tabview/TabView.vue +++ b/src/components/tabview/TabView.vue @@ -1,20 +1,51 @@ + +