@everymatrix/bonus-pagination-limits 1.55.0 → 1.56.0

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.
Files changed (24) hide show
  1. package/dist/bonus-pagination-limits/bonus-pagination-limits.esm.js +1 -1
  2. package/dist/bonus-pagination-limits/p-340985fe.js +2 -0
  3. package/dist/bonus-pagination-limits/p-c5777f71.entry.js +1 -0
  4. package/dist/cjs/bonus-pagination-limits.cjs.entry.js +10 -2
  5. package/dist/cjs/bonus-pagination-limits.cjs.js +2 -2
  6. package/dist/cjs/{index-a29c4900.js → index-10b5f6b9.js} +165 -61
  7. package/dist/cjs/loader.cjs.js +1 -1
  8. package/dist/collection/collection-manifest.json +1 -1
  9. package/dist/collection/components/bonus-pagination-limits/bonus-pagination-limits.js +17 -1
  10. package/dist/esm/bonus-pagination-limits.entry.js +10 -2
  11. package/dist/esm/bonus-pagination-limits.js +3 -3
  12. package/dist/esm/{index-72f6de0f.js → index-e27ccae3.js} +165 -61
  13. package/dist/esm/loader.js +2 -2
  14. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/bonus-pagination-limits/.stencil/packages/stencil/bonus-pagination-limits/stencil.config.d.ts +2 -0
  15. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/bonus-pagination-limits/.stencil/packages/stencil/bonus-pagination-limits/stencil.config.dev.d.ts +2 -0
  16. package/package.json +1 -1
  17. package/dist/bonus-pagination-limits/p-c4107576.entry.js +0 -1
  18. package/dist/bonus-pagination-limits/p-ff6aa153.js +0 -2
  19. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/bonus-pagination-limits/.stencil/packages/stencil/bonus-pagination-limits/stencil.config.d.ts +0 -2
  20. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/bonus-pagination-limits/.stencil/packages/stencil/bonus-pagination-limits/stencil.config.dev.d.ts +0 -2
  21. /package/dist/types/Users/{maria.bumbar/Desktop → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/bonus-pagination-limits/.stencil/tools/plugins/index.d.ts +0 -0
  22. /package/dist/types/Users/{maria.bumbar/Desktop → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/bonus-pagination-limits/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
  23. /package/dist/types/Users/{maria.bumbar/Desktop → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/bonus-pagination-limits/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
  24. /package/dist/types/Users/{maria.bumbar/Desktop → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/bonus-pagination-limits/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
@@ -1 +1 @@
1
- import{p as a,b as t}from"./p-ff6aa153.js";export{s as setNonce}from"./p-ff6aa153.js";import{g as i}from"./p-e1255160.js";(()=>{const t=import.meta.url,i={};return""!==t&&(i.resourcesUrl=new URL(".",t).href),a(i)})().then((async a=>(await i(),t([["p-c4107576",[[0,"bonus-pagination-limits",{language:[513],translationUrl:[513,"translation-url"],pageLimitOptions:[513,"page-limit-options"],limit:[1538],pageLimits:[32]}]]]],a))));
1
+ import{p as t,b as i}from"./p-340985fe.js";export{s as setNonce}from"./p-340985fe.js";import{g as a}from"./p-e1255160.js";(()=>{const i=import.meta.url,a={};return""!==i&&(a.resourcesUrl=new URL(".",i).href),t(a)})().then((async t=>(await a(),i([["p-c5777f71",[[0,"bonus-pagination-limits",{language:[513],translationUrl:[513,"translation-url"],pageLimitOptions:[513,"page-limit-options"],limit:[1538],pageLimits:[32]}]]]],t))));
@@ -0,0 +1,2 @@
1
+ var t=Object.defineProperty,e=new WeakMap,n=t=>e.get(t),l=(t,n)=>{e.set(n.t=t,n)},o=(t,e)=>e in t,s=(t,e)=>(0,console.error)(t,e),i=new Map,r=new Map,c="slot-fb{display:contents}slot-fb[hidden]{display:none}",u="undefined"!=typeof window?window:{},a=u.document||{head:{}},f={l:0,o:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,l)=>t.addEventListener(e,n,l),rel:(t,e,n,l)=>t.removeEventListener(e,n,l),ce:(t,e)=>new CustomEvent(t,e)},h=t=>Promise.resolve(t),d=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(t){}return!1})(),m=!1,p=[],y=[],v=(t,e)=>n=>{t.push(n),m||(m=!0,e&&4&f.l?w($):f.raf($))},b=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){s(t)}t.length=0},$=()=>{b(p),b(y),(m=p.length>0)&&f.raf($)},w=t=>h().then(t),S=v(y,!0),g=t=>"object"==(t=typeof t)||"function"===t;function j(t){var e,n,l;return null!=(l=null==(n=null==(e=t.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?l:void 0}((e,n)=>{for(var l in n)t(e,l,{get:n[l],enumerable:!0})})({},{err:()=>k,map:()=>E,ok:()=>O,unwrap:()=>M,unwrapErr:()=>P});var O=t=>({isOk:!0,isErr:!1,value:t}),k=t=>({isOk:!1,isErr:!0,value:t});function E(t,e){if(t.isOk){const n=e(t.value);return n instanceof Promise?n.then((t=>O(t))):O(n)}if(t.isErr)return k(t.value);throw"should never get here"}var C,M=t=>{if(t.isOk)return t.value;throw t.value},P=t=>{if(t.isErr)return t.value;throw t.value},x=(t,e,...n)=>{let l=null,o=null,s=!1,i=!1;const r=[],c=e=>{for(let n=0;n<e.length;n++)l=e[n],Array.isArray(l)?c(l):null!=l&&"boolean"!=typeof l&&((s="function"!=typeof t&&!g(l))&&(l+=""),s&&i?r[r.length-1].i+=l:r.push(s?A(null,l):l),i=s)};if(c(n),e){e.key&&(o=e.key);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}}const u=A(t,null);return u.u=e,r.length>0&&(u.h=r),u.m=o,u},A=(t,e)=>({l:0,p:t,i:e,v:null,h:null,u:null,m:null}),N={},R=(t,e)=>null==t||g(t)?t:2&e?parseFloat(t):1&e?t+"":t,T=(t,e,l)=>{const o=(t=>n(t).$hostElement$)(t);return{emit:t=>F(o,e,{bubbles:!!(4&l),composed:!!(2&l),cancelable:!!(1&l),detail:t})}},F=(t,e,n)=>{const l=f.ce(e,n);return t.dispatchEvent(l),l},H=new WeakMap,L=t=>"sc-"+t.$,W=(t,e,n,l,s,i)=>{if(n!==l){let r=o(t,e),c=e.toLowerCase();if("class"===e){const e=t.classList,o=U(n);let s=U(l);e.remove(...o.filter((t=>t&&!s.includes(t)))),e.add(...s.filter((t=>t&&!o.includes(t))))}else if("key"===e);else if(r||"o"!==e[0]||"n"!==e[1]){const o=g(l);if((r||o&&null!==l)&&!s)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)||t.removeAttribute(e):(!r||4&i||s)&&!o&&t.setAttribute(e,l=!0===l?"":l)}else if(e="-"===e[2]?e.slice(3):o(u,c)?c.slice(2):c[2]+e.slice(3),n||l){const o=e.endsWith(V);e=e.replace(q,""),n&&f.rel(t,e,n,o),l&&f.ael(t,e,l,o)}}},D=/\s/,U=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(D):[]),V="Capture",q=RegExp(V+"$"),G=(t,e,n)=>{const l=11===e.v.nodeType&&e.v.host?e.v.host:e.v,o=t&&t.u||{},s=e.u||{};for(const t of _(Object.keys(o)))t in s||W(l,t,o[t],void 0,n,e.l);for(const t of _(Object.keys(s)))W(l,t,o[t],s[t],n,e.l)};function _(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var z=!1,B=(t,e,n)=>{const l=e.h[n];let o,s,i=0;if(null!==l.i)o=l.v=a.createTextNode(l.i);else if(o=l.v=a.createElement(l.p),G(null,l,z),l.h)for(i=0;i<l.h.length;++i)s=B(t,l,i),s&&o.appendChild(s);return o["s-hn"]=C,o},I=(t,e,n,l,o,s)=>{let i,r=t;for(;o<=s;++o)l[o]&&(i=B(null,n,o),i&&(l[o].v=i,X(r,i,e)))},J=(t,e,n)=>{for(let l=e;l<=n;++l){const e=t[l];if(e){const t=e.v;t&&t.remove()}}},K=(t,e,n=!1)=>t.p===e.p&&(n?(n&&!t.m&&e.m&&(t.m=e.m),!0):t.m===e.m),Q=(t,e,n=!1)=>{const l=e.v=t.v,o=t.h,s=e.h,i=e.i;null===i?(G(t,e,z),null!==o&&null!==s?((t,e,n,l,o=!1)=>{let s,i,r=0,c=0,u=0,a=0,f=e.length-1,h=e[0],d=e[f],m=l.length-1,p=l[0],y=l[m];for(;r<=f&&c<=m;)if(null==h)h=e[++r];else if(null==d)d=e[--f];else if(null==p)p=l[++c];else if(null==y)y=l[--m];else if(K(h,p,o))Q(h,p,o),h=e[++r],p=l[++c];else if(K(d,y,o))Q(d,y,o),d=e[--f],y=l[--m];else if(K(h,y,o))Q(h,y,o),X(t,h.v,d.v.nextSibling),h=e[++r],y=l[--m];else if(K(d,p,o))Q(d,p,o),X(t,d.v,h.v),d=e[--f],p=l[++c];else{for(u=-1,a=r;a<=f;++a)if(e[a]&&null!==e[a].m&&e[a].m===p.m){u=a;break}u>=0?(i=e[u],i.p!==p.p?s=B(e&&e[c],n,u):(Q(i,p,o),e[u]=void 0,s=i.v),p=l[++c]):(s=B(e&&e[c],n,c),p=l[++c]),s&&X(h.v.parentNode,s,h.v)}r>f?I(t,null==l[m+1]?null:l[m+1].v,n,l,c,m):c>m&&J(e,r,f)})(l,o,e,s,n):null!==s?(null!==t.i&&(l.textContent=""),I(l,null,e,s,0,s.length-1)):!n&&null!==o&&J(o,0,o.length-1)):t.i!==i&&(l.data=i)},X=(t,e,n)=>null==t?void 0:t.insertBefore(e,n),Y=(t,e)=>{if(e&&!t.S&&e["s-p"]){const n=e["s-p"].push(new Promise((l=>t.S=()=>{e["s-p"].splice(n-1,1),l()})))}},Z=(t,e)=>{if(t.l|=16,!(4&t.l))return Y(t,t.j),S((()=>tt(t,e)));t.l|=512},tt=(t,e)=>{const n=t.$hostElement$,l=t.t;if(!l)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 o;return e&&(o=rt(l,"componentWillLoad",void 0,n)),et(o,(()=>lt(t,l,e)))},et=(t,e)=>nt(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),nt=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,lt=async(t,e,n)=>{var l;const o=t.$hostElement$,s=o["s-rc"];n&&(t=>{const e=t.O;((t,e)=>{var n;const l=L(e),o=r.get(l);if(t=11===t.nodeType?t:a,o)if("string"==typeof o){let s,i=H.get(t=t.head||t);if(i||H.set(t,i=new Set),!i.has(l)){{s=document.querySelector(`[sty-id="${l}"]`)||a.createElement("style"),s.innerHTML=o;const i=null!=(n=f.k)?n:j(a);if(null!=i&&s.setAttribute("nonce",i),!(1&e.l))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(s,(null==n?void 0:n.parentNode)===t?n:null)}else if("host"in t)if(d){const e=new CSSStyleSheet;e.replaceSync(o),t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const e=t.querySelector("style");e?e.innerHTML=o+e.innerHTML:t.prepend(s)}else t.append(s);1&e.l&&t.insertBefore(s,null)}4&e.l&&(s.innerHTML+=c),i&&i.add(l)}}else t.adoptedStyleSheets.includes(o)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,o])})(t.$hostElement$.getRootNode(),e)})(t);ot(t,e,o,n),s&&(s.map((t=>t())),o["s-rc"]=void 0);{const e=null!=(l=o["s-p"])?l:[],n=()=>st(t);0===e.length?n():(Promise.all(e).then(n),t.l|=4,e.length=0)}},ot=(t,e,n,l)=>{try{e=e.render(),t.l&=-17,t.l|=2,((t,e,n=!1)=>{const l=t.$hostElement$,o=t.O,s=t.C||A(null,null),i=(t=>t&&t.p===N)(e)?e:x(null,null,e);if(C=l.tagName,o.M&&(i.u=i.u||{},o.M.map((([t,e])=>i.u[e]=l[t]))),n&&i.u)for(const t of Object.keys(i.u))l.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(i.u[t]=l[t]);i.p=null,i.l|=4,t.C=i,i.v=s.v=l,Q(s,i,n)})(t,e,l)}catch(e){s(e,t.$hostElement$)}return null},st=t=>{const e=t.$hostElement$,n=t.j;64&t.l||(t.l|=64,ct(e),t.P(e),n||it()),t.S&&(t.S(),t.S=void 0),512&t.l&&w((()=>Z(t,!1))),t.l&=-517},it=()=>{w((()=>F(u,"appload",{detail:{namespace:"bonus-pagination-limits"}})))},rt=(t,e,n,l)=>{if(t&&t[e])try{return t[e](n)}catch(t){s(t,l)}},ct=t=>t.classList.add("hydrated"),ut=(t,e,l,o)=>{const s=n(t);if(!s)throw Error(`Couldn't find host element for "${o.$}" 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/ionic-team/stencil/issues/5457).`);const i=s.A.get(e),r=s.l,c=s.t;l=R(l,o.N[e][0]),8&r&&void 0!==i||l===i||Number.isNaN(i)&&Number.isNaN(l)||(s.A.set(e,l),c&&2==(18&r)&&Z(s,!1))},at=(t,e,l)=>{var o,s;const i=t.prototype;if(e.N){const r=Object.entries(null!=(o=e.N)?o:{});if(r.map((([t,[o]])=>{if(31&o||2&l&&32&o){const{get:s,set:r}=Object.getOwnPropertyDescriptor(i,t)||{};s&&(e.N[t][0]|=2048),r&&(e.N[t][0]|=4096),(1&l||!s)&&Object.defineProperty(i,t,{get(){{if(!(2048&e.N[t][0]))return((t,e)=>n(this).A.get(e))(0,t);const l=n(this),o=l?l.t:i;if(!o)return;return o[t]}},configurable:!0,enumerable:!0}),Object.defineProperty(i,t,{set(s){const i=n(this);if(r){const n=32&o?this[t]:i.$hostElement$[t];return void 0===n&&i.A.get(t)?s=i.A.get(t):!i.A.get(t)&&n&&i.A.set(t,n),r.call(this,R(s,o)),void ut(this,t,s=32&o?this[t]:i.$hostElement$[t],e)}{if(!(1&l&&4096&e.N[t][0]))return ut(this,t,s,e),void(1&l&&!i.t&&i.R.then((()=>{4096&e.N[t][0]&&i.t[t]!==i.A.get(t)&&(i.t[t]=s)})));const n=()=>{const n=i.t[t];!i.A.get(t)&&n&&i.A.set(t,n),i.t[t]=R(s,o),ut(this,t,i.t[t],e)};i.t?n():i.R.then((()=>n()))}}})}})),1&l){const l=new Map;i.attributeChangedCallback=function(t,o,s){f.jmp((()=>{var r;const c=l.get(t);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(i.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const l=n(this),i=null==l?void 0:l.l;if(i&&!(8&i)&&128&i&&s!==o){const n=l.t,i=null==(r=e.T)?void 0:r[t];null==i||i.forEach((e=>{null!=n[e]&&n[e].call(n,s,o,t)}))}return}}const u=Object.getOwnPropertyDescriptor(i,c);(s=(null!==s||"boolean"!=typeof this[c])&&s)===this[c]||u.get&&!u.set||(this[c]=s)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(s=e.T)?s:{}),...r.filter((([t,e])=>15&e[0])).map((([t,n])=>{var o;const s=n[1]||t;return l.set(s,t),512&n[0]&&(null==(o=e.M)||o.push([t,s])),s}))]))}}return t},ft=(t,l={})=>{var o;const h=[],m=l.exclude||[],p=u.customElements,y=a.head,v=y.querySelector("meta[charset]"),b=a.createElement("style"),$=[];let w,S=!0;Object.assign(f,l),f.o=new URL(l.resourcesUrl||"./",a.baseURI).href;let g=!1;if(t.map((t=>{t[1].map((l=>{const o={l:l[0],$:l[1],N:l[2],F:l[3]};4&o.l&&(g=!0),o.N=l[2],o.M=[];const c=o.$,u=class extends HTMLElement{constructor(t){super(t),this.hasRegisteredEventListeners=!1,((t,n)=>{const l={l:0,$hostElement$:t,O:n,A:new Map};l.R=new Promise((t=>l.P=t)),t["s-p"]=[],t["s-rc"]=[],e.set(t,l)})(t=this,o)}connectedCallback(){this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),w&&(clearTimeout(w),w=null),S?$.push(this):f.jmp((()=>(t=>{if(!(1&f.l)){const e=n(t),l=e.O,o=()=>{};if(1&e.l)(null==e?void 0:e.t)||(null==e?void 0:e.R)&&e.R.then((()=>{}));else{e.l|=1;{let n=t;for(;n=n.parentNode||n.host;)if(n["s-p"]){Y(e,e.j=n);break}}l.N&&Object.entries(l.N).map((([e,[n]])=>{if(31&n&&t.hasOwnProperty(e)){const n=t[e];delete t[e],t[e]=n}})),(async(t,e,n)=>{let l;if(!(32&e.l)){if(e.l|=32,n.H){const o=((t,e)=>{const n=t.$.replace(/-/g,"_"),l=t.H;if(!l)return;const o=i.get(l);return o?o[n]:import(`./${l}.entry.js`).then((t=>(i.set(l,t),t[n])),(t=>{s(t,e.$hostElement$)}))
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n,e);if(o&&"then"in o){const t=()=>{};l=await o,t()}else l=o;if(!l)throw Error(`Constructor for "${n.$}#${e.L}" was not found`);l.isProxied||(at(l,n,2),l.isProxied=!0);const r=()=>{};e.l|=8;try{new l(e)}catch(e){s(e,t)}e.l&=-9,r()}else l=t.constructor,customElements.whenDefined(t.localName).then((()=>e.l|=128));if(l&&l.style){let t;"string"==typeof l.style&&(t=l.style);const e=L(n);if(!r.has(e)){const l=()=>{};((t,e,n)=>{let l=r.get(t);d&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=e:l.replaceSync(e)):l=e,r.set(t,l)})(e,t,!!(1&n.l)),l()}}}const o=e.j,c=()=>Z(e,!0);o&&o["s-rc"]?o["s-rc"].push(c):c()})(t,e,l)}o()}})(this)))}disconnectedCallback(){f.jmp((()=>(async t=>{if(!(1&f.l)){const e=n(t);(null==e?void 0:e.t)||(null==e?void 0:e.R)&&e.R.then((()=>{}))}H.has(t)&&H.delete(t),t.shadowRoot&&H.has(t.shadowRoot)&&H.delete(t.shadowRoot)})(this))),f.raf((()=>{var t;const e=n(this),l=$.findIndex((t=>t===this));l>-1&&$.splice(l,1),(null==(t=null==e?void 0:e.C)?void 0:t.v)instanceof Node&&!e.C.v.isConnected&&delete e.C.v}))}componentOnReady(){return n(this).R}};o.H=t[0],m.includes(c)||p.get(c)||(h.push(c),p.define(c,at(u,o,1)))}))})),h.length>0&&(g&&(b.textContent+=c),b.textContent+=h.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",b.innerHTML.length)){b.setAttribute("data-styles","");const t=null!=(o=f.k)?o:j(a);null!=t&&b.setAttribute("nonce",t),y.insertBefore(b,v?v.nextSibling:y.firstChild)}S=!1,$.length?$.map((t=>t.connectedCallback())):f.jmp((()=>w=setTimeout(it,30)))},ht=t=>f.k=t;export{ft as b,T as c,x as h,h as p,l as r,ht as s}
@@ -0,0 +1 @@
1
+ import{r as i,c as e,h as a}from"./p-340985fe.js";const t=["pt-br","en","es-mx","hu","hr"],r={en:{pageLimitLabel:"Show"},hu:{pageLimitLabel:"Show"},hr:{pageLimitLabel:"Show"},"pt-br":{pageLimitLabel:"Show"},"es-mx":{pageLimitLabel:"Show"}},o=class{constructor(a){i(this,a),this.pageLimitChanged=e(this,"pageLimitChanged",7),this.language="en",this.translationUrl="",this.limit=10,this.pageLimits=[10,25,50]}onPageLimitClicked(i){this.limit=i,this.pageLimitChanged.emit({limit:this.limit})}componentWillLoad(){if(this.pageLimitOptions)try{this.pageLimits=this.pageLimitOptions.split(",").map((i=>parseInt(i))),this.pageLimits.includes(this.limit)||(this.limit=this.pageLimits[0])}catch(i){console.error("Error when parse PageLimitOptions",i)}}renderStylingWrapper(){return a("general-styling-wrapper",{targetTranslations:r,translationUrl:this.translationUrl})}render(){return a("div",{key:"57f5e61ee287f72d0427a2e4f646e37c6b9358b9",class:"PaginationWrapper"},a("span",{key:"5f82b19fcf269086659b3faa475d9967b2af57fa",class:"NoOfItemsToDisplayMessage"},(()=>{const i=this.language;return r[void 0!==i&&t.includes(i)?i:"en"].pageLimitLabel})()),a("ul",{key:"559c2d5378a352691583567579a8e681d092ddd3",class:"PaginationArea"},this.pageLimits.map((i=>a("li",{class:(this.limit==i?"Active":"")+" PageSize Item",onClick:()=>{this.onPageLimitClicked(i)}},i)))),a("general-styling-wrapper",{key:"a8b9632e7421318e330f33b9c1cc9eb7121e35e9",targetTranslations:r,translationUrl:this.translationUrl}),this.renderStylingWrapper())}};o.style=":host{display:block}.NoOfItemsToDisplayMessage{display:inline-block;margin:0.1rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--emw--color-primary, #191a19);line-height:1.8}.PaginationWrapper{display:flex;flex-direction:row}ul.PaginationArea{margin-block:5px;display:flex;flex-direction:row;padding:0px}ul.PaginationArea li.Item.Active:hover{color:var(--emw--color-primary, #eaefea);background-color:var(--emw--color-secondary, #191a19)}ul.PaginationArea li.Item.Active,ul.PaginationArea li.Item:hover{background-color:var(--emw--color-primary, rgba(169, 171, 169, 0.7));font-weight:bold;border-radius:0.3rem}ul.PaginationArea li.Item{padding-inline-start:0px;list-style:none;padding:5px 6px;margin:2px;cursor:pointer;display:inline-block}";export{o as bonus_pagination_limits}
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-a29c4900.js');
5
+ const index = require('./index-10b5f6b9.js');
6
6
 
7
7
  const DEFAULT_LANGUAGE = 'en';
8
8
  const SUPPORTED_LANGUAGES = ['pt-br', 'en', 'es-mx', 'hu', 'hr'];
@@ -35,9 +35,17 @@ const BonusPaginationLimits = class {
35
35
  constructor(hostRef) {
36
36
  index.registerInstance(this, hostRef);
37
37
  this.pageLimitChanged = index.createEvent(this, "pageLimitChanged", 7);
38
+ /**
39
+ * Language of the widget
40
+ */
38
41
  this.language = 'en';
42
+ /**
43
+ * Translation via url
44
+ */
39
45
  this.translationUrl = '';
40
- this.pageLimitOptions = undefined;
46
+ /**
47
+ * Default limit for per page, default: 10
48
+ */
41
49
  this.limit = 10;
42
50
  this.pageLimits = [10, 25, 50];
43
51
  }
@@ -2,11 +2,11 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-a29c4900.js');
5
+ const index = require('./index-10b5f6b9.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  /*
9
- Stencil Client Patch Browser v4.22.3 | MIT Licensed | https://stenciljs.com
9
+ Stencil Client Patch Browser v4.26.0 | MIT Licensed | https://stenciljs.com
10
10
  */
11
11
  var patchBrowser = () => {
12
12
  const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('bonus-pagination-limits.cjs.js', document.baseURI).href));
@@ -21,19 +21,23 @@ function _interopNamespace(e) {
21
21
  }
22
22
 
23
23
  const NAMESPACE = 'bonus-pagination-limits';
24
- const BUILD = /* bonus-pagination-limits */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: false, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: false, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: false, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: false, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: false, slot: false, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: false, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: false, vdomRender: true, vdomStyle: false, vdomText: true, vdomXlink: false, watchCallback: false };
24
+ const BUILD = /* bonus-pagination-limits */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: false, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: false, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: false, mode: false, modernPropertyDecls: false, observeAttribute: true, profile: false, prop: true, propBoolean: false, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: false, slot: false, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: false, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: false, vdomRender: true, vdomStyle: false, vdomText: true, vdomXlink: false, watchCallback: false };
25
25
 
26
26
  /*
27
- Stencil Client Platform v4.22.3 | MIT Licensed | https://stenciljs.com
27
+ Stencil Client Platform v4.26.0 | MIT Licensed | https://stenciljs.com
28
28
  */
29
29
  var __defProp = Object.defineProperty;
30
30
  var __export = (target, all) => {
31
31
  for (var name in all)
32
32
  __defProp(target, name, { get: all[name], enumerable: true });
33
33
  };
34
+
35
+ // src/client/client-host-ref.ts
34
36
  var hostRefs = /* @__PURE__ */ new WeakMap();
35
37
  var getHostRef = (ref) => hostRefs.get(ref);
36
- var registerInstance = (lazyInstance, hostRef) => hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
38
+ var registerInstance = (lazyInstance, hostRef) => {
39
+ hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
40
+ };
37
41
  var registerHost = (hostElement, cmpMeta) => {
38
42
  const hostRef = {
39
43
  $flags$: 0,
@@ -46,7 +50,8 @@ var registerHost = (hostElement, cmpMeta) => {
46
50
  hostElement["s-p"] = [];
47
51
  hostElement["s-rc"] = [];
48
52
  }
49
- return hostRefs.set(hostElement, hostRef);
53
+ const ref = hostRefs.set(hostElement, hostRef);
54
+ return ref;
50
55
  };
51
56
  var isMemberInElement = (elm, memberName) => memberName in elm;
52
57
  var consoleError = (e, el) => (0, console.error)(e, el);
@@ -83,16 +88,22 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
83
88
  /* webpackExclude: /\.system\.entry\.js$/ */
84
89
  /* webpackMode: "lazy" */
85
90
  `./${bundleId}.entry.js${""}`
86
- )); }).then((importedModule) => {
87
- {
88
- cmpModules.set(bundleId, importedModule);
91
+ )); }).then(
92
+ (importedModule) => {
93
+ {
94
+ cmpModules.set(bundleId, importedModule);
95
+ }
96
+ return importedModule[exportName];
97
+ },
98
+ (e) => {
99
+ consoleError(e, hostRef.$hostElement$);
89
100
  }
90
- return importedModule[exportName];
91
- }, consoleError);
101
+ );
92
102
  };
93
103
 
94
104
  // src/client/client-style.ts
95
105
  var styles = /* @__PURE__ */ new Map();
106
+ var HYDRATED_STYLE_ID = "sty-id";
96
107
  var HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
97
108
  var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
98
109
  var win = typeof window !== "undefined" ? window : {};
@@ -151,12 +162,6 @@ var flush = () => {
151
162
  };
152
163
  var nextTick = (cb) => promiseResolve().then(cb);
153
164
  var writeTask = /* @__PURE__ */ queueTask(queueDomWrites, true);
154
-
155
- // src/utils/constants.ts
156
- var EMPTY_OBJ = {};
157
-
158
- // src/utils/helpers.ts
159
- var isDef = (v) => v != null;
160
165
  var isComplexType = (o) => {
161
166
  o = typeof o;
162
167
  return o === "object" || o === "function";
@@ -357,7 +362,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
357
362
  }
358
363
  if (!appliedStyles.has(scopeId2)) {
359
364
  {
360
- styleElm = doc.createElement("style");
365
+ styleElm = document.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`) || doc.createElement("style");
361
366
  styleElm.innerHTML = style;
362
367
  const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
363
368
  if (nonce != null) {
@@ -367,7 +372,10 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
367
372
  if (styleContainerNode.nodeName === "HEAD") {
368
373
  const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
369
374
  const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
370
- styleContainerNode.insertBefore(styleElm, referenceNode2);
375
+ styleContainerNode.insertBefore(
376
+ styleElm,
377
+ (referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
378
+ );
371
379
  } else if ("host" in styleContainerNode) {
372
380
  if (supportsConstructableStylesheets) {
373
381
  const stylesheet = new CSSStyleSheet();
@@ -385,7 +393,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
385
393
  styleContainerNode.append(styleElm);
386
394
  }
387
395
  }
388
- if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD") {
396
+ if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
389
397
  styleContainerNode.insertBefore(styleElm, null);
390
398
  }
391
399
  }
@@ -412,16 +420,18 @@ var attachStyles = (hostRef) => {
412
420
  endAttachStyles();
413
421
  };
414
422
  var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
415
- var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
423
+ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRender) => {
416
424
  if (oldValue !== newValue) {
417
425
  let isProp = isMemberInElement(elm, memberName);
418
426
  let ln = memberName.toLowerCase();
419
427
  if (memberName === "class") {
420
428
  const classList = elm.classList;
421
429
  const oldClasses = parseClassList(oldValue);
422
- const newClasses = parseClassList(newValue);
423
- classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
424
- classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
430
+ let newClasses = parseClassList(newValue);
431
+ {
432
+ classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
433
+ classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
434
+ }
425
435
  } else if (memberName === "key") ; else if ((!isProp ) && memberName[0] === "o" && memberName[1] === "n") {
426
436
  if (memberName[2] === "-") {
427
437
  memberName = memberName.slice(3);
@@ -455,7 +465,7 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
455
465
  elm.setAttribute(memberName, n);
456
466
  }
457
467
  }
458
- } else {
468
+ } else if (elm[memberName] !== newValue) {
459
469
  elm[memberName] = newValue;
460
470
  }
461
471
  } catch (e) {
@@ -477,24 +487,44 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
477
487
  }
478
488
  };
479
489
  var parseClassListRegex = /\s/;
480
- var parseClassList = (value) => !value ? [] : value.split(parseClassListRegex);
490
+ var parseClassList = (value) => {
491
+ if (typeof value === "object" && value && "baseVal" in value) {
492
+ value = value.baseVal;
493
+ }
494
+ if (!value || typeof value !== "string") {
495
+ return [];
496
+ }
497
+ return value.split(parseClassListRegex);
498
+ };
481
499
  var CAPTURE_EVENT_SUFFIX = "Capture";
482
500
  var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
483
501
 
484
502
  // src/runtime/vdom/update-element.ts
485
- var updateElement = (oldVnode, newVnode, isSvgMode2) => {
503
+ var updateElement = (oldVnode, newVnode, isSvgMode2, isInitialRender) => {
486
504
  const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
487
- const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || EMPTY_OBJ;
488
- const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;
505
+ const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || {};
506
+ const newVnodeAttrs = newVnode.$attrs$ || {};
489
507
  {
490
508
  for (const memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {
491
509
  if (!(memberName in newVnodeAttrs)) {
492
- setAccessor(elm, memberName, oldVnodeAttrs[memberName], void 0, isSvgMode2, newVnode.$flags$);
510
+ setAccessor(
511
+ elm,
512
+ memberName,
513
+ oldVnodeAttrs[memberName],
514
+ void 0,
515
+ isSvgMode2,
516
+ newVnode.$flags$);
493
517
  }
494
518
  }
495
519
  }
496
520
  for (const memberName of sortedAttrNames(Object.keys(newVnodeAttrs))) {
497
- setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode2, newVnode.$flags$);
521
+ setAccessor(
522
+ elm,
523
+ memberName,
524
+ oldVnodeAttrs[memberName],
525
+ newVnodeAttrs[memberName],
526
+ isSvgMode2,
527
+ newVnode.$flags$);
498
528
  }
499
529
  };
500
530
  function sortedAttrNames(attrNames) {
@@ -506,13 +536,10 @@ function sortedAttrNames(attrNames) {
506
536
  attrNames
507
537
  );
508
538
  }
509
-
510
- // src/runtime/vdom/vdom-render.ts
511
- var scopeId;
512
539
  var hostTagName;
513
540
  var useNativeShadowDom = false;
514
541
  var isSvgMode = false;
515
- var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
542
+ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
516
543
  const newVNode2 = newParentVNode.$children$[childIndex];
517
544
  let i2 = 0;
518
545
  let elm;
@@ -526,11 +553,6 @@ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
526
553
  {
527
554
  updateElement(null, newVNode2, isSvgMode);
528
555
  }
529
- const rootNode = elm.getRootNode();
530
- const isElementWithinShadowRoot = !rootNode.querySelector("body");
531
- if (!isElementWithinShadowRoot && BUILD.scoped && isDef(scopeId) && elm["s-si"] !== scopeId) {
532
- elm.classList.add(elm["s-si"] = scopeId);
533
- }
534
556
  if (newVNode2.$children$) {
535
557
  for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
536
558
  childNode = createElm(oldParentVNode, newVNode2, i2);
@@ -656,6 +678,9 @@ var isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
656
678
  if (!isInitialRender) {
657
679
  return leftVNode.$key$ === rightVNode.$key$;
658
680
  }
681
+ if (isInitialRender && !leftVNode.$key$ && rightVNode.$key$) {
682
+ leftVNode.$key$ = rightVNode.$key$;
683
+ }
659
684
  return true;
660
685
  }
661
686
  return false;
@@ -689,8 +714,9 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
689
714
  }
690
715
  };
691
716
  var insertBefore = (parent, newNode, reference) => {
692
- const inserted = parent == null ? void 0 : parent.insertBefore(newNode, reference);
693
- return inserted;
717
+ {
718
+ return parent == null ? void 0 : parent.insertBefore(newNode, reference);
719
+ }
694
720
  };
695
721
  var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
696
722
  const hostElm = hostRef.$hostElement$;
@@ -715,14 +741,21 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
715
741
  rootVnode.$flags$ |= 4 /* isHost */;
716
742
  hostRef.$vnode$ = rootVnode;
717
743
  rootVnode.$elm$ = oldVNode.$elm$ = hostElm;
718
- useNativeShadowDom = supportsShadow ;
744
+ useNativeShadowDom = supportsShadow ;
719
745
  patch(oldVNode, rootVnode, isInitialLoad);
720
746
  };
721
747
 
722
748
  // src/runtime/update-component.ts
723
749
  var attachToAncestor = (hostRef, ancestorComponent) => {
724
750
  if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent["s-p"]) {
725
- ancestorComponent["s-p"].push(new Promise((r) => hostRef.$onRenderResolve$ = r));
751
+ const index = ancestorComponent["s-p"].push(
752
+ new Promise(
753
+ (r) => hostRef.$onRenderResolve$ = () => {
754
+ ancestorComponent["s-p"].splice(index - 1, 1);
755
+ r();
756
+ }
757
+ )
758
+ );
726
759
  }
727
760
  };
728
761
  var scheduleUpdate = (hostRef, isInitialLoad) => {
@@ -749,7 +782,7 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
749
782
  let maybePromise;
750
783
  if (isInitialLoad) {
751
784
  {
752
- maybePromise = safeCall(instance, "componentWillLoad");
785
+ maybePromise = safeCall(instance, "componentWillLoad", void 0, elm);
753
786
  }
754
787
  }
755
788
  endSchedule();
@@ -843,17 +876,14 @@ var postUpdateComponent = (hostRef) => {
843
876
  }
844
877
  };
845
878
  var appDidLoad = (who) => {
846
- {
847
- addHydratedFlag(doc.documentElement);
848
- }
849
879
  nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
850
880
  };
851
- var safeCall = (instance, method, arg) => {
881
+ var safeCall = (instance, method, arg, elm) => {
852
882
  if (instance && instance[method]) {
853
883
  try {
854
884
  return instance[method](arg);
855
885
  } catch (e) {
856
- consoleError(e);
886
+ consoleError(e, elm);
857
887
  }
858
888
  }
859
889
  return void 0;
@@ -896,15 +926,68 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
896
926
  const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
897
927
  members.map(([memberName, [memberFlags]]) => {
898
928
  if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
929
+ const { get: origGetter, set: origSetter } = Object.getOwnPropertyDescriptor(prototype, memberName) || {};
930
+ if (origGetter) cmpMeta.$members$[memberName][0] |= 2048 /* Getter */;
931
+ if (origSetter) cmpMeta.$members$[memberName][0] |= 4096 /* Setter */;
932
+ if (flags & 1 /* isElementConstructor */ || !origGetter) {
933
+ Object.defineProperty(prototype, memberName, {
934
+ get() {
935
+ {
936
+ if ((cmpMeta.$members$[memberName][0] & 2048 /* Getter */) === 0) {
937
+ return getValue(this, memberName);
938
+ }
939
+ const ref = getHostRef(this);
940
+ const instance = ref ? ref.$lazyInstance$ : prototype;
941
+ if (!instance) return;
942
+ return instance[memberName];
943
+ }
944
+ },
945
+ configurable: true,
946
+ enumerable: true
947
+ });
948
+ }
899
949
  Object.defineProperty(prototype, memberName, {
900
- get() {
901
- return getValue(this, memberName);
902
- },
903
950
  set(newValue) {
904
- setValue(this, memberName, newValue, cmpMeta);
905
- },
906
- configurable: true,
907
- enumerable: true
951
+ const ref = getHostRef(this);
952
+ if (origSetter) {
953
+ const currentValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
954
+ if (typeof currentValue === "undefined" && ref.$instanceValues$.get(memberName)) {
955
+ newValue = ref.$instanceValues$.get(memberName);
956
+ } else if (!ref.$instanceValues$.get(memberName) && currentValue) {
957
+ ref.$instanceValues$.set(memberName, currentValue);
958
+ }
959
+ origSetter.apply(this, [parsePropertyValue(newValue, memberFlags)]);
960
+ newValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
961
+ setValue(this, memberName, newValue, cmpMeta);
962
+ return;
963
+ }
964
+ {
965
+ if ((flags & 1 /* isElementConstructor */) === 0 || (cmpMeta.$members$[memberName][0] & 4096 /* Setter */) === 0) {
966
+ setValue(this, memberName, newValue, cmpMeta);
967
+ if (flags & 1 /* isElementConstructor */ && !ref.$lazyInstance$) {
968
+ ref.$onReadyPromise$.then(() => {
969
+ if (cmpMeta.$members$[memberName][0] & 4096 /* Setter */ && ref.$lazyInstance$[memberName] !== ref.$instanceValues$.get(memberName)) {
970
+ ref.$lazyInstance$[memberName] = newValue;
971
+ }
972
+ });
973
+ }
974
+ return;
975
+ }
976
+ const setterSetVal = () => {
977
+ const currentValue = ref.$lazyInstance$[memberName];
978
+ if (!ref.$instanceValues$.get(memberName) && currentValue) {
979
+ ref.$instanceValues$.set(memberName, currentValue);
980
+ }
981
+ ref.$lazyInstance$[memberName] = parsePropertyValue(newValue, memberFlags);
982
+ setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
983
+ };
984
+ if (ref.$lazyInstance$) {
985
+ setterSetVal();
986
+ } else {
987
+ ref.$onReadyPromise$.then(() => setterSetVal());
988
+ }
989
+ }
990
+ }
908
991
  });
909
992
  }
910
993
  });
@@ -914,7 +997,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
914
997
  plt.jmp(() => {
915
998
  var _a2;
916
999
  const propName = attrNameToPropName.get(attrName);
917
- if (this.hasOwnProperty(propName)) {
1000
+ if (this.hasOwnProperty(propName) && BUILD.lazyLoad) {
918
1001
  newValue = this[propName];
919
1002
  delete this[propName];
920
1003
  } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
@@ -934,7 +1017,11 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
934
1017
  }
935
1018
  return;
936
1019
  }
937
- this[propName] = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
1020
+ const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
1021
+ newValue = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
1022
+ if (newValue !== this[propName] && (!propDesc.get || !!propDesc.set)) {
1023
+ this[propName] = newValue;
1024
+ }
938
1025
  });
939
1026
  };
940
1027
  Cstr.observedAttributes = Array.from(
@@ -963,7 +1050,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
963
1050
  hostRef.$flags$ |= 32 /* hasInitializedComponent */;
964
1051
  const bundleId = cmpMeta.$lazyBundleId$;
965
1052
  if (bundleId) {
966
- const CstrImport = loadModule(cmpMeta);
1053
+ const CstrImport = loadModule(cmpMeta, hostRef);
967
1054
  if (CstrImport && "then" in CstrImport) {
968
1055
  const endLoad = uniqueTime();
969
1056
  Cstr = await CstrImport;
@@ -985,7 +1072,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
985
1072
  try {
986
1073
  new Cstr(hostRef);
987
1074
  } catch (e) {
988
- consoleError(e);
1075
+ consoleError(e, elm);
989
1076
  }
990
1077
  {
991
1078
  hostRef.$flags$ &= ~8 /* isConstructingInstance */;
@@ -1017,7 +1104,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1017
1104
  schedule();
1018
1105
  }
1019
1106
  };
1020
- var fireConnectedCallback = (instance) => {
1107
+ var fireConnectedCallback = (instance, elm) => {
1021
1108
  };
1022
1109
 
1023
1110
  // src/runtime/connected-callback.ts
@@ -1057,7 +1144,7 @@ var connectedCallback = (elm) => {
1057
1144
  endConnected();
1058
1145
  }
1059
1146
  };
1060
- var disconnectInstance = (instance) => {
1147
+ var disconnectInstance = (instance, elm) => {
1061
1148
  };
1062
1149
  var disconnectedCallback = async (elm) => {
1063
1150
  if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
@@ -1066,6 +1153,12 @@ var disconnectedCallback = async (elm) => {
1066
1153
  hostRef.$onReadyPromise$.then(() => disconnectInstance());
1067
1154
  }
1068
1155
  }
1156
+ if (rootAppliedStyles.has(elm)) {
1157
+ rootAppliedStyles.delete(elm);
1158
+ }
1159
+ if (elm.shadowRoot && rootAppliedStyles.has(elm.shadowRoot)) {
1160
+ rootAppliedStyles.delete(elm.shadowRoot);
1161
+ }
1069
1162
  };
1070
1163
 
1071
1164
  // src/runtime/bootstrap-lazy.ts
@@ -1127,6 +1220,17 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
1127
1220
  }
1128
1221
  disconnectedCallback() {
1129
1222
  plt.jmp(() => disconnectedCallback(this));
1223
+ plt.raf(() => {
1224
+ var _a3;
1225
+ const hostRef = getHostRef(this);
1226
+ const i2 = deferredConnectedCallbacks.findIndex((host) => host === this);
1227
+ if (i2 > -1) {
1228
+ deferredConnectedCallbacks.splice(i2, 1);
1229
+ }
1230
+ if (((_a3 = hostRef == null ? void 0 : hostRef.$vnode$) == null ? void 0 : _a3.$elm$) instanceof Node && !hostRef.$vnode$.$elm$.isConnected) {
1231
+ delete hostRef.$vnode$.$elm$;
1232
+ }
1233
+ });
1130
1234
  }
1131
1235
  componentOnReady() {
1132
1236
  return getHostRef(this).$onReadyPromise$;
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-a29c4900.js');
5
+ const index = require('./index-10b5f6b9.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  const defineCustomElements = async (win, options) => {
@@ -4,7 +4,7 @@
4
4
  ],
5
5
  "compiler": {
6
6
  "name": "@stencil/core",
7
- "version": "4.22.3",
7
+ "version": "4.26.0",
8
8
  "typescriptVersion": "5.5.4"
9
9
  },
10
10
  "collections": [],
@@ -2,9 +2,17 @@ import { h } from "@stencil/core";
2
2
  import { translate, TRANSLATIONS } from "../../utils/locale.utils";
3
3
  export class BonusPaginationLimits {
4
4
  constructor() {
5
+ /**
6
+ * Language of the widget
7
+ */
5
8
  this.language = 'en';
9
+ /**
10
+ * Translation via url
11
+ */
6
12
  this.translationUrl = '';
7
- this.pageLimitOptions = undefined;
13
+ /**
14
+ * Default limit for per page, default: 10
15
+ */
8
16
  this.limit = 10;
9
17
  this.pageLimits = [10, 25, 50];
10
18
  }
@@ -69,6 +77,8 @@ export class BonusPaginationLimits {
69
77
  "tags": [],
70
78
  "text": "Language of the widget"
71
79
  },
80
+ "getter": false,
81
+ "setter": false,
72
82
  "attribute": "language",
73
83
  "reflect": true,
74
84
  "defaultValue": "'en'"
@@ -87,6 +97,8 @@ export class BonusPaginationLimits {
87
97
  "tags": [],
88
98
  "text": "Translation via url"
89
99
  },
100
+ "getter": false,
101
+ "setter": false,
90
102
  "attribute": "translation-url",
91
103
  "reflect": true,
92
104
  "defaultValue": "''"
@@ -105,6 +117,8 @@ export class BonusPaginationLimits {
105
117
  "tags": [],
106
118
  "text": "Limits list string split with coma,default: `10,25,50`;"
107
119
  },
120
+ "getter": false,
121
+ "setter": false,
108
122
  "attribute": "page-limit-options",
109
123
  "reflect": true
110
124
  },
@@ -122,6 +136,8 @@ export class BonusPaginationLimits {
122
136
  "tags": [],
123
137
  "text": "Default limit for per page, default: 10"
124
138
  },
139
+ "getter": false,
140
+ "setter": false,
125
141
  "attribute": "limit",
126
142
  "reflect": true,
127
143
  "defaultValue": "10"
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-72f6de0f.js';
1
+ import { r as registerInstance, c as createEvent, h } from './index-e27ccae3.js';
2
2
 
3
3
  const DEFAULT_LANGUAGE = 'en';
4
4
  const SUPPORTED_LANGUAGES = ['pt-br', 'en', 'es-mx', 'hu', 'hr'];
@@ -31,9 +31,17 @@ const BonusPaginationLimits = class {
31
31
  constructor(hostRef) {
32
32
  registerInstance(this, hostRef);
33
33
  this.pageLimitChanged = createEvent(this, "pageLimitChanged", 7);
34
+ /**
35
+ * Language of the widget
36
+ */
34
37
  this.language = 'en';
38
+ /**
39
+ * Translation via url
40
+ */
35
41
  this.translationUrl = '';
36
- this.pageLimitOptions = undefined;
42
+ /**
43
+ * Default limit for per page, default: 10
44
+ */
37
45
  this.limit = 10;
38
46
  this.pageLimits = [10, 25, 50];
39
47
  }
@@ -1,9 +1,9 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-72f6de0f.js';
2
- export { s as setNonce } from './index-72f6de0f.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-e27ccae3.js';
2
+ export { s as setNonce } from './index-e27ccae3.js';
3
3
  import { g as globalScripts } from './app-globals-0f993ce5.js';
4
4
 
5
5
  /*
6
- Stencil Client Patch Browser v4.22.3 | MIT Licensed | https://stenciljs.com
6
+ Stencil Client Patch Browser v4.26.0 | MIT Licensed | https://stenciljs.com
7
7
  */
8
8
  var patchBrowser = () => {
9
9
  const importMeta = import.meta.url;
@@ -1,17 +1,21 @@
1
1
  const NAMESPACE = 'bonus-pagination-limits';
2
- const BUILD = /* bonus-pagination-limits */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: false, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: false, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: false, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: false, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: false, slot: false, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: false, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: false, vdomRender: true, vdomStyle: false, vdomText: true, vdomXlink: false, watchCallback: false };
2
+ const BUILD = /* bonus-pagination-limits */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: false, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: false, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: false, mode: false, modernPropertyDecls: false, observeAttribute: true, profile: false, prop: true, propBoolean: false, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: false, slot: false, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: false, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: false, vdomRender: true, vdomStyle: false, vdomText: true, vdomXlink: false, watchCallback: false };
3
3
 
4
4
  /*
5
- Stencil Client Platform v4.22.3 | MIT Licensed | https://stenciljs.com
5
+ Stencil Client Platform v4.26.0 | MIT Licensed | https://stenciljs.com
6
6
  */
7
7
  var __defProp = Object.defineProperty;
8
8
  var __export = (target, all) => {
9
9
  for (var name in all)
10
10
  __defProp(target, name, { get: all[name], enumerable: true });
11
11
  };
12
+
13
+ // src/client/client-host-ref.ts
12
14
  var hostRefs = /* @__PURE__ */ new WeakMap();
13
15
  var getHostRef = (ref) => hostRefs.get(ref);
14
- var registerInstance = (lazyInstance, hostRef) => hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
16
+ var registerInstance = (lazyInstance, hostRef) => {
17
+ hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
18
+ };
15
19
  var registerHost = (hostElement, cmpMeta) => {
16
20
  const hostRef = {
17
21
  $flags$: 0,
@@ -24,7 +28,8 @@ var registerHost = (hostElement, cmpMeta) => {
24
28
  hostElement["s-p"] = [];
25
29
  hostElement["s-rc"] = [];
26
30
  }
27
- return hostRefs.set(hostElement, hostRef);
31
+ const ref = hostRefs.set(hostElement, hostRef);
32
+ return ref;
28
33
  };
29
34
  var isMemberInElement = (elm, memberName) => memberName in elm;
30
35
  var consoleError = (e, el) => (0, console.error)(e, el);
@@ -61,16 +66,22 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
61
66
  /* webpackExclude: /\.system\.entry\.js$/ */
62
67
  /* webpackMode: "lazy" */
63
68
  `./${bundleId}.entry.js${""}`
64
- ).then((importedModule) => {
65
- {
66
- cmpModules.set(bundleId, importedModule);
69
+ ).then(
70
+ (importedModule) => {
71
+ {
72
+ cmpModules.set(bundleId, importedModule);
73
+ }
74
+ return importedModule[exportName];
75
+ },
76
+ (e) => {
77
+ consoleError(e, hostRef.$hostElement$);
67
78
  }
68
- return importedModule[exportName];
69
- }, consoleError);
79
+ );
70
80
  };
71
81
 
72
82
  // src/client/client-style.ts
73
83
  var styles = /* @__PURE__ */ new Map();
84
+ var HYDRATED_STYLE_ID = "sty-id";
74
85
  var HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
75
86
  var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
76
87
  var win = typeof window !== "undefined" ? window : {};
@@ -129,12 +140,6 @@ var flush = () => {
129
140
  };
130
141
  var nextTick = (cb) => promiseResolve().then(cb);
131
142
  var writeTask = /* @__PURE__ */ queueTask(queueDomWrites, true);
132
-
133
- // src/utils/constants.ts
134
- var EMPTY_OBJ = {};
135
-
136
- // src/utils/helpers.ts
137
- var isDef = (v) => v != null;
138
143
  var isComplexType = (o) => {
139
144
  o = typeof o;
140
145
  return o === "object" || o === "function";
@@ -335,7 +340,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
335
340
  }
336
341
  if (!appliedStyles.has(scopeId2)) {
337
342
  {
338
- styleElm = doc.createElement("style");
343
+ styleElm = document.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`) || doc.createElement("style");
339
344
  styleElm.innerHTML = style;
340
345
  const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
341
346
  if (nonce != null) {
@@ -345,7 +350,10 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
345
350
  if (styleContainerNode.nodeName === "HEAD") {
346
351
  const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
347
352
  const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
348
- styleContainerNode.insertBefore(styleElm, referenceNode2);
353
+ styleContainerNode.insertBefore(
354
+ styleElm,
355
+ (referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
356
+ );
349
357
  } else if ("host" in styleContainerNode) {
350
358
  if (supportsConstructableStylesheets) {
351
359
  const stylesheet = new CSSStyleSheet();
@@ -363,7 +371,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
363
371
  styleContainerNode.append(styleElm);
364
372
  }
365
373
  }
366
- if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD") {
374
+ if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
367
375
  styleContainerNode.insertBefore(styleElm, null);
368
376
  }
369
377
  }
@@ -390,16 +398,18 @@ var attachStyles = (hostRef) => {
390
398
  endAttachStyles();
391
399
  };
392
400
  var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
393
- var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
401
+ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRender) => {
394
402
  if (oldValue !== newValue) {
395
403
  let isProp = isMemberInElement(elm, memberName);
396
404
  let ln = memberName.toLowerCase();
397
405
  if (memberName === "class") {
398
406
  const classList = elm.classList;
399
407
  const oldClasses = parseClassList(oldValue);
400
- const newClasses = parseClassList(newValue);
401
- classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
402
- classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
408
+ let newClasses = parseClassList(newValue);
409
+ {
410
+ classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
411
+ classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
412
+ }
403
413
  } else if (memberName === "key") ; else if ((!isProp ) && memberName[0] === "o" && memberName[1] === "n") {
404
414
  if (memberName[2] === "-") {
405
415
  memberName = memberName.slice(3);
@@ -433,7 +443,7 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
433
443
  elm.setAttribute(memberName, n);
434
444
  }
435
445
  }
436
- } else {
446
+ } else if (elm[memberName] !== newValue) {
437
447
  elm[memberName] = newValue;
438
448
  }
439
449
  } catch (e) {
@@ -455,24 +465,44 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
455
465
  }
456
466
  };
457
467
  var parseClassListRegex = /\s/;
458
- var parseClassList = (value) => !value ? [] : value.split(parseClassListRegex);
468
+ var parseClassList = (value) => {
469
+ if (typeof value === "object" && value && "baseVal" in value) {
470
+ value = value.baseVal;
471
+ }
472
+ if (!value || typeof value !== "string") {
473
+ return [];
474
+ }
475
+ return value.split(parseClassListRegex);
476
+ };
459
477
  var CAPTURE_EVENT_SUFFIX = "Capture";
460
478
  var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
461
479
 
462
480
  // src/runtime/vdom/update-element.ts
463
- var updateElement = (oldVnode, newVnode, isSvgMode2) => {
481
+ var updateElement = (oldVnode, newVnode, isSvgMode2, isInitialRender) => {
464
482
  const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
465
- const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || EMPTY_OBJ;
466
- const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;
483
+ const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || {};
484
+ const newVnodeAttrs = newVnode.$attrs$ || {};
467
485
  {
468
486
  for (const memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {
469
487
  if (!(memberName in newVnodeAttrs)) {
470
- setAccessor(elm, memberName, oldVnodeAttrs[memberName], void 0, isSvgMode2, newVnode.$flags$);
488
+ setAccessor(
489
+ elm,
490
+ memberName,
491
+ oldVnodeAttrs[memberName],
492
+ void 0,
493
+ isSvgMode2,
494
+ newVnode.$flags$);
471
495
  }
472
496
  }
473
497
  }
474
498
  for (const memberName of sortedAttrNames(Object.keys(newVnodeAttrs))) {
475
- setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode2, newVnode.$flags$);
499
+ setAccessor(
500
+ elm,
501
+ memberName,
502
+ oldVnodeAttrs[memberName],
503
+ newVnodeAttrs[memberName],
504
+ isSvgMode2,
505
+ newVnode.$flags$);
476
506
  }
477
507
  };
478
508
  function sortedAttrNames(attrNames) {
@@ -484,13 +514,10 @@ function sortedAttrNames(attrNames) {
484
514
  attrNames
485
515
  );
486
516
  }
487
-
488
- // src/runtime/vdom/vdom-render.ts
489
- var scopeId;
490
517
  var hostTagName;
491
518
  var useNativeShadowDom = false;
492
519
  var isSvgMode = false;
493
- var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
520
+ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
494
521
  const newVNode2 = newParentVNode.$children$[childIndex];
495
522
  let i2 = 0;
496
523
  let elm;
@@ -504,11 +531,6 @@ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
504
531
  {
505
532
  updateElement(null, newVNode2, isSvgMode);
506
533
  }
507
- const rootNode = elm.getRootNode();
508
- const isElementWithinShadowRoot = !rootNode.querySelector("body");
509
- if (!isElementWithinShadowRoot && BUILD.scoped && isDef(scopeId) && elm["s-si"] !== scopeId) {
510
- elm.classList.add(elm["s-si"] = scopeId);
511
- }
512
534
  if (newVNode2.$children$) {
513
535
  for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
514
536
  childNode = createElm(oldParentVNode, newVNode2, i2);
@@ -634,6 +656,9 @@ var isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
634
656
  if (!isInitialRender) {
635
657
  return leftVNode.$key$ === rightVNode.$key$;
636
658
  }
659
+ if (isInitialRender && !leftVNode.$key$ && rightVNode.$key$) {
660
+ leftVNode.$key$ = rightVNode.$key$;
661
+ }
637
662
  return true;
638
663
  }
639
664
  return false;
@@ -667,8 +692,9 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
667
692
  }
668
693
  };
669
694
  var insertBefore = (parent, newNode, reference) => {
670
- const inserted = parent == null ? void 0 : parent.insertBefore(newNode, reference);
671
- return inserted;
695
+ {
696
+ return parent == null ? void 0 : parent.insertBefore(newNode, reference);
697
+ }
672
698
  };
673
699
  var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
674
700
  const hostElm = hostRef.$hostElement$;
@@ -693,14 +719,21 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
693
719
  rootVnode.$flags$ |= 4 /* isHost */;
694
720
  hostRef.$vnode$ = rootVnode;
695
721
  rootVnode.$elm$ = oldVNode.$elm$ = hostElm;
696
- useNativeShadowDom = supportsShadow ;
722
+ useNativeShadowDom = supportsShadow ;
697
723
  patch(oldVNode, rootVnode, isInitialLoad);
698
724
  };
699
725
 
700
726
  // src/runtime/update-component.ts
701
727
  var attachToAncestor = (hostRef, ancestorComponent) => {
702
728
  if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent["s-p"]) {
703
- ancestorComponent["s-p"].push(new Promise((r) => hostRef.$onRenderResolve$ = r));
729
+ const index = ancestorComponent["s-p"].push(
730
+ new Promise(
731
+ (r) => hostRef.$onRenderResolve$ = () => {
732
+ ancestorComponent["s-p"].splice(index - 1, 1);
733
+ r();
734
+ }
735
+ )
736
+ );
704
737
  }
705
738
  };
706
739
  var scheduleUpdate = (hostRef, isInitialLoad) => {
@@ -727,7 +760,7 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
727
760
  let maybePromise;
728
761
  if (isInitialLoad) {
729
762
  {
730
- maybePromise = safeCall(instance, "componentWillLoad");
763
+ maybePromise = safeCall(instance, "componentWillLoad", void 0, elm);
731
764
  }
732
765
  }
733
766
  endSchedule();
@@ -821,17 +854,14 @@ var postUpdateComponent = (hostRef) => {
821
854
  }
822
855
  };
823
856
  var appDidLoad = (who) => {
824
- {
825
- addHydratedFlag(doc.documentElement);
826
- }
827
857
  nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
828
858
  };
829
- var safeCall = (instance, method, arg) => {
859
+ var safeCall = (instance, method, arg, elm) => {
830
860
  if (instance && instance[method]) {
831
861
  try {
832
862
  return instance[method](arg);
833
863
  } catch (e) {
834
- consoleError(e);
864
+ consoleError(e, elm);
835
865
  }
836
866
  }
837
867
  return void 0;
@@ -874,15 +904,68 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
874
904
  const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
875
905
  members.map(([memberName, [memberFlags]]) => {
876
906
  if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
907
+ const { get: origGetter, set: origSetter } = Object.getOwnPropertyDescriptor(prototype, memberName) || {};
908
+ if (origGetter) cmpMeta.$members$[memberName][0] |= 2048 /* Getter */;
909
+ if (origSetter) cmpMeta.$members$[memberName][0] |= 4096 /* Setter */;
910
+ if (flags & 1 /* isElementConstructor */ || !origGetter) {
911
+ Object.defineProperty(prototype, memberName, {
912
+ get() {
913
+ {
914
+ if ((cmpMeta.$members$[memberName][0] & 2048 /* Getter */) === 0) {
915
+ return getValue(this, memberName);
916
+ }
917
+ const ref = getHostRef(this);
918
+ const instance = ref ? ref.$lazyInstance$ : prototype;
919
+ if (!instance) return;
920
+ return instance[memberName];
921
+ }
922
+ },
923
+ configurable: true,
924
+ enumerable: true
925
+ });
926
+ }
877
927
  Object.defineProperty(prototype, memberName, {
878
- get() {
879
- return getValue(this, memberName);
880
- },
881
928
  set(newValue) {
882
- setValue(this, memberName, newValue, cmpMeta);
883
- },
884
- configurable: true,
885
- enumerable: true
929
+ const ref = getHostRef(this);
930
+ if (origSetter) {
931
+ const currentValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
932
+ if (typeof currentValue === "undefined" && ref.$instanceValues$.get(memberName)) {
933
+ newValue = ref.$instanceValues$.get(memberName);
934
+ } else if (!ref.$instanceValues$.get(memberName) && currentValue) {
935
+ ref.$instanceValues$.set(memberName, currentValue);
936
+ }
937
+ origSetter.apply(this, [parsePropertyValue(newValue, memberFlags)]);
938
+ newValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
939
+ setValue(this, memberName, newValue, cmpMeta);
940
+ return;
941
+ }
942
+ {
943
+ if ((flags & 1 /* isElementConstructor */) === 0 || (cmpMeta.$members$[memberName][0] & 4096 /* Setter */) === 0) {
944
+ setValue(this, memberName, newValue, cmpMeta);
945
+ if (flags & 1 /* isElementConstructor */ && !ref.$lazyInstance$) {
946
+ ref.$onReadyPromise$.then(() => {
947
+ if (cmpMeta.$members$[memberName][0] & 4096 /* Setter */ && ref.$lazyInstance$[memberName] !== ref.$instanceValues$.get(memberName)) {
948
+ ref.$lazyInstance$[memberName] = newValue;
949
+ }
950
+ });
951
+ }
952
+ return;
953
+ }
954
+ const setterSetVal = () => {
955
+ const currentValue = ref.$lazyInstance$[memberName];
956
+ if (!ref.$instanceValues$.get(memberName) && currentValue) {
957
+ ref.$instanceValues$.set(memberName, currentValue);
958
+ }
959
+ ref.$lazyInstance$[memberName] = parsePropertyValue(newValue, memberFlags);
960
+ setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
961
+ };
962
+ if (ref.$lazyInstance$) {
963
+ setterSetVal();
964
+ } else {
965
+ ref.$onReadyPromise$.then(() => setterSetVal());
966
+ }
967
+ }
968
+ }
886
969
  });
887
970
  }
888
971
  });
@@ -892,7 +975,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
892
975
  plt.jmp(() => {
893
976
  var _a2;
894
977
  const propName = attrNameToPropName.get(attrName);
895
- if (this.hasOwnProperty(propName)) {
978
+ if (this.hasOwnProperty(propName) && BUILD.lazyLoad) {
896
979
  newValue = this[propName];
897
980
  delete this[propName];
898
981
  } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
@@ -912,7 +995,11 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
912
995
  }
913
996
  return;
914
997
  }
915
- this[propName] = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
998
+ const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
999
+ newValue = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
1000
+ if (newValue !== this[propName] && (!propDesc.get || !!propDesc.set)) {
1001
+ this[propName] = newValue;
1002
+ }
916
1003
  });
917
1004
  };
918
1005
  Cstr.observedAttributes = Array.from(
@@ -941,7 +1028,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
941
1028
  hostRef.$flags$ |= 32 /* hasInitializedComponent */;
942
1029
  const bundleId = cmpMeta.$lazyBundleId$;
943
1030
  if (bundleId) {
944
- const CstrImport = loadModule(cmpMeta);
1031
+ const CstrImport = loadModule(cmpMeta, hostRef);
945
1032
  if (CstrImport && "then" in CstrImport) {
946
1033
  const endLoad = uniqueTime();
947
1034
  Cstr = await CstrImport;
@@ -963,7 +1050,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
963
1050
  try {
964
1051
  new Cstr(hostRef);
965
1052
  } catch (e) {
966
- consoleError(e);
1053
+ consoleError(e, elm);
967
1054
  }
968
1055
  {
969
1056
  hostRef.$flags$ &= ~8 /* isConstructingInstance */;
@@ -995,7 +1082,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
995
1082
  schedule();
996
1083
  }
997
1084
  };
998
- var fireConnectedCallback = (instance) => {
1085
+ var fireConnectedCallback = (instance, elm) => {
999
1086
  };
1000
1087
 
1001
1088
  // src/runtime/connected-callback.ts
@@ -1035,7 +1122,7 @@ var connectedCallback = (elm) => {
1035
1122
  endConnected();
1036
1123
  }
1037
1124
  };
1038
- var disconnectInstance = (instance) => {
1125
+ var disconnectInstance = (instance, elm) => {
1039
1126
  };
1040
1127
  var disconnectedCallback = async (elm) => {
1041
1128
  if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
@@ -1044,6 +1131,12 @@ var disconnectedCallback = async (elm) => {
1044
1131
  hostRef.$onReadyPromise$.then(() => disconnectInstance());
1045
1132
  }
1046
1133
  }
1134
+ if (rootAppliedStyles.has(elm)) {
1135
+ rootAppliedStyles.delete(elm);
1136
+ }
1137
+ if (elm.shadowRoot && rootAppliedStyles.has(elm.shadowRoot)) {
1138
+ rootAppliedStyles.delete(elm.shadowRoot);
1139
+ }
1047
1140
  };
1048
1141
 
1049
1142
  // src/runtime/bootstrap-lazy.ts
@@ -1105,6 +1198,17 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
1105
1198
  }
1106
1199
  disconnectedCallback() {
1107
1200
  plt.jmp(() => disconnectedCallback(this));
1201
+ plt.raf(() => {
1202
+ var _a3;
1203
+ const hostRef = getHostRef(this);
1204
+ const i2 = deferredConnectedCallbacks.findIndex((host) => host === this);
1205
+ if (i2 > -1) {
1206
+ deferredConnectedCallbacks.splice(i2, 1);
1207
+ }
1208
+ if (((_a3 = hostRef == null ? void 0 : hostRef.$vnode$) == null ? void 0 : _a3.$elm$) instanceof Node && !hostRef.$vnode$.$elm$.isConnected) {
1209
+ delete hostRef.$vnode$.$elm$;
1210
+ }
1211
+ });
1108
1212
  }
1109
1213
  componentOnReady() {
1110
1214
  return getHostRef(this).$onReadyPromise$;
@@ -1,5 +1,5 @@
1
- import { b as bootstrapLazy } from './index-72f6de0f.js';
2
- export { s as setNonce } from './index-72f6de0f.js';
1
+ import { b as bootstrapLazy } from './index-e27ccae3.js';
2
+ export { s as setNonce } from './index-e27ccae3.js';
3
3
  import { g as globalScripts } from './app-globals-0f993ce5.js';
4
4
 
5
5
  const defineCustomElements = async (win, options) => {
@@ -0,0 +1,2 @@
1
+ import { Config } from '../../../../../../../../../../../../stencil-public-runtime';
2
+ export declare const config: Config;
@@ -0,0 +1,2 @@
1
+ import { Config } from '../../../../../../../../../../../../stencil-public-runtime';
2
+ export declare const config: Config;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/bonus-pagination-limits",
3
- "version": "1.55.0",
3
+ "version": "1.56.0",
4
4
  "main": "./dist/index.cjs.js",
5
5
  "module": "./dist/index.js",
6
6
  "es2015": "./dist/esm/index.mjs",
@@ -1 +0,0 @@
1
- import{r as i,c as e,h as a}from"./p-ff6aa153.js";const t=["pt-br","en","es-mx","hu","hr"],r={en:{pageLimitLabel:"Show"},hu:{pageLimitLabel:"Show"},hr:{pageLimitLabel:"Show"},"pt-br":{pageLimitLabel:"Show"},"es-mx":{pageLimitLabel:"Show"}},o=class{constructor(a){i(this,a),this.pageLimitChanged=e(this,"pageLimitChanged",7),this.language="en",this.translationUrl="",this.pageLimitOptions=void 0,this.limit=10,this.pageLimits=[10,25,50]}onPageLimitClicked(i){this.limit=i,this.pageLimitChanged.emit({limit:this.limit})}componentWillLoad(){if(this.pageLimitOptions)try{this.pageLimits=this.pageLimitOptions.split(",").map((i=>parseInt(i))),this.pageLimits.includes(this.limit)||(this.limit=this.pageLimits[0])}catch(i){console.error("Error when parse PageLimitOptions",i)}}renderStylingWrapper(){return a("general-styling-wrapper",{targetTranslations:r,translationUrl:this.translationUrl})}render(){return a("div",{key:"57f5e61ee287f72d0427a2e4f646e37c6b9358b9",class:"PaginationWrapper"},a("span",{key:"5f82b19fcf269086659b3faa475d9967b2af57fa",class:"NoOfItemsToDisplayMessage"},(()=>{const i=this.language;return r[void 0!==i&&t.includes(i)?i:"en"].pageLimitLabel})()),a("ul",{key:"559c2d5378a352691583567579a8e681d092ddd3",class:"PaginationArea"},this.pageLimits.map((i=>a("li",{class:(this.limit==i?"Active":"")+" PageSize Item",onClick:()=>{this.onPageLimitClicked(i)}},i)))),a("general-styling-wrapper",{key:"a8b9632e7421318e330f33b9c1cc9eb7121e35e9",targetTranslations:r,translationUrl:this.translationUrl}),this.renderStylingWrapper())}};o.style=":host{display:block}.NoOfItemsToDisplayMessage{display:inline-block;margin:0.1rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--emw--color-primary, #191a19);line-height:1.8}.PaginationWrapper{display:flex;flex-direction:row}ul.PaginationArea{margin-block:5px;display:flex;flex-direction:row;padding:0px}ul.PaginationArea li.Item.Active:hover{color:var(--emw--color-primary, #eaefea);background-color:var(--emw--color-secondary, #191a19)}ul.PaginationArea li.Item.Active,ul.PaginationArea li.Item:hover{background-color:var(--emw--color-primary, rgba(169, 171, 169, 0.7));font-weight:bold;border-radius:0.3rem}ul.PaginationArea li.Item{padding-inline-start:0px;list-style:none;padding:5px 6px;margin:2px;cursor:pointer;display:inline-block}";export{o as bonus_pagination_limits}
@@ -1,2 +0,0 @@
1
- var e=Object.defineProperty,t=new WeakMap,n=e=>t.get(e),l=(e,n)=>t.set(n.t=e,n),o=(e,t)=>t in e,s=(e,t)=>(0,console.error)(e,t),i=new Map,r=new Map,c="slot-fb{display:contents}slot-fb[hidden]{display:none}",u="undefined"!=typeof window?window:{},a=u.document||{head:{}},f={l:0,o:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},h=e=>Promise.resolve(e),m=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),p=!1,d=[],y=[],$=(e,t)=>n=>{e.push(n),p||(p=!0,t&&4&f.l?v(w):f.raf(w))},b=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){s(e)}e.length=0},w=()=>{b(d),b(y),(p=d.length>0)&&f.raf(w)},v=e=>h().then(e),S=$(y,!0),g={},j=e=>"object"==(e=typeof e)||"function"===e;function k(e){var t,n,l;return null!=(l=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?l:void 0}((t,n)=>{for(var l in n)e(t,l,{get:n[l],enumerable:!0})})({},{err:()=>O,map:()=>C,ok:()=>E,unwrap:()=>P,unwrapErr:()=>x});var E=e=>({isOk:!0,isErr:!1,value:e}),O=e=>({isOk:!1,isErr:!0,value:e});function C(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>E(e))):E(n)}if(e.isErr)return O(e.value);throw"should never get here"}var M,P=e=>{if(e.isOk)return e.value;throw e.value},x=e=>{if(e.isErr)return e.value;throw e.value},A=(e,t,...n)=>{let l=null,o=null,s=!1,i=!1;const r=[],c=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?c(l):null!=l&&"boolean"!=typeof l&&((s="function"!=typeof e&&!j(l))&&(l+=""),s&&i?r[r.length-1].i+=l:r.push(s?H(null,l):l),i=s)};if(c(n),t){t.key&&(o=t.key);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}const u=H(e,null);return u.u=t,r.length>0&&(u.h=r),u.m=o,u},H=(e,t)=>({l:0,p:e,i:t,$:null,h:null,u:null,m:null}),R={},T=(e,t,l)=>{const o=(e=>n(e).$hostElement$)(e);return{emit:e=>D(o,t,{bubbles:!!(4&l),composed:!!(2&l),cancelable:!!(1&l),detail:e})}},D=(e,t,n)=>{const l=f.ce(t,n);return e.dispatchEvent(l),l},F=new WeakMap,L=e=>"sc-"+e.v,N=(e,t,n,l,s,i)=>{if(n!==l){let r=o(e,t),c=t.toLowerCase();if("class"===t){const t=e.classList,o=U(n),s=U(l);t.remove(...o.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!o.includes(e))))}else if("key"===t);else if(r||"o"!==t[0]||"n"!==t[1]){const o=j(l);if((r||o&&null!==l)&&!s)try{if(e.tagName.includes("-"))e[t]=l;else{const o=null==l?"":l;"list"===t?r=!1:null!=n&&e[t]==o||("function"==typeof e.__lookupSetter__(t)?e[t]=o:e.setAttribute(t,o))}}catch(e){}null==l||!1===l?!1===l&&""!==e.getAttribute(t)||e.removeAttribute(t):(!r||4&i||s)&&!o&&e.setAttribute(t,l=!0===l?"":l)}else if(t="-"===t[2]?t.slice(3):o(u,c)?c.slice(2):c[2]+t.slice(3),n||l){const o=t.endsWith(q);t=t.replace(G,""),n&&f.rel(e,t,n,o),l&&f.ael(e,t,l,o)}}},W=/\s/,U=e=>e?e.split(W):[],q="Capture",G=RegExp(q+"$"),V=(e,t,n)=>{const l=11===t.$.nodeType&&t.$.host?t.$.host:t.$,o=e&&e.u||g,s=t.u||g;for(const e of _(Object.keys(o)))e in s||N(l,e,o[e],void 0,n,t.l);for(const e of _(Object.keys(s)))N(l,e,o[e],s[e],n,t.l)};function _(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var z=!1,B=(e,t,n)=>{const l=t.h[n];let o,s,i=0;if(null!==l.i)o=l.$=a.createTextNode(l.i);else if(o=l.$=a.createElement(l.p),V(null,l,z),o.getRootNode().querySelector("body"),l.h)for(i=0;i<l.h.length;++i)s=B(e,l,i),s&&o.appendChild(s);return o["s-hn"]=M,o},I=(e,t,n,l,o,s)=>{let i,r=e;for(;o<=s;++o)l[o]&&(i=B(null,n,o),i&&(l[o].$=i,X(r,i,t)))},J=(e,t,n)=>{for(let l=t;l<=n;++l){const t=e[l];if(t){const e=t.$;e&&e.remove()}}},K=(e,t,n=!1)=>e.p===t.p&&(!!n||e.m===t.m),Q=(e,t,n=!1)=>{const l=t.$=e.$,o=e.h,s=t.h,i=t.i;null===i?(V(e,t,z),null!==o&&null!==s?((e,t,n,l,o=!1)=>{let s,i,r=0,c=0,u=0,a=0,f=t.length-1,h=t[0],m=t[f],p=l.length-1,d=l[0],y=l[p];for(;r<=f&&c<=p;)if(null==h)h=t[++r];else if(null==m)m=t[--f];else if(null==d)d=l[++c];else if(null==y)y=l[--p];else if(K(h,d,o))Q(h,d,o),h=t[++r],d=l[++c];else if(K(m,y,o))Q(m,y,o),m=t[--f],y=l[--p];else if(K(h,y,o))Q(h,y,o),X(e,h.$,m.$.nextSibling),h=t[++r],y=l[--p];else if(K(m,d,o))Q(m,d,o),X(e,m.$,h.$),m=t[--f],d=l[++c];else{for(u=-1,a=r;a<=f;++a)if(t[a]&&null!==t[a].m&&t[a].m===d.m){u=a;break}u>=0?(i=t[u],i.p!==d.p?s=B(t&&t[c],n,u):(Q(i,d,o),t[u]=void 0,s=i.$),d=l[++c]):(s=B(t&&t[c],n,c),d=l[++c]),s&&X(h.$.parentNode,s,h.$)}r>f?I(e,null==l[p+1]?null:l[p+1].$,n,l,c,p):c>p&&J(t,r,f)})(l,o,t,s,n):null!==s?(null!==e.i&&(l.textContent=""),I(l,null,t,s,0,s.length-1)):!n&&null!==o&&J(o,0,o.length-1)):e.i!==i&&(l.data=i)},X=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),Y=(e,t)=>{t&&!e.S&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.S=t)))},Z=(e,t)=>{if(e.l|=16,!(4&e.l))return Y(e,e.j),S((()=>ee(e,t)));e.l|=512},ee=(e,t)=>{const n=e.t;if(!n)throw Error(`Can't render component <${e.$hostElement$.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 t&&(l=re(n,"componentWillLoad")),te(l,(()=>le(e,n,t)))},te=(e,t)=>ne(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),ne=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,le=async(e,t,n)=>{var l;const o=e.$hostElement$,s=o["s-rc"];n&&(e=>{const t=e.k;((e,t)=>{var n;const l=L(t),o=r.get(l);if(e=11===e.nodeType?e:a,o)if("string"==typeof o){let s,i=F.get(e=e.head||e);if(i||F.set(e,i=new Set),!i.has(l)){{s=a.createElement("style"),s.innerHTML=o;const l=null!=(n=f.O)?n:k(a);if(null!=l&&s.setAttribute("nonce",l),!(1&t.l))if("HEAD"===e.nodeName){const t=e.querySelectorAll("link[rel=preconnect]"),n=t.length>0?t[t.length-1].nextSibling:e.querySelector("style");e.insertBefore(s,n)}else if("host"in e)if(m){const t=new CSSStyleSheet;t.replaceSync(o),e.adoptedStyleSheets=[t,...e.adoptedStyleSheets]}else{const t=e.querySelector("style");t?t.innerHTML=o+t.innerHTML:e.prepend(s)}else e.append(s);1&t.l&&"HEAD"!==e.nodeName&&e.insertBefore(s,null)}4&t.l&&(s.innerHTML+=c),i&&i.add(l)}}else e.adoptedStyleSheets.includes(o)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,o])})(e.$hostElement$.getRootNode(),t)})(e);oe(e,t,o,n),s&&(s.map((e=>e())),o["s-rc"]=void 0);{const t=null!=(l=o["s-p"])?l:[],n=()=>se(e);0===t.length?n():(Promise.all(t).then(n),e.l|=4,t.length=0)}},oe=(e,t,n,l)=>{try{t=t.render(),e.l&=-17,e.l|=2,((e,t,n=!1)=>{const l=e.$hostElement$,o=e.k,s=e.C||H(null,null),i=(e=>e&&e.p===R)(t)?t:A(null,null,t);if(M=l.tagName,o.M&&(i.u=i.u||{},o.M.map((([e,t])=>i.u[t]=l[e]))),n&&i.u)for(const e of Object.keys(i.u))l.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(i.u[e]=l[e]);i.p=null,i.l|=4,e.C=i,i.$=s.$=l,Q(s,i,n)})(e,t,l)}catch(t){s(t,e.$hostElement$)}return null},se=e=>{const t=e.$hostElement$,n=e.j;64&e.l||(e.l|=64,ce(t),e.P(t),n||ie()),e.S&&(e.S(),e.S=void 0),512&e.l&&v((()=>Z(e,!1))),e.l&=-517},ie=()=>{ce(a.documentElement),v((()=>D(u,"appload",{detail:{namespace:"bonus-pagination-limits"}})))},re=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){s(e)}},ce=e=>e.classList.add("hydrated"),ue=(e,t,l)=>{var o,s;const i=e.prototype;if(t.A){const r=Object.entries(null!=(o=t.A)?o:{});if(r.map((([e,[o]])=>{(31&o||2&l&&32&o)&&Object.defineProperty(i,e,{get(){return((e,t)=>n(this).H.get(t))(0,e)},set(l){((e,t,l,o)=>{const s=n(e);if(!s)throw Error(`Couldn't find host element for "${o.v}" 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/ionic-team/stencil/issues/5457).`);const i=s.H.get(t),r=s.l,c=s.t;l=((e,t)=>null==e||j(e)?e:2&t?parseFloat(e):1&t?e+"":e)(l,o.A[t][0]),8&r&&void 0!==i||l===i||Number.isNaN(i)&&Number.isNaN(l)||(s.H.set(t,l),c&&2==(18&r)&&Z(s,!1))})(this,e,l,t)},configurable:!0,enumerable:!0})})),1&l){const l=new Map;i.attributeChangedCallback=function(e,o,s){f.jmp((()=>{var r;const c=l.get(e);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(i.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const l=n(this),i=null==l?void 0:l.l;if(i&&!(8&i)&&128&i&&s!==o){const n=l.t,i=null==(r=t.R)?void 0:r[e];null==i||i.forEach((t=>{null!=n[t]&&n[t].call(n,s,o,e)}))}return}}this[c]=(null!==s||"boolean"!=typeof this[c])&&s}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(s=t.R)?s:{}),...r.filter((([e,t])=>15&t[0])).map((([e,n])=>{var o;const s=n[1]||e;return l.set(s,e),512&n[0]&&(null==(o=t.M)||o.push([e,s])),s}))]))}}return e},ae=(e,l={})=>{var o;const h=[],p=l.exclude||[],d=u.customElements,y=a.head,$=y.querySelector("meta[charset]"),b=a.createElement("style"),w=[];let v,S=!0;Object.assign(f,l),f.o=new URL(l.resourcesUrl||"./",a.baseURI).href;let g=!1;if(e.map((e=>{e[1].map((l=>{const o={l:l[0],v:l[1],A:l[2],T:l[3]};4&o.l&&(g=!0),o.A=l[2],o.M=[];const c=o.v,u=class extends HTMLElement{constructor(e){super(e),this.hasRegisteredEventListeners=!1,((e,n)=>{const l={l:0,$hostElement$:e,k:n,H:new Map};l.D=new Promise((e=>l.P=e)),e["s-p"]=[],e["s-rc"]=[],t.set(e,l)})(e=this,o)}connectedCallback(){this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),v&&(clearTimeout(v),v=null),S?w.push(this):f.jmp((()=>(e=>{if(!(1&f.l)){const t=n(e),l=t.k,o=()=>{};if(1&t.l)(null==t?void 0:t.t)||(null==t?void 0:t.D)&&t.D.then((()=>{}));else{t.l|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){Y(t,t.j=n);break}}l.A&&Object.entries(l.A).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n)=>{let l;if(!(32&t.l)){if(t.l|=32,n.F){const e=(e=>{const t=e.v.replace(/-/g,"_"),n=e.F;if(!n)return;const l=i.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(i.set(n,e),e[t])),s)
2
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n);if(e&&"then"in e){const t=()=>{};l=await e,t()}else l=e;if(!l)throw Error(`Constructor for "${n.v}#${t.L}" was not found`);l.isProxied||(ue(l,n,2),l.isProxied=!0);const o=()=>{};t.l|=8;try{new l(t)}catch(e){s(e)}t.l&=-9,o()}else l=e.constructor,customElements.whenDefined(e.localName).then((()=>t.l|=128));if(l&&l.style){let e;"string"==typeof l.style&&(e=l.style);const t=L(n);if(!r.has(t)){const l=()=>{};((e,t,n)=>{let l=r.get(e);m&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,r.set(e,l)})(t,e,!!(1&n.l)),l()}}}const o=t.j,c=()=>Z(t,!0);o&&o["s-rc"]?o["s-rc"].push(c):c()})(e,t,l)}o()}})(this)))}disconnectedCallback(){f.jmp((()=>(async()=>{if(!(1&f.l)){const e=n(this);(null==e?void 0:e.t)||(null==e?void 0:e.D)&&e.D.then((()=>{}))}})()))}componentOnReady(){return n(this).D}};o.F=e[0],p.includes(c)||d.get(c)||(h.push(c),d.define(c,ue(u,o,1)))}))})),h.length>0&&(g&&(b.textContent+=c),b.textContent+=h.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",b.innerHTML.length)){b.setAttribute("data-styles","");const e=null!=(o=f.O)?o:k(a);null!=e&&b.setAttribute("nonce",e),y.insertBefore(b,$?$.nextSibling:y.firstChild)}S=!1,w.length?w.map((e=>e.connectedCallback())):f.jmp((()=>v=setTimeout(ie,30)))},fe=e=>f.O=e;export{ae as b,T as c,A as h,h as p,l as r,fe as s}
@@ -1,2 +0,0 @@
1
- import { Config } from '../../../../../../../../../../../stencil-public-runtime';
2
- export declare const config: Config;
@@ -1,2 +0,0 @@
1
- import { Config } from '../../../../../../../../../../../stencil-public-runtime';
2
- export declare const config: Config;