vanilla-breeze 0.7.1 → 0.7.3
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/custom-elements.json +423 -8
- package/dist/cdn/components/activity-feed.js +1 -1
- package/dist/cdn/components/data-table.js +1 -1
- package/dist/cdn/components/manifest.json +9 -5
- package/dist/cdn/components/settings-panel.js +43 -44
- package/dist/cdn/components/site-map.js +1 -1
- package/dist/cdn/components/social-feed.js +5 -0
- package/dist/cdn/components/theme-picker.js +14 -7
- package/dist/cdn/packs/ambient.bundle.js +2 -0
- package/dist/cdn/packs/ambient.core.js +2 -0
- package/dist/cdn/packs/ambient.effects.css +2 -0
- package/dist/cdn/packs/ambient.full.css +5 -0
- package/dist/cdn/packs/ambient.full.js +2 -0
- package/dist/cdn/packs/ambient.head.js +1 -0
- package/dist/cdn/packs/ambient.resolve.js +2 -0
- package/dist/cdn/packs/ambient.theme.css +2 -0
- package/dist/cdn/packs/manifest.json +36 -2
- package/dist/cdn/packs/ui.full.css +1 -1
- package/dist/cdn/packs/ui.full.js +33 -26
- package/dist/cdn/themes/8bit.tokens.json +1 -1
- package/dist/cdn/themes/alpha1999-dark.tokens.json +1 -1
- package/dist/cdn/themes/alpha1999.tokens.json +1 -1
- package/dist/cdn/themes/art-deco-dark.tokens.json +1 -1
- package/dist/cdn/themes/art-deco.tokens.json +1 -1
- package/dist/cdn/themes/bauhaus-dark.tokens.json +1 -1
- package/dist/cdn/themes/bauhaus.tokens.json +1 -1
- package/dist/cdn/themes/brutalist-dark.tokens.json +1 -1
- package/dist/cdn/themes/brutalist.tokens.json +1 -1
- package/dist/cdn/themes/catppuccin-frappe.tokens.json +1 -1
- package/dist/cdn/themes/catppuccin-latte-dark.tokens.json +1 -1
- package/dist/cdn/themes/catppuccin-latte.tokens.json +1 -1
- package/dist/cdn/themes/catppuccin-macchiato.tokens.json +1 -1
- package/dist/cdn/themes/catppuccin-mocha.tokens.json +1 -1
- package/dist/cdn/themes/classic-dark.tokens.json +1 -1
- package/dist/cdn/themes/classic.tokens.json +1 -1
- package/dist/cdn/themes/claymorphism-dark.tokens.json +1 -1
- package/dist/cdn/themes/claymorphism.tokens.json +1 -1
- package/dist/cdn/themes/clinical-dark.tokens.json +1 -1
- package/dist/cdn/themes/clinical.tokens.json +1 -1
- package/dist/cdn/themes/cottagecore-dark.tokens.json +1 -1
- package/dist/cdn/themes/cottagecore.tokens.json +1 -1
- package/dist/cdn/themes/cyber.tokens.json +1 -1
- package/dist/cdn/themes/dawn-dark.tokens.json +1 -1
- package/dist/cdn/themes/dawn.tokens.json +1 -1
- package/dist/cdn/themes/dracula.tokens.json +1 -1
- package/dist/cdn/themes/dusk.tokens.json +1 -1
- package/dist/cdn/themes/editorial-dark.tokens.json +1 -1
- package/dist/cdn/themes/editorial.tokens.json +1 -1
- package/dist/cdn/themes/financial-dark.tokens.json +1 -1
- package/dist/cdn/themes/financial.tokens.json +1 -1
- package/dist/cdn/themes/genai.tokens.json +1 -1
- package/dist/cdn/themes/glassmorphism-dark.tokens.json +1 -1
- package/dist/cdn/themes/glassmorphism.tokens.json +1 -1
- package/dist/cdn/themes/government-dark.tokens.json +1 -1
- package/dist/cdn/themes/government.tokens.json +1 -1
- package/dist/cdn/themes/gruvbox-dark.tokens.json +1 -1
- package/dist/cdn/themes/gruvbox.tokens.json +1 -1
- package/dist/cdn/themes/high-noon-dark.tokens.json +1 -1
- package/dist/cdn/themes/high-noon.tokens.json +1 -1
- package/dist/cdn/themes/journal-dark.tokens.json +1 -1
- package/dist/cdn/themes/journal.tokens.json +1 -1
- package/dist/cdn/themes/kawaii-dark.tokens.json +1 -1
- package/dist/cdn/themes/kawaii.tokens.json +1 -1
- package/dist/cdn/themes/magna-dark.tokens.json +1 -1
- package/dist/cdn/themes/magna.tokens.json +1 -1
- package/dist/cdn/themes/midnight.tokens.json +1 -1
- package/dist/cdn/themes/minimal-dark.tokens.json +1 -1
- package/dist/cdn/themes/minimal.tokens.json +1 -1
- package/dist/cdn/themes/modern-dark.tokens.json +1 -1
- package/dist/cdn/themes/modern.tokens.json +1 -1
- package/dist/cdn/themes/nes-dark.tokens.json +1 -1
- package/dist/cdn/themes/nes.tokens.json +1 -1
- package/dist/cdn/themes/neumorphism-dark.tokens.json +1 -1
- package/dist/cdn/themes/neumorphism.tokens.json +1 -1
- package/dist/cdn/themes/nord-dark.tokens.json +1 -1
- package/dist/cdn/themes/nord.tokens.json +1 -1
- package/dist/cdn/themes/organic-dark.tokens.json +1 -1
- package/dist/cdn/themes/organic.tokens.json +1 -1
- package/dist/cdn/themes/rose-pine-dark.tokens.json +1 -1
- package/dist/cdn/themes/rose-pine.tokens.json +1 -1
- package/dist/cdn/themes/rough-dark.tokens.json +1 -1
- package/dist/cdn/themes/rough.tokens.json +1 -1
- package/dist/cdn/themes/solarized-dark.tokens.json +1 -1
- package/dist/cdn/themes/solarized.tokens.json +1 -1
- package/dist/cdn/themes/startup-dark.tokens.json +1 -1
- package/dist/cdn/themes/startup.tokens.json +1 -1
- package/dist/cdn/themes/super2026-dark.tokens.json +1 -1
- package/dist/cdn/themes/super2026.tokens.json +1 -1
- package/dist/cdn/themes/swiss-dark.tokens.json +1 -1
- package/dist/cdn/themes/swiss.tokens.json +1 -1
- package/dist/cdn/themes/terminal.tokens.json +1 -1
- package/dist/cdn/themes/tokyo-night-dark.tokens.json +1 -1
- package/dist/cdn/themes/tokyo-night.tokens.json +1 -1
- package/dist/cdn/themes/vaporwave-dark.tokens.json +1 -1
- package/dist/cdn/themes/vaporwave.tokens.json +1 -1
- package/dist/cdn/themes/win9x-dark.tokens.json +1 -1
- package/dist/cdn/themes/win9x.tokens.json +1 -1
- package/dist/cdn/vanilla-breeze-autoload.js +131 -132
- package/dist/cdn/vanilla-breeze-core.css +1 -1
- package/dist/cdn/vanilla-breeze-core.js +94 -95
- package/dist/cdn/vanilla-breeze-extras.js +36 -33
- package/dist/cdn/vanilla-breeze.css +1 -1
- package/dist/cdn/vanilla-breeze.js +194 -185
- package/package.json +8 -3
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var $=window.matchMedia("(prefers-reduced-motion: reduce)");var A=new Map;function y(u,t,e={}){let s=e.priority??10,n={impl:t,bundle:e.bundle,contract:e.contract,priority:s},i=A.get(u);if(customElements.get(u)){if(!i||i.priority>=s){i&&i.priority===s&&i.impl!==t&&console.warn(`[VB Bundle] Tag <${u}> already registered by "${i.bundle}" (priority ${i.priority}). Skipping "${e.bundle}".`);return}console.warn(`[VB Bundle] Tag <${u}> defined by "${i.bundle}" cannot be replaced (customElements.define is permanent). "${e.bundle}" has higher priority but arrived late.`);return}if(i&&i.priority>=s){i.priority===s&&console.warn(`[VB Bundle] Tag <${u}> already registered by "${i.bundle}". Skipping "${e.bundle}" (first wins at equal priority).`);return}A.set(u,n),customElements.define(u,t)}var m=class extends HTMLElement{#e=[];#t;constructor(){super(),this.hasAttribute("data-upgraded")&&this.removeAttribute("data-upgraded")}connectedCallback(){this.hasAttribute("data-upgraded")||this.setup()!==!1&&(this.setAttribute("data-upgraded",""),queueMicrotask(()=>{this.dispatchEvent(new CustomEvent(`${this.localName}:upgraded`,{bubbles:!0}))}))}disconnectedCallback(){for(let t of this.#e)t();this.#e=[],this.removeAttribute("data-upgraded"),this.teardown()}listen(t,e,s,n){t.addEventListener(e,s,n),this.#e.push(()=>t.removeEventListener(e,s,n))}_reinit(){for(let t of this.#e)t();this.#e=[],this.teardown(),this.removeAttribute("data-upgraded"),this.isConnected&&this.setup()!==!1&&this.setAttribute("data-upgraded","")}setup(){}teardown(){}setState(t,e){this.#t||(this.#t=this.attachInternals());let s=this.#t.states;try{e?s.add(t):s.delete(t)}catch{let n=`--${t}`;e?s.add(n):s.delete(n)}}_adoptInternals(t){this.#t||(this.#t=t)}#r(){return this.constructor.formAssociated&&this.#t?this.#t:null}get validity(){return this.#r()?.validity}get validationMessage(){return this.#r()?.validationMessage??""}get willValidate(){return this.#r()?.willValidate??!1}get form(){return this.#r()?.form??null}checkValidity(){return this.#r()?.checkValidity()??!0}reportValidity(){return this.#r()?.reportValidity()??!0}};function E({newItems:u,nodes:t,keyOf:e,renderItem:s,containerFor:n}){let i=[],a=[],c=[],o=new Set;for(let d of u)o.add(e(d));for(let[d,l]of[...t])o.has(d)||(l.remove(),t.delete(d),c.push(d));let r=new Map;for(let d of u){let l=e(d),h=t.get(l)||null,f=n(d,h);r.has(f)||r.set(f,[]),r.get(f)?.push({item:d,key:l,existing:h})}for(let[d,l]of r)for(let h=0;h<l.length;h++){let{item:f,key:p,existing:x}=l[h],b=x;b?(b.parentElement!==d||d.children[h]!==b)&&a.push(p):(b=s(f),t.set(p,b),i.push(p));let w=d.children[h];w!==b&&d.insertBefore(b,w||null)}return{added:i,moved:a,removed:c}}var g=":scope > tr:not([data-expand-content])",v=class u extends m{#e;#t;#r=[];#s=[];#n=[];#c=-1;#d=null;#i=1;#a=0;#u=null;#h=null;#f=null;#l="";#o=null;#C=null;#m=null;#p=null;#g=[];#S=new Map;#v=[];setup(){return this.#e=this.querySelector(":scope > table"),!this.#e||(this.#t=this.#e.querySelector("tbody"),!this.#t)?!1:(this.#V(),!0)}teardown(){this.#O(),this.#r=[],this.#s=[],this.#n=[]}#V(){this.#s=[...this.#t.querySelectorAll(g)],this.#n=[...this.#s],this.#i=1,this.#c=-1,this.#d=null,this.#l="",this.#a=0,this.#v=[...this.#e.tHead?.rows[0]?.cells||[]].map(e=>({key:e.getAttribute("data-key")||e.textContent.trim().toLowerCase(),label:e.textContent.trim(),sort:e.getAttribute("data-sort")||void 0})),this.#S.clear(),this.#g=[];for(let e of this.#s){let s=e.getAttribute("data-id")||e.getAttribute("data-key");s&&(this.#S.set(s,e),this.#g.push({id:s}))}this.#H(),this.#k(),this.#$(),this.#j(),this.#D(),this.#e.hasAttribute("data-filterable")&&this.#J();let t=this.#e.getAttribute("data-paginate");t&&(this.#a=parseInt(t,10),this.#a>0&&this.#X()),this.#Y(),this.#N(),this.#E()}get rows(){return this.#g}set rows(t){let e=t||[],s=E({newItems:e,nodes:this.#S,keyOf:n=>n.id,renderItem:n=>this._renderRow(n),containerFor:()=>this.#t});this.#g=e,this.#s=[...this.#t.querySelectorAll(g)],this.#k(),this.#$(),this.#y(this.#l),this.dispatchEvent(new CustomEvent("data-table:rows-changed",{detail:{rows:e,added:s.added,moved:s.moved,removed:s.removed,source:"api"},bubbles:!0}))}get columns(){return this.#v}_renderRow(t){let e=this;if(typeof e.renderRow=="function"){let n=e.renderRow(t,this.#v);if(!(n instanceof Element))throw new Error("data-table: renderRow must return an Element");return n.hasAttribute("data-id")||n.setAttribute("data-id",String(t.id)),n}let s=document.createElement("tr");s.setAttribute("data-id",String(t.id));for(let n of this.#v){let i=document.createElement("td"),a=t[n.key];i.textContent=a==null?"":String(a),s.appendChild(i)}return s}#q=[];#b=[];#w=[];#H(){let t=[...this.#e.tHead?.rows[0]?.cells||[]];this.#q=t.map(e=>{let s=parseFloat(e.getAttribute("data-weight"));return Number.isFinite(s)?s:null}),this.#b=t.map(e=>e.getAttribute("data-rollup")||null),this.#w=t.map(e=>e.getAttribute("data-heatmap")||null)}#k(){if(this.#b.some(Boolean))for(let t=0;t<this.#b.length;t++){let e=this.#b[t];if(e)for(let s of this.#s){let n=s.children[t];if(!n)continue;let i=this.#I(s,t,e),a=u.#_(i);n.textContent=a,n.setAttribute("data-rollup-value",String(i)),n.hasAttribute("data-sort-value")||n.setAttribute("data-sort-value",String(i))}}}#I(t,e,s){let n=[...t.children],i=0,a=0,c=-1/0,o=0,r=1,d=!1;for(let l=0;l<n.length;l++){if(l===e||this.#b[l])continue;let h=n[l].getAttribute("data-sort-value")??n[l].textContent??"",f=parseFloat(h);if(!Number.isFinite(f))continue;i+=f,a++,f>c&&(c=f),r*=f,d=!0;let p=this.#q[l];p!==null&&(o+=f*p)}switch(s){case"sum":return i;case"avg":return a?i/a:0;case"max":return c===-1/0?0:c;case"weighted-sum":return o;case"product":return d?r:0;default:return i}}static#_(t){return Number.isFinite(t)?Number.isInteger(t)?String(t):(Math.round(t*100)/100).toString():""}#$(){if(this.#w.some(Boolean))for(let t=0;t<this.#w.length;t++){let e=this.#w[t];if(!e)continue;let s=this.#s.map(o=>{let r=o.children[t];if(!r)return null;let d=r.getAttribute("data-rollup-value")??r.getAttribute("data-sort-value")??r.textContent??"",l=parseFloat(d);return Number.isFinite(l)?l:null}),n=s.filter(o=>o!==null);if(!n.length)continue;let i=Math.min(...n),c=Math.max(...n)-i||1;for(let o=0;o<this.#s.length;o++){let r=this.#s[o].children[t];if(!r)continue;let d=s[o];if(d===null){r.removeAttribute("data-heat-level");continue}let l=(d-i)/c;e==="low-good"&&(l=1-l);let h=l<.34?"low":l<.67?"mid":"high";r.setAttribute("data-heat-level",h)}}}#O(){this.#f&&clearTimeout(this.#f),this.#u?.parentElement?.remove(),this.#h?.remove(),this.#m?.remove(),this.#p?.remove(),this.#u=null,this.#h=null,this.#m=null,this.#p=null}#P(t,e){return this.dataset[`label${t}`]||e}#j(){let t=document.createElement("span");t.setAttribute("role","status"),t.setAttribute("aria-live","polite"),t.setAttribute("aria-atomic","true"),t.setAttribute("data-table-status",""),t.className="visually-hidden",this.appendChild(t),this.#m=t}#M(t){let e=this.#m;e&&(e.textContent=e.textContent===t?`${t}\xA0`:t)}#D(){this.#e.querySelectorAll("thead th[data-sort]").forEach((e,s)=>{let n=e.getAttribute("data-sort"),i=this.#z(e);this.#r.push({th:e,sortType:n,columnIndex:i}),e.setAttribute("aria-sort","none"),u.#K(e),e.dataset.columnIndex=i,this.listen(e,"click",this.#Q)})}static#K(t){if(t.querySelector(":scope > button[data-sort-button]"))return;let e=document.createElement("button");e.type="button",e.setAttribute("data-sort-button",""),e.append(...t.childNodes),t.appendChild(e)}#z(t){return[...t.parentElement.children].indexOf(t)}#Q=t=>{let e=t.currentTarget,s=t.target.closest?.("a, input, select, textarea, button:not([data-sort-button])");if(s&&e.contains(s))return;let n=parseInt(e.dataset.columnIndex,10);this.#G(n)};#W(t,e,s){let n=this.#n;if(n.length<2)return!0;let i=s==="asc"?1:-1;for(let a=1;a<n.length;a++){let c=this.#A(n[a-1].children[t],e),o=this.#A(n[a].children[t],e);if((typeof c=="string"?c.localeCompare(o)*i:(c-o)*i)>0)return!1}return!0}#G(t){let e=this.#r.find(i=>i.columnIndex===t);if(!e)return;let s;this.#c===t?s=this.#d==="asc"?"desc":"asc":this.#W(t,e.sortType,"asc")?s="desc":s="asc",this.#r.forEach(({th:i})=>{i.setAttribute("aria-sort","none")}),e.th.setAttribute("aria-sort",s==="asc"?"ascending":"descending"),this.#c=t,this.#d=s,this.#B(t,s,e.sortType),this.#i=1,this.#E();let n=e.th.textContent.trim();this.#M(`Sorted by ${n}, ${s==="asc"?"ascending":"descending"}`),this.dispatchEvent(new CustomEvent("data-table:sort",{detail:{column:t,direction:s,columnName:n},bubbles:!0}))}#B(t,e,s){let n=e==="asc"?1:-1;this.#n.sort((i,a)=>{let c=i.children[t],o=a.children[t];if(!c||!o)return 0;let r=this.#A(c,s),d=this.#A(o,s),l=0;switch(s){case"number":l=r-d;break;case"date":l=r-d;break;default:l=r.localeCompare(d,void 0,{numeric:!0,sensitivity:"base"});break}return l*n})}#A(t,e){let n=t.getAttribute("data-sort-value")??t.textContent.trim();switch(e){case"number":return parseFloat(n)||0;case"date":return new Date(n).getTime()||0;default:return n.toLowerCase()}}#J(){let t=document.createElement("div");t.setAttribute("data-table-filter","");let e=document.createElement("input");e.type="search",e.setAttribute("data-filter-input",""),e.setAttribute("placeholder","Filter table..."),e.setAttribute("aria-label","Filter table rows"),t.appendChild(e),this.insertBefore(t,this.#e),this.#u=e;let s=document.createElement("p");s.setAttribute("data-table-empty",""),s.hidden=!0,s.textContent=this.#P("NoResults","No matching rows found"),this.#e.after(s),this.#p=s,this.listen(e,"input",this.#U)}#U=t=>{let e=t.target.value;this.#f&&clearTimeout(this.#f),this.#f=setTimeout(()=>{this.#y(e,{announce:!0})},150)};#y(t,{announce:e=!1,keepPage:s=!1}={}){if(this.#l=String(t??"").toLowerCase().trim(),this.#l===""?this.#n=[...this.#s]:this.#n=this.#s.filter(n=>[...n.children].some(a=>(a.getAttribute("data-filter-value")??a.textContent).toLowerCase().includes(this.#l))),this.#c>=0&&this.#d){let n=this.#r.find(i=>i.columnIndex===this.#c);n&&this.#B(this.#c,this.#d,n.sortType)}if(s?this.#i=Math.min(this.#i,this.totalPages):this.#i=1,this.#E(),e){let n=this.#n.length,i=this.#s.length;this.#M(n===0?this.#P("NoResults","No matching rows found"):this.#l?`${n} of ${i} ${i===1?"row":"rows"} shown`:`All ${i} ${i===1?"row":"rows"} shown`)}this.dispatchEvent(new CustomEvent("data-table:filter",{detail:{query:this.#l,count:this.#n.length},bubbles:!0}))}#X(){let t=document.createElement("nav");t.setAttribute("data-pagination",""),t.setAttribute("aria-label","Table pagination"),this.appendChild(t),this.#h=t}#Y(){for(let t of this.#t.querySelectorAll(":scope > tr[data-expandable]")){let e=t.querySelector('[data-action="toggle-expand"]');e&&e.setAttribute("aria-expanded",String(t.hasAttribute("data-state-expanded")))}this.listen(this.#e,"click",this.#Z)}#Z=t=>{let e=t.target.closest('[data-action="toggle-expand"]');if(!e)return;let s=e.closest("tr[data-expandable]");if(!s)return;let n=s.hasAttribute("data-state-expanded"),i=s.nextElementSibling;n?(s.removeAttribute("data-state-expanded"),e.setAttribute("aria-expanded","false"),i?.hasAttribute("data-expand-content")&&(i.hidden=!0,i.setAttribute("aria-hidden","true"))):(s.setAttribute("data-state-expanded",""),e.setAttribute("aria-expanded","true"),i?.hasAttribute("data-expand-content")&&(i.hidden=!1,i.removeAttribute("aria-hidden"))),this.dispatchEvent(new CustomEvent("data-table:expand",{detail:{row:s,expanded:!n},bubbles:!0}))};#N(){this.#o=this.#e.querySelector('thead [data-action="select-all"]'),this.#o&&this.listen(this.#o,"change",this.#tt),this.listen(this.#t,"change",this.#et),this.#C=this.querySelector("[data-selected-count]"),this.#T()}#tt=t=>{let e=t.target.checked;this.#t.querySelectorAll("tr[data-selectable]").forEach(n=>{let i=n.querySelector('[data-action="select-row"]');e?(n.setAttribute("data-state-selected",""),i&&(i.checked=!0)):(n.removeAttribute("data-state-selected"),i&&(i.checked=!1))}),t.target.indeterminate=!1,this.#R(),this.#L(),this.#F()};#et=t=>{let e=t.target.closest('[data-action="select-row"]');if(!e)return;let s=e.closest("tr[data-selectable]");s&&(e.checked?s.setAttribute("data-state-selected",""):s.removeAttribute("data-state-selected"),this.#T(),this.#L(),this.#F())};#L(){let t=this.getSelectedRows().length;this.#M(`${t} ${t===1?"row":"rows"} selected`)}#T(){if(!this.#o){this.#R();return}let t=this.#t.querySelectorAll("tr[data-selectable]"),e=this.#t.querySelectorAll("tr[data-selectable][data-state-selected]"),s=t.length,n=e.length;n===0?(this.#o.checked=!1,this.#o.indeterminate=!1):n===s?(this.#o.checked=!0,this.#o.indeterminate=!1):(this.#o.checked=!1,this.#o.indeterminate=!0),this.#R()}#R(){let e=this.#t.querySelectorAll("tr[data-selectable][data-state-selected]").length;this.#C&&(this.#C.textContent=e)}#F(){let t=[...this.#t.querySelectorAll("tr[data-selectable][data-state-selected]")];this.dispatchEvent(new CustomEvent("data-table:selection",{detail:{count:t.length,rows:t},bubbles:!0}))}#st(){if(!this.#h||this.#a<=0)return;let t=this.#h,e=Math.ceil(this.#n.length/this.#a),s=document.activeElement,n=null;if(s instanceof HTMLElement&&t.contains(s)&&(n=s.hasAttribute("data-pagination-prev")?"prev":s.hasAttribute("data-pagination-next")?"next":"page"),t.replaceChildren(),e<=1)return;let i=document.createElement("button");i.type="button",i.textContent="Previous",i.setAttribute("data-pagination-prev",""),i.disabled=this.#i===1,i.addEventListener("click",()=>this.goToPage(this.#i-1)),t.appendChild(i),this.#nt(e).forEach(o=>{if(o==="..."){let r=document.createElement("span");r.textContent="...",r.setAttribute("data-pagination-ellipsis",""),t.appendChild(r)}else{let r=document.createElement("button");r.type="button",r.textContent=o,r.setAttribute("data-pagination-page",""),o===this.#i&&(r.setAttribute("aria-current","page"),r.setAttribute("data-current","")),r.addEventListener("click",()=>this.goToPage(o)),t.appendChild(r)}});let c=document.createElement("button");if(c.type="button",c.textContent="Next",c.setAttribute("data-pagination-next",""),c.disabled=this.#i===e,c.addEventListener("click",()=>this.goToPage(this.#i+1)),t.appendChild(c),n){let o=t.querySelector('[aria-current="page"]');(n==="prev"&&!i.disabled?i:n==="next"&&!c.disabled?c:o)?.focus()}}#nt(t){let e=this.#i,s=[];if(t<=7)for(let n=1;n<=t;n++)s.push(n);else{s.push(1),e>3&&s.push("...");let n=Math.max(2,e-1),i=Math.min(t-1,e+1);for(let a=n;a<=i;a++)s.push(a);e<t-2&&s.push("..."),s.push(t)}return s}#E(){this.#s.forEach(s=>{s.setAttribute("data-state-hidden",""),this.#x(s)?.setAttribute("data-state-hidden","")});let t;if(this.#a>0){let s=(this.#i-1)*this.#a,n=s+this.#a;t=this.#n.slice(s,n)}else t=this.#n;t.forEach(s=>{s.removeAttribute("data-state-hidden");let n=this.#x(s);this.#t.appendChild(s),n&&(n.removeAttribute("data-state-hidden"),this.#t.appendChild(n))}),this.#n.forEach(s=>{if(s.hasAttribute("data-state-hidden")){let n=this.#x(s);this.#t.appendChild(s),n&&this.#t.appendChild(n)}});let e=new Set(this.#n);this.#s.forEach(s=>{if(!e.has(s)){let n=this.#x(s);this.#t.appendChild(s),n&&this.#t.appendChild(n)}}),this.#p&&(this.#p.hidden=!(this.#l&&this.#n.length===0&&this.#s.length>0)),this.#st()}#x(t){if(!t.hasAttribute("data-expandable"))return null;let e=t.nextElementSibling;return e?.hasAttribute("data-expand-content")?e:null}goToPage(t){if(this.#a<=0)return;let e=Math.max(1,Math.ceil(this.#n.length/this.#a)),s=Math.max(1,Math.min(Math.trunc(Number(t))||1,e));s!==this.#i&&(this.#i=s,this.#E(),this.dispatchEvent(new CustomEvent("data-table:page",{detail:{page:this.#i},bubbles:!0})))}setFilter(t){this.#u&&(this.#u.value=t),this.#y(t,{announce:!0})}refresh(){this.#t&&(this.#s=[...this.#t.querySelectorAll(g)],this.#k(),this.#$(),this.#y(this.#l,{keepPage:!0}),this.#T())}get currentPage(){return this.#i}get totalPages(){return this.#a<=0?1:Math.max(1,Math.ceil(this.#n.length/this.#a))}get filteredCount(){return this.#n.length}get totalCount(){return this.#s.length}getSelectedRows(){return this.#t?[...this.#t.querySelectorAll("tr[data-selectable][data-state-selected]")]:[]}};y("data-table",v);export{v as DataTable};
|
|
1
|
+
var q=window.matchMedia("(prefers-reduced-motion: reduce)");var E=new Map;function C(u,t,e={}){let n=e.priority??10,s={impl:t,bundle:e.bundle,contract:e.contract,priority:n},i=E.get(u);if(customElements.get(u)){if(!i||i.priority>=n){i&&i.priority===n&&i.impl!==t&&console.warn(`[VB Bundle] Tag <${u}> already registered by "${i.bundle}" (priority ${i.priority}). Skipping "${e.bundle}".`);return}console.warn(`[VB Bundle] Tag <${u}> defined by "${i.bundle}" cannot be replaced (customElements.define is permanent). "${e.bundle}" has higher priority but arrived late.`);return}if(i&&i.priority>=n){i.priority===n&&console.warn(`[VB Bundle] Tag <${u}> already registered by "${i.bundle}". Skipping "${e.bundle}" (first wins at equal priority).`);return}E.set(u,s),customElements.define(u,t)}var m=class extends HTMLElement{#e=[];#t;constructor(){super(),this.hasAttribute("data-upgraded")&&this.removeAttribute("data-upgraded")}connectedCallback(){this.hasAttribute("data-upgraded")||this.setup()!==!1&&(this.setAttribute("data-upgraded",""),queueMicrotask(()=>{this.dispatchEvent(new CustomEvent(`${this.localName}:upgraded`,{bubbles:!0}))}))}disconnectedCallback(){for(let t of this.#e)t();this.#e=[],this.removeAttribute("data-upgraded"),this.teardown()}listen(t,e,n,s){t.addEventListener(e,n,s),this.#e.push(()=>t.removeEventListener(e,n,s))}_reinit(){for(let t of this.#e)t();this.#e=[],this.teardown(),this.removeAttribute("data-upgraded"),this.isConnected&&this.setup()!==!1&&this.setAttribute("data-upgraded","")}setup(){}teardown(){}setState(t,e){this.#t||(this.#t=this.attachInternals());let n=this.#t.states;try{e?n.add(t):n.delete(t)}catch{let s=`--${t}`;e?n.add(s):n.delete(s)}}_adoptInternals(t){this.#t||(this.#t=t)}#r(){return this.constructor.formAssociated&&this.#t?this.#t:null}get validity(){return this.#r()?.validity}get validationMessage(){return this.#r()?.validationMessage??""}get willValidate(){return this.#r()?.willValidate??!1}get form(){return this.#r()?.form??null}checkValidity(){return this.#r()?.checkValidity()??!0}reportValidity(){return this.#r()?.reportValidity()??!0}};function S({newItems:u,nodes:t,keyOf:e,renderItem:n,containerFor:s}){let i=[],a=[],c=[],o=new Set;for(let d of u)o.add(e(d));for(let[d,l]of[...t])o.has(d)||(l.remove(),t.delete(d),c.push(d));let r=new Map;for(let d of u){let l=e(d),h=t.get(l)||null,f=s(d,h);r.has(f)||r.set(f,[]),r.get(f)?.push({item:d,key:l,existing:h})}for(let[d,l]of r)for(let h=0;h<l.length;h++){let{item:f,key:p,existing:$}=l[h],b=$;b?(b.parentElement!==d||d.children[h]!==b)&&a.push(p):(b=n(f),t.set(p,b),i.push(p));let x=d.children[h];x!==b&&d.insertBefore(b,x||null)}return{added:i,moved:a,removed:c}}function g(u,t){return u.replace(/\{(\w+)\}/g,(e,n)=>n in t?String(t[n]):e)}function v(u){return k(u&&u.closest("[lang]")?.lang||document.documentElement.lang||navigator.language||"en")}function k(u,t="en-US"){try{if(u)return Intl.getCanonicalLocales(u),u}catch{}try{return Intl.getCanonicalLocales(t),t}catch{return"en-US"}}var A={"no-results":"No matching rows found",filter:"Filter table rows",placeholder:"Filter table...",pagination:"Table pagination",prev:"Previous",next:"Next",sorted:"Sorted by {column}, {direction}",ascending:"ascending",descending:"descending","filtered-one":"{count} of {total} row shown","filtered-other":"{count} of {total} rows shown","all-one":"All {total} row shown","all-other":"All {total} rows shown","selected-one":"{count} row selected","selected-other":"{count} rows selected"},w=":scope > tr:not([data-expand-content])",y=class u extends m{#e;#t;#r=[];#n=[];#s=[];#d=-1;#h=null;#i=1;#a=0;#f=null;#p=null;#b=null;#c="";#o=null;#$=null;#g=null;#u=null;#v=[];#k=new Map;#A=[];setup(){return this.#e=this.querySelector(":scope > table"),!this.#e||(this.#t=this.#e.querySelector("tbody"),!this.#t)?!1:(this.#H(),!0)}teardown(){this.#D(),this.#r=[],this.#n=[],this.#s=[]}#H(){this.#n=[...this.#t.querySelectorAll(w)],this.#s=[...this.#n],this.#i=1,this.#d=-1,this.#h=null,this.#c="",this.#a=0,this.#A=[...this.#e.tHead?.rows[0]?.cells||[]].map(e=>({key:e.getAttribute("data-key")||e.textContent.trim().toLowerCase(),label:e.textContent.trim(),sort:e.getAttribute("data-sort")||void 0})),this.#k.clear(),this.#v=[];for(let e of this.#n){let n=e.getAttribute("data-id")||e.getAttribute("data-key");n&&(this.#k.set(n,e),this.#v.push({id:n}))}this.#_(),this.#L(),this.#M(),this.#K(),this.#z(),this.#e.hasAttribute("data-filterable")&&this.#X();let t=this.#e.getAttribute("data-paginate");t&&(this.#a=parseInt(t,10),this.#a>0&&this.#N()),this.#Z(),this.#et(),this.#C()}get rows(){return this.#v}set rows(t){let e=t||[],n=S({newItems:e,nodes:this.#k,keyOf:s=>s.id,renderItem:s=>this._renderRow(s),containerFor:()=>this.#t});this.#v=e,this.#n=[...this.#t.querySelectorAll(w)],this.#L(),this.#M(),this.#E(this.#c),this.dispatchEvent(new CustomEvent("data-table:rows-changed",{detail:{rows:e,added:n.added,moved:n.moved,removed:n.removed,source:"api"},bubbles:!0}))}get columns(){return this.#A}_renderRow(t){let e=this;if(typeof e.renderRow=="function"){let s=e.renderRow(t,this.#A);if(!(s instanceof Element))throw new Error("data-table: renderRow must return an Element");return s.hasAttribute("data-id")||s.setAttribute("data-id",String(t.id)),s}let n=document.createElement("tr");n.setAttribute("data-id",String(t.id));for(let s of this.#A){let i=document.createElement("td"),a=t[s.key];i.textContent=a==null?"":String(a),n.appendChild(i)}return n}#P=[];#m=[];#w=[];#_(){let t=[...this.#e.tHead?.rows[0]?.cells||[]];this.#P=t.map(e=>{let n=parseFloat(e.getAttribute("data-weight"));return Number.isFinite(n)?n:null}),this.#m=t.map(e=>e.getAttribute("data-rollup")||null),this.#w=t.map(e=>e.getAttribute("data-heatmap")||null)}#L(){if(this.#m.some(Boolean))for(let t=0;t<this.#m.length;t++){let e=this.#m[t];if(e)for(let n of this.#n){let s=n.children[t];if(!s)continue;let i=this.#O(n,t,e),a=u.#j(i);s.textContent=a,s.setAttribute("data-rollup-value",String(i)),s.hasAttribute("data-sort-value")||s.setAttribute("data-sort-value",String(i))}}}#O(t,e,n){let s=[...t.children],i=0,a=0,c=-1/0,o=0,r=1,d=!1;for(let l=0;l<s.length;l++){if(l===e||this.#m[l])continue;let h=s[l].getAttribute("data-sort-value")??s[l].textContent??"",f=parseFloat(h);if(!Number.isFinite(f))continue;i+=f,a++,f>c&&(c=f),r*=f,d=!0;let p=this.#P[l];p!==null&&(o+=f*p)}switch(n){case"sum":return i;case"avg":return a?i/a:0;case"max":return c===-1/0?0:c;case"weighted-sum":return o;case"product":return d?r:0;default:return i}}static#j(t){return Number.isFinite(t)?Number.isInteger(t)?String(t):(Math.round(t*100)/100).toString():""}#M(){if(this.#w.some(Boolean))for(let t=0;t<this.#w.length;t++){let e=this.#w[t];if(!e)continue;let n=this.#n.map(o=>{let r=o.children[t];if(!r)return null;let d=r.getAttribute("data-rollup-value")??r.getAttribute("data-sort-value")??r.textContent??"",l=parseFloat(d);return Number.isFinite(l)?l:null}),s=n.filter(o=>o!==null);if(!s.length)continue;let i=Math.min(...s),c=Math.max(...s)-i||1;for(let o=0;o<this.#n.length;o++){let r=this.#n[o].children[t];if(!r)continue;let d=n[o];if(d===null){r.removeAttribute("data-heat-level");continue}let l=(d-i)/c;e==="low-good"&&(l=1-l);let h=l<.34?"low":l<.67?"mid":"high";r.setAttribute("data-heat-level",h)}}}#D(){this.#b&&clearTimeout(this.#b),this.#f?.parentElement?.remove(),this.#p?.remove(),this.#g?.remove(),this.#u?.remove(),this.#f=null,this.#p=null,this.#g=null,this.#u=null}#l(t){return this.getAttribute(`data-label-${t}`)||A[t]||""}#B(t,e,n){let s="other";try{s=new Intl.PluralRules(v(this)).select(e)}catch{}let i=this.getAttribute(`data-label-${t}-${s}`)||this.getAttribute(`data-label-${t}-other`)||A[`${t}-${s}`]||A[`${t}-other`];return g(i,n)}#y(t){return new Intl.NumberFormat(v(this)).format(t)}#K(){let t=document.createElement("span");t.setAttribute("role","status"),t.setAttribute("aria-live","polite"),t.setAttribute("aria-atomic","true"),t.setAttribute("data-table-status",""),t.className="visually-hidden",this.appendChild(t),this.#g=t}#T(t){let e=this.#g;e&&(e.textContent=e.textContent===t?`${t}\xA0`:t)}#z(){this.#e.querySelectorAll("thead th[data-sort]").forEach((e,n)=>{let s=e.getAttribute("data-sort"),i=this.#G(e);this.#r.push({th:e,sortType:s,columnIndex:i}),e.setAttribute("aria-sort","none"),u.#U(e),e.dataset.columnIndex=i,this.listen(e,"click",this.#W)})}static#U(t){if(t.querySelector(":scope > button[data-sort-button]"))return;let e=document.createElement("button");e.type="button",e.setAttribute("data-sort-button",""),e.append(...t.childNodes),t.appendChild(e)}#G(t){return[...t.parentElement.children].indexOf(t)}#W=t=>{let e=t.currentTarget,n=t.target.closest?.("a, input, select, textarea, button:not([data-sort-button])");if(n&&e.contains(n))return;let s=parseInt(e.dataset.columnIndex,10);this.#Q(s)};#J(t,e,n){let s=this.#s;if(s.length<2)return!0;let i=n==="asc"?1:-1;for(let a=1;a<s.length;a++){let c=this.#x(s[a-1].children[t],e),o=this.#x(s[a].children[t],e);if((typeof c=="string"?c.localeCompare(o)*i:(c-o)*i)>0)return!1}return!0}#Q(t){let e=this.#r.find(i=>i.columnIndex===t);if(!e)return;let n;this.#d===t?n=this.#h==="asc"?"desc":"asc":this.#J(t,e.sortType,"asc")?n="desc":n="asc",this.#r.forEach(({th:i})=>{i.setAttribute("aria-sort","none")}),e.th.setAttribute("aria-sort",n==="asc"?"ascending":"descending"),this.#d=t,this.#h=n,this.#F(t,n,e.sortType),this.#i=1,this.#C();let s=e.th.textContent.trim();this.#T(g(this.#l("sorted"),{column:s,direction:this.#l(n==="asc"?"ascending":"descending")})),this.dispatchEvent(new CustomEvent("data-table:sort",{detail:{column:t,direction:n,columnName:s},bubbles:!0}))}#F(t,e,n){let s=e==="asc"?1:-1;this.#s.sort((i,a)=>{let c=i.children[t],o=a.children[t];if(!c||!o)return 0;let r=this.#x(c,n),d=this.#x(o,n),l=0;switch(n){case"number":l=r-d;break;case"date":l=r-d;break;default:l=r.localeCompare(d,void 0,{numeric:!0,sensitivity:"base"});break}return l*s})}#x(t,e){let s=t.getAttribute("data-sort-value")??t.textContent.trim();switch(e){case"number":return parseFloat(s)||0;case"date":return new Date(s).getTime()||0;default:return s.toLowerCase()}}#X(){let t=document.createElement("div");t.setAttribute("data-table-filter","");let e=document.createElement("input");e.type="search",e.setAttribute("data-filter-input",""),e.setAttribute("placeholder",this.#l("placeholder")),e.setAttribute("aria-label",this.#l("filter")),t.appendChild(e),this.insertBefore(t,this.#e),this.#f=e;let n=document.createElement("p");n.setAttribute("data-table-empty",""),n.hidden=!0,n.textContent=this.#l("no-results"),this.#e.after(n),this.#u=n,this.listen(e,"input",this.#Y)}#Y=t=>{let e=t.target.value;this.#b&&clearTimeout(this.#b),this.#b=setTimeout(()=>{this.#E(e,{announce:!0})},150)};#E(t,{announce:e=!1,keepPage:n=!1}={}){if(this.#c=String(t??"").toLowerCase().trim(),this.#c===""?this.#s=[...this.#n]:this.#s=this.#n.filter(s=>[...s.children].some(a=>(a.getAttribute("data-filter-value")??a.textContent).toLowerCase().includes(this.#c))),this.#d>=0&&this.#h){let s=this.#r.find(i=>i.columnIndex===this.#d);s&&this.#F(this.#d,this.#h,s.sortType)}if(n?this.#i=Math.min(this.#i,this.totalPages):this.#i=1,this.#C(),e){let s=this.#s.length,i=this.#n.length,a={count:this.#y(s),total:this.#y(i)};this.#T(s===0?this.#l("no-results"):this.#B(this.#c?"filtered":"all",i,a))}this.dispatchEvent(new CustomEvent("data-table:filter",{detail:{query:this.#c,count:this.#s.length},bubbles:!0}))}#N(){let t=document.createElement("nav");t.setAttribute("data-pagination",""),t.setAttribute("aria-label",this.#l("pagination")),this.appendChild(t),this.#p=t}#Z(){for(let t of this.#t.querySelectorAll(":scope > tr[data-expandable]")){let e=t.querySelector('[data-action="toggle-expand"]');e&&e.setAttribute("aria-expanded",String(t.hasAttribute("data-state-expanded")))}this.listen(this.#e,"click",this.#tt)}#tt=t=>{let e=t.target.closest('[data-action="toggle-expand"]');if(!e)return;let n=e.closest("tr[data-expandable]");if(!n)return;let s=n.hasAttribute("data-state-expanded"),i=n.nextElementSibling;s?(n.removeAttribute("data-state-expanded"),e.setAttribute("aria-expanded","false"),i?.hasAttribute("data-expand-content")&&(i.hidden=!0,i.setAttribute("aria-hidden","true"))):(n.setAttribute("data-state-expanded",""),e.setAttribute("aria-expanded","true"),i?.hasAttribute("data-expand-content")&&(i.hidden=!1,i.removeAttribute("aria-hidden"))),this.dispatchEvent(new CustomEvent("data-table:expand",{detail:{row:n,expanded:!s},bubbles:!0}))};#et(){this.#o=this.#e.querySelector('thead [data-action="select-all"]'),this.#o&&this.listen(this.#o,"change",this.#nt),this.listen(this.#t,"change",this.#st),this.#$=this.querySelector("[data-selected-count]"),this.#q()}#nt=t=>{let e=t.target.checked;this.#t.querySelectorAll("tr[data-selectable]").forEach(s=>{let i=s.querySelector('[data-action="select-row"]');e?(s.setAttribute("data-state-selected",""),i&&(i.checked=!0)):(s.removeAttribute("data-state-selected"),i&&(i.checked=!1))}),t.target.indeterminate=!1,this.#R(),this.#I(),this.#V()};#st=t=>{let e=t.target.closest('[data-action="select-row"]');if(!e)return;let n=e.closest("tr[data-selectable]");n&&(e.checked?n.setAttribute("data-state-selected",""):n.removeAttribute("data-state-selected"),this.#q(),this.#I(),this.#V())};#I(){let t=this.getSelectedRows().length;this.#T(this.#B("selected",t,{count:this.#y(t)}))}#q(){if(!this.#o){this.#R();return}let t=this.#t.querySelectorAll("tr[data-selectable]"),e=this.#t.querySelectorAll("tr[data-selectable][data-state-selected]"),n=t.length,s=e.length;s===0?(this.#o.checked=!1,this.#o.indeterminate=!1):s===n?(this.#o.checked=!0,this.#o.indeterminate=!1):(this.#o.checked=!1,this.#o.indeterminate=!0),this.#R()}#R(){let e=this.#t.querySelectorAll("tr[data-selectable][data-state-selected]").length;this.#$&&(this.#$.textContent=e)}#V(){let t=[...this.#t.querySelectorAll("tr[data-selectable][data-state-selected]")];this.dispatchEvent(new CustomEvent("data-table:selection",{detail:{count:t.length,rows:t},bubbles:!0}))}#it(){if(!this.#p||this.#a<=0)return;let t=this.#p,e=Math.ceil(this.#s.length/this.#a),n=document.activeElement,s=null;if(n instanceof HTMLElement&&t.contains(n)&&(s=n.hasAttribute("data-pagination-prev")?"prev":n.hasAttribute("data-pagination-next")?"next":"page"),t.replaceChildren(),e<=1)return;let i=document.createElement("button");i.type="button",i.textContent=this.#l("prev"),i.setAttribute("data-pagination-prev",""),i.disabled=this.#i===1,i.addEventListener("click",()=>this.goToPage(this.#i-1)),t.appendChild(i),this.#rt(e).forEach(o=>{if(o==="..."){let r=document.createElement("span");r.textContent="...",r.setAttribute("data-pagination-ellipsis",""),t.appendChild(r)}else{let r=document.createElement("button");r.type="button",r.textContent=this.#y(o),r.setAttribute("data-pagination-page",""),o===this.#i&&(r.setAttribute("aria-current","page"),r.setAttribute("data-current","")),r.addEventListener("click",()=>this.goToPage(o)),t.appendChild(r)}});let c=document.createElement("button");if(c.type="button",c.textContent=this.#l("next"),c.setAttribute("data-pagination-next",""),c.disabled=this.#i===e,c.addEventListener("click",()=>this.goToPage(this.#i+1)),t.appendChild(c),s){let o=t.querySelector('[aria-current="page"]');(s==="prev"&&!i.disabled?i:s==="next"&&!c.disabled?c:o)?.focus()}}#rt(t){let e=this.#i,n=[];if(t<=7)for(let s=1;s<=t;s++)n.push(s);else{n.push(1),e>3&&n.push("...");let s=Math.max(2,e-1),i=Math.min(t-1,e+1);for(let a=s;a<=i;a++)n.push(a);e<t-2&&n.push("..."),n.push(t)}return n}#C(){this.#n.forEach(n=>{n.setAttribute("data-state-hidden",""),this.#S(n)?.setAttribute("data-state-hidden","")});let t;if(this.#a>0){let n=(this.#i-1)*this.#a,s=n+this.#a;t=this.#s.slice(n,s)}else t=this.#s;t.forEach(n=>{n.removeAttribute("data-state-hidden");let s=this.#S(n);this.#t.appendChild(n),s&&(s.removeAttribute("data-state-hidden"),this.#t.appendChild(s))}),this.#s.forEach(n=>{if(n.hasAttribute("data-state-hidden")){let s=this.#S(n);this.#t.appendChild(n),s&&this.#t.appendChild(s)}});let e=new Set(this.#s);this.#n.forEach(n=>{if(!e.has(n)){let s=this.#S(n);this.#t.appendChild(n),s&&this.#t.appendChild(s)}}),this.#u&&(this.#u.textContent=this.#l("no-results"),this.#u.hidden=!(this.#c&&this.#s.length===0&&this.#n.length>0)),this.#it()}#S(t){if(!t.hasAttribute("data-expandable"))return null;let e=t.nextElementSibling;return e?.hasAttribute("data-expand-content")?e:null}goToPage(t){if(this.#a<=0)return;let e=Math.max(1,Math.ceil(this.#s.length/this.#a)),n=Math.max(1,Math.min(Math.trunc(Number(t))||1,e));n!==this.#i&&(this.#i=n,this.#C(),this.dispatchEvent(new CustomEvent("data-table:page",{detail:{page:this.#i},bubbles:!0})))}setFilter(t){this.#f&&(this.#f.value=t),this.#E(t,{announce:!0})}refresh(){this.#t&&(this.#n=[...this.#t.querySelectorAll(w)],this.#L(),this.#M(),this.#E(this.#c,{keepPage:!0}),this.#q())}get currentPage(){return this.#i}get totalPages(){return this.#a<=0?1:Math.max(1,Math.ceil(this.#s.length/this.#a))}get filteredCount(){return this.#s.length}get totalCount(){return this.#n.length}getSelectedRows(){return this.#t?[...this.#t.querySelectorAll("tr[data-selectable][data-state-selected]")]:[]}};C("data-table",y);export{y as DataTable};
|
|
2
2
|
//# sourceMappingURL=data-table.js.map
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
},
|
|
6
6
|
"activity-feed": {
|
|
7
7
|
"file": "activity-feed.js",
|
|
8
|
-
"size":
|
|
8
|
+
"size": 11251
|
|
9
9
|
},
|
|
10
10
|
"ai-chat": {
|
|
11
11
|
"file": "ai-chat.js",
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
},
|
|
122
122
|
"data-table": {
|
|
123
123
|
"file": "data-table.js",
|
|
124
|
-
"size":
|
|
124
|
+
"size": 17256
|
|
125
125
|
},
|
|
126
126
|
"date-picker": {
|
|
127
127
|
"file": "date-picker.js",
|
|
@@ -297,7 +297,7 @@
|
|
|
297
297
|
},
|
|
298
298
|
"settings-panel": {
|
|
299
299
|
"file": "settings-panel.js",
|
|
300
|
-
"size":
|
|
300
|
+
"size": 55925
|
|
301
301
|
},
|
|
302
302
|
"share-wc": {
|
|
303
303
|
"file": "share-wc.js",
|
|
@@ -313,7 +313,7 @@
|
|
|
313
313
|
},
|
|
314
314
|
"site-map": {
|
|
315
315
|
"file": "site-map.js",
|
|
316
|
-
"size":
|
|
316
|
+
"size": 32087
|
|
317
317
|
},
|
|
318
318
|
"site-search": {
|
|
319
319
|
"file": "site-search.js",
|
|
@@ -327,6 +327,10 @@
|
|
|
327
327
|
"file": "social-embed.js",
|
|
328
328
|
"size": 15762
|
|
329
329
|
},
|
|
330
|
+
"social-feed": {
|
|
331
|
+
"file": "social-feed.js",
|
|
332
|
+
"size": 26759
|
|
333
|
+
},
|
|
330
334
|
"social-links": {
|
|
331
335
|
"file": "social-links.js",
|
|
332
336
|
"size": 966
|
|
@@ -357,7 +361,7 @@
|
|
|
357
361
|
},
|
|
358
362
|
"theme-picker": {
|
|
359
363
|
"file": "theme-picker.js",
|
|
360
|
-
"size":
|
|
364
|
+
"size": 35663
|
|
361
365
|
},
|
|
362
366
|
"time-index": {
|
|
363
367
|
"file": "time-index.js",
|