analog-clock-components 0.2.162 → 0.2.164
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/analog-clock/analog-clock.esm.js +1 -1
- package/dist/analog-clock/{p-25973336.entry.js → p-2f0aed7b.entry.js} +1 -1
- package/dist/analog-clock/{p-BjQEQXt5.js → p-BB26DV_H.js} +1 -1
- package/dist/cjs/analog-clock.cjs.entry.js +1 -1
- package/dist/cjs/analog-clock.cjs.js +2 -2
- package/dist/cjs/{index-DW7eZdDy.js → index-BDWF03w6.js} +13 -8
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/esm/analog-clock.entry.js +1 -1
- package/dist/esm/analog-clock.js +3 -3
- package/dist/esm/{index-BjQEQXt5.js → index-BB26DV_H.js} +13 -8
- package/dist/esm/loader.js +2 -2
- package/dist/types/stencil-public-runtime.d.ts +61 -55
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as
|
|
1
|
+
import{p as e,b as o}from"./p-BB26DV_H.js";export{s as setNonce}from"./p-BB26DV_H.js";import{g as t}from"./p-DQuL1Twl.js";(()=>{const o=import.meta.url,s={};return""!==o&&(s.resourcesUrl=new URL(".",o).href),e(s)})().then((async e=>(await t(),o([["p-2f0aed7b",[[1,"analog-clock",{size:[2],timeZone:[2,"time-zone"],time:[32]}]]]],e))));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as t}from"./p-
|
|
1
|
+
import{r as e,h as t}from"./p-BB26DV_H.js";const c=class{constructor(t){e(this,t),this.size=void 0,this.timeZone=0,this.time=Date.now()}componentDidLoad(){this.timer=window.setInterval((()=>{this.time=Date.now()}),250)}disconnectedCallback(){clearInterval(this.timer)}get hour(){return new Date(this.time).getHours()}get minute(){return new Date(this.time).getMinutes()}get second(){return new Date(this.time).getSeconds()}hourToDegrees(){const e=this.hour+this.timeZone;return Math.floor(this.minute/2)+30*e}minuteToDegrees(){return Math.floor(this.second/10)+6*this.minute}secondToDegrees(){return 6*this.second}render(){return t("svg",{key:"39e3465d3bf04035966b00bb15186d1f712163cd",class:"clock",viewBox:"0 0 200 200",width:this.size,height:this.size},t("circle",{key:"e4c4288aa0efc9cf98027eef1f5bd7c550c23a18",id:"circle",cx:"100",cy:"100",r:"95","stroke-width":"10",fill:"transparent"}),t("line",{key:"296fb8ac19749103439f2ce1878db5ccfb214c20",id:"hour",transform:`rotate(${this.hourToDegrees()}, 100, 100)`,x1:"100",y1:"100",x2:"100",y2:"60","stroke-width":"10","stroke-linecap":"round"}),t("line",{key:"acbe2c6ebdf05ff46e06144839dec43c45e8b40d",id:"minute",transform:`rotate(${this.minuteToDegrees()}, 100, 100)`,x1:"100",y1:"100",x2:"100",y2:"30","stroke-width":"8","stroke-linecap":"round"}),t("line",{key:"f275abf7169379b2f61c9cdd185068f5e2373d4a",id:"second",transform:`rotate(${this.secondToDegrees()}, 100, 100)`,x1:"100",y1:"100",x2:"100",y2:"20","stroke-width":"2","stroke-linecap":"round"}))}};c.style=".clock #circle{stroke:var(--clock-circle-color, black)}.clock #hour{stroke:var(--clock-hour-color, black)}.clock #minute{stroke:var(--clock-minute-color, black)}.clock #second{stroke:var(--clock-second-color, black)}";export{c as analog_clock}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
function t(t,e,n){const o="undefined"!=typeof HTMLElement?HTMLElement.prototype:null;for(;t&&t!==o;){const o=Object.getOwnPropertyDescriptor(t,e);if(o&&(!n||o.get))return o;t=Object.getPrototypeOf(t)}}var e,n=(e,n)=>{var o;Object.entries(null!=(o=n.o.t)?o:{}).map((([o,[l]])=>{if(31&l||32&l){const l=e[o],i=t(Object.getPrototypeOf(e),o,!0)||Object.getOwnPropertyDescriptor(e,o);i&&Object.defineProperty(e,o,{get(){return i.get.call(this)},set(t){i.set.call(this,t)},configurable:!0,enumerable:!0}),n.l.has(o)?e[o]=n.l.get(o):void 0!==l&&(e[o]=l)}}))},o=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},l=(t,e)=>{e&&(t.__stencil__getHostRef=()=>e,e.i=t,512&e.o.u&&n(t,e))},i=(t,e)=>(0,console.error)(t,e),s=new Map,r=new Map,c=new Map,u="undefined"!=typeof window?window:{},a={u:0,h:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,o)=>t.addEventListener(e,n,o),rel:(t,e,n,o)=>t.removeEventListener(e,n,o),ce:(t,e)=>new CustomEvent(t,e)},f=t=>Promise.resolve(t),d=(()=>{try{return!!u.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),h=!!d&&(()=>!!u.document&&Object.getOwnPropertyDescriptor(u.document.adoptedStyleSheets,"length").writable)(),p=!1,m=[],v=[],y=()=>{var t;return(null==(t=u.document)?void 0:t.hidden)?g($):a.raf($)},b=(t,e)=>n=>{t.push(n),p||(p=!0,e&&4&a.u?g($):y())},w=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){i(t)}t.length=0},$=()=>{w(m),w(v),(p=m.length>0)&&y()},g=t=>f().then(t),j=b(v,!0);function S(){const t=this.attachShadow({mode:"open"});void 0===e&&(e=null),e&&(h?t.adoptedStyleSheets.push(e):t.adoptedStyleSheets=[...t.adoptedStyleSheets,e])}function O(t){var e,n,o;return null!=(o=null==(n=null==(e=t.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}var k,M=new WeakMap,E=t=>"sc-"+t.p,C=t=>"object"==(t=typeof t)||"function"===t,N=(t,e,...n)=>{let o=null,l=null,s=!1,r=!1;const c=[],u=e=>{for(let n=0;n<e.length;n++)if(o=e[n],Array.isArray(o))u(o);else if(null!=o&&"boolean"!=typeof o){if(s="function"!=typeof t&&!C(o))o+="";else if("function"!=typeof t&&void 0===o.u){i("Invalid vNode child");continue}s&&r?c[c.length-1].m+=o:c.push(s?x(null,o):o),r=s}};if(u(n),e){e.key&&(l=e.key);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}}const a=x(t,null);return a.v=e,c.length>0&&(a.$=c),a.j=l,a},x=(t,e)=>({u:0,S:t,m:null!=e?e:null,O:null,$:null,v:null,j:null}),L={},T=(t,e)=>null==t||C(t)?t:2&e?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:t,D=(t,e,n,l,i,s)=>{if(n===l)return;let r=((t,e)=>e in t)(t,e);if(e.toLowerCase(),"class"===e){const e=t.classList,o=H(n);let i=H(l);e.remove(...o.filter((t=>t&&!i.includes(t)))),e.add(...i.filter((t=>t&&!o.includes(t))))}else if("key"===e);else{if("a"===e[0]&&e.startsWith("attr:")){const n=e.slice(5);let i;{const e=o(t);if(e&&e.o&&e.o.t){const t=e.o.t[n];t&&t[1]&&(i=t[1])}}return i||(i=n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==l||!1===l?!1===l&&""!==t.getAttribute(i)||t.removeAttribute(i):t.setAttribute(i,!0===l?"":l))}if("p"===e[0]&&e.startsWith("prop:")){const n=e.slice(5);try{t[n]=l}catch(t){}return}{const o=C(l);if((r||o&&null!==l)&&!i)try{if(t.tagName.includes("-"))t[e]!==l&&(t[e]=l);else{const o=null==l?"":l;"list"===e?r=!1:null!=n&&t[e]===o||("function"==typeof t.__lookupSetter__(e)?t[e]=o:t.setAttribute(e,o))}}catch(t){}null==l||!1===l?(!1!==l||""===t.getAttribute(e)||4&s&&!R(e))&&t.removeAttribute(e):(!r||4&s||i)&&!o&&1===t.nodeType&&t.setAttribute(e,l=!0===l?"":l)}}},P=new Set(["draggable","contenteditable","spellcheck"]),R=t=>P.has(t)||t.startsWith("aria-"),A=/\s/,H=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(A):[]),U=(t,e,n)=>{const o=11===e.O.nodeType&&e.O.host?e.O.host:e.O,l=t&&t.v||{},i=e.v||{};for(const t of W(Object.keys(l)))t in i||D(o,t,l[t],void 0,n,e.u);for(const t of W(Object.keys(i)))D(o,t,l[t],i[t],n,e.u)};function W(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var z=!1,F=(t,e,n)=>{const o=e.$[n];let l,i,s=0;if(z||(z="svg"===o.S),!u.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(l=o.O=u.document.createElementNS(z?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",o.S),z&&"foreignObject"===o.S&&(z=!1),U(null,o,z),o.$){const e="template"===o.S?l.content:l;for(s=0;s<o.$.length;++s)i=F(t,o,s),i&&e.appendChild(i)}return"svg"===o.S?z=!1:"foreignObject"===l.tagName&&(z=!0),l["s-hn"]=k,l},V=(t,e,n,o,l,i)=>{let s,r=t;for(r.shadowRoot&&r.tagName===k&&(r=r.shadowRoot),"template"===n.S&&(r=r.content);l<=i;++l)o[l]&&(s=F(null,n,l),s&&(o[l].O=s,I(r,s,e)))},q=(t,e,n)=>{for(let o=e;o<=n;++o){const e=t[o];if(e){const t=e.O;t&&t.remove()}}},B=(t,e,n=!1)=>t.S===e.S&&(n?(n&&!t.j&&e.j&&(t.j=e.j),!0):t.j===e.j),G=(t,e,n=!1)=>{const o=e.O=t.O,l=t.$,i=e.$,s=e.S;U(t,e,z="svg"===s||"foreignObject"!==s&&z),null!==l&&null!==i?((t,e,n,o,l=!1)=>{let i,s,r=0,c=0,u=0,a=0,f=e.length-1,d=e[0],h=e[f],p=o.length-1,m=o[0],v=o[p];const y="template"===n.S?t.content:t;for(;r<=f&&c<=p;)if(null==d)d=e[++r];else if(null==h)h=e[--f];else if(null==m)m=o[++c];else if(null==v)v=o[--p];else if(B(d,m,l))G(d,m,l),d=e[++r],m=o[++c];else if(B(h,v,l))G(h,v,l),h=e[--f],v=o[--p];else if(B(d,v,l))G(d,v,l),I(y,d.O,h.O.nextSibling),d=e[++r],v=o[--p];else if(B(h,m,l))G(h,m,l),I(y,h.O,d.O),h=e[--f],m=o[++c];else{for(u=-1,a=r;a<=f;++a)if(e[a]&&null!==e[a].j&&e[a].j===m.j){u=a;break}u>=0?(s=e[u],s.S!==m.S?i=F(e&&e[c],n,u):(G(s,m,l),e[u]=void 0,i=s.O),m=o[++c]):(i=F(e&&e[c],n,c),m=o[++c]),i&&I(d.O.parentNode,i,d.O)}r>f?V(t,null==o[p+1]?null:o[p+1].O,n,o,c,p):c>p&&q(e,r,f)})(o,l,e,i,n):null!==i?V(o,null,e,i,0,i.length-1):!n&&null!==l&&q(l,0,l.length-1),z&&"svg"===s&&(z=!1)},I=(t,e,n)=>null==t?void 0:t.insertBefore(e,n),Y=(t,e)=>{if(e&&!t.k&&e["s-p"]){const n=e["s-p"].push(new Promise((o=>t.k=()=>{e["s-p"].splice(n-1,1),o()})))}},Z=(t,e)=>{if(t.u|=16,4&t.u)return void(t.u|=512);Y(t,t.M);const n=()=>_(t,e);if(!e)return j(n);queueMicrotask((()=>{n()}))},_=(t,e)=>{const n=t.$hostElement$,o=t.i;if(!o)throw Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return e?(t.C.length&&t.C.forEach((t=>t(n))),l=nt(o,"componentWillLoad",void 0,n)):l=nt(o,"componentWillUpdate",void 0,n),l=J(l,(()=>nt(o,"componentWillRender",void 0,n))),J(l,(()=>Q(t,o,e)))},J=(t,e)=>K(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),K=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,Q=async(t,e,n)=>{var o;const l=t.$hostElement$,i=l["s-rc"];n&&(t=>{const e=t.o,n=t.$hostElement$,o=e.u,l=((t,e)=>{var n,o,l;const i=E(e),s=c.get(i);if(!u.document)return i;if(t=11===t.nodeType?t:u.document,s)if("string"==typeof s){let l,r=M.get(t=t.head||t);if(r||M.set(t,r=new Set),!r.has(i)){l=u.document.createElement("style"),l.textContent=s;const c=null!=(n=a.N)?n:O(u.document);if(null!=c&&l.setAttribute("nonce",c),!(1&e.u))if("HEAD"===t.nodeName){const e=t.querySelectorAll("link[rel=preconnect]"),n=e.length>0?e[e.length-1].nextSibling:t.querySelector("style");t.insertBefore(l,(null==n?void 0:n.parentNode)===t?n:null)}else if("host"in t)if(d){const e=new(null!=(o=t.defaultView)?o:t.ownerDocument.defaultView).CSSStyleSheet;e.replaceSync(s),h?t.adoptedStyleSheets.unshift(e):t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const e=t.querySelector("style");e?e.textContent=s+e.textContent:t.prepend(l)}else t.append(l);1&e.u&&t.insertBefore(l,null),4&e.u&&(l.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),r&&r.add(i)}}else{let e=M.get(t);if(e||M.set(t,e=new Set),!e.has(i)){const n=null!=(l=t.defaultView)?l:t.ownerDocument.defaultView;let o;if(s.constructor===n.CSSStyleSheet)o=s;else{o=new n.CSSStyleSheet;for(let t=0;t<s.cssRules.length;t++)o.insertRule(s.cssRules[t].cssText,t)}h?t.adoptedStyleSheets.push(o):t.adoptedStyleSheets=[...t.adoptedStyleSheets,o],e.add(i)}}return i})(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);10&o&&(n["s-sc"]=l,n.classList.add(l+"-h"))})(t);X(t,e,l,n),i&&(i.map((t=>t())),l["s-rc"]=void 0);{const e=null!=(o=l["s-p"])?o:[],n=()=>tt(t);0===e.length?n():(Promise.all(e).then(n).catch(n),t.u|=4,e.length=0)}},X=(t,e,n,o)=>{try{e=e.render(),t.u&=-17,t.u|=2,((t,e,n=!1)=>{const o=t.$hostElement$,l=t.L||x(null,null),i=(t=>t&&t.S===L)(e)?e:N(null,null,e);if(k=o.tagName,n&&i.v)for(const t of Object.keys(i.v))o.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(i.v[t]=o[t]);i.S=null,i.u|=4,t.L=i,i.O=l.O=o.shadowRoot||o,G(l,i,n)})(t,e,o)}catch(e){i(e,t.$hostElement$)}return null},tt=t=>{const e=t.$hostElement$,n=t.i,o=t.M;nt(n,"componentDidRender",void 0,e),64&t.u?nt(n,"componentDidUpdate",void 0,e):(t.u|=64,ot(e),nt(n,"componentDidLoad",void 0,e),t.T(e),o||et()),t.k&&(t.k(),t.k=void 0),512&t.u&&g((()=>Z(t,!1))),t.u&=-517},et=()=>{g((()=>(t=>{const e=a.ce("appload",{detail:{namespace:"analog-clock"}});return t.dispatchEvent(e),e})(u)))},nt=(t,e,n,o)=>{if(t&&t[e])try{return t[e](n)}catch(t){i(t,o)}},ot=t=>t.classList.add("hydrated"),lt=(t,e,n,l)=>{const i=o(t);if(!i)return;if(!i)throw Error(`Couldn't find host element for "${l.p}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);const s=i.l.get(e),r=i.u,c=i.i;if(n=T(n,l.t[e][0]),(!(8&r)||void 0===s)&&n!==s&&(!Number.isNaN(s)||!Number.isNaN(n))&&(i.l.set(e,n),2&r)){if(c.componentShouldUpdate&&!1===c.componentShouldUpdate(n,s,e)&&!(16&r))return;16&r||Z(i,!1)}},it=(e,n,l)=>{var i,s;const r=e.prototype;if(n.t){const c=Object.entries(null!=(i=n.t)?i:{});if(c.map((([e,[i]])=>{if(31&i||2&l&&32&i){const{get:s,set:c}=t(r,e)||{};s&&(n.t[e][0]|=2048),c&&(n.t[e][0]|=4096),(1&l||!s)&&Object.defineProperty(r,e,{get(){{if(!(2048&n.t[e][0]))return((t,e)=>o(this).l.get(e))(0,e);const t=o(this),l=t?t.i:r;if(!l)return;return l[e]}},configurable:!0,enumerable:!0}),Object.defineProperty(r,e,{set(t){const s=o(this);if(s){if(c)return void 0===(32&i?this[e]:s.$hostElement$[e])&&s.l.get(e)&&(t=s.l.get(e)),c.call(this,T(t,i)),void lt(this,e,t=32&i?this[e]:s.$hostElement$[e],n);{if(!(1&l&&4096&n.t[e][0]))return lt(this,e,t,n),void(1&l&&!s.i&&s.C.push((()=>{4096&n.t[e][0]&&s.i[e]!==s.l.get(e)&&(s.i[e]=t)})));const o=()=>{const o=s.i[e];!s.l.get(e)&&o&&s.l.set(e,o),s.i[e]=T(t,i),lt(this,e,s.i[e],n)};s.i?o():s.C.push((()=>{o()}))}}}})}})),1&l){const t=new Map;r.attributeChangedCallback=function(e,l,i){a.jmp((()=>{var s;const u=t.get(e),a=o(this);if(this.hasOwnProperty(u)&&(i=this[u],delete this[u]),r.hasOwnProperty(u)&&"number"==typeof this[u]&&this[u]==i)return;if(null==u){const t=null==a?void 0:a.u;if(a&&t&&!(8&t)&&i!==l){const o=a.i,r=null==(s=n.D)?void 0:s[e];null==r||r.forEach((n=>{const[[s,r]]=Object.entries(n);null!=o[s]&&(128&t||1&r)&&o[s].call(o,i,l,e)}))}return}const f=c.find((([t])=>t===u)),d=4&(f?f[1][0]:0),h=d&&null===i&&void 0===this[u];d&&(i=null!==i&&"false"!==i);const p=Object.getOwnPropertyDescriptor(r,u);h||i==this[u]||p.get&&!p.set||(this[u]=i)}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(s=n.D)?s:{}),...c.filter((([t,e])=>31&e[0])).map((([e,n])=>{const o=n[1]||e;return t.set(o,e),o}))]))}}return e},st=async(t,e,n)=>{var o;let l;try{if(!(32&e.u)){if(e.u|=32,e.u&=-1025,n.P){const c=((t,e)=>{var n;const o=t.p.replace(/-/g,"_"),l=t.P;if(!l)return;const c=s.get(l);if(c)return c[o];const u=null!=(n=r.get(l))?n:0,a=[u>0?"s-retry="+u:"",""].filter(Boolean).join("&");
|
|
1
|
+
function t(t,e,n){const o="undefined"!=typeof HTMLElement?HTMLElement.prototype:null;for(;t&&t!==o;){const o=Object.getOwnPropertyDescriptor(t,e);if(o&&(!n||o.get))return o;t=Object.getPrototypeOf(t)}}var e,n=(e,n)=>{var o;Object.entries(null!=(o=n.o.t)?o:{}).map((([o,[l]])=>{if(31&l||32&l){const l=e[o],i=t(Object.getPrototypeOf(e),o,!0)||Object.getOwnPropertyDescriptor(e,o);i&&Object.defineProperty(e,o,{get(){return i.get.call(this)},set(t){i.set.call(this,t)},configurable:!0,enumerable:!0}),n.l.has(o)?e[o]=n.l.get(o):void 0!==l&&(e[o]=l)}}))},o=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},l=(t,e)=>{e&&(t.__stencil__getHostRef=()=>e,e.i=t,512&e.o.u&&n(t,e))},i=(t,e)=>(0,console.error)(t,e),s=new Map,r=new Map,c=new Map,u="undefined"!=typeof window?window:{},a={u:0,h:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,o)=>t.addEventListener(e,n,o),rel:(t,e,n,o)=>t.removeEventListener(e,n,o),ce:(t,e)=>new CustomEvent(t,e)},f=t=>Promise.resolve(t),d=(()=>{try{return!!u.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),h=!!d&&(()=>!!u.document&&Object.getOwnPropertyDescriptor(u.document.adoptedStyleSheets,"length").writable)(),p=!1,m=[],v=[],y=()=>{var t;return(null==(t=u.document)?void 0:t.hidden)?g($):a.raf($)},b=(t,e)=>n=>{t.push(n),p||(p=!0,e&&4&a.u?g($):y())},w=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){i(t)}t.length=0},$=()=>{w(m),w(v),(p=m.length>0)&&y()},g=t=>f().then(t),j=b(v,!0);function S(){const t=this.attachShadow({mode:"open"});void 0===e&&(e=null),e&&(h?t.adoptedStyleSheets.push(e):t.adoptedStyleSheets=[...t.adoptedStyleSheets,e])}function O(t){var e,n,o;return null!=(o=null==(n=null==(e=t.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}var k,M=new WeakMap,E=t=>"sc-"+t.p,C=t=>"object"==(t=typeof t)||"function"===t,N=(t,e,...n)=>{let o=null,l=null,s=!1,r=!1;const c=[],u=e=>{for(let n=0;n<e.length;n++)if(o=e[n],Array.isArray(o))u(o);else if(null!=o&&"boolean"!=typeof o){if(s="function"!=typeof t&&!C(o))o+="";else if("function"!=typeof t&&void 0===o.u){i("Invalid vNode child");continue}s&&r?c[c.length-1].m+=o:c.push(s?x(null,o):o),r=s}};if(u(n),e){e.key&&(l=e.key);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}}const a=x(t,null);return a.v=e,c.length>0&&(a.$=c),a.j=l,a},x=(t,e)=>({u:0,S:t,m:null!=e?e:null,O:null,$:null,v:null,j:null}),L={},T=(t,e)=>null==t||C(t)?t:2&e?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:t,D=(t,e,n,l,i,s)=>{if(n===l)return;let r=((t,e)=>e in t)(t,e);if(e.toLowerCase(),"class"===e){const e=t.classList,o=H(n);let i=H(l);e.remove(...o.filter((t=>t&&!i.includes(t)))),e.add(...i.filter((t=>t&&!o.includes(t))))}else if("key"===e);else{if("a"===e[0]&&e.startsWith("attr:")){const n=e.slice(5);let i;{const e=o(t);if(e&&e.o&&e.o.t){const t=e.o.t[n];t&&t[1]&&(i=t[1])}}return i||(i=n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==l||!1===l?!1===l&&""!==t.getAttribute(i)||t.removeAttribute(i):t.setAttribute(i,!0===l?"":l))}if("p"===e[0]&&e.startsWith("prop:")){const n=e.slice(5);try{t[n]=l}catch(t){}return}{const o=C(l);if((r||o&&null!==l)&&!i)try{if(t.tagName.includes("-"))t[e]!==l&&(t[e]=l);else{const o=null==l?"":l;"list"===e?r=!1:null!=n&&t[e]===o||("function"==typeof t.__lookupSetter__(e)?t[e]=o:t.setAttribute(e,o))}}catch(t){}null==l||!1===l?(!1!==l||""===t.getAttribute(e)||4&s&&!R(e))&&t.removeAttribute(e):(!r||4&s||i)&&!o&&1===t.nodeType&&t.setAttribute(e,l=!0===l?"":l)}}},P=new Set(["draggable","contenteditable","spellcheck"]),R=t=>P.has(t)||t.startsWith("aria-"),A=/\s/,H=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(A):[]),U=(t,e,n)=>{const o=11===e.O.nodeType&&e.O.host?e.O.host:e.O,l=t&&t.v||{},i=e.v||{};for(const t of W(Object.keys(l)))t in i||D(o,t,l[t],void 0,n,e.u);for(const t of W(Object.keys(i)))D(o,t,l[t],i[t],n,e.u)};function W(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var z=!1,F=(t,e,n)=>{const o=e.$[n];let l,i,s=0;if(z||(z="svg"===o.S),!u.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(l=o.O=u.document.createElementNS(z?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",o.S),z&&"foreignObject"===o.S&&(z=!1),U(null,o,z),o.$){const e="template"===o.S?l.content:l;for(s=0;s<o.$.length;++s)i=F(t,o,s),i&&e.appendChild(i)}return"svg"===o.S?z=!1:"foreignObject"===l.tagName&&(z=!0),l["s-hn"]=k,l},V=(t,e,n,o,l,i)=>{let s,r=t;for(r.shadowRoot&&r.tagName===k&&(r=r.shadowRoot),"template"===n.S&&(r=r.content);l<=i;++l)o[l]&&(s=F(null,n,l),s&&(o[l].O=s,I(r,s,e)))},q=(t,e,n)=>{for(let o=e;o<=n;++o){const e=t[o];if(e){const t=e.O;t&&t.remove()}}},B=(t,e,n=!1)=>t.S===e.S&&(n?(n&&!t.j&&e.j&&(t.j=e.j),!0):t.j===e.j),G=(t,e,n=!1)=>{const o=e.O=t.O,l=t.$,i=e.$,s=e.S;U(t,e,z="svg"===s||"foreignObject"!==s&&z),null!==l&&null!==i?((t,e,n,o,l=!1)=>{let i,s,r=0,c=0,u=0,a=0,f=e.length-1,d=e[0],h=e[f],p=o.length-1,m=o[0],v=o[p];const y="template"===n.S?t.content:t;for(;r<=f&&c<=p;)if(null==d)d=e[++r];else if(null==h)h=e[--f];else if(null==m)m=o[++c];else if(null==v)v=o[--p];else if(B(d,m,l))G(d,m,l),d=e[++r],m=o[++c];else if(B(h,v,l))G(h,v,l),h=e[--f],v=o[--p];else if(B(d,v,l))G(d,v,l),I(y,d.O,h.O.nextSibling),d=e[++r],v=o[--p];else if(B(h,m,l))G(h,m,l),I(y,h.O,d.O),h=e[--f],m=o[++c];else{for(u=-1,a=r;a<=f;++a)if(e[a]&&null!==e[a].j&&e[a].j===m.j){u=a;break}u>=0?(s=e[u],s.S!==m.S?i=F(e&&e[c],n,c):(G(s,m,l),e[u]=void 0,i=s.O),m=o[++c]):(i=F(e&&e[c],n,c),m=o[++c]),i&&I(d.O.parentNode,i,d.O)}r>f?V(t,null==o[p+1]?null:o[p+1].O,n,o,c,p):c>p&&q(e,r,f)})(o,l,e,i,n):null!==i?V(o,null,e,i,0,i.length-1):!n&&null!==l&&q(l,0,l.length-1),z&&"svg"===s&&(z=!1)},I=(t,e,n)=>null==t?void 0:t.insertBefore(e,n),Y=(t,e)=>{if(e&&!t.k&&e["s-p"]){const n=e["s-p"].push(new Promise((o=>t.k=()=>{e["s-p"].splice(n-1,1),o()})))}},Z=(t,e)=>{if(t.u|=16,4&t.u)return void(t.u|=512);Y(t,t.M);const n=()=>_(t,e);if(!e)return j(n);queueMicrotask((()=>{n()}))},_=(t,e)=>{const n=t.$hostElement$,o=t.i;if(!o)throw Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return e?(t.C.length&&t.C.forEach((t=>t(n))),l=nt(o,"componentWillLoad",void 0,n)):l=nt(o,"componentWillUpdate",void 0,n),l=J(l,(()=>nt(o,"componentWillRender",void 0,n))),J(l,(()=>Q(t,o,e)))},J=(t,e)=>K(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),K=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,Q=async(t,e,n)=>{var o;const l=t.$hostElement$,i=l["s-rc"];n&&(t=>{const e=t.o,n=t.$hostElement$,o=e.u,l=((t,e)=>{var n,o,l;const i=E(e),s=c.get(i);if(!u.document)return i;if(t=11===t.nodeType?t:u.document,s)if("string"==typeof s){let l,r=M.get(t=t.head||t);if(r||M.set(t,r=new Set),!r.has(i)){l=u.document.createElement("style"),l.textContent=s;const c=null!=(n=a.N)?n:O(u.document);if(null!=c&&l.setAttribute("nonce",c),!(1&e.u))if("HEAD"===t.nodeName){const e=t.querySelectorAll("link[rel=preconnect]"),n=e.length>0?e[e.length-1].nextSibling:t.querySelector("style");t.insertBefore(l,(null==n?void 0:n.parentNode)===t?n:null)}else if("host"in t)if(d){const e=new(null!=(o=t.defaultView)?o:t.ownerDocument.defaultView).CSSStyleSheet;e.replaceSync(s),h?t.adoptedStyleSheets.unshift(e):t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const e=t.querySelector("style");e?e.textContent=s+e.textContent:t.prepend(l)}else t.append(l);1&e.u&&t.insertBefore(l,null),4&e.u&&(l.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),r&&r.add(i)}}else{let e=M.get(t);if(e||M.set(t,e=new Set),!e.has(i)){const n=null!=(l=t.defaultView)?l:t.ownerDocument.defaultView;let o;if(s.constructor===n.CSSStyleSheet)o=s;else{o=new n.CSSStyleSheet;for(let t=0;t<s.cssRules.length;t++)o.insertRule(s.cssRules[t].cssText,t)}h?t.adoptedStyleSheets.push(o):t.adoptedStyleSheets=[...t.adoptedStyleSheets,o],e.add(i)}}return i})(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);10&o&&(n["s-sc"]=l,n.classList.add(l+"-h"))})(t);X(t,e,l,n),i&&(i.map((t=>t())),l["s-rc"]=void 0);{const e=null!=(o=l["s-p"])?o:[],n=()=>tt(t);0===e.length?n():(Promise.all(e).then(n).catch(n),t.u|=4,e.length=0)}},X=(t,e,n,o)=>{try{e=e.render(),t.u&=-17,t.u|=2,((t,e,n=!1)=>{const o=t.$hostElement$,l=t.L||x(null,null),i=(t=>t&&t.S===L)(e)?e:N(null,null,e);if(k=o.tagName,n&&i.v)for(const t of Object.keys(i.v))o.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(i.v[t]=o[t]);i.S=null,i.u|=4,t.L=i,i.O=l.O=o.shadowRoot||o,G(l,i,n)})(t,e,o)}catch(e){i(e,t.$hostElement$)}return null},tt=t=>{const e=t.$hostElement$,n=t.i,o=t.M;nt(n,"componentDidRender",void 0,e),64&t.u?nt(n,"componentDidUpdate",void 0,e):(t.u|=64,ot(e),nt(n,"componentDidLoad",void 0,e),t.T(e),o||et()),t.k&&(t.k(),t.k=void 0),512&t.u&&g((()=>Z(t,!1))),t.u&=-517},et=()=>{g((()=>(t=>{const e=a.ce("appload",{detail:{namespace:"analog-clock"}});return t.dispatchEvent(e),e})(u)))},nt=(t,e,n,o)=>{if(t&&t[e])try{return t[e](n)}catch(t){i(t,o)}},ot=t=>t.classList.add("hydrated"),lt=(t,e,n,l)=>{const i=o(t);if(!i)return;if(!i)throw Error(`Couldn't find host element for "${l.p}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);const s=i.l.get(e),r=i.u,c=i.i;if(n=T(n,l.t[e][0]),(!(8&r)||void 0===s)&&n!==s&&(!Number.isNaN(s)||!Number.isNaN(n))&&(i.l.set(e,n),2&r)){if(c.componentShouldUpdate&&!1===c.componentShouldUpdate(n,s,e)&&!(16&r))return;16&r||Z(i,!1)}},it=(e,n,l)=>{var i,s;const r=e.prototype;if(n.t){const c=Object.entries(null!=(i=n.t)?i:{});if(c.map((([e,[i]])=>{if(31&i||2&l&&32&i){const{get:s,set:c}=t(r,e)||{};s&&(n.t[e][0]|=2048),c&&(n.t[e][0]|=4096),(1&l||!s)&&Object.defineProperty(r,e,{get(){{if(!(2048&n.t[e][0]))return((t,e)=>o(this).l.get(e))(0,e);const t=o(this),l=t?t.i:r;if(!l)return;return l[e]}},configurable:!0,enumerable:!0}),Object.defineProperty(r,e,{set(t){const s=o(this);if(s){if(c)return void 0===(32&i?this[e]:s.$hostElement$[e])&&s.l.get(e)&&(t=s.l.get(e)),c.call(this,T(t,i)),void lt(this,e,t=32&i?this[e]:s.$hostElement$[e],n);{if(!(1&l&&4096&n.t[e][0]))return lt(this,e,t,n),void(1&l&&!s.i&&s.C.push((()=>{4096&n.t[e][0]&&s.i[e]!==s.l.get(e)&&(s.i[e]=t)})));const o=T(t,i),r=t=>{const o=s.i[e];!s.l.get(e)&&o&&s.l.set(e,o),s.i[e]=t,lt(this,e,s.i[e],n)};s.i?r(o):(s.l.set(e,o),s.C.push((()=>{const t=s.l.get(e);s.i[e]!==t&&r(t)})))}}}})}})),1&l){const t=new Map;r.attributeChangedCallback=function(e,l,i){a.jmp((()=>{var s;const u=t.get(e),a=o(this);if(this.hasOwnProperty(u)&&(i=this[u],delete this[u]),r.hasOwnProperty(u)&&"number"==typeof this[u]&&this[u]==i)return;if(null==u){const t=null==a?void 0:a.u;if(a&&t&&!(8&t)&&i!==l){const o=a.i,r=null==(s=n.D)?void 0:s[e];null==r||r.forEach((n=>{const[[s,r]]=Object.entries(n);null!=o[s]&&(128&t||1&r)&&o[s].call(o,i,l,e)}))}return}const f=c.find((([t])=>t===u)),d=4&(f?f[1][0]:0),h=d&&null===i&&void 0===this[u];d&&(i=null!==i&&"false"!==i);const p=Object.getOwnPropertyDescriptor(r,u);h||i==this[u]||p.get&&!p.set||(this[u]=i)}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(s=n.D)?s:{}),...c.filter((([t,e])=>31&e[0])).map((([e,n])=>{const o=n[1]||e;return t.set(o,e),o}))]))}}return e},st=async(t,e,n)=>{var o;let l;try{if(!(32&e.u)){if(e.u|=32,e.u&=-1025,n.P){const c=((t,e)=>{var n;const o=t.p.replace(/-/g,"_"),l=t.P;if(!l)return;const c=s.get(l);if(c)return c[o];const u=null!=(n=r.get(l))?n:0,a=[u>0?"s-retry="+u:"",""].filter(Boolean).join("&");
|
|
2
2
|
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/
|
|
3
3
|
return import(`./${l}.entry.js${a?"?"+a:""}`).then((t=>(r.delete(l),s.set(l,t),t[o])),(t=>{r.set(l,u+1),i(t,e.$hostElement$)}))})(n,e);if(c&&"then"in c){const t=()=>{};l=await c,t()}else l=c;if(!l)throw e.u&=-33,e.R=(null!=(o=e.R)?o:0)+1,e.R<3&&(e.u|=1024),Error(`Constructor for "${n.p}#${e.A}" was not found`);l.isProxied||(it(l,n,2),l.isProxied=!0);const u=()=>{};e.u|=8;try{new l(e)}catch(e){i(e,t)}e.u&=-9,u(),rt(e.i,t)}else l=t.constructor,customElements.whenDefined(t.localName).then((()=>e.u|=128));if(l&&l.style){let t;"string"==typeof l.style&&(t=l.style);const e=E(n);if(!c.has(e)){const o=()=>{};((t,e,n)=>{let o=c.get(t);d&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=e:o.replaceSync(e)):o=e,c.set(t,o)})(e,t,!!(1&n.u)),o()}}}const u=e.M,a=()=>Z(e,!0);u&&u["s-rc"]?u["s-rc"].push(a):a()}catch(n){i(n,t),e.k&&(e.k(),e.k=void 0),!e.T||1024&e.u||e.T(t)}},rt=(t,e)=>{nt(t,"connectedCallback",void 0,e)},ct=(t,e)=>{nt(t,"disconnectedCallback",void 0,e||t)},ut=(t,e={})=>{var n;if(!u.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const l=[],i=e.exclude||[],s=u.customElements,r=u.document.head,c=r.querySelector("meta[charset]"),f=u.document.createElement("style"),d=[];let h,p=!0;if(Object.assign(a,e),a.h=new URL(e.resourcesUrl||"./",u.document.baseURI).href,t.map((t=>{t[1].map((e=>{const n={u:e[0],p:e[1],t:e[2],H:e[3]};n.t=e[2];const r=n.p,c=class extends HTMLElement{"s-p";"s-rc";hasRegisteredEventListeners=!1;constructor(t){if(super(t),((t,e)=>{const n={u:0,$hostElement$:t,o:e,l:new Map,U:new Map};n.W=new Promise((t=>n.T=t)),t["s-p"]=[],t["s-rc"]=[],n.C=[];const o=n;t.__stencil__getHostRef=()=>o})(t=this,n),1&n.u)if(t.shadowRoot){if("open"!==t.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${n.p}! Mode is set to ${t.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else S.call(t,n)}connectedCallback(){o(this)&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),h&&(clearTimeout(h),h=null),p?d.push(this):a.jmp((()=>(t=>{if(!(1&a.u)){const e=o(t);if(!e)return;const n=e.o,l=()=>{};if(1&e.u)(null==e?void 0:e.i)?rt(e.i,t):1024&e.u?setTimeout((()=>st(t,e,n)),1e3):(null==e?void 0:e.W)&&e.W.then((()=>rt(e.i,t)));else{e.u|=1;{let n=t;for(;n=n.parentNode||n.host;)if(n["s-p"]){Y(e,e.M=n);break}}n.t&&Object.entries(n.t).map((([e,[n]])=>{if(31&n&&Object.prototype.hasOwnProperty.call(t,e)){const n=t[e];delete t[e],t[e]=n}})),st(t,e,n)}l()}})(this))))}disconnectedCallback(){a.jmp((()=>(async t=>{if(!(1&a.u)){const e=o(t);(null==e?void 0:e.i)?ct(e.i,t):(null==e?void 0:e.W)&&e.W.then((()=>ct(e.i,t)))}M.has(t)&&M.delete(t),t.shadowRoot&&M.has(t.shadowRoot)&&M.delete(t.shadowRoot)})(this))),g((()=>{var t;const e=o(this);if(!e)return;const n=d.findIndex((t=>t===this));n>-1&&d.splice(n,1),(null==(t=null==e?void 0:e.L)?void 0:t.O)instanceof Node&&!e.L.O.isConnected&&delete e.L.O}))}componentOnReady(){var t;return null==(t=o(this))?void 0:t.W}};n.P=t[0],i.includes(r)||s.get(r)||(l.push(r),s.define(r,it(c,n,1)))}))})),l.length>0&&(f.textContent+=l.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",f.innerHTML.length)){f.setAttribute("data-styles","");const t=null!=(n=a.N)?n:O(u.document);null!=t&&f.setAttribute("nonce",t),r.insertBefore(f,c?c.nextSibling:r.firstChild)}p=!1,d.length?d.map((t=>t.connectedCallback())):a.jmp((()=>h=setTimeout(et,30)))},at=t=>a.N=t;export{ut as b,N as h,f as p,l as r,at as s}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-BDWF03w6.js');
|
|
4
4
|
|
|
5
5
|
const analogClockCss = () => `.clock #circle{stroke:var(--clock-circle-color, black)}.clock #hour{stroke:var(--clock-hour-color, black)}.clock #minute{stroke:var(--clock-minute-color, black)}.clock #second{stroke:var(--clock-second-color, black)}`;
|
|
6
6
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-BDWF03w6.js');
|
|
4
4
|
var appGlobals = require('./app-globals-V2Kpy_OQ.js');
|
|
5
5
|
|
|
6
6
|
var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
|
|
7
7
|
/*
|
|
8
|
-
Stencil Client Patch Browser v4.
|
|
8
|
+
Stencil Client Patch Browser v4.45.0 | MIT Licensed | https://stenciljs.com
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
var patchBrowser = () => {
|
|
@@ -4,7 +4,7 @@ const NAMESPACE = 'analog-clock';
|
|
|
4
4
|
const BUILD = /* analog-clock */ { hotModuleReplacement: false, hydratedSelectorName: "hydrated", lazyLoad: true, propChangeCallback: false, state: true, updatable: true};
|
|
5
5
|
|
|
6
6
|
/*
|
|
7
|
-
Stencil Client Platform v4.
|
|
7
|
+
Stencil Client Platform v4.45.0 | MIT Licensed | https://stenciljs.com
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
|
|
@@ -715,7 +715,7 @@ var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = fals
|
|
|
715
715
|
if (idxInOld >= 0) {
|
|
716
716
|
elmToMove = oldCh[idxInOld];
|
|
717
717
|
if (elmToMove.$tag$ !== newStartVnode.$tag$) {
|
|
718
|
-
node = createElm(oldCh && oldCh[newStartIdx], newVNode2,
|
|
718
|
+
node = createElm(oldCh && oldCh[newStartIdx], newVNode2, newStartIdx);
|
|
719
719
|
} else {
|
|
720
720
|
patch(elmToMove, newStartVnode, isInitialRender);
|
|
721
721
|
oldCh[idxInOld] = void 0;
|
|
@@ -1068,21 +1068,26 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1068
1068
|
}
|
|
1069
1069
|
return;
|
|
1070
1070
|
}
|
|
1071
|
-
const
|
|
1071
|
+
const parsedValue = parsePropertyValue(
|
|
1072
|
+
newValue,
|
|
1073
|
+
memberFlags);
|
|
1074
|
+
const setterSetVal = (val) => {
|
|
1072
1075
|
const currentValue = ref.$lazyInstance$[memberName];
|
|
1073
1076
|
if (!ref.$instanceValues$.get(memberName) && currentValue) {
|
|
1074
1077
|
ref.$instanceValues$.set(memberName, currentValue);
|
|
1075
1078
|
}
|
|
1076
|
-
ref.$lazyInstance$[memberName] =
|
|
1077
|
-
newValue,
|
|
1078
|
-
memberFlags);
|
|
1079
|
+
ref.$lazyInstance$[memberName] = val;
|
|
1079
1080
|
setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
|
|
1080
1081
|
};
|
|
1081
1082
|
if (ref.$lazyInstance$) {
|
|
1082
|
-
setterSetVal();
|
|
1083
|
+
setterSetVal(parsedValue);
|
|
1083
1084
|
} else {
|
|
1085
|
+
ref.$instanceValues$.set(memberName, parsedValue);
|
|
1084
1086
|
ref.$fetchedCbList$.push(() => {
|
|
1085
|
-
|
|
1087
|
+
const pendingValue = ref.$instanceValues$.get(memberName);
|
|
1088
|
+
if (ref.$lazyInstance$[memberName] !== pendingValue) {
|
|
1089
|
+
setterSetVal(pendingValue);
|
|
1090
|
+
}
|
|
1086
1091
|
});
|
|
1087
1092
|
}
|
|
1088
1093
|
}
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-BB26DV_H.js';
|
|
2
2
|
|
|
3
3
|
const analogClockCss = () => `.clock #circle{stroke:var(--clock-circle-color, black)}.clock #hour{stroke:var(--clock-hour-color, black)}.clock #minute{stroke:var(--clock-minute-color, black)}.clock #second{stroke:var(--clock-second-color, black)}`;
|
|
4
4
|
|
package/dist/esm/analog-clock.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-BB26DV_H.js';
|
|
2
|
+
export { s as setNonce } from './index-BB26DV_H.js';
|
|
3
3
|
import { g as globalScripts } from './app-globals-DQuL1Twl.js';
|
|
4
4
|
|
|
5
5
|
/*
|
|
6
|
-
Stencil Client Patch Browser v4.
|
|
6
|
+
Stencil Client Patch Browser v4.45.0 | MIT Licensed | https://stenciljs.com
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
var patchBrowser = () => {
|
|
@@ -2,7 +2,7 @@ const NAMESPACE = 'analog-clock';
|
|
|
2
2
|
const BUILD = /* analog-clock */ { hotModuleReplacement: false, hydratedSelectorName: "hydrated", lazyLoad: true, propChangeCallback: false, state: true, updatable: true};
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
|
-
Stencil Client Platform v4.
|
|
5
|
+
Stencil Client Platform v4.45.0 | MIT Licensed | https://stenciljs.com
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
|
|
@@ -713,7 +713,7 @@ var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = fals
|
|
|
713
713
|
if (idxInOld >= 0) {
|
|
714
714
|
elmToMove = oldCh[idxInOld];
|
|
715
715
|
if (elmToMove.$tag$ !== newStartVnode.$tag$) {
|
|
716
|
-
node = createElm(oldCh && oldCh[newStartIdx], newVNode2,
|
|
716
|
+
node = createElm(oldCh && oldCh[newStartIdx], newVNode2, newStartIdx);
|
|
717
717
|
} else {
|
|
718
718
|
patch(elmToMove, newStartVnode, isInitialRender);
|
|
719
719
|
oldCh[idxInOld] = void 0;
|
|
@@ -1066,21 +1066,26 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1066
1066
|
}
|
|
1067
1067
|
return;
|
|
1068
1068
|
}
|
|
1069
|
-
const
|
|
1069
|
+
const parsedValue = parsePropertyValue(
|
|
1070
|
+
newValue,
|
|
1071
|
+
memberFlags);
|
|
1072
|
+
const setterSetVal = (val) => {
|
|
1070
1073
|
const currentValue = ref.$lazyInstance$[memberName];
|
|
1071
1074
|
if (!ref.$instanceValues$.get(memberName) && currentValue) {
|
|
1072
1075
|
ref.$instanceValues$.set(memberName, currentValue);
|
|
1073
1076
|
}
|
|
1074
|
-
ref.$lazyInstance$[memberName] =
|
|
1075
|
-
newValue,
|
|
1076
|
-
memberFlags);
|
|
1077
|
+
ref.$lazyInstance$[memberName] = val;
|
|
1077
1078
|
setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
|
|
1078
1079
|
};
|
|
1079
1080
|
if (ref.$lazyInstance$) {
|
|
1080
|
-
setterSetVal();
|
|
1081
|
+
setterSetVal(parsedValue);
|
|
1081
1082
|
} else {
|
|
1083
|
+
ref.$instanceValues$.set(memberName, parsedValue);
|
|
1082
1084
|
ref.$fetchedCbList$.push(() => {
|
|
1083
|
-
|
|
1085
|
+
const pendingValue = ref.$instanceValues$.get(memberName);
|
|
1086
|
+
if (ref.$lazyInstance$[memberName] !== pendingValue) {
|
|
1087
|
+
setterSetVal(pendingValue);
|
|
1088
|
+
}
|
|
1084
1089
|
});
|
|
1085
1090
|
}
|
|
1086
1091
|
}
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { b as bootstrapLazy } from './index-BB26DV_H.js';
|
|
2
|
+
export { s as setNonce } from './index-BB26DV_H.js';
|
|
3
3
|
import { g as globalScripts } from './app-globals-DQuL1Twl.js';
|
|
4
4
|
|
|
5
5
|
const defineCustomElements = async (win, options) => {
|
|
@@ -752,7 +752,7 @@ declare namespace LocalJSX {
|
|
|
752
752
|
}
|
|
753
753
|
export { LocalJSX as JSX };
|
|
754
754
|
export declare namespace JSXBase {
|
|
755
|
-
interface IntrinsicElements {
|
|
755
|
+
export interface IntrinsicElements {
|
|
756
756
|
slot: JSXBase.SlotAttributes<HTMLSlotElement>;
|
|
757
757
|
a: JSXBase.AnchorHTMLAttributes<HTMLAnchorElement>;
|
|
758
758
|
abbr: JSXBase.HTMLAttributes;
|
|
@@ -923,12 +923,12 @@ export declare namespace JSXBase {
|
|
|
923
923
|
use: JSXBase.SVGAttributes;
|
|
924
924
|
view: JSXBase.SVGAttributes;
|
|
925
925
|
}
|
|
926
|
-
interface SlotAttributes<T = HTMLSlotElement> extends JSXAttributes<T> {
|
|
926
|
+
export interface SlotAttributes<T = HTMLSlotElement> extends JSXAttributes<T> {
|
|
927
927
|
name?: string;
|
|
928
928
|
slot?: string;
|
|
929
929
|
onSlotchange?: (event: Event) => void;
|
|
930
930
|
}
|
|
931
|
-
interface AnchorHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
931
|
+
export interface AnchorHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
932
932
|
download?: any;
|
|
933
933
|
href?: string;
|
|
934
934
|
hrefLang?: string;
|
|
@@ -939,9 +939,9 @@ export declare namespace JSXBase {
|
|
|
939
939
|
target?: string;
|
|
940
940
|
referrerPolicy?: ReferrerPolicy;
|
|
941
941
|
}
|
|
942
|
-
interface AudioHTMLAttributes<T> extends MediaHTMLAttributes<T> {
|
|
942
|
+
export interface AudioHTMLAttributes<T> extends MediaHTMLAttributes<T> {
|
|
943
943
|
}
|
|
944
|
-
interface AreaHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
944
|
+
export interface AreaHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
945
945
|
alt?: string;
|
|
946
946
|
coords?: string;
|
|
947
947
|
download?: any;
|
|
@@ -953,14 +953,14 @@ export declare namespace JSXBase {
|
|
|
953
953
|
shape?: string;
|
|
954
954
|
target?: string;
|
|
955
955
|
}
|
|
956
|
-
interface BaseHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
956
|
+
export interface BaseHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
957
957
|
href?: string;
|
|
958
958
|
target?: string;
|
|
959
959
|
}
|
|
960
|
-
interface BlockquoteHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
960
|
+
export interface BlockquoteHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
961
961
|
cite?: string;
|
|
962
962
|
}
|
|
963
|
-
interface ButtonHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
963
|
+
export interface ButtonHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
964
964
|
disabled?: boolean;
|
|
965
965
|
form?: string;
|
|
966
966
|
formAction?: string;
|
|
@@ -983,45 +983,45 @@ export declare namespace JSXBase {
|
|
|
983
983
|
commandFor?: string;
|
|
984
984
|
commandfor?: string;
|
|
985
985
|
}
|
|
986
|
-
interface CanvasHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
986
|
+
export interface CanvasHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
987
987
|
height?: number | string;
|
|
988
988
|
width?: number | string;
|
|
989
989
|
}
|
|
990
|
-
interface ColHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
990
|
+
export interface ColHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
991
991
|
span?: number;
|
|
992
992
|
}
|
|
993
|
-
interface ColgroupHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
993
|
+
export interface ColgroupHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
994
994
|
span?: number;
|
|
995
995
|
}
|
|
996
|
-
interface DetailsHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
996
|
+
export interface DetailsHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
997
997
|
open?: boolean;
|
|
998
998
|
name?: string;
|
|
999
999
|
onToggle?: (event: ToggleEvent) => void;
|
|
1000
1000
|
}
|
|
1001
|
-
interface DelHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1001
|
+
export interface DelHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1002
1002
|
cite?: string;
|
|
1003
1003
|
dateTime?: string;
|
|
1004
1004
|
datetime?: string;
|
|
1005
1005
|
}
|
|
1006
|
-
interface DialogHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1006
|
+
export interface DialogHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1007
1007
|
onCancel?: (event: Event) => void;
|
|
1008
1008
|
onClose?: (event: Event) => void;
|
|
1009
1009
|
open?: boolean;
|
|
1010
1010
|
returnValue?: string;
|
|
1011
1011
|
closedby?: 'any' | 'closerequest' | 'none';
|
|
1012
1012
|
}
|
|
1013
|
-
interface EmbedHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1013
|
+
export interface EmbedHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1014
1014
|
height?: number | string;
|
|
1015
1015
|
src?: string;
|
|
1016
1016
|
type?: string;
|
|
1017
1017
|
width?: number | string;
|
|
1018
1018
|
}
|
|
1019
|
-
interface FieldsetHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1019
|
+
export interface FieldsetHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1020
1020
|
disabled?: boolean;
|
|
1021
1021
|
form?: string;
|
|
1022
1022
|
name?: string;
|
|
1023
1023
|
}
|
|
1024
|
-
interface FormHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1024
|
+
export interface FormHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1025
1025
|
acceptCharset?: string;
|
|
1026
1026
|
acceptcharset?: string;
|
|
1027
1027
|
action?: string;
|
|
@@ -1035,10 +1035,10 @@ export declare namespace JSXBase {
|
|
|
1035
1035
|
novalidate?: boolean | string;
|
|
1036
1036
|
target?: string;
|
|
1037
1037
|
}
|
|
1038
|
-
interface HtmlHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1038
|
+
export interface HtmlHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1039
1039
|
manifest?: string;
|
|
1040
1040
|
}
|
|
1041
|
-
interface IframeHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1041
|
+
export interface IframeHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1042
1042
|
allow?: string;
|
|
1043
1043
|
allowFullScreen?: boolean;
|
|
1044
1044
|
allowfullScreen?: string | boolean;
|
|
@@ -1065,7 +1065,7 @@ export declare namespace JSXBase {
|
|
|
1065
1065
|
srcdoc?: string;
|
|
1066
1066
|
width?: number | string;
|
|
1067
1067
|
}
|
|
1068
|
-
interface ImgHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1068
|
+
export interface ImgHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1069
1069
|
alt?: string;
|
|
1070
1070
|
crossOrigin?: string;
|
|
1071
1071
|
crossorigin?: string;
|
|
@@ -1084,12 +1084,12 @@ export declare namespace JSXBase {
|
|
|
1084
1084
|
usemap?: string;
|
|
1085
1085
|
width?: number | string;
|
|
1086
1086
|
}
|
|
1087
|
-
interface InsHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1087
|
+
export interface InsHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1088
1088
|
cite?: string;
|
|
1089
1089
|
dateTime?: string;
|
|
1090
1090
|
datetime?: string;
|
|
1091
1091
|
}
|
|
1092
|
-
interface InputHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1092
|
+
export interface InputHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1093
1093
|
accept?: string;
|
|
1094
1094
|
allowdirs?: boolean;
|
|
1095
1095
|
alt?: string;
|
|
@@ -1152,7 +1152,7 @@ export declare namespace JSXBase {
|
|
|
1152
1152
|
popoverTargetElement?: Element | null;
|
|
1153
1153
|
popoverTarget?: string;
|
|
1154
1154
|
}
|
|
1155
|
-
interface KeygenHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1155
|
+
export interface KeygenHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1156
1156
|
challenge?: string;
|
|
1157
1157
|
disabled?: boolean;
|
|
1158
1158
|
form?: string;
|
|
@@ -1162,14 +1162,14 @@ export declare namespace JSXBase {
|
|
|
1162
1162
|
keyparams?: string;
|
|
1163
1163
|
name?: string;
|
|
1164
1164
|
}
|
|
1165
|
-
interface LabelHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1165
|
+
export interface LabelHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1166
1166
|
form?: string;
|
|
1167
1167
|
htmlFor?: string;
|
|
1168
1168
|
}
|
|
1169
|
-
interface LiHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1169
|
+
export interface LiHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1170
1170
|
value?: string | string[] | number;
|
|
1171
1171
|
}
|
|
1172
|
-
interface LinkHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1172
|
+
export interface LinkHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1173
1173
|
as?: string;
|
|
1174
1174
|
fetchPriority?: 'high' | 'low' | 'auto';
|
|
1175
1175
|
fetchpriority?: 'high' | 'low' | 'auto';
|
|
@@ -1183,13 +1183,13 @@ export declare namespace JSXBase {
|
|
|
1183
1183
|
sizes?: string;
|
|
1184
1184
|
type?: string;
|
|
1185
1185
|
}
|
|
1186
|
-
interface MapHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1186
|
+
export interface MapHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1187
1187
|
name?: string;
|
|
1188
1188
|
}
|
|
1189
|
-
interface MenuHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1189
|
+
export interface MenuHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1190
1190
|
type?: string;
|
|
1191
1191
|
}
|
|
1192
|
-
interface MediaHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1192
|
+
export interface MediaHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1193
1193
|
autoPlay?: boolean;
|
|
1194
1194
|
autoplay?: boolean | string;
|
|
1195
1195
|
controls?: boolean;
|
|
@@ -1229,7 +1229,7 @@ export declare namespace JSXBase {
|
|
|
1229
1229
|
onVolumeChange?: (event: Event) => void;
|
|
1230
1230
|
onWaiting?: (event: Event) => void;
|
|
1231
1231
|
}
|
|
1232
|
-
interface MetaHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1232
|
+
export interface MetaHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1233
1233
|
charSet?: string;
|
|
1234
1234
|
charset?: string;
|
|
1235
1235
|
content?: string;
|
|
@@ -1237,7 +1237,7 @@ export declare namespace JSXBase {
|
|
|
1237
1237
|
httpequiv?: string;
|
|
1238
1238
|
name?: string;
|
|
1239
1239
|
}
|
|
1240
|
-
interface MeterHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1240
|
+
export interface MeterHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1241
1241
|
form?: string;
|
|
1242
1242
|
high?: number;
|
|
1243
1243
|
low?: number;
|
|
@@ -1246,10 +1246,10 @@ export declare namespace JSXBase {
|
|
|
1246
1246
|
optimum?: number;
|
|
1247
1247
|
value?: string | string[] | number;
|
|
1248
1248
|
}
|
|
1249
|
-
interface QuoteHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1249
|
+
export interface QuoteHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1250
1250
|
cite?: string;
|
|
1251
1251
|
}
|
|
1252
|
-
interface ObjectHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1252
|
+
export interface ObjectHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1253
1253
|
classID?: string;
|
|
1254
1254
|
classid?: string;
|
|
1255
1255
|
data?: string;
|
|
@@ -1262,34 +1262,34 @@ export declare namespace JSXBase {
|
|
|
1262
1262
|
width?: number | string;
|
|
1263
1263
|
wmode?: string;
|
|
1264
1264
|
}
|
|
1265
|
-
interface OlHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1265
|
+
export interface OlHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1266
1266
|
reversed?: boolean;
|
|
1267
1267
|
start?: number;
|
|
1268
1268
|
}
|
|
1269
|
-
interface OptgroupHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1269
|
+
export interface OptgroupHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1270
1270
|
disabled?: boolean;
|
|
1271
1271
|
label?: string;
|
|
1272
1272
|
}
|
|
1273
|
-
interface OptionHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1273
|
+
export interface OptionHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1274
1274
|
disabled?: boolean;
|
|
1275
1275
|
label?: string;
|
|
1276
1276
|
selected?: boolean;
|
|
1277
1277
|
value?: string | string[] | number;
|
|
1278
1278
|
}
|
|
1279
|
-
interface OutputHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1279
|
+
export interface OutputHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1280
1280
|
form?: string;
|
|
1281
1281
|
htmlFor?: string;
|
|
1282
1282
|
name?: string;
|
|
1283
1283
|
}
|
|
1284
|
-
interface ParamHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1284
|
+
export interface ParamHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1285
1285
|
name?: string;
|
|
1286
1286
|
value?: string | string[] | number;
|
|
1287
1287
|
}
|
|
1288
|
-
interface ProgressHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1288
|
+
export interface ProgressHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1289
1289
|
max?: number | string;
|
|
1290
1290
|
value?: string | string[] | number;
|
|
1291
1291
|
}
|
|
1292
|
-
interface ScriptHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1292
|
+
export interface ScriptHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1293
1293
|
async?: boolean;
|
|
1294
1294
|
charSet?: string;
|
|
1295
1295
|
charset?: string;
|
|
@@ -1304,7 +1304,7 @@ export declare namespace JSXBase {
|
|
|
1304
1304
|
src?: string;
|
|
1305
1305
|
type?: string;
|
|
1306
1306
|
}
|
|
1307
|
-
interface SelectHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1307
|
+
export interface SelectHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1308
1308
|
disabled?: boolean;
|
|
1309
1309
|
form?: string;
|
|
1310
1310
|
multiple?: boolean;
|
|
@@ -1314,7 +1314,7 @@ export declare namespace JSXBase {
|
|
|
1314
1314
|
autoComplete?: string;
|
|
1315
1315
|
autocomplete?: string;
|
|
1316
1316
|
}
|
|
1317
|
-
interface SourceHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1317
|
+
export interface SourceHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1318
1318
|
height?: number;
|
|
1319
1319
|
media?: string;
|
|
1320
1320
|
sizes?: string;
|
|
@@ -1323,20 +1323,20 @@ export declare namespace JSXBase {
|
|
|
1323
1323
|
type?: string;
|
|
1324
1324
|
width?: number;
|
|
1325
1325
|
}
|
|
1326
|
-
interface StyleHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1326
|
+
export interface StyleHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1327
1327
|
media?: string;
|
|
1328
1328
|
nonce?: string;
|
|
1329
1329
|
scoped?: boolean;
|
|
1330
1330
|
type?: string;
|
|
1331
1331
|
}
|
|
1332
|
-
interface TableHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1332
|
+
export interface TableHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1333
1333
|
cellPadding?: number | string;
|
|
1334
1334
|
cellpadding?: number | string;
|
|
1335
1335
|
cellSpacing?: number | string;
|
|
1336
1336
|
cellspacing?: number | string;
|
|
1337
1337
|
summary?: string;
|
|
1338
1338
|
}
|
|
1339
|
-
interface TextareaHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1339
|
+
export interface TextareaHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1340
1340
|
autoComplete?: string;
|
|
1341
1341
|
autocomplete?: string;
|
|
1342
1342
|
cols?: number;
|
|
@@ -1357,12 +1357,12 @@ export declare namespace JSXBase {
|
|
|
1357
1357
|
value?: string | string[] | number;
|
|
1358
1358
|
wrap?: string;
|
|
1359
1359
|
}
|
|
1360
|
-
interface TdHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1360
|
+
export interface TdHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1361
1361
|
colSpan?: number;
|
|
1362
1362
|
headers?: string;
|
|
1363
1363
|
rowSpan?: number;
|
|
1364
1364
|
}
|
|
1365
|
-
interface ThHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1365
|
+
export interface ThHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1366
1366
|
abbr?: string;
|
|
1367
1367
|
colSpan?: number;
|
|
1368
1368
|
headers?: string;
|
|
@@ -1370,10 +1370,10 @@ export declare namespace JSXBase {
|
|
|
1370
1370
|
rowspan?: number | string;
|
|
1371
1371
|
scope?: string;
|
|
1372
1372
|
}
|
|
1373
|
-
interface TimeHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1373
|
+
export interface TimeHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1374
1374
|
dateTime?: string;
|
|
1375
1375
|
}
|
|
1376
|
-
interface TrackHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1376
|
+
export interface TrackHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1377
1377
|
default?: boolean;
|
|
1378
1378
|
kind?: string;
|
|
1379
1379
|
label?: string;
|
|
@@ -1381,14 +1381,14 @@ export declare namespace JSXBase {
|
|
|
1381
1381
|
srcLang?: string;
|
|
1382
1382
|
srclang?: string;
|
|
1383
1383
|
}
|
|
1384
|
-
interface VideoHTMLAttributes<T> extends MediaHTMLAttributes<T> {
|
|
1384
|
+
export interface VideoHTMLAttributes<T> extends MediaHTMLAttributes<T> {
|
|
1385
1385
|
height?: number | string;
|
|
1386
1386
|
playsInline?: boolean;
|
|
1387
1387
|
playsinline?: boolean | string;
|
|
1388
1388
|
poster?: string;
|
|
1389
1389
|
width?: number | string;
|
|
1390
1390
|
}
|
|
1391
|
-
interface HTMLAttributes<T = HTMLElement> extends DOMAttributes<T> {
|
|
1391
|
+
export interface HTMLAttributes<T = HTMLElement> extends DOMAttributes<T> {
|
|
1392
1392
|
innerHTML?: string;
|
|
1393
1393
|
accessKey?: string;
|
|
1394
1394
|
autoFocus?: boolean;
|
|
@@ -1454,7 +1454,7 @@ export declare namespace JSXBase {
|
|
|
1454
1454
|
security?: string;
|
|
1455
1455
|
unselectable?: boolean;
|
|
1456
1456
|
}
|
|
1457
|
-
interface SVGAttributes<T = SVGElement> extends DOMAttributes<T> {
|
|
1457
|
+
export interface SVGAttributes<T = SVGElement> extends DOMAttributes<T> {
|
|
1458
1458
|
class?: string | {
|
|
1459
1459
|
[className: string]: boolean;
|
|
1460
1460
|
};
|
|
@@ -1716,13 +1716,19 @@ export declare namespace JSXBase {
|
|
|
1716
1716
|
zoomAndPan?: string;
|
|
1717
1717
|
}
|
|
1718
1718
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ToggleEvent) */
|
|
1719
|
-
interface ToggleEvent extends Event {
|
|
1719
|
+
export interface ToggleEvent extends Event {
|
|
1720
1720
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ToggleEvent/newState) */
|
|
1721
1721
|
readonly newState: string;
|
|
1722
1722
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ToggleEvent/oldState) */
|
|
1723
1723
|
readonly oldState: string;
|
|
1724
1724
|
}
|
|
1725
|
-
|
|
1725
|
+
type AriaIDLPropertyName = {
|
|
1726
|
+
[K in keyof ARIAMixin]: ARIAMixin[K] extends string | null ? K : never;
|
|
1727
|
+
}[keyof ARIAMixin];
|
|
1728
|
+
type JSXAriaProperties = {
|
|
1729
|
+
[K in AriaIDLPropertyName]?: string | boolean | undefined;
|
|
1730
|
+
};
|
|
1731
|
+
export interface DOMAttributes<T> extends JSXAttributes<T>, JSXAriaProperties {
|
|
1726
1732
|
slot?: string;
|
|
1727
1733
|
part?: string;
|
|
1728
1734
|
exportparts?: string;
|
|
@@ -1852,8 +1858,8 @@ export declare namespace JSXBase {
|
|
|
1852
1858
|
onTransitionStart?: (event: TransitionEvent) => void;
|
|
1853
1859
|
onTransitionStartCapture?: (event: TransitionEvent) => void;
|
|
1854
1860
|
[key: `aria-${string}`]: string | boolean | undefined;
|
|
1855
|
-
[key: `aria${string}`]: string | boolean | undefined;
|
|
1856
1861
|
}
|
|
1862
|
+
export {};
|
|
1857
1863
|
}
|
|
1858
1864
|
export interface JSXAttributes<T = Element> {
|
|
1859
1865
|
key?: string | number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "analog-clock-components",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.164",
|
|
4
4
|
"description": "Stencil Component Starter",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"format": "prettier --write src"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@stencil/core": "4.
|
|
29
|
+
"@stencil/core": "4.45.0"
|
|
30
30
|
},
|
|
31
31
|
"repository": {
|
|
32
32
|
"type": "git",
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"typescript": "5.9.3",
|
|
43
43
|
"yoctocolors": "2.2.0"
|
|
44
44
|
},
|
|
45
|
-
"packageManager": "pnpm@12.
|
|
45
|
+
"packageManager": "pnpm@12.4.1+sha512.2e81e399d73fe8390dab25e06aa788ab7a5908248d2f5a370f82b481147a6a7a367bf8048f9a6fdb6460f21a66f0542dedb8b94ca2c8723596741920b1656d4c"
|
|
46
46
|
}
|