@everymatrix/helper-tabs 0.1.2 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/helper-tab_2.cjs.entry.js +11 -8
- package/dist/cjs/helper-tabs.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/helper-tab/helper-tab.css +6 -0
- package/dist/collection/components/helper-tab/helper-tab.js +21 -9
- package/dist/collection/components/helper-tabs/helper-tabs.js +2 -2
- package/dist/components/helper-tab2.js +13 -8
- package/dist/components/helper-tabs.js +2 -1
- package/dist/esm/helper-tab_2.entry.js +11 -8
- package/dist/esm/helper-tabs.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/helper-tabs/helper-tabs.esm.js +1 -1
- package/dist/helper-tabs/p-fb217735.entry.js +1 -0
- package/dist/stencil.config.js +2 -0
- package/dist/types/components/helper-tab/helper-tab.d.ts +2 -4
- package/package.json +1 -1
- package/dist/helper-tabs/p-191f4340.entry.js +0 -1
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-ba9ede9f.js');
|
|
6
6
|
|
|
7
|
-
const helperTabCss = ":host{display:block}";
|
|
7
|
+
const helperTabCss = ":host{display:block}.TabContent{font-size:14px;color:#000;font-weight:normal}";
|
|
8
8
|
|
|
9
9
|
const HelperTab = class {
|
|
10
10
|
constructor(hostRef) {
|
|
@@ -13,19 +13,22 @@ const HelperTab = class {
|
|
|
13
13
|
* Selected index
|
|
14
14
|
*/
|
|
15
15
|
this.selectedIndex = 0;
|
|
16
|
+
this.tabContent = '';
|
|
16
17
|
}
|
|
17
|
-
/**
|
|
18
|
-
* Endpoing for CMS
|
|
19
|
-
*/
|
|
20
18
|
connectedCallback() {
|
|
21
19
|
/**
|
|
22
20
|
* fetch(cmsEndpoint + / + / + selectedIndex)
|
|
23
21
|
*/
|
|
24
22
|
}
|
|
25
23
|
render() {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
24
|
+
this.tabContent = index.h("div", { class: "TabContent" }, "Each play includes one set of numbers from 1 to 21 with a selectable number of 8 and a second, 4-digit set of numbers, with a minimum selection of 1. Draws are held every 5 minutes and the winnings are automatically credited to your account.");
|
|
25
|
+
if (this.selectedIndex + 1 == 2) {
|
|
26
|
+
this.tabContent = index.h("div", { class: "TabContent" }, index.h("ol", null, index.h("li", null, "Register or Login"), index.h("li", null, "Buy tickets. Select 'Buy Tickets' to pick your numbers. Want us to automatically generate random numbers for you? Choose \u201CI feel lucky\u201D."), index.h("li", null, "Review and Complete your purchase. Once you've chosen your total number of plays, and confirmed your number of selections, review your ticket details and complete your purchase!")));
|
|
27
|
+
}
|
|
28
|
+
else if (this.selectedIndex + 1 == 3) {
|
|
29
|
+
this.tabContent = index.h("div", { class: "TabContent" }, index.h("ul", null, index.h("li", null, "What are my odds of winning?"), index.h("li", null, "How can I find out if I\u2019ve won a draw game?"), index.h("li", null, "How do I claim my prize?")));
|
|
30
|
+
}
|
|
31
|
+
return (this.tabContent);
|
|
29
32
|
}
|
|
30
33
|
};
|
|
31
34
|
HelperTab.style = helperTabCss;
|
|
@@ -50,7 +53,7 @@ const HelperTabs = class {
|
|
|
50
53
|
/**
|
|
51
54
|
* Tabs details
|
|
52
55
|
*/
|
|
53
|
-
this.tabs = [{ label: '
|
|
56
|
+
this.tabs = [{ label: 'How to Play' }, { label: 'About' }, { label: 'FAQs' }];
|
|
54
57
|
}
|
|
55
58
|
connectedCallback() {
|
|
56
59
|
}
|
|
@@ -15,5 +15,5 @@ const patchBrowser = () => {
|
|
|
15
15
|
};
|
|
16
16
|
|
|
17
17
|
patchBrowser().then(options => {
|
|
18
|
-
return index.bootstrapLazy([["helper-tab_2.cjs",[[1,"helper-tabs",{"disabled":[4],"label":[1],"selected":[4],"cmsEndpoint":[1,"cms-endpoint"],"selectedIndex":[1538,"selected-index"],"tabs":[16]}],[1,"helper-tab",{"selectedIndex":[2,"selected-index"],"cmsEndpoint":[1,"cms-endpoint"]}]]]], options);
|
|
18
|
+
return index.bootstrapLazy([["helper-tab_2.cjs",[[1,"helper-tabs",{"disabled":[4],"label":[1],"selected":[4],"cmsEndpoint":[1,"cms-endpoint"],"selectedIndex":[1538,"selected-index"],"tabs":[16]}],[1,"helper-tab",{"selectedIndex":[2,"selected-index"],"cmsEndpoint":[1,"cms-endpoint"],"tabContent":[32]}]]]], options);
|
|
19
19
|
});
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -14,7 +14,7 @@ const patchEsm = () => {
|
|
|
14
14
|
const defineCustomElements = (win, options) => {
|
|
15
15
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
16
16
|
return patchEsm().then(() => {
|
|
17
|
-
return index.bootstrapLazy([["helper-tab_2.cjs",[[1,"helper-tabs",{"disabled":[4],"label":[1],"selected":[4],"cmsEndpoint":[1,"cms-endpoint"],"selectedIndex":[1538,"selected-index"],"tabs":[16]}],[1,"helper-tab",{"selectedIndex":[2,"selected-index"],"cmsEndpoint":[1,"cms-endpoint"]}]]]], options);
|
|
17
|
+
return index.bootstrapLazy([["helper-tab_2.cjs",[[1,"helper-tabs",{"disabled":[4],"label":[1],"selected":[4],"cmsEndpoint":[1,"cms-endpoint"],"selectedIndex":[1538,"selected-index"],"tabs":[16]}],[1,"helper-tab",{"selectedIndex":[2,"selected-index"],"cmsEndpoint":[1,"cms-endpoint"],"tabContent":[32]}]]]], options);
|
|
18
18
|
});
|
|
19
19
|
};
|
|
20
20
|
|
|
@@ -1,25 +1,34 @@
|
|
|
1
|
-
import { Component, h, Prop } from '@stencil/core';
|
|
1
|
+
import { Component, h, Prop, State } from '@stencil/core';
|
|
2
2
|
export class HelperTab {
|
|
3
3
|
constructor() {
|
|
4
4
|
/**
|
|
5
5
|
* Selected index
|
|
6
6
|
*/
|
|
7
7
|
this.selectedIndex = 0;
|
|
8
|
+
this.tabContent = '';
|
|
8
9
|
}
|
|
9
|
-
/**
|
|
10
|
-
* Endpoing for CMS
|
|
11
|
-
*/
|
|
12
10
|
connectedCallback() {
|
|
13
11
|
/**
|
|
14
12
|
* fetch(cmsEndpoint + / + / + selectedIndex)
|
|
15
13
|
*/
|
|
16
14
|
}
|
|
17
15
|
render() {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
16
|
+
this.tabContent = h("div", { class: "TabContent" }, "Each play includes one set of numbers from 1 to 21 with a selectable number of 8 and a second, 4-digit set of numbers, with a minimum selection of 1. Draws are held every 5 minutes and the winnings are automatically credited to your account.");
|
|
17
|
+
if (this.selectedIndex + 1 == 2) {
|
|
18
|
+
this.tabContent = h("div", { class: "TabContent" },
|
|
19
|
+
h("ol", null,
|
|
20
|
+
h("li", null, "Register or Login"),
|
|
21
|
+
h("li", null, "Buy tickets. Select 'Buy Tickets' to pick your numbers. Want us to automatically generate random numbers for you? Choose \u201CI feel lucky\u201D."),
|
|
22
|
+
h("li", null, "Review and Complete your purchase. Once you've chosen your total number of plays, and confirmed your number of selections, review your ticket details and complete your purchase!")));
|
|
23
|
+
}
|
|
24
|
+
else if (this.selectedIndex + 1 == 3) {
|
|
25
|
+
this.tabContent = h("div", { class: "TabContent" },
|
|
26
|
+
h("ul", null,
|
|
27
|
+
h("li", null, "What are my odds of winning?"),
|
|
28
|
+
h("li", null, "How can I find out if I\u2019ve won a draw game?"),
|
|
29
|
+
h("li", null, "How do I claim my prize?")));
|
|
30
|
+
}
|
|
31
|
+
return (this.tabContent);
|
|
23
32
|
}
|
|
24
33
|
static get is() { return "helper-tab"; }
|
|
25
34
|
static get encapsulation() { return "shadow"; }
|
|
@@ -66,4 +75,7 @@ export class HelperTab {
|
|
|
66
75
|
"reflect": false
|
|
67
76
|
}
|
|
68
77
|
}; }
|
|
78
|
+
static get states() { return {
|
|
79
|
+
"tabContent": {}
|
|
80
|
+
}; }
|
|
69
81
|
}
|
|
@@ -16,7 +16,7 @@ export class HelperTabs {
|
|
|
16
16
|
/**
|
|
17
17
|
* Tabs details
|
|
18
18
|
*/
|
|
19
|
-
this.tabs = [{ label: '
|
|
19
|
+
this.tabs = [{ label: 'How to Play' }, { label: 'About' }, { label: 'FAQs' }];
|
|
20
20
|
}
|
|
21
21
|
connectedCallback() {
|
|
22
22
|
if (this.tabs.length == 0) {
|
|
@@ -147,7 +147,7 @@ export class HelperTabs {
|
|
|
147
147
|
"tags": [],
|
|
148
148
|
"text": "Tabs details"
|
|
149
149
|
},
|
|
150
|
-
"defaultValue": "[{label: '
|
|
150
|
+
"defaultValue": "[{label: 'How to Play'}, {label: 'About'}, {label: 'FAQs'}]"
|
|
151
151
|
}
|
|
152
152
|
}; }
|
|
153
153
|
static get elementRef() { return "host"; }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
2
|
|
|
3
|
-
const helperTabCss = ":host{display:block}";
|
|
3
|
+
const helperTabCss = ":host{display:block}.TabContent{font-size:14px;color:#000;font-weight:normal}";
|
|
4
4
|
|
|
5
5
|
const HelperTab = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
6
6
|
constructor() {
|
|
@@ -11,24 +11,28 @@ const HelperTab = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
11
11
|
* Selected index
|
|
12
12
|
*/
|
|
13
13
|
this.selectedIndex = 0;
|
|
14
|
+
this.tabContent = '';
|
|
14
15
|
}
|
|
15
|
-
/**
|
|
16
|
-
* Endpoing for CMS
|
|
17
|
-
*/
|
|
18
16
|
connectedCallback() {
|
|
19
17
|
/**
|
|
20
18
|
* fetch(cmsEndpoint + / + / + selectedIndex)
|
|
21
19
|
*/
|
|
22
20
|
}
|
|
23
21
|
render() {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
22
|
+
this.tabContent = h("div", { class: "TabContent" }, "Each play includes one set of numbers from 1 to 21 with a selectable number of 8 and a second, 4-digit set of numbers, with a minimum selection of 1. Draws are held every 5 minutes and the winnings are automatically credited to your account.");
|
|
23
|
+
if (this.selectedIndex + 1 == 2) {
|
|
24
|
+
this.tabContent = h("div", { class: "TabContent" }, h("ol", null, h("li", null, "Register or Login"), h("li", null, "Buy tickets. Select 'Buy Tickets' to pick your numbers. Want us to automatically generate random numbers for you? Choose \u201CI feel lucky\u201D."), h("li", null, "Review and Complete your purchase. Once you've chosen your total number of plays, and confirmed your number of selections, review your ticket details and complete your purchase!")));
|
|
25
|
+
}
|
|
26
|
+
else if (this.selectedIndex + 1 == 3) {
|
|
27
|
+
this.tabContent = h("div", { class: "TabContent" }, h("ul", null, h("li", null, "What are my odds of winning?"), h("li", null, "How can I find out if I\u2019ve won a draw game?"), h("li", null, "How do I claim my prize?")));
|
|
28
|
+
}
|
|
29
|
+
return (this.tabContent);
|
|
27
30
|
}
|
|
28
31
|
static get style() { return helperTabCss; }
|
|
29
32
|
}, [1, "helper-tab", {
|
|
30
33
|
"selectedIndex": [2, "selected-index"],
|
|
31
|
-
"cmsEndpoint": [1, "cms-endpoint"]
|
|
34
|
+
"cmsEndpoint": [1, "cms-endpoint"],
|
|
35
|
+
"tabContent": [32]
|
|
32
36
|
}]);
|
|
33
37
|
function defineCustomElement() {
|
|
34
38
|
if (typeof customElements === "undefined") {
|
|
@@ -43,5 +47,6 @@ function defineCustomElement() {
|
|
|
43
47
|
break;
|
|
44
48
|
} });
|
|
45
49
|
}
|
|
50
|
+
defineCustomElement();
|
|
46
51
|
|
|
47
52
|
export { HelperTab as H, defineCustomElement as d };
|
|
@@ -23,7 +23,7 @@ const HelperTabs$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
23
23
|
/**
|
|
24
24
|
* Tabs details
|
|
25
25
|
*/
|
|
26
|
-
this.tabs = [{ label: '
|
|
26
|
+
this.tabs = [{ label: 'How to Play' }, { label: 'About' }, { label: 'FAQs' }];
|
|
27
27
|
}
|
|
28
28
|
connectedCallback() {
|
|
29
29
|
}
|
|
@@ -58,6 +58,7 @@ function defineCustomElement$1() {
|
|
|
58
58
|
break;
|
|
59
59
|
} });
|
|
60
60
|
}
|
|
61
|
+
defineCustomElement$1();
|
|
61
62
|
|
|
62
63
|
const HelperTabs = HelperTabs$1;
|
|
63
64
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h, g as getElement } from './index-9a1fb055.js';
|
|
2
2
|
|
|
3
|
-
const helperTabCss = ":host{display:block}";
|
|
3
|
+
const helperTabCss = ":host{display:block}.TabContent{font-size:14px;color:#000;font-weight:normal}";
|
|
4
4
|
|
|
5
5
|
const HelperTab = class {
|
|
6
6
|
constructor(hostRef) {
|
|
@@ -9,19 +9,22 @@ const HelperTab = class {
|
|
|
9
9
|
* Selected index
|
|
10
10
|
*/
|
|
11
11
|
this.selectedIndex = 0;
|
|
12
|
+
this.tabContent = '';
|
|
12
13
|
}
|
|
13
|
-
/**
|
|
14
|
-
* Endpoing for CMS
|
|
15
|
-
*/
|
|
16
14
|
connectedCallback() {
|
|
17
15
|
/**
|
|
18
16
|
* fetch(cmsEndpoint + / + / + selectedIndex)
|
|
19
17
|
*/
|
|
20
18
|
}
|
|
21
19
|
render() {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
20
|
+
this.tabContent = h("div", { class: "TabContent" }, "Each play includes one set of numbers from 1 to 21 with a selectable number of 8 and a second, 4-digit set of numbers, with a minimum selection of 1. Draws are held every 5 minutes and the winnings are automatically credited to your account.");
|
|
21
|
+
if (this.selectedIndex + 1 == 2) {
|
|
22
|
+
this.tabContent = h("div", { class: "TabContent" }, h("ol", null, h("li", null, "Register or Login"), h("li", null, "Buy tickets. Select 'Buy Tickets' to pick your numbers. Want us to automatically generate random numbers for you? Choose \u201CI feel lucky\u201D."), h("li", null, "Review and Complete your purchase. Once you've chosen your total number of plays, and confirmed your number of selections, review your ticket details and complete your purchase!")));
|
|
23
|
+
}
|
|
24
|
+
else if (this.selectedIndex + 1 == 3) {
|
|
25
|
+
this.tabContent = h("div", { class: "TabContent" }, h("ul", null, h("li", null, "What are my odds of winning?"), h("li", null, "How can I find out if I\u2019ve won a draw game?"), h("li", null, "How do I claim my prize?")));
|
|
26
|
+
}
|
|
27
|
+
return (this.tabContent);
|
|
25
28
|
}
|
|
26
29
|
};
|
|
27
30
|
HelperTab.style = helperTabCss;
|
|
@@ -46,7 +49,7 @@ const HelperTabs = class {
|
|
|
46
49
|
/**
|
|
47
50
|
* Tabs details
|
|
48
51
|
*/
|
|
49
|
-
this.tabs = [{ label: '
|
|
52
|
+
this.tabs = [{ label: 'How to Play' }, { label: 'About' }, { label: 'FAQs' }];
|
|
50
53
|
}
|
|
51
54
|
connectedCallback() {
|
|
52
55
|
}
|
package/dist/esm/helper-tabs.js
CHANGED
|
@@ -13,5 +13,5 @@ const patchBrowser = () => {
|
|
|
13
13
|
};
|
|
14
14
|
|
|
15
15
|
patchBrowser().then(options => {
|
|
16
|
-
return bootstrapLazy([["helper-tab_2",[[1,"helper-tabs",{"disabled":[4],"label":[1],"selected":[4],"cmsEndpoint":[1,"cms-endpoint"],"selectedIndex":[1538,"selected-index"],"tabs":[16]}],[1,"helper-tab",{"selectedIndex":[2,"selected-index"],"cmsEndpoint":[1,"cms-endpoint"]}]]]], options);
|
|
16
|
+
return bootstrapLazy([["helper-tab_2",[[1,"helper-tabs",{"disabled":[4],"label":[1],"selected":[4],"cmsEndpoint":[1,"cms-endpoint"],"selectedIndex":[1538,"selected-index"],"tabs":[16]}],[1,"helper-tab",{"selectedIndex":[2,"selected-index"],"cmsEndpoint":[1,"cms-endpoint"],"tabContent":[32]}]]]], options);
|
|
17
17
|
});
|
package/dist/esm/loader.js
CHANGED
|
@@ -10,7 +10,7 @@ const patchEsm = () => {
|
|
|
10
10
|
const defineCustomElements = (win, options) => {
|
|
11
11
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
12
12
|
return patchEsm().then(() => {
|
|
13
|
-
return bootstrapLazy([["helper-tab_2",[[1,"helper-tabs",{"disabled":[4],"label":[1],"selected":[4],"cmsEndpoint":[1,"cms-endpoint"],"selectedIndex":[1538,"selected-index"],"tabs":[16]}],[1,"helper-tab",{"selectedIndex":[2,"selected-index"],"cmsEndpoint":[1,"cms-endpoint"]}]]]], options);
|
|
13
|
+
return bootstrapLazy([["helper-tab_2",[[1,"helper-tabs",{"disabled":[4],"label":[1],"selected":[4],"cmsEndpoint":[1,"cms-endpoint"],"selectedIndex":[1538,"selected-index"],"tabs":[16]}],[1,"helper-tab",{"selectedIndex":[2,"selected-index"],"cmsEndpoint":[1,"cms-endpoint"],"tabContent":[32]}]]]], options);
|
|
14
14
|
});
|
|
15
15
|
};
|
|
16
16
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as
|
|
1
|
+
import{p as e,b as t}from"./p-39661e66.js";(()=>{const t=import.meta.url,n={};return""!==t&&(n.resourcesUrl=new URL(".",t).href),e(n)})().then((e=>t([["p-fb217735",[[1,"helper-tabs",{disabled:[4],label:[1],selected:[4],cmsEndpoint:[1,"cms-endpoint"],selectedIndex:[1538,"selected-index"],tabs:[16]}],[1,"helper-tab",{selectedIndex:[2,"selected-index"],cmsEndpoint:[1,"cms-endpoint"],tabContent:[32]}]]]],e)));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as e,g as o}from"./p-39661e66.js";const s=class{constructor(e){t(this,e),this.selectedIndex=0,this.tabContent=""}connectedCallback(){}render(){return this.tabContent=e("div",{class:"TabContent"},"Each play includes one set of numbers from 1 to 21 with a selectable number of 8 and a second, 4-digit set of numbers, with a minimum selection of 1. Draws are held every 5 minutes and the winnings are automatically credited to your account."),this.selectedIndex+1==2?this.tabContent=e("div",{class:"TabContent"},e("ol",null,e("li",null,"Register or Login"),e("li",null,"Buy tickets. Select 'Buy Tickets' to pick your numbers. Want us to automatically generate random numbers for you? Choose “I feel lucky”."),e("li",null,"Review and Complete your purchase. Once you've chosen your total number of plays, and confirmed your number of selections, review your ticket details and complete your purchase!"))):this.selectedIndex+1==3&&(this.tabContent=e("div",{class:"TabContent"},e("ul",null,e("li",null,"What are my odds of winning?"),e("li",null,"How can I find out if I’ve won a draw game?"),e("li",null,"How do I claim my prize?")))),this.tabContent}};s.style=":host{display:block}.TabContent{font-size:14px;color:#000;font-weight:normal}";const a=class{constructor(e){t(this,e),this.disabled=!1,this.selected=!1,this.selectedIndex=0,this.tabs=[{label:"How to Play"},{label:"About"},{label:"FAQs"}]}connectedCallback(){}render(){return e("div",null,e("div",{class:"Tabs"},this.tabs.map(((t,o)=>e("button",{class:"TabButton"+(this.selectedIndex==o?" Active":""),onClick:()=>this.selectedIndex=o},t.label)))),e("div",null,e("helper-tab",{selectedIndex:this.selectedIndex})))}get host(){return o(this)}};a.style='@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@100&display=swap");:host{display:block;font-family:"Roboto", sans-serif}.Tabs{display:flex;gap:10px;overflow-x:auto}.TabButton{cursor:pointer;width:auto;border-radius:4px;padding:8px 15px;margin:5px 0 10px;border:1px solid #009993;background:#FFF;color:#000;font-size:12px;transition:all 0.2s linear;text-align:center;letter-spacing:0;white-space:nowrap}.TabButton:hover{background:#F1F1F1}.TabButton.Active{background:#009993;color:#FFF}';export{s as helper_tab,a as helper_tabs}
|
package/dist/stencil.config.js
CHANGED
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as s,g as o}from"./p-39661e66.js";const a=class{constructor(s){t(this,s),this.selectedIndex=0}connectedCallback(){}render(){return[s("div",null,"Reference site about Lorem Ipsum, giving information on its origins, as well as a random Lipsum generator.",this.selectedIndex+1)]}};a.style=":host{display:block}";const e=class{constructor(s){t(this,s),this.disabled=!1,this.selected=!1,this.selectedIndex=0,this.tabs=[{label:"Draw Details"},{label:"Winnings"},{label:"How to Play"},{label:"Game Odds"},{label:"FAQs"}]}connectedCallback(){}render(){return s("div",null,s("div",{class:"Tabs"},this.tabs.map(((t,o)=>s("button",{class:"TabButton"+(this.selectedIndex==o?" Active":""),onClick:()=>this.selectedIndex=o},t.label)))),s("div",null,s("helper-tab",{selectedIndex:this.selectedIndex})))}get host(){return o(this)}};e.style='@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@100&display=swap");:host{display:block;font-family:"Roboto", sans-serif}.Tabs{display:flex;gap:10px;overflow-x:auto}.TabButton{cursor:pointer;width:auto;border-radius:4px;padding:8px 15px;margin:5px 0 10px;border:1px solid #009993;background:#FFF;color:#000;font-size:12px;transition:all 0.2s linear;text-align:center;letter-spacing:0;white-space:nowrap}.TabButton:hover{background:#F1F1F1}.TabButton.Active{background:#009993;color:#FFF}';export{a as helper_tab,e as helper_tabs}
|