@everymatrix/bonus-pagination-limits 1.56.0 → 1.56.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.
Files changed (25) hide show
  1. package/dist/bonus-pagination-limits/bonus-pagination-limits.esm.js +1 -1
  2. package/dist/bonus-pagination-limits/p-9321dfb1.entry.js +1 -0
  3. package/dist/bonus-pagination-limits/p-d6ca5b2f.js +2 -0
  4. package/dist/cjs/bonus-pagination-limits.cjs.entry.js +2 -10
  5. package/dist/cjs/bonus-pagination-limits.cjs.js +2 -2
  6. package/dist/cjs/{index-10b5f6b9.js → index-4c46d393.js} +52 -199
  7. package/dist/cjs/loader.cjs.js +1 -1
  8. package/dist/collection/collection-manifest.json +2 -2
  9. package/dist/collection/components/bonus-pagination-limits/bonus-pagination-limits.js +1 -17
  10. package/dist/esm/bonus-pagination-limits.entry.js +2 -10
  11. package/dist/esm/bonus-pagination-limits.js +3 -3
  12. package/dist/esm/{index-e27ccae3.js → index-10020ae3.js} +52 -199
  13. package/dist/esm/loader.js +2 -2
  14. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/bonus-pagination-limits/.stencil/packages/stencil/bonus-pagination-limits/stencil.config.d.ts +2 -0
  15. 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 +2 -0
  16. package/dist/types/stencil-public-runtime.d.ts +0 -6
  17. package/package.json +1 -1
  18. package/dist/bonus-pagination-limits/p-340985fe.js +0 -2
  19. package/dist/bonus-pagination-limits/p-c5777f71.entry.js +0 -1
  20. 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 +0 -2
  21. 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 +0 -2
  22. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/bonus-pagination-limits/.stencil/tools/plugins/index.d.ts +0 -0
  23. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/bonus-pagination-limits/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
  24. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/bonus-pagination-limits/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
  25. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/bonus-pagination-limits/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
@@ -1 +1 @@
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))));
1
+ import{p as a,b as t}from"./p-d6ca5b2f.js";export{s as setNonce}from"./p-d6ca5b2f.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-9321dfb1",[[0,"bonus-pagination-limits",{language:[513],translationUrl:[513,"translation-url"],pageLimitOptions:[513,"page-limit-options"],limit:[1538],pageLimits:[32]}]]]],a))));
@@ -0,0 +1 @@
1
+ import{r as i,c as e,h as a}from"./p-d6ca5b2f.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}
@@ -0,0 +1,2 @@
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?w(v):f.raf(v))},b=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){s(e)}e.length=0},v=()=>{b(d),b(y),(p=d.length>0)&&f.raf(v)},w=e=>h().then(e),g=$(y,!0),S={},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:()=>E,map:()=>C,ok:()=>O,unwrap:()=>P,unwrapErr:()=>x});var O=e=>({isOk:!0,isErr:!1,value:e}),E=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=>O(e))):O(n)}if(e.isErr)return E(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},R=(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?T(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=T(e,null);return u.u=t,r.length>0&&(u.h=r),u.m=o,u},T=(e,t)=>({l:0,p:e,i:t,$:null,h:null,u:null,m:null}),A={},F=(e,t,l)=>{const o=(e=>n(e).$hostElement$)(e);return{emit:e=>L(o,t,{bubbles:!!(4&l),composed:!!(2&l),cancelable:!!(1&l),detail:e})}},L=(e,t,n)=>{const l=f.ce(t,n);return e.dispatchEvent(l),l},N=new WeakMap,W=e=>"sc-"+e.v,H=(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=q(n),s=q(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||(e[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(D);t=t.replace(G,""),n&&f.rel(e,t,n,o),l&&f.ael(e,t,l,o)}}},U=/\s/,q=e=>e?e.split(U):[],D="Capture",G=RegExp(D+"$"),V=(e,t,n)=>{const l=11===t.$.nodeType&&t.$.host?t.$.host:t.$,o=e&&e.u||S,s=t.u||S;for(const e of _(Object.keys(o)))e in s||H(l,e,o[e],void 0,n,t.l);for(const e of _(Object.keys(s)))H(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),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)):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),g((()=>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=W(t),o=r.get(l);if(e=11===e.nodeType?e:a,o)if("string"==typeof o){let s,i=N.get(e=e.head||e);if(i||N.set(e,i=new Set),!i.has(l)){{s=a.createElement("style"),s.innerHTML=o;const t=null!=(n=f.O)?n:k(a);null!=t&&s.setAttribute("nonce",t),e.insertBefore(s,e.querySelector("link"))}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||T(null,null),i=(e=>e&&e.p===A)(t)?t:R(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&&w((()=>Z(e,!1))),e.l&=-517},ie=()=>{ce(a.documentElement),w((()=>L(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.R){const r=Object.entries(null!=(o=t.R)?o:{});if(r.map((([e,[o]])=>{(31&o||2&l&&32&o)&&Object.defineProperty(i,e,{get(){return((e,t)=>n(this).T.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.T.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.R[t][0]),8&r&&void 0!==i||l===i||Number.isNaN(i)&&Number.isNaN(l)||(s.T.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.A)?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.A)?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"),v=[];let w,g=!0;Object.assign(f,l),f.o=new URL(l.resourcesUrl||"./",a.baseURI).href;let S=!1;if(e.map((e=>{e[1].map((l=>{const o={l:l[0],v:l[1],R:l[2],F:l[3]};4&o.l&&(S=!0),o.R=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,T:new Map};l.L=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),w&&(clearTimeout(w),w=null),g?v.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.L)&&t.L.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.R&&Object.entries(l.R).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.N){const e=(e=>{const t=e.v.replace(/-/g,"_"),n=e.N;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.W}" 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=W(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.L)&&e.L.then((()=>{}))}})()))}componentOnReady(){return n(this).L}};o.N=e[0],p.includes(c)||d.get(c)||(h.push(c),d.define(c,ue(u,o,1)))}))})),h.length>0&&(S&&(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)}g=!1,v.length?v.map((e=>e.connectedCallback())):f.jmp((()=>w=setTimeout(ie,30)))},fe=e=>f.O=e;export{ae as b,F as c,R as h,h as p,l as r,fe as s}
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-10b5f6b9.js');
5
+ const index = require('./index-4c46d393.js');
6
6
 
7
7
  const DEFAULT_LANGUAGE = 'en';
8
8
  const SUPPORTED_LANGUAGES = ['pt-br', 'en', 'es-mx', 'hu', 'hr'];
@@ -35,17 +35,9 @@ 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
- */
41
38
  this.language = 'en';
42
- /**
43
- * Translation via url
44
- */
45
39
  this.translationUrl = '';
46
- /**
47
- * Default limit for per page, default: 10
48
- */
40
+ this.pageLimitOptions = undefined;
49
41
  this.limit = 10;
50
42
  this.pageLimits = [10, 25, 50];
51
43
  }
@@ -2,11 +2,11 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-10b5f6b9.js');
5
+ const index = require('./index-4c46d393.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  /*
9
- Stencil Client Patch Browser v4.26.0 | MIT Licensed | https://stenciljs.com
9
+ Stencil Client Patch Browser v4.19.2 | 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,23 +21,19 @@ 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, 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 };
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 };
25
25
 
26
26
  /*
27
- Stencil Client Platform v4.26.0 | MIT Licensed | https://stenciljs.com
27
+ Stencil Client Platform v4.19.2 | 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
36
34
  var hostRefs = /* @__PURE__ */ new WeakMap();
37
35
  var getHostRef = (ref) => hostRefs.get(ref);
38
- var registerInstance = (lazyInstance, hostRef) => {
39
- hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
40
- };
36
+ var registerInstance = (lazyInstance, hostRef) => hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
41
37
  var registerHost = (hostElement, cmpMeta) => {
42
38
  const hostRef = {
43
39
  $flags$: 0,
@@ -50,8 +46,7 @@ var registerHost = (hostElement, cmpMeta) => {
50
46
  hostElement["s-p"] = [];
51
47
  hostElement["s-rc"] = [];
52
48
  }
53
- const ref = hostRefs.set(hostElement, hostRef);
54
- return ref;
49
+ return hostRefs.set(hostElement, hostRef);
55
50
  };
56
51
  var isMemberInElement = (elm, memberName) => memberName in elm;
57
52
  var consoleError = (e, el) => (0, console.error)(e, el);
@@ -88,22 +83,16 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
88
83
  /* webpackExclude: /\.system\.entry\.js$/ */
89
84
  /* webpackMode: "lazy" */
90
85
  `./${bundleId}.entry.js${""}`
91
- )); }).then(
92
- (importedModule) => {
93
- {
94
- cmpModules.set(bundleId, importedModule);
95
- }
96
- return importedModule[exportName];
97
- },
98
- (e) => {
99
- consoleError(e, hostRef.$hostElement$);
86
+ )); }).then((importedModule) => {
87
+ {
88
+ cmpModules.set(bundleId, importedModule);
100
89
  }
101
- );
90
+ return importedModule[exportName];
91
+ }, consoleError);
102
92
  };
103
93
 
104
94
  // src/client/client-style.ts
105
95
  var styles = /* @__PURE__ */ new Map();
106
- var HYDRATED_STYLE_ID = "sty-id";
107
96
  var HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
108
97
  var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
109
98
  var win = typeof window !== "undefined" ? window : {};
@@ -162,6 +151,9 @@ var flush = () => {
162
151
  };
163
152
  var nextTick = (cb) => promiseResolve().then(cb);
164
153
  var writeTask = /* @__PURE__ */ queueTask(queueDomWrites, true);
154
+
155
+ // src/utils/constants.ts
156
+ var EMPTY_OBJ = {};
165
157
  var isComplexType = (o) => {
166
158
  o = typeof o;
167
159
  return o === "object" || o === "function";
@@ -362,40 +354,13 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
362
354
  }
363
355
  if (!appliedStyles.has(scopeId2)) {
364
356
  {
365
- styleElm = document.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`) || doc.createElement("style");
357
+ styleElm = doc.createElement("style");
366
358
  styleElm.innerHTML = style;
367
359
  const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
368
360
  if (nonce != null) {
369
361
  styleElm.setAttribute("nonce", nonce);
370
362
  }
371
- if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
372
- if (styleContainerNode.nodeName === "HEAD") {
373
- const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
374
- const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
375
- styleContainerNode.insertBefore(
376
- styleElm,
377
- (referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
378
- );
379
- } else if ("host" in styleContainerNode) {
380
- if (supportsConstructableStylesheets) {
381
- const stylesheet = new CSSStyleSheet();
382
- stylesheet.replaceSync(style);
383
- styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
384
- } else {
385
- const existingStyleContainer = styleContainerNode.querySelector("style");
386
- if (existingStyleContainer) {
387
- existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
388
- } else {
389
- styleContainerNode.prepend(styleElm);
390
- }
391
- }
392
- } else {
393
- styleContainerNode.append(styleElm);
394
- }
395
- }
396
- if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
397
- styleContainerNode.insertBefore(styleElm, null);
398
- }
363
+ styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector("link"));
399
364
  }
400
365
  if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
401
366
  styleElm.innerHTML += SLOT_FB_CSS;
@@ -420,18 +385,16 @@ var attachStyles = (hostRef) => {
420
385
  endAttachStyles();
421
386
  };
422
387
  var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
423
- var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRender) => {
388
+ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
424
389
  if (oldValue !== newValue) {
425
390
  let isProp = isMemberInElement(elm, memberName);
426
391
  let ln = memberName.toLowerCase();
427
392
  if (memberName === "class") {
428
393
  const classList = elm.classList;
429
394
  const oldClasses = parseClassList(oldValue);
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
- }
395
+ const newClasses = parseClassList(newValue);
396
+ classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
397
+ classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
435
398
  } else if (memberName === "key") ; else if ((!isProp ) && memberName[0] === "o" && memberName[1] === "n") {
436
399
  if (memberName[2] === "-") {
437
400
  memberName = memberName.slice(3);
@@ -459,13 +422,9 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
459
422
  if (memberName === "list") {
460
423
  isProp = false;
461
424
  } else if (oldValue == null || elm[memberName] != n) {
462
- if (typeof elm.__lookupSetter__(memberName) === "function") {
463
- elm[memberName] = n;
464
- } else {
465
- elm.setAttribute(memberName, n);
466
- }
425
+ elm[memberName] = n;
467
426
  }
468
- } else if (elm[memberName] !== newValue) {
427
+ } else {
469
428
  elm[memberName] = newValue;
470
429
  }
471
430
  } catch (e) {
@@ -487,44 +446,24 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
487
446
  }
488
447
  };
489
448
  var parseClassListRegex = /\s/;
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
- };
449
+ var parseClassList = (value) => !value ? [] : value.split(parseClassListRegex);
499
450
  var CAPTURE_EVENT_SUFFIX = "Capture";
500
451
  var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
501
452
 
502
453
  // src/runtime/vdom/update-element.ts
503
- var updateElement = (oldVnode, newVnode, isSvgMode2, isInitialRender) => {
454
+ var updateElement = (oldVnode, newVnode, isSvgMode2) => {
504
455
  const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
505
- const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || {};
506
- const newVnodeAttrs = newVnode.$attrs$ || {};
456
+ const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || EMPTY_OBJ;
457
+ const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;
507
458
  {
508
459
  for (const memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {
509
460
  if (!(memberName in newVnodeAttrs)) {
510
- setAccessor(
511
- elm,
512
- memberName,
513
- oldVnodeAttrs[memberName],
514
- void 0,
515
- isSvgMode2,
516
- newVnode.$flags$);
461
+ setAccessor(elm, memberName, oldVnodeAttrs[memberName], void 0, isSvgMode2, newVnode.$flags$);
517
462
  }
518
463
  }
519
464
  }
520
465
  for (const memberName of sortedAttrNames(Object.keys(newVnodeAttrs))) {
521
- setAccessor(
522
- elm,
523
- memberName,
524
- oldVnodeAttrs[memberName],
525
- newVnodeAttrs[memberName],
526
- isSvgMode2,
527
- newVnode.$flags$);
466
+ setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode2, newVnode.$flags$);
528
467
  }
529
468
  };
530
469
  function sortedAttrNames(attrNames) {
@@ -539,7 +478,7 @@ function sortedAttrNames(attrNames) {
539
478
  var hostTagName;
540
479
  var useNativeShadowDom = false;
541
480
  var isSvgMode = false;
542
- var createElm = (oldParentVNode, newParentVNode, childIndex) => {
481
+ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
543
482
  const newVNode2 = newParentVNode.$children$[childIndex];
544
483
  let i2 = 0;
545
484
  let elm;
@@ -678,9 +617,6 @@ var isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
678
617
  if (!isInitialRender) {
679
618
  return leftVNode.$key$ === rightVNode.$key$;
680
619
  }
681
- if (isInitialRender && !leftVNode.$key$ && rightVNode.$key$) {
682
- leftVNode.$key$ = rightVNode.$key$;
683
- }
684
620
  return true;
685
621
  }
686
622
  return false;
@@ -703,10 +639,7 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
703
639
  elm.textContent = "";
704
640
  }
705
641
  addVnodes(elm, null, newVNode2, newChildren, 0, newChildren.length - 1);
706
- } else if (
707
- // don't do this on initial render as it can cause non-hydrated content to be removed
708
- !isInitialRender && BUILD.updatable && oldChildren !== null
709
- ) {
642
+ } else if (oldChildren !== null) {
710
643
  removeVnodes(oldChildren, 0, oldChildren.length - 1);
711
644
  }
712
645
  } else if (oldVNode.$text$ !== text) {
@@ -714,9 +647,8 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
714
647
  }
715
648
  };
716
649
  var insertBefore = (parent, newNode, reference) => {
717
- {
718
- return parent == null ? void 0 : parent.insertBefore(newNode, reference);
719
- }
650
+ const inserted = parent == null ? void 0 : parent.insertBefore(newNode, reference);
651
+ return inserted;
720
652
  };
721
653
  var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
722
654
  const hostElm = hostRef.$hostElement$;
@@ -741,21 +673,14 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
741
673
  rootVnode.$flags$ |= 4 /* isHost */;
742
674
  hostRef.$vnode$ = rootVnode;
743
675
  rootVnode.$elm$ = oldVNode.$elm$ = hostElm;
744
- useNativeShadowDom = supportsShadow ;
676
+ useNativeShadowDom = supportsShadow ;
745
677
  patch(oldVNode, rootVnode, isInitialLoad);
746
678
  };
747
679
 
748
680
  // src/runtime/update-component.ts
749
681
  var attachToAncestor = (hostRef, ancestorComponent) => {
750
682
  if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent["s-p"]) {
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
- );
683
+ ancestorComponent["s-p"].push(new Promise((r) => hostRef.$onRenderResolve$ = r));
759
684
  }
760
685
  };
761
686
  var scheduleUpdate = (hostRef, isInitialLoad) => {
@@ -782,7 +707,7 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
782
707
  let maybePromise;
783
708
  if (isInitialLoad) {
784
709
  {
785
- maybePromise = safeCall(instance, "componentWillLoad", void 0, elm);
710
+ maybePromise = safeCall(instance, "componentWillLoad");
786
711
  }
787
712
  }
788
713
  endSchedule();
@@ -876,14 +801,17 @@ var postUpdateComponent = (hostRef) => {
876
801
  }
877
802
  };
878
803
  var appDidLoad = (who) => {
804
+ {
805
+ addHydratedFlag(doc.documentElement);
806
+ }
879
807
  nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
880
808
  };
881
- var safeCall = (instance, method, arg, elm) => {
809
+ var safeCall = (instance, method, arg) => {
882
810
  if (instance && instance[method]) {
883
811
  try {
884
812
  return instance[method](arg);
885
813
  } catch (e) {
886
- consoleError(e, elm);
814
+ consoleError(e);
887
815
  }
888
816
  }
889
817
  return void 0;
@@ -926,68 +854,15 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
926
854
  const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
927
855
  members.map(([memberName, [memberFlags]]) => {
928
856
  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
- }
949
857
  Object.defineProperty(prototype, memberName, {
858
+ get() {
859
+ return getValue(this, memberName);
860
+ },
950
861
  set(newValue) {
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
- }
862
+ setValue(this, memberName, newValue, cmpMeta);
863
+ },
864
+ configurable: true,
865
+ enumerable: true
991
866
  });
992
867
  }
993
868
  });
@@ -997,11 +872,10 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
997
872
  plt.jmp(() => {
998
873
  var _a2;
999
874
  const propName = attrNameToPropName.get(attrName);
1000
- if (this.hasOwnProperty(propName) && BUILD.lazyLoad) {
875
+ if (this.hasOwnProperty(propName)) {
1001
876
  newValue = this[propName];
1002
877
  delete this[propName];
1003
- } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
1004
- this[propName] == newValue) {
878
+ } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && this[propName] == newValue) {
1005
879
  return;
1006
880
  } else if (propName == null) {
1007
881
  const hostRef = getHostRef(this);
@@ -1017,11 +891,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1017
891
  }
1018
892
  return;
1019
893
  }
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
- }
894
+ this[propName] = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
1025
895
  });
1026
896
  };
1027
897
  Cstr.observedAttributes = Array.from(
@@ -1050,7 +920,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1050
920
  hostRef.$flags$ |= 32 /* hasInitializedComponent */;
1051
921
  const bundleId = cmpMeta.$lazyBundleId$;
1052
922
  if (bundleId) {
1053
- const CstrImport = loadModule(cmpMeta, hostRef);
923
+ const CstrImport = loadModule(cmpMeta);
1054
924
  if (CstrImport && "then" in CstrImport) {
1055
925
  const endLoad = uniqueTime();
1056
926
  Cstr = await CstrImport;
@@ -1072,7 +942,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1072
942
  try {
1073
943
  new Cstr(hostRef);
1074
944
  } catch (e) {
1075
- consoleError(e, elm);
945
+ consoleError(e);
1076
946
  }
1077
947
  {
1078
948
  hostRef.$flags$ &= ~8 /* isConstructingInstance */;
@@ -1104,7 +974,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1104
974
  schedule();
1105
975
  }
1106
976
  };
1107
- var fireConnectedCallback = (instance, elm) => {
977
+ var fireConnectedCallback = (instance) => {
1108
978
  };
1109
979
 
1110
980
  // src/runtime/connected-callback.ts
@@ -1144,7 +1014,7 @@ var connectedCallback = (elm) => {
1144
1014
  endConnected();
1145
1015
  }
1146
1016
  };
1147
- var disconnectInstance = (instance, elm) => {
1017
+ var disconnectInstance = (instance) => {
1148
1018
  };
1149
1019
  var disconnectedCallback = async (elm) => {
1150
1020
  if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
@@ -1153,12 +1023,6 @@ var disconnectedCallback = async (elm) => {
1153
1023
  hostRef.$onReadyPromise$.then(() => disconnectInstance());
1154
1024
  }
1155
1025
  }
1156
- if (rootAppliedStyles.has(elm)) {
1157
- rootAppliedStyles.delete(elm);
1158
- }
1159
- if (elm.shadowRoot && rootAppliedStyles.has(elm.shadowRoot)) {
1160
- rootAppliedStyles.delete(elm.shadowRoot);
1161
- }
1162
1026
  };
1163
1027
 
1164
1028
  // src/runtime/bootstrap-lazy.ts
@@ -1220,17 +1084,6 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
1220
1084
  }
1221
1085
  disconnectedCallback() {
1222
1086
  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
- });
1234
1087
  }
1235
1088
  componentOnReady() {
1236
1089
  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-10b5f6b9.js');
5
+ const index = require('./index-4c46d393.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  const defineCustomElements = async (win, options) => {
@@ -4,8 +4,8 @@
4
4
  ],
5
5
  "compiler": {
6
6
  "name": "@stencil/core",
7
- "version": "4.26.0",
8
- "typescriptVersion": "5.5.4"
7
+ "version": "4.19.2",
8
+ "typescriptVersion": "5.4.5"
9
9
  },
10
10
  "collections": [],
11
11
  "bundles": []
@@ -2,17 +2,9 @@ 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
- */
8
5
  this.language = 'en';
9
- /**
10
- * Translation via url
11
- */
12
6
  this.translationUrl = '';
13
- /**
14
- * Default limit for per page, default: 10
15
- */
7
+ this.pageLimitOptions = undefined;
16
8
  this.limit = 10;
17
9
  this.pageLimits = [10, 25, 50];
18
10
  }
@@ -77,8 +69,6 @@ export class BonusPaginationLimits {
77
69
  "tags": [],
78
70
  "text": "Language of the widget"
79
71
  },
80
- "getter": false,
81
- "setter": false,
82
72
  "attribute": "language",
83
73
  "reflect": true,
84
74
  "defaultValue": "'en'"
@@ -97,8 +87,6 @@ export class BonusPaginationLimits {
97
87
  "tags": [],
98
88
  "text": "Translation via url"
99
89
  },
100
- "getter": false,
101
- "setter": false,
102
90
  "attribute": "translation-url",
103
91
  "reflect": true,
104
92
  "defaultValue": "''"
@@ -117,8 +105,6 @@ export class BonusPaginationLimits {
117
105
  "tags": [],
118
106
  "text": "Limits list string split with coma,default: `10,25,50`;"
119
107
  },
120
- "getter": false,
121
- "setter": false,
122
108
  "attribute": "page-limit-options",
123
109
  "reflect": true
124
110
  },
@@ -136,8 +122,6 @@ export class BonusPaginationLimits {
136
122
  "tags": [],
137
123
  "text": "Default limit for per page, default: 10"
138
124
  },
139
- "getter": false,
140
- "setter": false,
141
125
  "attribute": "limit",
142
126
  "reflect": true,
143
127
  "defaultValue": "10"
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-e27ccae3.js';
1
+ import { r as registerInstance, c as createEvent, h } from './index-10020ae3.js';
2
2
 
3
3
  const DEFAULT_LANGUAGE = 'en';
4
4
  const SUPPORTED_LANGUAGES = ['pt-br', 'en', 'es-mx', 'hu', 'hr'];
@@ -31,17 +31,9 @@ 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
- */
37
34
  this.language = 'en';
38
- /**
39
- * Translation via url
40
- */
41
35
  this.translationUrl = '';
42
- /**
43
- * Default limit for per page, default: 10
44
- */
36
+ this.pageLimitOptions = undefined;
45
37
  this.limit = 10;
46
38
  this.pageLimits = [10, 25, 50];
47
39
  }
@@ -1,9 +1,9 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-e27ccae3.js';
2
- export { s as setNonce } from './index-e27ccae3.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-10020ae3.js';
2
+ export { s as setNonce } from './index-10020ae3.js';
3
3
  import { g as globalScripts } from './app-globals-0f993ce5.js';
4
4
 
5
5
  /*
6
- Stencil Client Patch Browser v4.26.0 | MIT Licensed | https://stenciljs.com
6
+ Stencil Client Patch Browser v4.19.2 | MIT Licensed | https://stenciljs.com
7
7
  */
8
8
  var patchBrowser = () => {
9
9
  const importMeta = import.meta.url;
@@ -1,21 +1,17 @@
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, 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 };
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 };
3
3
 
4
4
  /*
5
- Stencil Client Platform v4.26.0 | MIT Licensed | https://stenciljs.com
5
+ Stencil Client Platform v4.19.2 | 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
14
12
  var hostRefs = /* @__PURE__ */ new WeakMap();
15
13
  var getHostRef = (ref) => hostRefs.get(ref);
16
- var registerInstance = (lazyInstance, hostRef) => {
17
- hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
18
- };
14
+ var registerInstance = (lazyInstance, hostRef) => hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
19
15
  var registerHost = (hostElement, cmpMeta) => {
20
16
  const hostRef = {
21
17
  $flags$: 0,
@@ -28,8 +24,7 @@ var registerHost = (hostElement, cmpMeta) => {
28
24
  hostElement["s-p"] = [];
29
25
  hostElement["s-rc"] = [];
30
26
  }
31
- const ref = hostRefs.set(hostElement, hostRef);
32
- return ref;
27
+ return hostRefs.set(hostElement, hostRef);
33
28
  };
34
29
  var isMemberInElement = (elm, memberName) => memberName in elm;
35
30
  var consoleError = (e, el) => (0, console.error)(e, el);
@@ -66,22 +61,16 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
66
61
  /* webpackExclude: /\.system\.entry\.js$/ */
67
62
  /* webpackMode: "lazy" */
68
63
  `./${bundleId}.entry.js${""}`
69
- ).then(
70
- (importedModule) => {
71
- {
72
- cmpModules.set(bundleId, importedModule);
73
- }
74
- return importedModule[exportName];
75
- },
76
- (e) => {
77
- consoleError(e, hostRef.$hostElement$);
64
+ ).then((importedModule) => {
65
+ {
66
+ cmpModules.set(bundleId, importedModule);
78
67
  }
79
- );
68
+ return importedModule[exportName];
69
+ }, consoleError);
80
70
  };
81
71
 
82
72
  // src/client/client-style.ts
83
73
  var styles = /* @__PURE__ */ new Map();
84
- var HYDRATED_STYLE_ID = "sty-id";
85
74
  var HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
86
75
  var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
87
76
  var win = typeof window !== "undefined" ? window : {};
@@ -140,6 +129,9 @@ var flush = () => {
140
129
  };
141
130
  var nextTick = (cb) => promiseResolve().then(cb);
142
131
  var writeTask = /* @__PURE__ */ queueTask(queueDomWrites, true);
132
+
133
+ // src/utils/constants.ts
134
+ var EMPTY_OBJ = {};
143
135
  var isComplexType = (o) => {
144
136
  o = typeof o;
145
137
  return o === "object" || o === "function";
@@ -340,40 +332,13 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
340
332
  }
341
333
  if (!appliedStyles.has(scopeId2)) {
342
334
  {
343
- styleElm = document.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`) || doc.createElement("style");
335
+ styleElm = doc.createElement("style");
344
336
  styleElm.innerHTML = style;
345
337
  const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
346
338
  if (nonce != null) {
347
339
  styleElm.setAttribute("nonce", nonce);
348
340
  }
349
- if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
350
- if (styleContainerNode.nodeName === "HEAD") {
351
- const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
352
- const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
353
- styleContainerNode.insertBefore(
354
- styleElm,
355
- (referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
356
- );
357
- } else if ("host" in styleContainerNode) {
358
- if (supportsConstructableStylesheets) {
359
- const stylesheet = new CSSStyleSheet();
360
- stylesheet.replaceSync(style);
361
- styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
362
- } else {
363
- const existingStyleContainer = styleContainerNode.querySelector("style");
364
- if (existingStyleContainer) {
365
- existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
366
- } else {
367
- styleContainerNode.prepend(styleElm);
368
- }
369
- }
370
- } else {
371
- styleContainerNode.append(styleElm);
372
- }
373
- }
374
- if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
375
- styleContainerNode.insertBefore(styleElm, null);
376
- }
341
+ styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector("link"));
377
342
  }
378
343
  if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
379
344
  styleElm.innerHTML += SLOT_FB_CSS;
@@ -398,18 +363,16 @@ var attachStyles = (hostRef) => {
398
363
  endAttachStyles();
399
364
  };
400
365
  var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
401
- var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRender) => {
366
+ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
402
367
  if (oldValue !== newValue) {
403
368
  let isProp = isMemberInElement(elm, memberName);
404
369
  let ln = memberName.toLowerCase();
405
370
  if (memberName === "class") {
406
371
  const classList = elm.classList;
407
372
  const oldClasses = parseClassList(oldValue);
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
- }
373
+ const newClasses = parseClassList(newValue);
374
+ classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
375
+ classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
413
376
  } else if (memberName === "key") ; else if ((!isProp ) && memberName[0] === "o" && memberName[1] === "n") {
414
377
  if (memberName[2] === "-") {
415
378
  memberName = memberName.slice(3);
@@ -437,13 +400,9 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
437
400
  if (memberName === "list") {
438
401
  isProp = false;
439
402
  } else if (oldValue == null || elm[memberName] != n) {
440
- if (typeof elm.__lookupSetter__(memberName) === "function") {
441
- elm[memberName] = n;
442
- } else {
443
- elm.setAttribute(memberName, n);
444
- }
403
+ elm[memberName] = n;
445
404
  }
446
- } else if (elm[memberName] !== newValue) {
405
+ } else {
447
406
  elm[memberName] = newValue;
448
407
  }
449
408
  } catch (e) {
@@ -465,44 +424,24 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
465
424
  }
466
425
  };
467
426
  var parseClassListRegex = /\s/;
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
- };
427
+ var parseClassList = (value) => !value ? [] : value.split(parseClassListRegex);
477
428
  var CAPTURE_EVENT_SUFFIX = "Capture";
478
429
  var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
479
430
 
480
431
  // src/runtime/vdom/update-element.ts
481
- var updateElement = (oldVnode, newVnode, isSvgMode2, isInitialRender) => {
432
+ var updateElement = (oldVnode, newVnode, isSvgMode2) => {
482
433
  const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
483
- const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || {};
484
- const newVnodeAttrs = newVnode.$attrs$ || {};
434
+ const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || EMPTY_OBJ;
435
+ const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;
485
436
  {
486
437
  for (const memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {
487
438
  if (!(memberName in newVnodeAttrs)) {
488
- setAccessor(
489
- elm,
490
- memberName,
491
- oldVnodeAttrs[memberName],
492
- void 0,
493
- isSvgMode2,
494
- newVnode.$flags$);
439
+ setAccessor(elm, memberName, oldVnodeAttrs[memberName], void 0, isSvgMode2, newVnode.$flags$);
495
440
  }
496
441
  }
497
442
  }
498
443
  for (const memberName of sortedAttrNames(Object.keys(newVnodeAttrs))) {
499
- setAccessor(
500
- elm,
501
- memberName,
502
- oldVnodeAttrs[memberName],
503
- newVnodeAttrs[memberName],
504
- isSvgMode2,
505
- newVnode.$flags$);
444
+ setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode2, newVnode.$flags$);
506
445
  }
507
446
  };
508
447
  function sortedAttrNames(attrNames) {
@@ -517,7 +456,7 @@ function sortedAttrNames(attrNames) {
517
456
  var hostTagName;
518
457
  var useNativeShadowDom = false;
519
458
  var isSvgMode = false;
520
- var createElm = (oldParentVNode, newParentVNode, childIndex) => {
459
+ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
521
460
  const newVNode2 = newParentVNode.$children$[childIndex];
522
461
  let i2 = 0;
523
462
  let elm;
@@ -656,9 +595,6 @@ var isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
656
595
  if (!isInitialRender) {
657
596
  return leftVNode.$key$ === rightVNode.$key$;
658
597
  }
659
- if (isInitialRender && !leftVNode.$key$ && rightVNode.$key$) {
660
- leftVNode.$key$ = rightVNode.$key$;
661
- }
662
598
  return true;
663
599
  }
664
600
  return false;
@@ -681,10 +617,7 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
681
617
  elm.textContent = "";
682
618
  }
683
619
  addVnodes(elm, null, newVNode2, newChildren, 0, newChildren.length - 1);
684
- } else if (
685
- // don't do this on initial render as it can cause non-hydrated content to be removed
686
- !isInitialRender && BUILD.updatable && oldChildren !== null
687
- ) {
620
+ } else if (oldChildren !== null) {
688
621
  removeVnodes(oldChildren, 0, oldChildren.length - 1);
689
622
  }
690
623
  } else if (oldVNode.$text$ !== text) {
@@ -692,9 +625,8 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
692
625
  }
693
626
  };
694
627
  var insertBefore = (parent, newNode, reference) => {
695
- {
696
- return parent == null ? void 0 : parent.insertBefore(newNode, reference);
697
- }
628
+ const inserted = parent == null ? void 0 : parent.insertBefore(newNode, reference);
629
+ return inserted;
698
630
  };
699
631
  var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
700
632
  const hostElm = hostRef.$hostElement$;
@@ -719,21 +651,14 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
719
651
  rootVnode.$flags$ |= 4 /* isHost */;
720
652
  hostRef.$vnode$ = rootVnode;
721
653
  rootVnode.$elm$ = oldVNode.$elm$ = hostElm;
722
- useNativeShadowDom = supportsShadow ;
654
+ useNativeShadowDom = supportsShadow ;
723
655
  patch(oldVNode, rootVnode, isInitialLoad);
724
656
  };
725
657
 
726
658
  // src/runtime/update-component.ts
727
659
  var attachToAncestor = (hostRef, ancestorComponent) => {
728
660
  if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent["s-p"]) {
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
- );
661
+ ancestorComponent["s-p"].push(new Promise((r) => hostRef.$onRenderResolve$ = r));
737
662
  }
738
663
  };
739
664
  var scheduleUpdate = (hostRef, isInitialLoad) => {
@@ -760,7 +685,7 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
760
685
  let maybePromise;
761
686
  if (isInitialLoad) {
762
687
  {
763
- maybePromise = safeCall(instance, "componentWillLoad", void 0, elm);
688
+ maybePromise = safeCall(instance, "componentWillLoad");
764
689
  }
765
690
  }
766
691
  endSchedule();
@@ -854,14 +779,17 @@ var postUpdateComponent = (hostRef) => {
854
779
  }
855
780
  };
856
781
  var appDidLoad = (who) => {
782
+ {
783
+ addHydratedFlag(doc.documentElement);
784
+ }
857
785
  nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
858
786
  };
859
- var safeCall = (instance, method, arg, elm) => {
787
+ var safeCall = (instance, method, arg) => {
860
788
  if (instance && instance[method]) {
861
789
  try {
862
790
  return instance[method](arg);
863
791
  } catch (e) {
864
- consoleError(e, elm);
792
+ consoleError(e);
865
793
  }
866
794
  }
867
795
  return void 0;
@@ -904,68 +832,15 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
904
832
  const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
905
833
  members.map(([memberName, [memberFlags]]) => {
906
834
  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
- }
927
835
  Object.defineProperty(prototype, memberName, {
836
+ get() {
837
+ return getValue(this, memberName);
838
+ },
928
839
  set(newValue) {
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
- }
840
+ setValue(this, memberName, newValue, cmpMeta);
841
+ },
842
+ configurable: true,
843
+ enumerable: true
969
844
  });
970
845
  }
971
846
  });
@@ -975,11 +850,10 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
975
850
  plt.jmp(() => {
976
851
  var _a2;
977
852
  const propName = attrNameToPropName.get(attrName);
978
- if (this.hasOwnProperty(propName) && BUILD.lazyLoad) {
853
+ if (this.hasOwnProperty(propName)) {
979
854
  newValue = this[propName];
980
855
  delete this[propName];
981
- } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
982
- this[propName] == newValue) {
856
+ } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && this[propName] == newValue) {
983
857
  return;
984
858
  } else if (propName == null) {
985
859
  const hostRef = getHostRef(this);
@@ -995,11 +869,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
995
869
  }
996
870
  return;
997
871
  }
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
- }
872
+ this[propName] = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
1003
873
  });
1004
874
  };
1005
875
  Cstr.observedAttributes = Array.from(
@@ -1028,7 +898,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1028
898
  hostRef.$flags$ |= 32 /* hasInitializedComponent */;
1029
899
  const bundleId = cmpMeta.$lazyBundleId$;
1030
900
  if (bundleId) {
1031
- const CstrImport = loadModule(cmpMeta, hostRef);
901
+ const CstrImport = loadModule(cmpMeta);
1032
902
  if (CstrImport && "then" in CstrImport) {
1033
903
  const endLoad = uniqueTime();
1034
904
  Cstr = await CstrImport;
@@ -1050,7 +920,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1050
920
  try {
1051
921
  new Cstr(hostRef);
1052
922
  } catch (e) {
1053
- consoleError(e, elm);
923
+ consoleError(e);
1054
924
  }
1055
925
  {
1056
926
  hostRef.$flags$ &= ~8 /* isConstructingInstance */;
@@ -1082,7 +952,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1082
952
  schedule();
1083
953
  }
1084
954
  };
1085
- var fireConnectedCallback = (instance, elm) => {
955
+ var fireConnectedCallback = (instance) => {
1086
956
  };
1087
957
 
1088
958
  // src/runtime/connected-callback.ts
@@ -1122,7 +992,7 @@ var connectedCallback = (elm) => {
1122
992
  endConnected();
1123
993
  }
1124
994
  };
1125
- var disconnectInstance = (instance, elm) => {
995
+ var disconnectInstance = (instance) => {
1126
996
  };
1127
997
  var disconnectedCallback = async (elm) => {
1128
998
  if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
@@ -1131,12 +1001,6 @@ var disconnectedCallback = async (elm) => {
1131
1001
  hostRef.$onReadyPromise$.then(() => disconnectInstance());
1132
1002
  }
1133
1003
  }
1134
- if (rootAppliedStyles.has(elm)) {
1135
- rootAppliedStyles.delete(elm);
1136
- }
1137
- if (elm.shadowRoot && rootAppliedStyles.has(elm.shadowRoot)) {
1138
- rootAppliedStyles.delete(elm.shadowRoot);
1139
- }
1140
1004
  };
1141
1005
 
1142
1006
  // src/runtime/bootstrap-lazy.ts
@@ -1198,17 +1062,6 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
1198
1062
  }
1199
1063
  disconnectedCallback() {
1200
1064
  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
- });
1212
1065
  }
1213
1066
  componentOnReady() {
1214
1067
  return getHostRef(this).$onReadyPromise$;
@@ -1,5 +1,5 @@
1
- import { b as bootstrapLazy } from './index-e27ccae3.js';
2
- export { s as setNonce } from './index-e27ccae3.js';
1
+ import { b as bootstrapLazy } from './index-10020ae3.js';
2
+ export { s as setNonce } from './index-10020ae3.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;
@@ -1015,8 +1015,6 @@ export declare namespace JSXBase {
1015
1015
  autoPlay?: boolean;
1016
1016
  autoplay?: boolean | string;
1017
1017
  controls?: boolean;
1018
- controlslist?: 'nodownload' | 'nofullscreen' | 'noremoteplayback';
1019
- controlsList?: 'nodownload' | 'nofullscreen' | 'noremoteplayback';
1020
1018
  crossOrigin?: string;
1021
1019
  crossorigin?: string;
1022
1020
  loop?: boolean;
@@ -1566,10 +1564,6 @@ export declare namespace JSXBase {
1566
1564
  onSubmitCapture?: (event: Event) => void;
1567
1565
  onInvalid?: (event: Event) => void;
1568
1566
  onInvalidCapture?: (event: Event) => void;
1569
- onBeforeToggle?: (event: Event) => void;
1570
- onBeforeToggleCapture?: (event: Event) => void;
1571
- onToggle?: (event: Event) => void;
1572
- onToggleCapture?: (event: Event) => void;
1573
1567
  onLoad?: (event: Event) => void;
1574
1568
  onLoadCapture?: (event: Event) => void;
1575
1569
  onError?: (event: Event) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/bonus-pagination-limits",
3
- "version": "1.56.0",
3
+ "version": "1.56.3",
4
4
  "main": "./dist/index.cjs.js",
5
5
  "module": "./dist/index.js",
6
6
  "es2015": "./dist/esm/index.mjs",
@@ -1,2 +0,0 @@
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}
@@ -1 +0,0 @@
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}
@@ -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;