@vandeurenglenn/lite-elements 0.3.55 → 0.3.56
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/exports/bundle/banner.js +2 -2
- package/exports/bundle/button.js +2 -2
- package/exports/bundle/card.js +2 -2
- package/exports/bundle/code.js +3 -3
- package/exports/bundle/custom-element-B_TPyPQO.js +1 -0
- package/exports/bundle/demo-elements.js +1 -1
- package/exports/bundle/demo-icons.js +3 -3
- package/exports/bundle/demo-shell.js +2 -2
- package/exports/bundle/demo.js +2 -2
- package/exports/bundle/dialog.js +6 -6
- package/exports/bundle/divider.js +2 -2
- package/exports/bundle/drawer-button.js +2 -2
- package/exports/bundle/drawer-item.js +3 -3
- package/exports/bundle/drawer-layout.js +1 -1
- package/exports/bundle/drawer.js +2 -2
- package/exports/bundle/dropdown-menu.js +2 -2
- package/exports/bundle/dropdown.js +2 -2
- package/exports/bundle/elements.js +1 -1
- package/exports/bundle/elevation.js +2 -2
- package/exports/bundle/fab.js +2 -2
- package/exports/bundle/icon-button.js +3 -3
- package/exports/bundle/icon-set.js +1 -1
- package/exports/bundle/icon.js +2 -2
- package/exports/bundle/input.js +2 -2
- package/exports/bundle/list-item.js +2 -2
- package/exports/bundle/menu.js +2 -2
- package/exports/bundle/minute-field.js +2 -2
- package/exports/bundle/notification.js +1 -1
- package/exports/bundle/notifications.js +2 -2
- package/exports/bundle/pane.js +2 -2
- package/exports/bundle/prompt.js +23 -0
- package/exports/bundle/rail.js +1 -1
- package/exports/bundle/root.js +1 -1
- package/exports/bundle/section.js +3 -3
- package/exports/bundle/section2.js +2 -2
- package/exports/bundle/selector.js +2 -2
- package/exports/bundle/summary-mirror.js +2 -2
- package/exports/bundle/summary.js +3 -3
- package/exports/bundle/supporting-pane.js +2 -2
- package/exports/bundle/tab.js +2 -2
- package/exports/bundle/tabs.js +2 -2
- package/exports/bundle/text-field.js +2 -2
- package/exports/bundle/theme.js +1 -1
- package/exports/bundle/time-picker.js +2 -2
- package/exports/bundle/toggle-button.js +1 -1
- package/exports/bundle/toggle.js +2 -2
- package/exports/bundle/top-app-bar.js +2 -2
- package/exports/bundle/{custom-element-CAdbJRVg.js → tslib.es6-B87RQr7F.js} +1 -1
- package/exports/bundle/typography.js +2 -2
- package/exports/bundle/upload-file.js +2 -2
- package/exports/bundle/upload-image.js +75 -75
- package/exports/prompt/prompt.d.ts +9 -0
- package/exports/prompt.js +68 -0
- package/exports/theme/theme.d.ts +1 -1
- package/exports/theme.js +2 -1
- package/package.json +9 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as t,a as e
|
|
1
|
+
import{_ as t,a as e}from"./tslib.es6-B87RQr7F.js";import{r as o,i,x as s,s as n}from"./property-FNGRBR93.js";import{e as a}from"./custom-element-B_TPyPQO.js";import"./notification.js";import"./icon.js";import"./pane.js";import"./row-Bc6ZibAv.js";import"./property-ChyTplU0.js";import"./column-C9T77S9n.js";import"./elevation.js";import"./icon-button.js";import"./button.js";let r=(()=>{let r,c,l,p=[a("custom-notifications")],m=[],h=n,u=[],d=[];return class extends h{static{c=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(h[Symbol.metadata]??null):void 0;l=[o({type:Boolean,reflect:!0})],t(this,null,l,{kind:"accessor",name:"open",static:!1,private:!1,access:{has:t=>"open"in t,get:t=>t.open,set:(t,e)=>{t.open=e}},metadata:e},u,d),t(null,r={value:c},p,{kind:"class",name:c.name,metadata:e},null,m),c=r.value,e&&Object.defineProperty(c,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}#t=e(this,u,void 0);get open(){return this.#t}set open(t){this.#t=t}get _list(){return this.shadowRoot.querySelector(".list")}createNotification({title:t,message:e,image:o},i=3e3){const s=document.createElement("custom-notification");s.title=t,s.message=e,s.image=o,i&&setTimeout((()=>{this.removeChild(s);const i=document.createElement("custom-notification");i.image=o,i.title=t,i.message=e,this._list.appendChild(i)}),i),this.appendChild(s)}_onclick(){const t=Array.from(this._list.querySelectorAll("custom-notification"));for(const e of t)this._list.removeChild(e);this.open=!1}static styles=[i`
|
|
2
2
|
:host {
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
@@ -41,7 +41,7 @@ import{_ as t,a as e,e as o}from"./custom-element-CAdbJRVg.js";import{r as i,i a
|
|
|
41
41
|
custom-icon {
|
|
42
42
|
pointer-events: auto;
|
|
43
43
|
}
|
|
44
|
-
`];render(){return
|
|
44
|
+
`];render(){return s`
|
|
45
45
|
<flex-row style="margin-top: 12px;margin-right: 12px;">
|
|
46
46
|
<flex-it></flex-it>
|
|
47
47
|
<custom-icon
|
package/exports/bundle/pane.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as e,a as t
|
|
1
|
+
import{_ as e,a as t}from"./tslib.es6-B87RQr7F.js";import{i as s,r as o,x as a,s as i}from"./property-FNGRBR93.js";import{e as r}from"./custom-element-B_TPyPQO.js";import"./elevation.js";import"./icon-button.js";import"./icon.js";import"./button.js";var n=s`
|
|
2
2
|
:host {
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
@@ -86,7 +86,7 @@ import{_ as e,a as t,e as s}from"./custom-element-CAdbJRVg.js";import{i as o,r a
|
|
|
86
86
|
box-sizing: border-box;
|
|
87
87
|
align-items: center;
|
|
88
88
|
}
|
|
89
|
-
`;let c=(()=>{let
|
|
89
|
+
`;let c=(()=>{let s,c,l,m,d,h,p,g,u=[r("custom-pane")],f=[],v=i,y=[],_=[],b=[],x=[],w=[],j=[],k=[],z=[],S=[],B=[],P=[],X=[];return class extends v{static{c=this}static{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(v[Symbol.metadata]??null):void 0;l=[o({type:Boolean,reflect:!0})],m=[o({type:Boolean,reflect:!0})],d=[o({type:String,reflect:!0})],h=[o({type:Boolean,reflect:!0})],p=[o({type:Boolean,reflect:!0})],g=[o({type:String})],e(this,null,l,{kind:"accessor",name:"open",static:!1,private:!1,access:{has:e=>"open"in e,get:e=>e.open,set:(e,t)=>{e.open=t}},metadata:t},y,_),e(this,null,m,{kind:"accessor",name:"mobile",static:!1,private:!1,access:{has:e=>"mobile"in e,get:e=>e.mobile,set:(e,t)=>{e.mobile=t}},metadata:t},b,x),e(this,null,d,{kind:"accessor",name:"type",static:!1,private:!1,access:{has:e=>"type"in e,get:e=>e.type,set:(e,t)=>{e.type=t}},metadata:t},w,j),e(this,null,h,{kind:"accessor",name:"left",static:!1,private:!1,access:{has:e=>"left"in e,get:e=>e.left,set:(e,t)=>{e.left=t}},metadata:t},k,z),e(this,null,p,{kind:"accessor",name:"right",static:!1,private:!1,access:{has:e=>"right"in e,get:e=>e.right,set:(e,t)=>{e.right=t}},metadata:t},S,B),e(this,null,g,{kind:"accessor",name:"id",static:!1,private:!1,access:{has:e=>"id"in e,get:e=>e.id,set:(e,t)=>{e.id=t}},metadata:t},P,X),e(null,s={value:c},u,{kind:"class",name:c.name,metadata:t},null,f),c=s.value,t&&Object.defineProperty(c,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}#e=t(this,y,!1);get open(){return this.#e}set open(e){this.#e=e}#t=(t(this,_),t(this,b,!1));get mobile(){return this.#t}set mobile(e){this.#t=e}#s=(t(this,x),t(this,w,void 0));get type(){return this.#s}set type(e){this.#s=e}#o=(t(this,j),t(this,k,!0));get left(){return this.#o}set left(e){this.#o=e}#a=(t(this,z),t(this,S,!1));get right(){return this.#a}set right(e){this.#a=e}#i=(t(this,B),t(this,P,void 0));get id(){return this.#i}set id(e){this.#i=e}closePane(e){e.stopPropagation(),this.open=!1,document.dispatchEvent(new CustomEvent("custom-pane-close",{detail:this.id||""+(this.left?"left":"right")}))}static styles=[n];render(){return a`
|
|
90
90
|
<custom-elevation></custom-elevation>
|
|
91
91
|
<aside>
|
|
92
92
|
<slot name="header">
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import{_ as t,a as e}from"./tslib.es6-B87RQr7F.js";import{r as o,i as s,x as r,s as a}from"./property-FNGRBR93.js";globalThis.customPrompt=t=>{const e=document.createElement("custom-prompt");return e.promptTitle=t,document.body.appendChild(e),new Promise((t=>{e.addEventListener("close",(({detail:o})=>{e.remove(),t(o)}))}))};let i=(()=>{let i,l=a,c=[],n=[];return class CustomPrompt extends l{static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(l[Symbol.metadata]??null):void 0;i=[o({type:String})],t(this,null,i,{kind:"accessor",name:"promptTitle",static:!1,private:!1,access:{has:t=>"promptTitle"in t,get:t=>t.promptTitle,set:(t,e)=>{t.promptTitle=e}},metadata:e},c,n),e&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}#t=e(this,c,"Prompt Title");get promptTitle(){return this.#t}set promptTitle(t){this.#t=t}constructor(t){super(),this.setAttribute("prompt-title",t)}cancel=(e(this,n),()=>this.dispatchEvent(new CustomEvent("close",{detail:void 0})));ok=()=>this.dispatchEvent(new CustomEvent("close",{detail:this.shadowRoot.querySelector("input").value}));static styles=[s`
|
|
2
|
+
:host {
|
|
3
|
+
display: contents;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
footer {
|
|
7
|
+
display: flex;
|
|
8
|
+
justify-content: flex-end;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
input {
|
|
12
|
+
background: var(--background);
|
|
13
|
+
}
|
|
14
|
+
`];render(){return r`
|
|
15
|
+
<custom-dialog>
|
|
16
|
+
<header slot="header">${this.promptTitle}</header>
|
|
17
|
+
<input />
|
|
18
|
+
<footer slot="actions">
|
|
19
|
+
<custom-button label="Cancel" action="cancel" @click=${this.cancel}></custom-button>
|
|
20
|
+
<custom-button label="Ok" action="ok" @click=${this.ok}></custom-button>
|
|
21
|
+
</footer>
|
|
22
|
+
</custom-dialog>
|
|
23
|
+
`}}})();export{i as CustomPrompt};
|
package/exports/bundle/rail.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as t,a as e
|
|
1
|
+
import{_ as t,a as e}from"./tslib.es6-B87RQr7F.js";import{r as s,x as o,s as a}from"./property-FNGRBR93.js";import{e as i}from"./custom-element-B_TPyPQO.js";import"./pane.js";import"./elevation.js";import"./icon-button.js";import"./button.js";import"./icon.js";let l=(()=>{let l,r,n,c,m,p,h=[i("custom-rail")],d=[],y=a,g=[],u=[],b=[],f=[],_=[],v=[],x=[],j=[];return class extends y{static{r=this}static{const o="function"==typeof Symbol&&Symbol.metadata?Object.create(y[Symbol.metadata]??null):void 0;n=[s({type:Boolean,reflect:!0})],c=[s({type:Boolean,reflect:!0})],m=[s({type:String,reflect:!0})],p=[s({type:Boolean})],t(this,null,n,{kind:"accessor",name:"open",static:!1,private:!1,access:{has:t=>"open"in t,get:t=>t.open,set:(t,e)=>{t.open=e}},metadata:o},g,u),t(this,null,c,{kind:"accessor",name:"mobile",static:!1,private:!1,access:{has:t=>"mobile"in t,get:t=>t.mobile,set:(t,e)=>{t.mobile=e}},metadata:o},b,f),t(this,null,m,{kind:"accessor",name:"type",static:!1,private:!1,access:{has:t=>"type"in t,get:t=>t.type,set:(t,e)=>{t.type=e}},metadata:o},_,v),t(this,null,p,{kind:"accessor",name:"right",static:!1,private:!1,access:{has:t=>"right"in t,get:t=>t.right,set:(t,e)=>{t.right=e}},metadata:o},x,j),t(null,l={value:r},h,{kind:"class",name:r.name,metadata:o},null,d),r=l.value,o&&Object.defineProperty(r,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:o}),e(r,d)}#t=e(this,g,!1);get open(){return this.#t}set open(t){this.#t=t}#e=(e(this,u),e(this,b,!1));get mobile(){return this.#e}set mobile(t){this.#e=t}#s=(e(this,f),e(this,_,void 0));get type(){return this.#s}set type(t){this.#s=t}#o=(e(this,v),e(this,x,!1));get right(){return this.#o}set right(t){this.#o=t}render(){return o`<style>
|
|
2
2
|
:host {
|
|
3
3
|
display: contents;
|
|
4
4
|
}
|
package/exports/bundle/root.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as t,a as e
|
|
1
|
+
import{_ as t,a as e}from"./tslib.es6-B87RQr7F.js";import{i as a,x as s,s as o}from"./property-FNGRBR93.js";import{e as l}from"./custom-element-B_TPyPQO.js";import"./theme.js";let m=(()=>{let m,r,n=[l("custom-root")],c=[],i=o;return class extends i{static{r=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(i[Symbol.metadata]??null):void 0;t(null,m={value:r},n,{kind:"class",name:r.name,metadata:e},null,c),r=m.value,e&&Object.defineProperty(r,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static styles=[a`
|
|
2
2
|
:host {
|
|
3
3
|
display: contents;
|
|
4
4
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import{_ as e,a as t
|
|
1
|
+
import{_ as e,a as t}from"./tslib.es6-B87RQr7F.js";import{i as o,x as s,s as a}from"./property-FNGRBR93.js";import{e as l}from"./custom-element-B_TPyPQO.js";import"./section2.js";import"./code.js";import"./scroll-mixin.js";import"./elevation.js";let r=(()=>{let r,c,n=[l("demo-section")],i=[],m=a;return class extends m{static{c=this}static{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(m[Symbol.metadata]??null):void 0;e(null,r={value:c},n,{kind:"class",name:c.name,metadata:t},null,i),c=r.value,t&&Object.defineProperty(c,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}async connectedCallback(){const e=this.shadowRoot.querySelector("slot").assignedElements();for(const o of e){const e=document.createElement("demo-code");e.code=await(t=o.outerHTML,t.replace(/(\ <\/(?=[^<\/]*$))/g,"<")),o.after(e)}var t}static styles=[o`
|
|
2
2
|
:host {
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
5
5
|
box-sizing: border-box;
|
|
6
6
|
}
|
|
7
|
-
`];render(){return
|
|
7
|
+
`];render(){return s`
|
|
8
8
|
<custom-section>
|
|
9
9
|
<slot></slot>
|
|
10
10
|
</custom-section>
|
|
11
|
-
`}static{t(
|
|
11
|
+
`}static{t(c,i)}},c})();export{r as DemoSection};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as e,a as t
|
|
1
|
+
import{_ as e,a as t}from"./tslib.es6-B87RQr7F.js";import{i as a,x as o,s as l}from"./property-FNGRBR93.js";import{e as n}from"./custom-element-B_TPyPQO.js";import{ScrollMixin as s}from"./scroll-mixin.js";import"./elevation.js";let r=(()=>{let r,i,m=[n("custom-section")],c=[],u=s(l);return class extends u{static{i=this}static{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(u[Symbol.metadata]??null):void 0;e(null,r={value:i},m,{kind:"class",name:i.name,metadata:t},null,c),i=r.value,t&&Object.defineProperty(i,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}static styles=[a`
|
|
2
2
|
:host {
|
|
3
3
|
display: flex;
|
|
4
4
|
justify-content: center;
|
|
@@ -16,7 +16,7 @@ import{_ as e,a as t,e as a}from"./custom-element-CAdbJRVg.js";import{i as o,x a
|
|
|
16
16
|
.content {
|
|
17
17
|
max-width: 720px;
|
|
18
18
|
}
|
|
19
|
-
`];render(){return
|
|
19
|
+
`];render(){return o`
|
|
20
20
|
<flex-column class="container">
|
|
21
21
|
<flex-column class="content">
|
|
22
22
|
<slot></slot>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as e,a as t
|
|
1
|
+
import{_ as e,a as t}from"./tslib.es6-B87RQr7F.js";import{i as a,x as o}from"./property-FNGRBR93.js";import{e as l}from"./custom-element-B_TPyPQO.js";import{SelectorBase as s}from"./selector-mixin.js";import"./select-mixin.js";let r=(()=>{let r,n,c=[l("custom-selector")],i=[],m=s;return class extends m{static{n=this}static{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(m[Symbol.metadata]??null):void 0;e(null,r={value:n},c,{kind:"class",name:n.name,metadata:t},null,i),n=r.value,t&&Object.defineProperty(n,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}static styles=[a`
|
|
2
2
|
:host {
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
@@ -28,4 +28,4 @@ import{_ as e,a as t,e as a}from"./custom-element-CAdbJRVg.js";import{i as o,x a
|
|
|
28
28
|
background: var(--md-sys-color-secondary-container-hover);
|
|
29
29
|
color: var(--md-sys-color-on-secondary-container);
|
|
30
30
|
}
|
|
31
|
-
`];render(){return
|
|
31
|
+
`];render(){return o`<slot></slot>`}static{t(n,i)}},n})();export{r as CustomSelector};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as t,a as e
|
|
1
|
+
import{_ as t,a as e}from"./tslib.es6-B87RQr7F.js";import{x as s,s as i}from"./property-FNGRBR93.js";import{e as l}from"./custom-element-B_TPyPQO.js";let a=(()=>{let a,o,r=[l("custom-summary-mirror")],m=[],h=i;return class extends h{static{o=this}static{const s="function"==typeof Symbol&&Symbol.metadata?Object.create(h[Symbol.metadata]??null):void 0;t(null,a={value:o},r,{kind:"class",name:o.name,metadata:s},null,m),o=a.value,s&&Object.defineProperty(o,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:s}),e(o,m)}connectedCallback(){const t=window.matchMedia("(min-width: 1200px)");this._matches(t),this._matches=this._matches.bind(this),t.onchange=this._matches}_matches({matches:t}){const e=this.querySelector('[slot="left"]'),s=this.querySelector('[slot="right"]');t?s.hasAttribute("switched")&&(e.removeAttribute("switched"),e.setAttribute("slot","right"),s.setAttribute("slot","left")):(e.setAttribute("switched",""),e.setAttribute("slot","right"),s.setAttribute("slot","left"))}get template(){return s`
|
|
2
2
|
<style>
|
|
3
3
|
:host {
|
|
4
4
|
display: flex;
|
|
@@ -17,4 +17,4 @@ import{_ as t,a as e,e as s}from"./custom-element-CAdbJRVg.js";import{x as i,s a
|
|
|
17
17
|
</style>
|
|
18
18
|
<slot name="left"></slot>
|
|
19
19
|
<slot name="right"></slot>
|
|
20
|
-
`}},o})();export{
|
|
20
|
+
`}},o})();export{a as CustomSummaryMirror};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as t,a as e
|
|
1
|
+
import{_ as t,a as e}from"./tslib.es6-B87RQr7F.js";import{i as a,x as l,s as o}from"./property-FNGRBR93.js";import{e as s}from"./custom-element-B_TPyPQO.js";let i=(()=>{let i,m,n=[s("custom-summary")],r=[],d=o;return class extends d{static{m=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(d[Symbol.metadata]??null):void 0;t(null,i={value:m},n,{kind:"class",name:m.name,metadata:e},null,r),m=i.value,e&&Object.defineProperty(m,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static styles=[a`
|
|
2
2
|
:host {
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
@@ -19,7 +19,7 @@ import{_ as t,a as e,e as a}from"./custom-element-CAdbJRVg.js";import{i as l,x a
|
|
|
19
19
|
padding-bottom: 0;
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
|
-
`];render(){return
|
|
22
|
+
`];render(){return l`
|
|
23
23
|
<slot name="left"></slot>
|
|
24
24
|
<slot name="right"></slot>
|
|
25
|
-
`}static{e(m,r)}},m})();export{
|
|
25
|
+
`}static{e(m,r)}},m})();export{i as CustomSummary};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as t,a as e
|
|
1
|
+
import{_ as t,a as e}from"./tslib.es6-B87RQr7F.js";import{r as s,x as a,s as o}from"./property-FNGRBR93.js";import{t as i}from"./query-DCTzLeFk.js";import{e as r}from"./custom-element-B_TPyPQO.js";import"./pane.js";import"./elevation.js";import"./icon-button.js";import"./button.js";import"./icon.js";let n=(()=>{let n,c,p,l,d,u,h,m=[r("custom-supporting-pane")],g=[],v=o,_=[],f=[],b=[],y=[],j=[],w=[],x=[],k=[],S=[],C=[];return class extends v{static{c=this}static{const a="function"==typeof Symbol&&Symbol.metadata?Object.create(v[Symbol.metadata]??null):void 0;p=[s({type:Boolean,reflect:!0})],l=[s({type:String,reflect:!0})],d=[s({type:Boolean,reflect:!0})],u=[s({type:String})],h=[i(".support")],t(this,null,p,{kind:"accessor",name:"open",static:!1,private:!1,access:{has:t=>"open"in t,get:t=>t.open,set:(t,e)=>{t.open=e}},metadata:a},_,f),t(this,null,l,{kind:"accessor",name:"variant",static:!1,private:!1,access:{has:t=>"variant"in t,get:t=>t.variant,set:(t,e)=>{t.variant=e}},metadata:a},b,y),t(this,null,d,{kind:"accessor",name:"left",static:!1,private:!1,access:{has:t=>"left"in t,get:t=>t.left,set:(t,e)=>{t.left=e}},metadata:a},j,w),t(this,null,u,{kind:"accessor",name:"id",static:!1,private:!1,access:{has:t=>"id"in t,get:t=>t.id,set:(t,e)=>{t.id=e}},metadata:a},x,k),t(this,null,h,{kind:"accessor",name:"supporting",static:!1,private:!1,access:{has:t=>"supporting"in t,get:t=>t.supporting,set:(t,e)=>{t.supporting=e}},metadata:a},S,C),t(null,n={value:c},m,{kind:"class",name:c.name,metadata:a},null,g),c=n.value,a&&Object.defineProperty(c,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:a}),e(c,g)}#t=e(this,_,!1);get open(){return this.#t}set open(t){this.#t=t}#e=(e(this,f),e(this,b,"expanded"));get variant(){return this.#e}set variant(t){this.#e=t}#s=(e(this,y),e(this,j,!1));get left(){return this.#s}set left(t){this.#s=t}#a=(e(this,w),e(this,x,void 0));get id(){return this.#a}set id(t){this.#a=t}#o=(e(this,k),e(this,S,void 0));get supporting(){return this.#o}set supporting(t){this.#o=t}onPaneClose({detail:t}){this.id===t&&(this.open=!1)}connectedCallback(){document.addEventListener("custom-pane-close",this.onPaneClose.bind(this)),document.addEventListener("custom-pane-open",(({detail:t})=>{this.id===t&&(this.open=!0)}))}render(){return a`<style>
|
|
2
2
|
:host {
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
@@ -44,4 +44,4 @@ import{_ as t,a as e,e as s}from"./custom-element-CAdbJRVg.js";import{r as a,x a
|
|
|
44
44
|
<slot name="supporting-header" slot="header"></slot>
|
|
45
45
|
<slot name="supporting-content"></slot>
|
|
46
46
|
</slot>
|
|
47
|
-
</custom-pane>`}constructor(){super(...arguments),e(this,C)}},c})();export{
|
|
47
|
+
</custom-pane>`}constructor(){super(...arguments),e(this,C)}},c})();export{n as CustomSupportingPane};
|
package/exports/bundle/tab.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as t,a as e
|
|
1
|
+
import{_ as t,a as e}from"./tslib.es6-B87RQr7F.js";import{x as a,s as o}from"./property-FNGRBR93.js";import{e as n}from"./custom-element-B_TPyPQO.js";let r=(()=>{let r,s,l=[n("custom-tab")],i=[],m=o;return class extends m{static{s=this}static{const a="function"==typeof Symbol&&Symbol.metadata?Object.create(m[Symbol.metadata]??null):void 0;t(null,r={value:s},l,{kind:"class",name:s.name,metadata:a},null,i),s=r.value,a&&Object.defineProperty(s,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:a}),e(s,i)}render(){return a`
|
|
2
2
|
<style>
|
|
3
3
|
:host {
|
|
4
4
|
display: flex;
|
|
@@ -19,4 +19,4 @@ import{_ as t,a as e,e as a}from"./custom-element-CAdbJRVg.js";import{x as o,s a
|
|
|
19
19
|
}
|
|
20
20
|
</style>
|
|
21
21
|
<slot></slot>
|
|
22
|
-
`}},
|
|
22
|
+
`}},s})();export{r as CustomTab};
|
package/exports/bundle/tabs.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as r,a as o
|
|
1
|
+
import{_ as r,a as o}from"./tslib.es6-B87RQr7F.js";import{x as t}from"./property-FNGRBR93.js";import{e}from"./custom-element-B_TPyPQO.js";import{SelectorBase as s}from"./selector-mixin.js";import"./tab.js";import"./select-mixin.js";let a=(()=>{let a,l,c=[e("custom-tabs")],d=[],m=s;return class extends m{static{l=this}static{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(m[Symbol.metadata]??null):void 0;r(null,a={value:l},c,{kind:"class",name:l.name,metadata:t},null,d),l=a.value,t&&Object.defineProperty(l,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t}),o(l,d)}render(){return t`
|
|
2
2
|
<style>
|
|
3
3
|
:host {
|
|
4
4
|
--custom-tabs-background: var(---md-sys-color-surface);
|
|
@@ -48,4 +48,4 @@ import{_ as r,a as o,e as t}from"./custom-element-CAdbJRVg.js";import{x as e}fro
|
|
|
48
48
|
}
|
|
49
49
|
</style>
|
|
50
50
|
<slot></slot>
|
|
51
|
-
`}},l})();export{
|
|
51
|
+
`}},l})();export{a as CustomTabs};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as
|
|
1
|
+
import{_ as t,a}from"./tslib.es6-B87RQr7F.js";import{r as e,i as n,x as s,s as i}from"./property-FNGRBR93.js";import{t as o}from"./query-DCTzLeFk.js";import{e as l}from"./custom-element-B_TPyPQO.js";let c=(()=>{let c,r,g,h,d,I,m=[l("text-field")],S=[],_=i,u=[],p=[],b=[],v=[],L=[],y=[],f=[],T=[];return class extends _{static{r=this}static{const a="function"==typeof Symbol&&Symbol.metadata?Object.create(_[Symbol.metadata]??null):void 0;g=[o('slot[name="leading-icon"]')],h=[o('slot[name="trailing-icon"]')],d=[e({type:Boolean,reflect:!0,attribute:"has-leading-icon"})],I=[e({type:Boolean,reflect:!0,attribute:"has-trailing-icon"})],t(this,null,g,{kind:"accessor",name:"leadingIconSlot",static:!1,private:!1,access:{has:t=>"leadingIconSlot"in t,get:t=>t.leadingIconSlot,set:(t,a)=>{t.leadingIconSlot=a}},metadata:a},u,p),t(this,null,h,{kind:"accessor",name:"trailingIconSlot",static:!1,private:!1,access:{has:t=>"trailingIconSlot"in t,get:t=>t.trailingIconSlot,set:(t,a)=>{t.trailingIconSlot=a}},metadata:a},b,v),t(this,null,d,{kind:"accessor",name:"hasLeadingIcon",static:!1,private:!1,access:{has:t=>"hasLeadingIcon"in t,get:t=>t.hasLeadingIcon,set:(t,a)=>{t.hasLeadingIcon=a}},metadata:a},L,y),t(this,null,I,{kind:"accessor",name:"hasTrailingIcon",static:!1,private:!1,access:{has:t=>"hasTrailingIcon"in t,get:t=>t.hasTrailingIcon,set:(t,a)=>{t.hasTrailingIcon=a}},metadata:a},f,T),t(null,c={value:r},m,{kind:"class",name:r.name,metadata:a},null,S),r=c.value,a&&Object.defineProperty(r,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:a})}#t=a(this,u,void 0);get leadingIconSlot(){return this.#t}set leadingIconSlot(t){this.#t=t}#a=(a(this,p),a(this,b,void 0));get trailingIconSlot(){return this.#a}set trailingIconSlot(t){this.#a=t}#e=(a(this,v),a(this,L,void 0));get hasLeadingIcon(){return this.#e}set hasLeadingIcon(t){this.#e=t}#n=(a(this,y),a(this,f,void 0));get hasTrailingIcon(){return this.#n}set hasTrailingIcon(t){this.#n=t}#s=(a(this,T),()=>{this.leadingIconSlot.assignedElements.length>0?this.hasLeadingIcon=!0:this.hasLeadingIcon=!1});#i=()=>{this.trailingIconSlot.assignedElements.length>0?this.hasTrailingIcon=!0:this.hasTrailingIcon=!1};connectedCallback(){this.leadingIconSlot.addEventListener("slotchange",this.#s),this.trailingIconSlot.addEventListener("slotchange",this.#i)}static styles=[n`
|
|
2
2
|
:host {
|
|
3
3
|
display: block;
|
|
4
4
|
}
|
|
@@ -7,4 +7,4 @@ import{_ as a,a as t,e as n}from"./custom-element-CAdbJRVg.js";import{r as e,i a
|
|
|
7
7
|
|
|
8
8
|
:host([has-leading-icon]) {
|
|
9
9
|
}
|
|
10
|
-
`];render(){return
|
|
10
|
+
`];render(){return s` <slot name="leading-icon"></slot> `}static{a(r,S)}},r})();export{c as TextField};
|
package/exports/bundle/theme.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as e,a as t
|
|
1
|
+
import{_ as e,a as t}from"./tslib.es6-B87RQr7F.js";import{r as s,s as a}from"./property-FNGRBR93.js";import{e as o}from"./custom-element-B_TPyPQO.js";let i=(()=>{let i,r,n,l,c,m,d=[o("custom-theme")],h=[],g=a,u=[],b=[],y=[],p=[],f=[],_=[],w=[],S=[];return class extends g{static{r=this}static{const a="function"==typeof Symbol&&Symbol.metadata?Object.create(g[Symbol.metadata]??null):void 0;n=[s({type:Boolean,attribute:"load-font"})],l=[s({type:Boolean,attribute:"load-symbols"})],c=[s({type:String,attribute:"mobile-trigger"})],m=[s({type:Boolean})],e(this,null,n,{kind:"accessor",name:"loadFont",static:!1,private:!1,access:{has:e=>"loadFont"in e,get:e=>e.loadFont,set:(e,t)=>{e.loadFont=t}},metadata:a},u,b),e(this,null,l,{kind:"accessor",name:"loadSymbols",static:!1,private:!1,access:{has:e=>"loadSymbols"in e,get:e=>e.loadSymbols,set:(e,t)=>{e.loadSymbols=t}},metadata:a},y,p),e(this,null,c,{kind:"accessor",name:"mobileTrigger",static:!1,private:!1,access:{has:e=>"mobileTrigger"in e,get:e=>e.mobileTrigger,set:(e,t)=>{e.mobileTrigger=t}},metadata:a},f,_),e(this,null,m,{kind:"accessor",name:"narrow",static:!1,private:!1,access:{has:e=>"narrow"in e,get:e=>e.narrow,set:(e,t)=>{e.narrow=t}},metadata:a},w,S),e(null,i={value:r},d,{kind:"class",name:r.name,metadata:a},null,h),r=i.value,a&&Object.defineProperty(r,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:a}),t(r,h)}#e;#t=t(this,u,!0);get loadFont(){return this.#t}set loadFont(e){this.#t=e}#s=(t(this,b),t(this,y,!0));get loadSymbols(){return this.#s}set loadSymbols(e){this.#s=e}#a=(t(this,p),t(this,f,"(max-width: 860px)"));get mobileTrigger(){return this.#a}set mobileTrigger(e){this.#a=e}#o=(t(this,_),t(this,w,void 0));get narrow(){return this.#o}set narrow(e){this.#o=e}#i(e,t,s){let a=document.createElement("link");if(a.rel=t,a.href=e,s)for(const e of s)a.setAttribute(e,"");document.head.appendChild(a)}#r(){let e="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@48,400,0,0&display=swap";return globalThis.symbols&&(e+=`&text=${globalThis.symbols}`),e}onChange(e,t){"mobileTrigger"===e&&this.#n()}#n(){this.#e=matchMedia(this.mobileTrigger),this.#e.onchange=this.#l,this.#l({matches:this.#e.matches})}async connectedCallback(){await this.rendered,this.load("./themes/default/theme.css");const e=document.createElement("style");e.innerHTML="\n html, body {\n inset: 0;\n position: absolute;\n margin: 0;\n background: var(--md-sys-color-background);\n color: var(--md-sys-color-on-background);\n overflow: hidden;\n }",document.head.appendChild(e),(this.loadFont||this.loadSymbols)&&this.#i("https://fonts.googleapis.com","preconnect"),this.#i("https://fonts.gstatic.com","preconnect",["crossorigin"]),this.loadFont&&this.#i("https://fonts.googleapis.com/css2?family=Roboto&display=swap","stylesheet"),this.loadSymbols&&this.#i(this.#r(),"stylesheet")}#l({matches:e}){this.narrow=e,document.dispatchEvent(new CustomEvent("custom-theme-narrow",{detail:this.narrow}))}set language(e){this.setAttribute("language",e)}get language(){return this.getAttribute("language")||"css"}async load(e){if("js"===this.language){const t=await import(e);for(const[e,s]of Object.entries(t)){const t=`--${e.replace(/([a-zA-Z])(?=[A-Z])/g,"$1-").toLowerCase()}`;document.body.style.setProperty(t,s)}}else if("css"===this.language){const t=document.createElement("link");t.rel="stylesheet",t.href=e,document.head.appendChild(t)}}constructor(){super(...arguments),t(this,S)}},r})();export{i as CustomTheme};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import{_ as t,a as e
|
|
1
|
+
import{_ as t,a as e}from"./tslib.es6-B87RQr7F.js";import{i as a,x as s,s as i}from"./property-FNGRBR93.js";import{e as l}from"./custom-element-B_TPyPQO.js";import"./input.js";let c=(()=>{let c,n,m=[l("custom-time-picker")],p=[],o=i;return class extends o{static{n=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(o[Symbol.metadata]??null):void 0;t(null,c={value:n},m,{kind:"class",name:n.name,metadata:e},null,p),n=c.value,e&&Object.defineProperty(n,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static styles=[a`
|
|
2
2
|
:host {
|
|
3
3
|
display: block;
|
|
4
4
|
}
|
|
5
|
-
`];render(){return
|
|
5
|
+
`];render(){return s`
|
|
6
6
|
<time-picker-input></time-picker-input>
|
|
7
7
|
<div class="am-pm">
|
|
8
8
|
<span class="flex"></span>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as t,a as e
|
|
1
|
+
import{_ as t,a as e}from"./tslib.es6-B87RQr7F.js";import{r as s,x as a,s as o}from"./property-FNGRBR93.js";import{e as c}from"./custom-element-B_TPyPQO.js";import"./button.js";import"./toggle.js";import"./elevation.js";let i=(()=>{let i,r,l,g,n=[c("custom-toggle-button")],m=[],u=o,v=[],h=[],d=[],_=[];return class extends u{static{r=this}static{const a="function"==typeof Symbol&&Symbol.metadata?Object.create(u[Symbol.metadata]??null):void 0;l=[s({type:Number})],g=[s({type:Array})],t(this,null,l,{kind:"accessor",name:"active",static:!1,private:!1,access:{has:t=>"active"in t,get:t=>t.active,set:(t,e)=>{t.active=e}},metadata:a},v,h),t(this,null,g,{kind:"accessor",name:"togglers",static:!1,private:!1,access:{has:t=>"togglers"in t,get:t=>t.togglers,set:(t,e)=>{t.togglers=e}},metadata:a},d,_),t(null,i={value:r},n,{kind:"class",name:r.name,metadata:a},null,m),r=i.value,a&&Object.defineProperty(r,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:a}),e(r,m)}#t=e(this,v,0);get active(){return this.#t}set active(t){this.#t=t}#e=(e(this,h),e(this,d,void 0));get togglers(){return this.#e}set togglers(t){this.#e=t}get _toggle(){return this.shadowRoot.querySelector("custom-toggle")}_click=(e(this,_),()=>{this._toggle.next()});connectedCallback(){this.addEventListener("click",this._click)}disconnectedCallback(){this.removeEventListener("click",this._click)}_onactive=t=>{this.dispatchEvent(new CustomEvent("active",{detail:t.detail}))};render(){return a` <custom-button>
|
|
2
2
|
<custom-toggle slot="icon" .active=${this.active} @active=${this._onactive} .togglers=${this.togglers}>
|
|
3
3
|
</custom-toggle>
|
|
4
4
|
</custom-button>`}},r})();export{i as CustomToggleButton};
|
package/exports/bundle/toggle.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import{_ as t,a as e
|
|
1
|
+
import{_ as t,a as e}from"./tslib.es6-B87RQr7F.js";import{r as s,i as a,x as i,s as c}from"./property-FNGRBR93.js";import{e as o}from"./custom-element-B_TPyPQO.js";let r=(()=>{let r,n,g,l,h,v=[o("custom-toggle")],m=[],u=c,d=[],_=[],p=[],y=[],b=[],f=[];return class extends u{static{n=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(u[Symbol.metadata]??null):void 0;g=[s({type:Number})],l=[s({type:Array})],h=[s()],t(this,null,g,{kind:"accessor",name:"active",static:!1,private:!1,access:{has:t=>"active"in t,get:t=>t.active,set:(t,e)=>{t.active=e}},metadata:e},d,_),t(this,null,l,{kind:"accessor",name:"togglers",static:!1,private:!1,access:{has:t=>"togglers"in t,get:t=>t.togglers,set:(t,e)=>{t.togglers=e}},metadata:e},p,y),t(this,null,h,{kind:"accessor",name:"icon",static:!1,private:!1,access:{has:t=>"icon"in t,get:t=>t.icon,set:(t,e)=>{t.icon=e}},metadata:e},b,f),t(null,r={value:n},v,{kind:"class",name:n.name,metadata:e},null,m),n=r.value,e&&Object.defineProperty(n,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}#t=e(this,d,0);get active(){return this.#t}set active(t){this.#t=t}#e=(e(this,_),e(this,p,void 0));get togglers(){return this.#e}set togglers(t){this.#e=t}#s=(e(this,y),e(this,b,void 0));get icon(){return this.#s}set icon(t){this.#s=t}restartOnEnd=(e(this,f),!0);onChange(t,e){"active"===t&&this.dispatchEvent(new CustomEvent("active",{detail:this.active})),("active"===t&&this.togglers||"togglers"===t&&void 0!==this.active)&&(this.icon=this.togglers[this.active])}async next(){this.active<this.togglers.length-1?this.active+=1:this.restartOnEnd&&(this.active=0)}previous(){0!==this.active&&(this.active-=1)}static styles=[a`
|
|
2
2
|
:host {
|
|
3
3
|
display: contents;
|
|
4
4
|
}
|
|
5
|
-
`];render(){return
|
|
5
|
+
`];render(){return i`<custom-icon .icon=${this.icon}></custom-icon>`}static{e(n,m)}},n})();export{r as CustomToggle};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as t,a as e
|
|
1
|
+
import{_ as t,a as e}from"./tslib.es6-B87RQr7F.js";import{i as s,r as o,x as l,s as a}from"./property-FNGRBR93.js";import{e as r}from"./custom-element-B_TPyPQO.js";import"./it-Dft_Rjy-.js";import"./row-Bc6ZibAv.js";var i=s`
|
|
2
2
|
:host {
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
@@ -59,7 +59,7 @@ import{_ as t,a as e,e as s}from"./custom-element-CAdbJRVg.js";import{i as o,r a
|
|
|
59
59
|
custom-elevation {
|
|
60
60
|
border-radius: var(--md-sys-shape-corner-large);
|
|
61
61
|
}
|
|
62
|
-
`;let n=(()=>{let
|
|
62
|
+
`;let n=(()=>{let s,n,c,p,m=[r("custom-top-app-bar")],d=[],g=a,y=[],h=[],u=[],x=[];return class extends g{static{n=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(g[Symbol.metadata]??null):void 0;c=[o({type:String,reflect:!0})],p=[o({type:Boolean,reflect:!0})],t(this,null,c,{kind:"accessor",name:"type",static:!1,private:!1,access:{has:t=>"type"in t,get:t=>t.type,set:(t,e)=>{t.type=e}},metadata:e},y,h),t(this,null,p,{kind:"accessor",name:"scrolling",static:!1,private:!1,access:{has:t=>"scrolling"in t,get:t=>t.scrolling,set:(t,e)=>{t.scrolling=e}},metadata:e},u,x),t(null,s={value:n},m,{kind:"class",name:n.name,metadata:e},null,d),n=s.value,e&&Object.defineProperty(n,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}#t=e(this,y,"center-aligned");get type(){return this.#t}set type(t){this.#t=t}#e=(e(this,h),e(this,u,void 0));get scrolling(){return this.#e}set scrolling(t){this.#e=t}static styles=[i];connectedCallback(){document.addEventListener("custom-scroll",(({detail:t})=>{this.scrolling=t.scrolling}))}render(){return l`
|
|
63
63
|
<flex-column class="container">
|
|
64
64
|
<custom-elevation></custom-elevation>
|
|
65
65
|
<flex-row>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function e(e,t,r,n){var o,c=arguments.length,i=c<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(i=(c<3?o(i):c>3?o(t,r,i):o(t,r))||i);return c>3&&i&&Object.defineProperty(t,r,i),i}function t(e,t,r,n,o,c){function i(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var s,a=n.kind,f="getter"===a?"get":"setter"===a?"set":"value",l=!t&&e?n.static?e:e.prototype:null,
|
|
1
|
+
function e(e,t,r,n){var o,c=arguments.length,i=c<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(i=(c<3?o(i):c>3?o(t,r,i):o(t,r))||i);return c>3&&i&&Object.defineProperty(t,r,i),i}function t(e,t,r,n,o,c){function i(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var s,a=n.kind,f="getter"===a?"get":"setter"===a?"set":"value",l=!t&&e?n.static?e:e.prototype:null,p=t||(l?Object.getOwnPropertyDescriptor(l,n.name):{}),u=!1,d=r.length-1;d>=0;d--){var g={};for(var y in n)g[y]="access"===y?{}:n[y];for(var y in n.access)g.access[y]=n.access[y];g.addInitializer=function(e){if(u)throw new TypeError("Cannot add initializers after decoration has completed");c.push(i(e||null))};var h=(0,r[d])("accessor"===a?{get:p.get,set:p.set}:p[f],g);if("accessor"===a){if(void 0===h)continue;if(null===h||"object"!=typeof h)throw new TypeError("Object expected");(s=i(h.get))&&(p.get=s),(s=i(h.set))&&(p.set=s),(s=i(h.init))&&o.unshift(s)}else(s=i(h))&&("field"===a?o.unshift(s):p[f]=s)}l&&Object.defineProperty(l,n.name,p),u=!0}function r(e,t,r){for(var n=arguments.length>2,o=0;o<t.length;o++)r=n?t[o].call(e,r):t[o].call(e);return n?r:void 0}"function"==typeof SuppressedError&&SuppressedError;export{t as _,r as a,e as b};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as e,a as t
|
|
1
|
+
import{_ as e,a as t}from"./tslib.es6-B87RQr7F.js";import{r as s,i as a,x as l,s as y}from"./property-FNGRBR93.js";import{e as i}from"./custom-element-B_TPyPQO.js";let m=(()=>{let m,r,o,n,d=[i("custom-typography")],c=[],f=y,p=[],g=[],h=[],v=[];return class extends f{static{r=this}static{const t="function"==typeof Symbol&&Symbol.metadata?Object.create(f[Symbol.metadata]??null):void 0;o=[s({type:String,reflect:!0})],n=[s({type:String,reflect:!0})],e(this,null,o,{kind:"accessor",name:"type",static:!1,private:!1,access:{has:e=>"type"in e,get:e=>e.type,set:(e,t)=>{e.type=t}},metadata:t},p,g),e(this,null,n,{kind:"accessor",name:"size",static:!1,private:!1,access:{has:e=>"size"in e,get:e=>e.size,set:(e,t)=>{e.size=t}},metadata:t},h,v),e(null,m={value:r},d,{kind:"class",name:r.name,metadata:t},null,c),r=m.value,t&&Object.defineProperty(r,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}#e=t(this,p,"title");get type(){return this.#e}set type(e){this.#e=e}#t=(t(this,g),t(this,h,"large"));get size(){return this.#t}set size(e){this.#t=e}static styles=[a`
|
|
2
2
|
:host {
|
|
3
3
|
display: contents;
|
|
4
4
|
}
|
|
@@ -153,4 +153,4 @@ import{_ as e,a as t,e as s}from"./custom-element-CAdbJRVg.js";import{r as a,i a
|
|
|
153
153
|
text-transform: var(--md-sys-typescale-title-small-text-transform);
|
|
154
154
|
text-decoration: var(--md-sys-typescale-title-small-text-decoration);
|
|
155
155
|
}
|
|
156
|
-
`];render(){return
|
|
156
|
+
`];render(){return l` <slot></slot> `}constructor(){super(...arguments),t(this,v)}static{t(r,c)}},r})();export{m as CustomTypography};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as t,a as e
|
|
1
|
+
import{_ as t,a as e}from"./tslib.es6-B87RQr7F.js";import{r as l,i as s,x as a,s as i}from"./property-FNGRBR93.js";import{e as r}from"./custom-element-B_TPyPQO.js";let o=(()=>{let o,m,u,n=[r("custom-upload-file")],p=[],c=i,d=[],y=[];return class extends c{static{m=this}static{const s="function"==typeof Symbol&&Symbol.metadata?Object.create(c[Symbol.metadata]??null):void 0;u=[l({type:Boolean})],t(this,null,u,{kind:"accessor",name:"multiple",static:!1,private:!1,access:{has:t=>"multiple"in t,get:t=>t.multiple,set:(t,e)=>{t.multiple=e}},metadata:s},d,y),t(null,o={value:m},n,{kind:"class",name:m.name,metadata:s},null,p),m=o.value,s&&Object.defineProperty(m,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:s}),e(m,p)}#t=e(this,d,void 0);get multiple(){return this.#t}set multiple(t){this.#t=t}static get styles(){return[s`
|
|
2
2
|
:host {
|
|
3
3
|
display: flex;
|
|
4
4
|
}
|
|
@@ -6,4 +6,4 @@ import{_ as t,a as e,e as l}from"./custom-element-CAdbJRVg.js";import{r as a,i a
|
|
|
6
6
|
input {
|
|
7
7
|
display: hidden;
|
|
8
8
|
}
|
|
9
|
-
`]}render(){return
|
|
9
|
+
`]}render(){return a`<input type="file" ?multiple=${this.multiple} />`}constructor(){super(...arguments),e(this,y)}},m})();export{o as CustomUploadFile};
|