smoothly 1.0.0-alpha.76 → 1.0.0-alpha.78
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/{index-6ae370b4.js → index-43af753b.js} +1 -4
- package/dist/cjs/index-43af753b.js.map +1 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/smoothly-accordion_66.cjs.entry.js +31 -22
- package/dist/cjs/smoothly-accordion_66.cjs.entry.js.map +1 -1
- package/dist/cjs/smoothly-address-display.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-address.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-addresses.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-color.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-country.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-display-date-time.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-google-font.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-radio-group.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-reorder.cjs.entry.js +4 -4
- package/dist/cjs/smoothly-reorder.cjs.entry.js.map +1 -1
- package/dist/cjs/smoothly-trigger-sink.cjs.entry.js +1 -1
- package/dist/cjs/smoothly-trigger-source.cjs.entry.js +1 -1
- package/dist/cjs/smoothly.cjs.js +2 -2
- package/dist/collection/components/app/index.js +2 -8
- package/dist/collection/components/app/index.js.map +1 -1
- package/dist/collection/components/app/style.css +6 -6
- package/dist/collection/components/burger/index.js +33 -18
- package/dist/collection/components/burger/index.js.map +1 -1
- package/dist/collection/components/burger/style.css +2 -2
- package/dist/collection/components/display-demo/index.js +1 -1
- package/dist/collection/components/display-demo/index.js.map +1 -1
- package/dist/custom-elements/index.js +32 -23
- package/dist/custom-elements/index.js.map +1 -1
- package/dist/esm/{index-c196715a.js → index-258984d3.js} +2 -4
- package/dist/esm/index-258984d3.js.map +1 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/smoothly-accordion_66.entry.js +31 -22
- package/dist/esm/smoothly-accordion_66.entry.js.map +1 -1
- package/dist/esm/smoothly-address-display.entry.js +1 -1
- package/dist/esm/smoothly-address.entry.js +1 -1
- package/dist/esm/smoothly-addresses.entry.js +1 -1
- package/dist/esm/smoothly-color.entry.js +1 -1
- package/dist/esm/smoothly-country.entry.js +1 -1
- package/dist/esm/smoothly-display-date-time.entry.js +1 -1
- package/dist/esm/smoothly-google-font.entry.js +1 -1
- package/dist/esm/smoothly-radio-group.entry.js +1 -1
- package/dist/esm/smoothly-reorder.entry.js +2 -2
- package/dist/esm/smoothly-reorder.entry.js.map +1 -1
- package/dist/esm/smoothly-trigger-sink.entry.js +1 -1
- package/dist/esm/smoothly-trigger-source.entry.js +1 -1
- package/dist/esm/smoothly.js +3 -3
- package/dist/smoothly/{p-663ccbd0.entry.js → p-12182a73.entry.js} +2 -2
- package/dist/smoothly/{p-9992c8c4.entry.js → p-47151a53.entry.js} +2 -2
- package/dist/smoothly/{p-d0b8061e.js → p-5e387578.js} +3 -3
- package/dist/smoothly/p-5e387578.js.map +1 -0
- package/dist/smoothly/{p-1efa3261.entry.js → p-66e9a8b1.entry.js} +2 -2
- package/dist/smoothly/{p-8a45ae84.entry.js → p-69108043.entry.js} +2 -2
- package/dist/smoothly/{p-dbd1afa9.entry.js → p-6aebb818.entry.js} +2 -2
- package/dist/smoothly/p-6dea9679.entry.js +2 -0
- package/dist/smoothly/p-6dea9679.entry.js.map +1 -0
- package/dist/smoothly/{p-c4ffc15d.entry.js → p-70dede91.entry.js} +2 -2
- package/dist/smoothly/{p-4d743f07.entry.js → p-7bf147bf.entry.js} +2 -2
- package/dist/smoothly/{p-b82ef190.entry.js → p-863ff3c6.entry.js} +2 -2
- package/dist/smoothly/p-b3eac6af.entry.js +2 -0
- package/dist/smoothly/{p-4ff439dd.entry.js.map → p-b3eac6af.entry.js.map} +1 -1
- package/dist/smoothly/{p-f96e41aa.entry.js → p-cb493516.entry.js} +2 -2
- package/dist/smoothly/{p-ce4e6f44.entry.js → p-eef1c80b.entry.js} +2 -2
- package/dist/smoothly/smoothly.esm.js +1 -1
- package/dist/smoothly/smoothly.esm.js.map +1 -1
- package/dist/types/components/app/index.d.ts +1 -1
- package/dist/types/components/burger/index.d.ts +3 -2
- package/dist/types/components.d.ts +1 -1
- package/package.json +1 -1
- package/dist/cjs/index-6ae370b4.js.map +0 -1
- package/dist/esm/index-c196715a.js.map +0 -1
- package/dist/smoothly/p-32d6942f.entry.js +0 -2
- package/dist/smoothly/p-32d6942f.entry.js.map +0 -1
- package/dist/smoothly/p-4ff439dd.entry.js +0 -2
- package/dist/smoothly/p-d0b8061e.js.map +0 -1
- /package/dist/smoothly/{p-663ccbd0.entry.js.map → p-12182a73.entry.js.map} +0 -0
- /package/dist/smoothly/{p-9992c8c4.entry.js.map → p-47151a53.entry.js.map} +0 -0
- /package/dist/smoothly/{p-1efa3261.entry.js.map → p-66e9a8b1.entry.js.map} +0 -0
- /package/dist/smoothly/{p-8a45ae84.entry.js.map → p-69108043.entry.js.map} +0 -0
- /package/dist/smoothly/{p-dbd1afa9.entry.js.map → p-6aebb818.entry.js.map} +0 -0
- /package/dist/smoothly/{p-c4ffc15d.entry.js.map → p-70dede91.entry.js.map} +0 -0
- /package/dist/smoothly/{p-4d743f07.entry.js.map → p-7bf147bf.entry.js.map} +0 -0
- /package/dist/smoothly/{p-b82ef190.entry.js.map → p-863ff3c6.entry.js.map} +0 -0
- /package/dist/smoothly/{p-f96e41aa.entry.js.map → p-cb493516.entry.js.map} +0 -0
- /package/dist/smoothly/{p-ce4e6f44.entry.js.map → p-eef1c80b.entry.js.map} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as s,c as t,h as o,g as e}from"./p-
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as s,c as t,h as o,g as e}from"./p-5e387578.js";import{M as i,T as r}from"./p-74a3586c.js";import"./p-bd478a53.js";const n=".sc-smoothly-trigger-source-h{display:block}[hidden].sc-smoothly-trigger-source-h{display:none}";const h=class{constructor(o){s(this,o);this.trigger=t(this,"trigger",7);this.smoothlyMessage=t(this,"smoothlyMessage",7);this.listen=undefined}componentDidLoad(){i.listen(this.listen,((s,t)=>{if(r.is(t))this.trigger.emit(t);else this.smoothlyMessage.emit({destination:s,content:t})}),window)}render(){return o("slot",null)}get element(){return e(this)}};h.style=n;export{h as smoothly_trigger_source};
|
|
2
|
+
//# sourceMappingURL=p-70dede91.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as t,h as s}from"./p-
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as t,h as s}from"./p-5e387578.js";const e=".sc-smoothly-address-display-h{display:block;width:30%}";const l=class{constructor(s){t(this,s);this.value=undefined;this.editable=undefined}render(){if(this.editable){return[s("div",null,s("h4",null,this.value.allowed,":"),s("smoothly-input",{type:"text",name:"street",value:this.value.street},"Street"),s("smoothly-input",{type:"postal-code",name:"zip",value:this.value.zipCode},"ZipCode"),s("smoothly-input",{type:"text",name:"city",value:this.value.city},"City"),s("smoothly-input",{type:"text",name:"countryCode",value:this.value.countryCode},"CountryCode"))]}else{return[s("div",null,s("h4",null,this.value.allowed,":"),s("p",null,this.value.street),s("p",null,this.value.zipCode),s("p",null,this.value.city),s("p",null,this.value.countryCode))]}}};l.style=e;export{l as smoothly_address_display};
|
|
2
|
+
//# sourceMappingURL=p-7bf147bf.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as s,h as i}from"./p-
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as s,h as i}from"./p-5e387578.js";import{T as t,M as r}from"./p-74a3586c.js";import"./p-bd478a53.js";const e=".sc-smoothly-trigger-sink-h{display:block}[hidden].sc-smoothly-trigger-sink-h{display:none}";const n=class{constructor(i){s(this,i);this.context=undefined;this.destination=undefined;this.filter=undefined}get filters(){if(!this.filtersValue)this.filtersValue=this.filter?this.filter.split(" "):[];return this.filtersValue}TriggerListener(s){if(t.is(s.detail)&&this.filters.some((i=>i==s.detail.name))){r.send(this.destination,s.detail,this.context||window);s.preventDefault();s.stopPropagation()}}render(){return i("slot",null)}};n.style=e;export{n as smoothly_trigger_sink};
|
|
2
|
+
//# sourceMappingURL=p-863ff3c6.entry.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{r as t,c as s,g as i}from"./p-5e387578.js";const h="smoothly-reorder>*{cursor:move;transition:transform 0.3s}smoothly-reorder>*.dragging{transition:none;box-shadow:0 0 10px rgba(var(--smoothly-dark-color));z-index:1;user-select:none}";const e=class{constructor(i){t(this,i);this.reorder=s(this,"reorder",7)}get children(){let t=[];if(this.childrenCache)t=this.childrenCache;else{for(let s=0;s<this.element.children.length;s++){const i=this.element.children[s];if(i instanceof HTMLElement){const s=i.getBoundingClientRect();t.push({top:s.top,middle:s.top+s.height/2,bottom:s.bottom,element:i})}}this.childrenCache=t}return t}onMouseDown(t){if(!this.move&&this.element.children.length>1){this.bounds=this.element.getBoundingClientRect();this.childrenCache=undefined;const s=this.getCurrentIndex(t.clientY);this.dragged=Object.assign(Object.assign({},this.children[s]),{startY:t.clientY,offsetY:t.clientY-this.children[s].middle,index:s,height:s<this.children.length-1?this.children[s+1].top-this.children[s].top:this.children[s].bottom-this.children[s-1].bottom});this.dragged.element.className+=" dragging"}}onMouseMove(t){if(this.dragged&&this.bounds&&t.clientY>=this.bounds.top&&t.clientY<=this.bounds.bottom){const s=this.getCurrentIndex(t.clientY-this.dragged.offsetY);this.translate(this.dragged.index,s,t.clientY-this.dragged.startY)}}onMouseUp(t){if(this.dragged){this.dragged.element.className=this.dragged.element.className.replace(" dragging","");const s=this.getCurrentIndex(t.clientY-this.dragged.offsetY);this.translate(this.dragged.index,s,this.children[s].top-this.dragged.top);this.move={from:this.dragged.index,to:s};this.dragged=undefined;window.setTimeout((()=>{if(this.move){const t=[...this.children.map((t=>t.element))];const s=t.splice(this.move.from,1);t.splice(this.move.to,0,...s);t.forEach((t=>this.element.removeChild(t)));t.forEach((t=>{t.style.transform="";this.element.appendChild(t)}));this.reorder.emit([this.move.from,this.move.to]);this.move=undefined}}),500)}}translate(t,s,i){for(let h=0;h<this.children.length;h++){let e;if(this.dragged){if(t<s&&h>t&&h<=s)e=-this.dragged.height;else if(t>s&&h<t&&h>=s)e=this.dragged.height;else e=h==t?i:0;this.children[h].element.style.transform=`translateY(${e}px)`}}}getCurrentIndex(t){return this.children.findIndex((s=>t<s.bottom))}componentDidLoad(){this.element.childNodes.forEach((t=>{t.addEventListener("mousedown",(t=>this.onMouseDown(t)));t.addEventListener("mousemove",(t=>this.onMouseMove(t)));t.addEventListener("mouseup",(t=>this.onMouseUp(t)))}))}get element(){return i(this)}};e.style=h;export{e as smoothly_reorder};
|
|
2
|
+
//# sourceMappingURL=p-b3eac6af.entry.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["styleCss","SmoothlyReorder","children","result","this","childrenCache","index","element","length","HTMLElement","bounds","getBoundingClientRect","push","top","middle","height","bottom","onMouseDown","event","move","undefined","getCurrentIndex","clientY","dragged","Object","assign","startY","offsetY","className","onMouseMove","currentIndex","translate","onMouseUp","replace","from","to","window","setTimeout","map","c","e","splice","forEach","child","removeChild","style","transform","appendChild","reorder","emit","fromIndex","toIndex","y","value","findIndex","componentDidLoad","childNodes","addEventListener"],"sources":["./src/components/reorder/style.css?tag=smoothly-reorder","./src/components/reorder/index.tsx"],"sourcesContent":["smoothly-reorder > * {\n\tcursor: move;\n\ttransition: transform 0.3s;\n}\nsmoothly-reorder > *.dragging {\n\ttransition: none;\n\tbox-shadow: 0 0 10px rgba(var(--smoothly-dark-color));\n\tz-index: 1;\n\tuser-select: none;\n}\n","import { Component, Element, Event, EventEmitter } from \"@stencil/core\"\n\n@Component({\n\ttag: \"smoothly-reorder\",\n\tstyleUrl: \"style.css\",\n})\nexport class SmoothlyReorder {\n\t@Event() reorder: EventEmitter<[number, number]>\n\t@Element() element: HTMLSmoothlyReorderElement\n\tprivate bounds?: DOMRect\n\tprivate childrenCache?: Draggable[]\n\tprivate get children(): Draggable[] {\n\t\tlet result: Draggable[] = []\n\t\tif (this.childrenCache)\n\t\t\tresult = this.childrenCache\n\t\telse {\n\t\t\tfor (let index = 0; index < this.element.children.length; index++) {\n\t\t\t\tconst element = this.element.children[index]\n\t\t\t\tif (element instanceof HTMLElement) {\n\t\t\t\t\tconst bounds = element.getBoundingClientRect()\n\t\t\t\t\tresult.push({\n\t\t\t\t\t\ttop: bounds.top,\n\t\t\t\t\t\tmiddle: bounds.top + bounds.height / 2,\n\t\t\t\t\t\tbottom: bounds.bottom,\n\t\t\t\t\t\telement: element,\n\t\t\t\t\t})\n\t\t\t\t}\n\t\t\t}\n\t\t\tthis.childrenCache = result\n\t\t}\n\t\treturn result\n\t}\n\tprivate dragged?: Dragged\n\tprivate move?: { from: number; to: number }\n\n\tprivate onMouseDown(event: MouseEvent) {\n\t\tif (!this.move && this.element.children.length > 1) {\n\t\t\tthis.bounds = this.element.getBoundingClientRect()\n\t\t\tthis.childrenCache = undefined\n\t\t\tconst index = this.getCurrentIndex(event.clientY)\n\t\t\tthis.dragged = {\n\t\t\t\t...this.children[index],\n\t\t\t\tstartY: event.clientY,\n\t\t\t\toffsetY: event.clientY - this.children[index].middle,\n\t\t\t\tindex,\n\t\t\t\theight:\n\t\t\t\t\tindex < this.children.length - 1\n\t\t\t\t\t\t? this.children[index + 1].top - this.children[index].top\n\t\t\t\t\t\t: this.children[index].bottom - this.children[index - 1].bottom,\n\t\t\t}\n\t\t\tthis.dragged.element.className += \" dragging\"\n\t\t}\n\t}\n\n\tprivate onMouseMove(event: MouseEvent) {\n\t\tif (this.dragged && this.bounds && event.clientY >= this.bounds.top && event.clientY <= this.bounds.bottom) {\n\t\t\tconst currentIndex = this.getCurrentIndex(event.clientY - this.dragged.offsetY)\n\t\t\tthis.translate(this.dragged.index, currentIndex, event.clientY - this.dragged.startY)\n\t\t}\n\t}\n\n\tprivate onMouseUp(event: MouseEvent) {\n\t\tif (this.dragged) {\n\t\t\tthis.dragged.element.className = this.dragged.element.className.replace(\" dragging\", \"\")\n\t\t\tconst index = this.getCurrentIndex(event.clientY - this.dragged.offsetY)\n\t\t\tthis.translate(this.dragged.index, index, this.children[index].top - this.dragged.top)\n\t\t\tthis.move = { from: this.dragged.index, to: index }\n\t\t\tthis.dragged = undefined\n\n\t\t\twindow.setTimeout(() => {\n\t\t\t\tif (this.move) {\n\t\t\t\t\tconst children = [...this.children.map(c => c.element)]\n\t\t\t\t\tconst e = children.splice(this.move.from, 1)\n\t\t\t\t\tchildren.splice(this.move.to, 0, ...e)\n\t\t\t\t\tchildren.forEach(child => this.element.removeChild(child))\n\t\t\t\t\tchildren.forEach(child => {\n\t\t\t\t\t\tchild.style.transform = \"\"\n\t\t\t\t\t\tthis.element.appendChild(child)\n\t\t\t\t\t})\n\t\t\t\t\tthis.reorder.emit([this.move.from, this.move.to])\n\t\t\t\t\tthis.move = undefined\n\t\t\t\t}\n\t\t\t}, 500)\n\t\t}\n\t}\n\n\tprivate translate(fromIndex: number, toIndex: number, y: number) {\n\t\tfor (let index = 0; index < this.children.length; index++) {\n\t\t\tlet value: number\n\t\t\tif (this.dragged) {\n\t\t\t\tif (fromIndex < toIndex && index > fromIndex && index <= toIndex)\n\t\t\t\t\tvalue = -this.dragged.height\n\t\t\t\telse if (fromIndex > toIndex && index < fromIndex && index >= toIndex)\n\t\t\t\t\tvalue = this.dragged.height\n\t\t\t\telse\n\t\t\t\t\tvalue = index == fromIndex ? y : 0\n\n\t\t\t\tthis.children[index].element.style.transform = `translateY(${value}px)`\n\t\t\t}\n\t\t}\n\t}\n\n\tprivate getCurrentIndex(y: number): number {\n\t\treturn this.children.findIndex(c => y < c.bottom)\n\t}\n\n\tcomponentDidLoad() {\n\t\tthis.element.childNodes.forEach(child => {\n\t\t\tchild.addEventListener(\"mousedown\", (e: MouseEvent) => this.onMouseDown(e))\n\t\t\tchild.addEventListener(\"mousemove\", (e: MouseEvent) => this.onMouseMove(e))\n\t\t\tchild.addEventListener(\"mouseup\", (e: MouseEvent) => this.onMouseUp(e))\n\t\t})\n\t}\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"names":["styleCss","SmoothlyReorder","children","result","this","childrenCache","index","element","length","HTMLElement","bounds","getBoundingClientRect","push","top","middle","height","bottom","onMouseDown","event","move","undefined","getCurrentIndex","clientY","dragged","Object","assign","startY","offsetY","className","onMouseMove","currentIndex","translate","onMouseUp","replace","from","to","window","setTimeout","map","c","e","splice","forEach","child","removeChild","style","transform","appendChild","reorder","emit","fromIndex","toIndex","y","value","findIndex","componentDidLoad","childNodes","addEventListener"],"sources":["./src/components/reorder/style.css?tag=smoothly-reorder","./src/components/reorder/index.tsx"],"sourcesContent":["smoothly-reorder > * {\n\tcursor: move;\n\ttransition: transform 0.3s;\n}\nsmoothly-reorder > *.dragging {\n\ttransition: none;\n\tbox-shadow: 0 0 10px rgba(var(--smoothly-dark-color));\n\tz-index: 1;\n\tuser-select: none;\n}\n","import { Component, Element, Event, EventEmitter } from \"@stencil/core\"\n\n@Component({\n\ttag: \"smoothly-reorder\",\n\tstyleUrl: \"style.css\",\n})\nexport class SmoothlyReorder {\n\t@Event() reorder: EventEmitter<[number, number]>\n\t@Element() element: HTMLSmoothlyReorderElement\n\tprivate bounds?: DOMRect\n\tprivate childrenCache?: Draggable[]\n\tprivate get children(): Draggable[] {\n\t\tlet result: Draggable[] = []\n\t\tif (this.childrenCache)\n\t\t\tresult = this.childrenCache\n\t\telse {\n\t\t\tfor (let index = 0; index < this.element.children.length; index++) {\n\t\t\t\tconst element = this.element.children[index]\n\t\t\t\tif (element instanceof HTMLElement) {\n\t\t\t\t\tconst bounds = element.getBoundingClientRect()\n\t\t\t\t\tresult.push({\n\t\t\t\t\t\ttop: bounds.top,\n\t\t\t\t\t\tmiddle: bounds.top + bounds.height / 2,\n\t\t\t\t\t\tbottom: bounds.bottom,\n\t\t\t\t\t\telement: element,\n\t\t\t\t\t})\n\t\t\t\t}\n\t\t\t}\n\t\t\tthis.childrenCache = result\n\t\t}\n\t\treturn result\n\t}\n\tprivate dragged?: Dragged\n\tprivate move?: { from: number; to: number }\n\n\tprivate onMouseDown(event: MouseEvent) {\n\t\tif (!this.move && this.element.children.length > 1) {\n\t\t\tthis.bounds = this.element.getBoundingClientRect()\n\t\t\tthis.childrenCache = undefined\n\t\t\tconst index = this.getCurrentIndex(event.clientY)\n\t\t\tthis.dragged = {\n\t\t\t\t...this.children[index],\n\t\t\t\tstartY: event.clientY,\n\t\t\t\toffsetY: event.clientY - this.children[index].middle,\n\t\t\t\tindex,\n\t\t\t\theight:\n\t\t\t\t\tindex < this.children.length - 1\n\t\t\t\t\t\t? this.children[index + 1].top - this.children[index].top\n\t\t\t\t\t\t: this.children[index].bottom - this.children[index - 1].bottom,\n\t\t\t}\n\t\t\tthis.dragged.element.className += \" dragging\"\n\t\t}\n\t}\n\n\tprivate onMouseMove(event: MouseEvent) {\n\t\tif (this.dragged && this.bounds && event.clientY >= this.bounds.top && event.clientY <= this.bounds.bottom) {\n\t\t\tconst currentIndex = this.getCurrentIndex(event.clientY - this.dragged.offsetY)\n\t\t\tthis.translate(this.dragged.index, currentIndex, event.clientY - this.dragged.startY)\n\t\t}\n\t}\n\n\tprivate onMouseUp(event: MouseEvent) {\n\t\tif (this.dragged) {\n\t\t\tthis.dragged.element.className = this.dragged.element.className.replace(\" dragging\", \"\")\n\t\t\tconst index = this.getCurrentIndex(event.clientY - this.dragged.offsetY)\n\t\t\tthis.translate(this.dragged.index, index, this.children[index].top - this.dragged.top)\n\t\t\tthis.move = { from: this.dragged.index, to: index }\n\t\t\tthis.dragged = undefined\n\n\t\t\twindow.setTimeout(() => {\n\t\t\t\tif (this.move) {\n\t\t\t\t\tconst children = [...this.children.map(c => c.element)]\n\t\t\t\t\tconst e = children.splice(this.move.from, 1)\n\t\t\t\t\tchildren.splice(this.move.to, 0, ...e)\n\t\t\t\t\tchildren.forEach(child => this.element.removeChild(child))\n\t\t\t\t\tchildren.forEach(child => {\n\t\t\t\t\t\tchild.style.transform = \"\"\n\t\t\t\t\t\tthis.element.appendChild(child)\n\t\t\t\t\t})\n\t\t\t\t\tthis.reorder.emit([this.move.from, this.move.to])\n\t\t\t\t\tthis.move = undefined\n\t\t\t\t}\n\t\t\t}, 500)\n\t\t}\n\t}\n\n\tprivate translate(fromIndex: number, toIndex: number, y: number) {\n\t\tfor (let index = 0; index < this.children.length; index++) {\n\t\t\tlet value: number\n\t\t\tif (this.dragged) {\n\t\t\t\tif (fromIndex < toIndex && index > fromIndex && index <= toIndex)\n\t\t\t\t\tvalue = -this.dragged.height\n\t\t\t\telse if (fromIndex > toIndex && index < fromIndex && index >= toIndex)\n\t\t\t\t\tvalue = this.dragged.height\n\t\t\t\telse\n\t\t\t\t\tvalue = index == fromIndex ? y : 0\n\n\t\t\t\tthis.children[index].element.style.transform = `translateY(${value}px)`\n\t\t\t}\n\t\t}\n\t}\n\n\tprivate getCurrentIndex(y: number): number {\n\t\treturn this.children.findIndex(c => y < c.bottom)\n\t}\n\n\tcomponentDidLoad() {\n\t\tthis.element.childNodes.forEach(child => {\n\t\t\tchild.addEventListener(\"mousedown\", (e: MouseEvent) => this.onMouseDown(e))\n\t\t\tchild.addEventListener(\"mousemove\", (e: MouseEvent) => this.onMouseMove(e))\n\t\t\tchild.addEventListener(\"mouseup\", (e: MouseEvent) => this.onMouseUp(e))\n\t\t})\n\t}\n}\n"],"mappings":"kDAAA,MAAMA,EAAW,wL,MCMJC,EAAe,M,0DAKfC,eACX,IAAIC,EAAsB,GAC1B,GAAIC,KAAKC,cACRF,EAASC,KAAKC,kBACV,CACJ,IAAK,IAAIC,EAAQ,EAAGA,EAAQF,KAAKG,QAAQL,SAASM,OAAQF,IAAS,CAClE,MAAMC,EAAUH,KAAKG,QAAQL,SAASI,GACtC,GAAIC,aAAmBE,YAAa,CACnC,MAAMC,EAASH,EAAQI,wBACvBR,EAAOS,KAAK,CACXC,IAAKH,EAAOG,IACZC,OA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,aAAcjB,GAAkBpC,KAAKyB,YAAYW,KACxEG,EAAMc,iBAAiB,WAAYjB,GAAkBpC,KAAK4B,UAAUQ,IAAG,G"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as s,h as t}from"./p-
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as s,h as t}from"./p-5e387578.js";import{G as o}from"./p-bd478a53.js";const r=class{constructor(t){s(this,t);this.value=undefined}render(){return o.is(this.value)?t("style",null,o.styleImportString(this.value)):""}};export{r as smoothly_google_font};
|
|
2
|
+
//# sourceMappingURL=p-cb493516.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as t}from"./p-
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as t}from"./p-5e387578.js";const s=".sc-smoothly-display-date-time-h{display:block}[hidden].sc-smoothly-display-date-time-h{display:none}";const e=class{constructor(s){t(this,s);this.datetime=undefined}componentWillLoad(){console.warn('Component <smoothly-display-date-time> is deprecated, use <smoothly-display type="date-time">.')}render(){const t=this.datetime.split("T");return[t[0]," ",t[1]]}};e.style=s;export{e as smoothly_display_date_time};
|
|
2
|
+
//# sourceMappingURL=p-eef1c80b.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{p as e,b as o}from"./p-
|
|
1
|
+
import{p as e,b as o}from"./p-5e387578.js";export{s as setNonce}from"./p-5e387578.js";const l=()=>{const o=import.meta.url;const l={};if(o!==""){l.resourcesUrl=new URL(".",o).href}return e(l)};l().then((e=>o([["p-6dea9679",[[0,"smoothly-app-demo",{baseUrl:[1,"base-url"]}],[0,"smoothly-input-demo",null,[[0,"selectionChanged","handleSelectionChanged"]]],[2,"smoothly-table-demo"],[0,"smoothly-display-demo"],[4,"smoothly-app",{label:[1],color:[1],menuOpen:[1540,"menu-open"],selected:[32]},[[8,"popstate","locationChangeHandler"],[0,"smoothlyRoomSelected","roomSelectedHandler"],[0,"smoothlyRoomLoaded","roomLoadedHandler"]]],[0,"smoothly-button-demo"],[0,"smoothly-dialog-demo"],[2,"smoothly-select-demo"],[6,"smoothly-app-room",{label:[1],icon:[1],path:[1],to:[1],selected:[1540],getContent:[64]}],[2,"smoothly-icon-demo"],[2,"smoothly-picker-demo",{data:[32],change:[32]},[[0,"smoothlyFormSubmit","submitHandler"]]],[2,"smoothly-table-demo-filtered",{criteria:[32],data:[32],selector:[32]},[[0,"filters","onFilterUpdate"],[2,"smoothlyChecked","smoothlyCheckedHandler"]]],[2,"smoothly-table-testing",{counter:[32]}],[6,"smoothly-input-date",{name:[513],value:[1025],open:[1028],max:[1025],min:[1025],disabled:[1028],clear:[64]},[[0,"dateSet","dateSetHandler"]]],[2,"smoothly-input-date-range",{name:[513],value:[1025],start:[1025],end:[1025],max:[1025],min:[1025],open:[1028],showLabel:[516,"show-label"],labelStart:[1,"label-start"],labelEnd:[1,"label-end"],clear:[64]},[[0,"startChanged","onStartChanged"],[0,"endChanged","onEndChanged"],[0,"dateRangeSet","onDateRangeSet"]]],[6,"smoothly-notifier",{notices:[32]},[[0,"notice","onNotice"],[0,"remove","onRemove"]]],[6,"smoothly-dialog",{color:[513],open:[1540],closable:[516],header:[513]},[[0,"trigger","TriggerListener"]]],[2,"smoothly-burger",{visible:[1540],open:[1540],mediaQuery:[513,"media-query"],history:[32]},[[9,"resize","resizeHandler"]]],[6,"smoothly-checkbox",{size:[1],checked:[1540],intermediate:[1540],name:[1],value:[8],disabled:[516],t:[32],toggle:[64]}],[6,"smoothly-input-file",{accept:[1],camera:[513],name:[513],showLabel:[516,"show-label"],value:[1040],placeholder:[1537],dragging:[32],clear:[64]}],[6,"smoothly-radio-button-item",{value:[8],selected:[1540],color:[513]}],[6,"smoothly-summary",{open:[1540],color:[1],fill:[1],size:[1]}],[1,"smoothly-toggle-switch",{selected:[1540],disabled:[516],size:[513],name:[1],value:[8]}],[0,"smoothly-urlencoded",{data:[1]}],[6,"smoothly-accordion",{value:[1025],removeItem:[64]},[[0,"smoothlyOpen","handleOpenClose"],[0,"smoothlyClose","handleOpenClose"],[0,"smoothlyAccordionItemWillLoad","onAccordionItemDidLoad"]]],[6,"smoothly-accordion-item",{name:[1],brand:[1],open:[1540]}],[2,"smoothly-display",{type:[1],value:[8],currency:[1],country:[1],format:[16]}],[2,"smoothly-display-amount",{amount:[8],currency:[1],toInteger:[4,"to-integer"]}],[2,"smoothly-frame",{url:[1],name:[1],origin:[1],send:[64]}],[6,"smoothly-popup",{visible:[1540],direction:[1537],cssVariables:[32]}],[6,"smoothly-quiet",{color:[1]}],[6,"smoothly-radio",{name:[1],value:[1],checked:[1540],tab:[2]}],[6,"smoothly-radio-button",{name:[1],value:[1032],deselectable:[516],decoration:[513]},[[2,"radioItemSelectInternal","radioSelectHandler"]]],[2,"smoothly-skeleton",{widths:[16],width:[1025],color:[1],period:[2],distance:[1],align:[513]}],[2,"smoothly-svg",{url:[513],size:[513],color:[1]}],[6,"smoothly-toggle",{selected:[1540],shape:[513],disabled:[516],name:[1],value:[8]},[[0,"click","onClick"]]],[1,"smoothly-filter",{placeholder:[1025],criteria:[1040],inputValue:[1032,"input-value"],expanded:[32],freeSearchValue:[32],clear:[64]},[[0,"filter","filterHandler"]]],[6,"smoothly-picker",{name:[513],open:[1540],mutable:[516],multiple:[516],readonly:[516],validator:[16],selected:[32],display:[32],clear:[64]},[[0,"smoothlyPickerMenuLoaded","menuLoadedHandler"],[0,"smoothlyPickerOptionLoaded","optionLoadedHandler"],[0,"smoothlyPickerOptionChange","optionChangeHandler"]]],[1,"smoothly-filter-input",{name:[513],value:[1025],type:[513],required:[1540],minLength:[2,"min-length"],showLabel:[516,"show-label"],maxLength:[2,"max-length"],autocomplete:[4],pattern:[16],placeholder:[1],disabled:[4],readonly:[516],currency:[513],comparison:[1],criteria:[32],clear:[64]}],[2,"smoothly-backtotop",{opacity:[1],bottom:[1],right:[1],visible:[32]}],[6,"smoothly-input-clear",{color:[513],expand:[513],fill:[513],disabled:[1540],size:[513],shape:[513],display:[1540],type:[513]},[[0,"click","clickHandler"]]],[6,"smoothly-tab",{label:[1],open:[1540]},[[0,"click","onClick"]]],[6,"smoothly-tab-switch",{selectedElement:[32]},[[0,"expansionOpen","openChanged"]]],[6,"smoothly-table-expandable-row",{align:[1],open:[1540],allowSpotlight:[32],spotlight:[32]},[[0,"smoothlyTableLoad","handleTableLoaded"]]],[0,"smoothly-tuple",{tuple:[16]}],[6,"smoothly-picker-menu",{multiple:[516],mutable:[516],readonly:[516],validator:[16],backend:[32],options:[32],created:[32],search:[32],valid:[32],display:[32]},[[0,"smoothlyPickerOptionLoad","optionLoadHandler"],[0,"smoothlyPickerOptionLoaded","optionLoadedHandler"],[0,"smoothlyPickerOptionChange","optionChangeHandler"],[0,"smoothlySlotEmpty","emptyDisplayHandler"]]],[2,"smoothly-calendar",{month:[1025],value:[1025],start:[1025],end:[1025],max:[1025],min:[1025],doubleInput:[516,"double-input"],firstSelected:[32]}],[6,"smoothly-table-cell"],[6,"smoothly-table-expandable-cell",{align:[1],open:[1540],allowSpotlight:[32],spotlight:[32]},[[0,"click","onClick"],[0,"smoothlyTableLoad","handleTableLoaded"]]],[6,"smoothly-table",{root:[1540],align:[513],open:[1540]},[[0,"smoothlyExpandableLoad","handleExpandableLoaded"],[0,"smoothlyExpandableChange","handleExpandableState"],[0,"smoothlySpotlightChange","handleSpotlightState"],[0,"smoothlyNestedTable","handleNestedTable"],[0,"smoothlyExpansionLoad","handleEvents"],[0,"smoothlyExpansionOpen","handleEvents"]]],[6,"smoothly-table-header",{name:[1]}],[6,"smoothly-table-row",{open:[1540]},[[0,"smoothlyExpansionLoad","onExpansionLoad"],[0,"smoothlyExpandableChange","onExpansionChange"],[0,"smoothlyExpansionOpen","onExpansionOpen"]]],[2,"smoothly-input-month",{value:[1025]}],[1,"smoothly-picker-option",{selected:[1540],visible:[1540],value:[1032],search:[1040],readonly:[32],slotted:[32],clickHandler:[64]}],[6,"smoothly-slot-elements",{clone:[4],nodes:[1040]}],[6,"smoothly-submit",{color:[513],expand:[513],fill:[513],disabled:[516],type:[513],size:[513],shape:[513],prevent:[4]},[[0,"click","clickHandler"]]],[6,"smoothly-input-select",{initialPrompt:[1,"initial-prompt"],opened:[32],selectedElement:[32],missing:[32],filter:[32],reset:[64]},[[0,"click","onClick"],[0,"itemSelected","onItemSelected"],[0,"keydown","onKeyDown"]]],[6,"smoothly-item",{value:[8],selected:[1540],marked:[1540],filter:[64]},[[0,"click","onClick"]]],[6,"smoothly-slotted-elements",{clone:[4]}],[4,"smoothly-form",{value:[1040],looks:[513],name:[1],method:[1],action:[1],processing:[1540],prevent:[4],changed:[1540],notice:[32],submit:[64],clear:[64]},[[0,"smoothlyInput","smoothlyInputHandler"],[0,"smoothlySubmit","smoothlySubmitHandler"],[0,"smoothlyInputLoad","SmoothlyInputLoadHandler"]]],[6,"smoothly-button",{color:[513],expand:[513],fill:[513],disabled:[516],type:[513],size:[513],shape:[513],link:[1],download:[4]}],[2,"smoothly-spinner",{active:[516],size:[513]}],[2,"smoothly-notification",{notice:[16],closable:[4],icon:[4],tick:[32]},[[0,"trigger","onTrigger"]]],[6,"smoothly-trigger",{color:[513],fill:[513],disabled:[516],type:[513],name:[1],value:[8]},[[0,"click","onClick"]]],[6,"smoothly-input",{name:[513],value:[1032],type:[513],required:[1540],minLength:[1026,"min-length"],showLabel:[516,"show-label"],maxLength:[1026,"max-length"],autocomplete:[1028],pattern:[1040],placeholder:[1537],disabled:[1028],readonly:[1540],currency:[513],changed:[1540],initialValue:[32],clear:[64],getFormData:[64],setKeepFocusOnReRender:[64],setSelectionRange:[64]},[[0,"smoothlyInputLoad","SmoothlyInputLoadHandler"]]],[2,"smoothly-icon",{color:[513],fill:[513],name:[513],size:[513],toolTip:[1,"tool-tip"],document:[32]}]]],["p-12182a73",[[2,"smoothly-addresses",{value:[16],editable:[16]}]]],["p-6aebb818",[[6,"smoothly-color",{color:[513]}]]],["p-69108043",[[2,"smoothly-country",{value:[1],text:[1],language:[32]}]]],["p-eef1c80b",[[2,"smoothly-display-date-time",{datetime:[1]}]]],["p-cb493516",[[2,"smoothly-google-font",{value:[1]}]]],["p-66e9a8b1",[[4,"smoothly-radio-group",{orientation:[513]}]]],["p-b3eac6af",[[0,"smoothly-reorder"]]],["p-863ff3c6",[[6,"smoothly-trigger-sink",{context:[16],destination:[1],filter:[1]},[[0,"trigger","TriggerListener"]]]]],["p-70dede91",[[6,"smoothly-trigger-source",{listen:[1]}]]],["p-7bf147bf",[[2,"smoothly-address-display",{value:[16],editable:[4]}]]],["p-47151a53",[[2,"smoothly-address",{value:[16],editable:[4]}]]]],e)));
|
|
2
2
|
//# sourceMappingURL=smoothly.esm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["patchBrowser","importMeta","import","meta","url","opts","resourcesUrl","URL","href","promiseResolve","then","options","bootstrapLazy","baseUrl","label","color","menuOpen","selected","icon","path","to","getContent","data","change","criteria","selector","counter","name","value","open","max","min","disabled","clear","start","end","showLabel","labelStart","labelEnd","notices","closable","header","visible","mediaQuery","size","checked","intermediate","t","toggle","accept","camera","placeholder","dragging","fill","removeItem","brand","type","currency","country","format","amount","toInteger","origin","send","direction","cssVariables","tab","deselectable","decoration","widths","width","period","distance","align","shape","inputValue","expanded","freeSearchValue","mutable","multiple","readonly","validator","display","required","minLength","maxLength","autocomplete","pattern","comparison","opacity","bottom","right","expand","selectedElement","allowSpotlight","spotlight","tuple","backend","created","search","valid","month","doubleInput","firstSelected","root","slotted","clickHandler","clone","nodes","prevent","initialPrompt","opened","missing","filter","reset","marked","looks","method","action","processing","changed","notice","submit","link","download","active","tick","initialValue","getFormData","setKeepFocusOnReRender","setSelectionRange","toolTip","document","editable","text","language","datetime","orientation","context","destination","listen"],"sources":["./node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v2.22.2 | MIT Licensed | https://stenciljs.com\n */\nimport { BUILD, NAMESPACE } from '@stencil/core/internal/app-data';\nimport { consoleDevInfo, plt, win, doc, promiseResolve, H } from '@stencil/core';\n/**\n * Helper method for querying a `meta` tag that contains a nonce value\n * out of a DOM's head.\n *\n * @param doc The DOM containing the `head` to query against\n * @returns The content of the meta tag representing the nonce value, or `undefined` if no tag\n * exists or the tag has no content.\n */\nfunction queryNonceMetaTagContent(doc) {\n var _a, _b, _c;\n return (_c = (_b = (_a = doc.head) === null || _a === void 0 ? void 0 : _a.querySelector('meta[name=\"csp-nonce\"]')) === null || _b === void 0 ? void 0 : _b.getAttribute('content')) !== null && _c !== void 0 ? _c : undefined;\n}\nconst getDynamicImportFunction = (namespace) => `__sc_import_${namespace.replace(/\\s|-/g, '_')}`;\nconst patchBrowser = () => {\n // NOTE!! This fn cannot use async/await!\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo('Running in development mode.');\n }\n if (BUILD.cssVarShim) {\n // shim css vars\n plt.$cssShim$ = win.__cssshim;\n }\n if (BUILD.cloneNodeFix) {\n // opted-in to polyfill cloneNode() for slot polyfilled components\n patchCloneNodeFix(H.prototype);\n }\n if (BUILD.profile && !performance.mark) {\n // not all browsers support performance.mark/measure (Safari 10)\n // because the mark/measure APIs are designed to write entries to a buffer in the browser that does not exist,\n // simply stub the implementations out.\n // TODO(STENCIL-323): Remove this patch when support for older browsers is removed (breaking)\n // @ts-ignore\n performance.mark = performance.measure = () => {\n /*noop*/\n };\n performance.getEntriesByName = () => [];\n }\n // @ts-ignore\n const scriptElm = BUILD.scriptDataOpts || BUILD.safari10 || BUILD.dynamicImportShim\n ? Array.from(doc.querySelectorAll('script')).find((s) => new RegExp(`\\/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) ||\n s.getAttribute('data-stencil-namespace') === NAMESPACE)\n : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? scriptElm['data-opts'] || {} : {};\n if (BUILD.safari10 && 'onbeforeload' in scriptElm && !history.scrollRestoration /* IS_ESM_BUILD */) {\n // Safari < v11 support: This IF is true if it's Safari below v11.\n // This fn cannot use async/await since Safari didn't support it until v11,\n // however, Safari 10 did support modules. Safari 10 also didn't support \"nomodule\",\n // so both the ESM file and nomodule file would get downloaded. Only Safari\n // has 'onbeforeload' in the script, and \"history.scrollRestoration\" was added\n // to Safari in v11. Return a noop then() so the async/await ESM code doesn't continue.\n // IS_ESM_BUILD is replaced at build time so this check doesn't happen in systemjs builds.\n return {\n then() {\n /* promise noop */\n },\n };\n }\n if (!BUILD.safari10 && importMeta !== '') {\n opts.resourcesUrl = new URL('.', importMeta).href;\n }\n else if (BUILD.dynamicImportShim || BUILD.safari10) {\n opts.resourcesUrl = new URL('.', new URL(scriptElm.getAttribute('data-resources-url') || scriptElm.src, win.location.href)).href;\n if (BUILD.dynamicImportShim) {\n patchDynamicImport(opts.resourcesUrl, scriptElm);\n }\n if (BUILD.dynamicImportShim && !win.customElements) {\n // module support, but no custom elements support (Old Edge)\n // @ts-ignore\n return import(/* webpackChunkName: \"polyfills-dom\" */ './dom.js').then(() => opts);\n }\n }\n return promiseResolve(opts);\n};\nconst patchDynamicImport = (base, orgScriptElm) => {\n const importFunctionName = getDynamicImportFunction(NAMESPACE);\n try {\n // test if this browser supports dynamic imports\n // There is a caching issue in V8, that breaks using import() in Function\n // By generating a random string, we can workaround it\n // Check https://bugs.chromium.org/p/chromium/issues/detail?id=990810 for more info\n win[importFunctionName] = new Function('w', `return import(w);//${Math.random()}`);\n }\n catch (e) {\n // this shim is specifically for browsers that do support \"esm\" imports\n // however, they do NOT support \"dynamic\" imports\n // basically this code is for old Edge, v18 and below\n const moduleMap = new Map();\n win[importFunctionName] = (src) => {\n var _a;\n const url = new URL(src, base).href;\n let mod = moduleMap.get(url);\n if (!mod) {\n const script = doc.createElement('script');\n script.type = 'module';\n script.crossOrigin = orgScriptElm.crossOrigin;\n script.src = URL.createObjectURL(new Blob([`import * as m from '${url}'; window.${importFunctionName}.m = m;`], {\n type: 'application/javascript',\n }));\n // Apply CSP nonce to the script tag if it exists\n const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);\n if (nonce != null) {\n script.setAttribute('nonce', nonce);\n }\n mod = new Promise((resolve) => {\n script.onload = () => {\n resolve(win[importFunctionName].m);\n script.remove();\n };\n });\n moduleMap.set(url, mod);\n doc.head.appendChild(script);\n }\n return mod;\n };\n }\n};\nconst patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function (deep) {\n if (this.nodeName === 'TEMPLATE') {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n // Node.ATTRIBUTE_NODE === 2, and checking because IE11\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport { patchBrowser };\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(options => {\n globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"mappings":"sFAkBA,MAAMA,EAAe,KA6BjB,MAAMC,EAAaC,OAAOC,KAAKC,IAC/B,MAAMC,EAA6D,GAenE,GAAuBJ,IAAe,GAAI,CACtCI,EAAKC,aAAe,IAAIC,IAAI,IAAKN,GAAYO,IACrD,CAYI,OAAOC,EAAeJ,EAAK,ECzE/BL,IAAeU,MAAKC,GAEXC,EAAc,uCAAuC,CAAAC,QAAA,2KAAAC,MAAA,IAAAC,MAAA,IAAAC,SAAA,mBAAAC,SAAA,gSAAAH,MAAA,IAAAI,KAAA,IAAAC,KAAA,IAAAC,GAAA,IAAAH,SAAA,OAAAI,WAAA,2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FAAAnH,MAAA,MAAAsC,KAAA,MAAA1B,KAAA,MAAAiB,KAAA,MAAAuF,QAAA,eAAAC,SAAA,iDAAAxG,MAAA,KAAAyG,SAAA,6CAAAtH,MAAA,gDAAAa,MAAA,IAAA0G,KAAA,IAAAC,SAAA,yDAAAC,SAAA,kDAAA5G,MAAA,kDAAA6G,YAAA,6FAAAC,QAAA,KAAAC,YAAA,IAAA1B,OAAA,uFAAA2B,OAAA,sDAAAhH,MAAA,KAAAyG,SAAA,8CAAAzG,MAAA,KAAAyG,SAAA,SAAA1H"}
|
|
1
|
+
{"version":3,"names":["patchBrowser","importMeta","import","meta","url","opts","resourcesUrl","URL","href","promiseResolve","then","options","bootstrapLazy","baseUrl","label","color","menuOpen","selected","icon","path","to","getContent","data","change","criteria","selector","counter","name","value","open","max","min","disabled","clear","start","end","showLabel","labelStart","labelEnd","notices","closable","header","visible","mediaQuery","history","size","checked","intermediate","t","toggle","accept","camera","placeholder","dragging","fill","removeItem","brand","type","currency","country","format","amount","toInteger","origin","send","direction","cssVariables","tab","deselectable","decoration","widths","width","period","distance","align","shape","inputValue","expanded","freeSearchValue","mutable","multiple","readonly","validator","display","required","minLength","maxLength","autocomplete","pattern","comparison","opacity","bottom","right","expand","selectedElement","allowSpotlight","spotlight","tuple","backend","created","search","valid","month","doubleInput","firstSelected","root","slotted","clickHandler","clone","nodes","prevent","initialPrompt","opened","missing","filter","reset","marked","looks","method","action","processing","changed","notice","submit","link","download","active","tick","initialValue","getFormData","setKeepFocusOnReRender","setSelectionRange","toolTip","document","editable","text","language","datetime","orientation","context","destination","listen"],"sources":["./node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v2.22.2 | MIT Licensed | https://stenciljs.com\n */\nimport { BUILD, NAMESPACE } from '@stencil/core/internal/app-data';\nimport { consoleDevInfo, plt, win, doc, promiseResolve, H } from '@stencil/core';\n/**\n * Helper method for querying a `meta` tag that contains a nonce value\n * out of a DOM's head.\n *\n * @param doc The DOM containing the `head` to query against\n * @returns The content of the meta tag representing the nonce value, or `undefined` if no tag\n * exists or the tag has no content.\n */\nfunction queryNonceMetaTagContent(doc) {\n var _a, _b, _c;\n return (_c = (_b = (_a = doc.head) === null || _a === void 0 ? void 0 : _a.querySelector('meta[name=\"csp-nonce\"]')) === null || _b === void 0 ? void 0 : _b.getAttribute('content')) !== null && _c !== void 0 ? _c : undefined;\n}\nconst getDynamicImportFunction = (namespace) => `__sc_import_${namespace.replace(/\\s|-/g, '_')}`;\nconst patchBrowser = () => {\n // NOTE!! This fn cannot use async/await!\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo('Running in development mode.');\n }\n if (BUILD.cssVarShim) {\n // shim css vars\n plt.$cssShim$ = win.__cssshim;\n }\n if (BUILD.cloneNodeFix) {\n // opted-in to polyfill cloneNode() for slot polyfilled components\n patchCloneNodeFix(H.prototype);\n }\n if (BUILD.profile && !performance.mark) {\n // not all browsers support performance.mark/measure (Safari 10)\n // because the mark/measure APIs are designed to write entries to a buffer in the browser that does not exist,\n // simply stub the implementations out.\n // TODO(STENCIL-323): Remove this patch when support for older browsers is removed (breaking)\n // @ts-ignore\n performance.mark = performance.measure = () => {\n /*noop*/\n };\n performance.getEntriesByName = () => [];\n }\n // @ts-ignore\n const scriptElm = BUILD.scriptDataOpts || BUILD.safari10 || BUILD.dynamicImportShim\n ? Array.from(doc.querySelectorAll('script')).find((s) => new RegExp(`\\/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) ||\n s.getAttribute('data-stencil-namespace') === NAMESPACE)\n : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? scriptElm['data-opts'] || {} : {};\n if (BUILD.safari10 && 'onbeforeload' in scriptElm && !history.scrollRestoration /* IS_ESM_BUILD */) {\n // Safari < v11 support: This IF is true if it's Safari below v11.\n // This fn cannot use async/await since Safari didn't support it until v11,\n // however, Safari 10 did support modules. Safari 10 also didn't support \"nomodule\",\n // so both the ESM file and nomodule file would get downloaded. Only Safari\n // has 'onbeforeload' in the script, and \"history.scrollRestoration\" was added\n // to Safari in v11. Return a noop then() so the async/await ESM code doesn't continue.\n // IS_ESM_BUILD is replaced at build time so this check doesn't happen in systemjs builds.\n return {\n then() {\n /* promise noop */\n },\n };\n }\n if (!BUILD.safari10 && importMeta !== '') {\n opts.resourcesUrl = new URL('.', importMeta).href;\n }\n else if (BUILD.dynamicImportShim || BUILD.safari10) {\n opts.resourcesUrl = new URL('.', new URL(scriptElm.getAttribute('data-resources-url') || scriptElm.src, win.location.href)).href;\n if (BUILD.dynamicImportShim) {\n patchDynamicImport(opts.resourcesUrl, scriptElm);\n }\n if (BUILD.dynamicImportShim && !win.customElements) {\n // module support, but no custom elements support (Old Edge)\n // @ts-ignore\n return import(/* webpackChunkName: \"polyfills-dom\" */ './dom.js').then(() => opts);\n }\n }\n return promiseResolve(opts);\n};\nconst patchDynamicImport = (base, orgScriptElm) => {\n const importFunctionName = getDynamicImportFunction(NAMESPACE);\n try {\n // test if this browser supports dynamic imports\n // There is a caching issue in V8, that breaks using import() in Function\n // By generating a random string, we can workaround it\n // Check https://bugs.chromium.org/p/chromium/issues/detail?id=990810 for more info\n win[importFunctionName] = new Function('w', `return import(w);//${Math.random()}`);\n }\n catch (e) {\n // this shim is specifically for browsers that do support \"esm\" imports\n // however, they do NOT support \"dynamic\" imports\n // basically this code is for old Edge, v18 and below\n const moduleMap = new Map();\n win[importFunctionName] = (src) => {\n var _a;\n const url = new URL(src, base).href;\n let mod = moduleMap.get(url);\n if (!mod) {\n const script = doc.createElement('script');\n script.type = 'module';\n script.crossOrigin = orgScriptElm.crossOrigin;\n script.src = URL.createObjectURL(new Blob([`import * as m from '${url}'; window.${importFunctionName}.m = m;`], {\n type: 'application/javascript',\n }));\n // Apply CSP nonce to the script tag if it exists\n const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);\n if (nonce != null) {\n script.setAttribute('nonce', nonce);\n }\n mod = new Promise((resolve) => {\n script.onload = () => {\n resolve(win[importFunctionName].m);\n script.remove();\n };\n });\n moduleMap.set(url, mod);\n doc.head.appendChild(script);\n }\n return mod;\n };\n }\n};\nconst patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function (deep) {\n if (this.nodeName === 'TEMPLATE') {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n // Node.ATTRIBUTE_NODE === 2, and checking because IE11\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport { patchBrowser };\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(options => {\n globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"mappings":"sFAkBA,MAAMA,EAAe,KA6BjB,MAAMC,EAAaC,OAAOC,KAAKC,IAC/B,MAAMC,EAA6D,GAenE,GAAuBJ,IAAe,GAAI,CACtCI,EAAKC,aAAe,IAAIC,IAAI,IAAKN,GAAYO,IACrD,CAYI,OAAOC,EAAeJ,EAAK,ECzE/BL,IAAeU,MAAKC,GAEXC,EAAc,uCAAuC,CAAAC,QAAA,2KAAAC,MAAA,IAAAC,MAAA,IAAAC,SAAA,mBAAAC,SAAA,uPAAAH,MAAA,IAAAI,KAAA,IAAAC,KAAA,IAAAC,GAAA,IAAAH,SAAA,OAAAI,WAAA,2DAAAC,KAAA,KAAAC,OAAA,qFAAAC,SAAA,KAAAF,KAAA,KAAAG,SAAA,oHAAAC,QAA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uF,QAAA,eAAAC,SAAA,iDAAAzG,MAAA,KAAA0G,SAAA,6CAAAvH,MAAA,gDAAAa,MAAA,IAAA2G,KAAA,IAAAC,SAAA,yDAAAC,SAAA,kDAAA7G,MAAA,kDAAA8G,YAAA,6FAAAC,QAAA,KAAAC,YAAA,IAAA1B,OAAA,uFAAA2B,OAAA,sDAAAjH,MAAA,KAAA0G,SAAA,8CAAA1G,MAAA,KAAA0G,SAAA,SAAA3H"}
|
|
@@ -11,7 +11,7 @@ export declare class SmoothlyApp {
|
|
|
11
11
|
mainElement?: HTMLElement;
|
|
12
12
|
rooms: Record<string, Room>;
|
|
13
13
|
selectedChanged(value: Room | undefined, previous: Room | undefined): Promise<void>;
|
|
14
|
-
burgerStatusHandler(event: CustomEvent): void;
|
|
14
|
+
burgerStatusHandler(event: CustomEvent<boolean>): void;
|
|
15
15
|
locationChangeHandler(event: PopStateEvent): Promise<void>;
|
|
16
16
|
roomSelectedHandler(event: SmoothlyAppRoomCustomEvent<HTMLSmoothlyAppRoomElement>): void;
|
|
17
17
|
roomLoadedHandler(event: SmoothlyAppRoomCustomEvent<HTMLSmoothlyAppRoomElement>): void;
|
|
@@ -3,9 +3,10 @@ export declare class SmoothlyBurger {
|
|
|
3
3
|
visible: boolean;
|
|
4
4
|
open: boolean;
|
|
5
5
|
mediaQuery: string;
|
|
6
|
-
|
|
6
|
+
history: boolean;
|
|
7
|
+
navStatus: EventEmitter<boolean>;
|
|
7
8
|
componentWillLoad(): void;
|
|
8
|
-
|
|
9
|
+
openChanged(): void;
|
|
9
10
|
resizeHandler(): void;
|
|
10
11
|
render(): any;
|
|
11
12
|
}
|
|
@@ -1176,7 +1176,7 @@ declare namespace LocalJSX {
|
|
|
1176
1176
|
}
|
|
1177
1177
|
interface SmoothlyBurger {
|
|
1178
1178
|
"mediaQuery"?: string;
|
|
1179
|
-
"
|
|
1179
|
+
"onNavStatus"?: (event: SmoothlyBurgerCustomEvent<boolean>) => void;
|
|
1180
1180
|
"open"?: boolean;
|
|
1181
1181
|
"visible"?: boolean;
|
|
1182
1182
|
}
|