@public-ui/sample-react 1.7.21 → 1.7.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/1053.js +2 -0
- package/dist/1272.js +2 -0
- package/dist/1491.js +2 -0
- package/dist/{7582.js → 1730.js} +2 -2
- package/dist/1825.js +2 -0
- package/dist/{5399.js → 1947.js} +2 -2
- package/dist/2115.js +2 -0
- package/dist/2166.js +2 -0
- package/dist/2174.js +2 -0
- package/dist/219.js +2 -0
- package/dist/2264.js +2 -0
- package/dist/{5020.js → 2360.js} +2 -2
- package/dist/2375.js +2 -0
- package/dist/2410.js +2 -0
- package/dist/2544.js +2 -0
- package/dist/2600.js +2 -0
- package/dist/2605.js +2 -0
- package/dist/2972.js +2 -0
- package/dist/3022.js +2 -0
- package/dist/3112.js +2 -0
- package/dist/3167.js +2 -0
- package/dist/3409.js +2 -0
- package/dist/{4294.js → 3410.js} +2 -2
- package/dist/3545.js +2 -0
- package/dist/3564.js +2 -0
- package/dist/361.js +2 -0
- package/dist/{528.js → 380.js} +2 -2
- package/dist/4041.js +2 -0
- package/dist/{8210.js → 4334.js} +2 -2
- package/dist/4357.js +2 -0
- package/dist/4741.js +2 -0
- package/dist/4771.js +2 -0
- package/dist/4776.js +2 -0
- package/dist/{1430.js → 4834.js} +2 -2
- package/dist/484.js +2 -0
- package/dist/{7163.js → 4935.js} +2 -2
- package/dist/5428.js +2 -0
- package/dist/{2859.js → 5487.js} +2 -2
- package/dist/5602.js +2 -0
- package/dist/5654.js +2 -0
- package/dist/5734.js +2 -0
- package/dist/5916.js +2 -0
- package/dist/5993.js +2 -0
- package/dist/{1797.js → 6121.js} +2 -2
- package/dist/{3845.js → 6313.js} +2 -2
- package/dist/6330.js +2 -0
- package/dist/{7626.js → 6398.js} +2 -2
- package/dist/642.js +2 -0
- package/dist/6569.js +2 -0
- package/dist/{2462.js → 658.js} +2 -2
- package/dist/{6971.js → 6599.js} +2 -2
- package/dist/6749.js +2 -0
- package/dist/7360.js +2 -0
- package/dist/{8799.js → 7579.js} +2 -2
- package/dist/760.js +2 -0
- package/dist/7797.js +2 -0
- package/dist/7864.js +2 -0
- package/dist/7884.js +2 -0
- package/dist/7912.js +2 -0
- package/dist/7942.js +2 -0
- package/dist/8454.js +2 -0
- package/dist/8472.js +2 -0
- package/dist/8708.js +2 -0
- package/dist/8874.js +2 -0
- package/dist/8915.js +1 -0
- package/dist/8953.js +2 -0
- package/dist/8966.js +2 -0
- package/dist/9001.js +2 -0
- package/dist/9441.js +2 -0
- package/dist/9570.js +2 -0
- package/dist/9954.js +1 -0
- package/dist/9963.js +2 -0
- package/dist/main.js +1 -1
- package/package.json +5 -5
- package/dist/1266.js +0 -2
- package/dist/1601.js +0 -2
- package/dist/1786.js +0 -2
- package/dist/1813.js +0 -2
- package/dist/195.js +0 -2
- package/dist/2.js +0 -2
- package/dist/2359.js +0 -2
- package/dist/2396.js +0 -2
- package/dist/2441.js +0 -2
- package/dist/2728.js +0 -2
- package/dist/2960.js +0 -2
- package/dist/3492.js +0 -2
- package/dist/3503.js +0 -2
- package/dist/3882.js +0 -2
- package/dist/4181.js +0 -2
- package/dist/4604.js +0 -2
- package/dist/4665.js +0 -2
- package/dist/4737.js +0 -2
- package/dist/4972.js +0 -2
- package/dist/5076.js +0 -2
- package/dist/5166.js +0 -2
- package/dist/5204.js +0 -2
- package/dist/5514.js +0 -2
- package/dist/5522.js +0 -2
- package/dist/5677.js +0 -2
- package/dist/5781.js +0 -2
- package/dist/5813.js +0 -2
- package/dist/5829.js +0 -2
- package/dist/6320.js +0 -2
- package/dist/6473.js +0 -2
- package/dist/6567.js +0 -2
- package/dist/6628.js +0 -2
- package/dist/6649.js +0 -2
- package/dist/6717.js +0 -2
- package/dist/6731.js +0 -2
- package/dist/6974.js +0 -2
- package/dist/7157.js +0 -2
- package/dist/7162.js +0 -2
- package/dist/7310.js +0 -2
- package/dist/7391.js +0 -1
- package/dist/7461.js +0 -2
- package/dist/7560.js +0 -2
- package/dist/8100.js +0 -2
- package/dist/8116.js +0 -2
- package/dist/8126.js +0 -2
- package/dist/8471.js +0 -2
- package/dist/85.js +0 -2
- package/dist/872.js +0 -2
- package/dist/8902.js +0 -2
- package/dist/8956.js +0 -2
- package/dist/8961.js +0 -1
- package/dist/92.js +0 -2
- package/dist/9558.js +0 -2
- package/dist/9768.js +0 -2
- package/dist/9818.js +0 -2
- package/dist/9849.js +0 -2
- package/dist/9980.js +0 -2
- /package/dist/{1266.js.LICENSE.txt → 1053.js.LICENSE.txt} +0 -0
- /package/dist/{1430.js.LICENSE.txt → 1272.js.LICENSE.txt} +0 -0
- /package/dist/{1601.js.LICENSE.txt → 1491.js.LICENSE.txt} +0 -0
- /package/dist/{1786.js.LICENSE.txt → 1730.js.LICENSE.txt} +0 -0
- /package/dist/{1797.js.LICENSE.txt → 1825.js.LICENSE.txt} +0 -0
- /package/dist/{1813.js.LICENSE.txt → 1947.js.LICENSE.txt} +0 -0
- /package/dist/{195.js.LICENSE.txt → 2115.js.LICENSE.txt} +0 -0
- /package/dist/{2.js.LICENSE.txt → 2166.js.LICENSE.txt} +0 -0
- /package/dist/{2359.js.LICENSE.txt → 2174.js.LICENSE.txt} +0 -0
- /package/dist/{2396.js.LICENSE.txt → 219.js.LICENSE.txt} +0 -0
- /package/dist/{2441.js.LICENSE.txt → 2264.js.LICENSE.txt} +0 -0
- /package/dist/{2462.js.LICENSE.txt → 2360.js.LICENSE.txt} +0 -0
- /package/dist/{2728.js.LICENSE.txt → 2375.js.LICENSE.txt} +0 -0
- /package/dist/{2859.js.LICENSE.txt → 2410.js.LICENSE.txt} +0 -0
- /package/dist/{2960.js.LICENSE.txt → 2544.js.LICENSE.txt} +0 -0
- /package/dist/{3492.js.LICENSE.txt → 2600.js.LICENSE.txt} +0 -0
- /package/dist/{3503.js.LICENSE.txt → 2605.js.LICENSE.txt} +0 -0
- /package/dist/{3845.js.LICENSE.txt → 2972.js.LICENSE.txt} +0 -0
- /package/dist/{3882.js.LICENSE.txt → 3022.js.LICENSE.txt} +0 -0
- /package/dist/{4181.js.LICENSE.txt → 3112.js.LICENSE.txt} +0 -0
- /package/dist/{4294.js.LICENSE.txt → 3167.js.LICENSE.txt} +0 -0
- /package/dist/{4604.js.LICENSE.txt → 3409.js.LICENSE.txt} +0 -0
- /package/dist/{4665.js.LICENSE.txt → 3410.js.LICENSE.txt} +0 -0
- /package/dist/{4737.js.LICENSE.txt → 3545.js.LICENSE.txt} +0 -0
- /package/dist/{4972.js.LICENSE.txt → 3564.js.LICENSE.txt} +0 -0
- /package/dist/{5020.js.LICENSE.txt → 361.js.LICENSE.txt} +0 -0
- /package/dist/{5076.js.LICENSE.txt → 380.js.LICENSE.txt} +0 -0
- /package/dist/{5166.js.LICENSE.txt → 4041.js.LICENSE.txt} +0 -0
- /package/dist/{5204.js.LICENSE.txt → 4334.js.LICENSE.txt} +0 -0
- /package/dist/{528.js.LICENSE.txt → 4357.js.LICENSE.txt} +0 -0
- /package/dist/{5399.js.LICENSE.txt → 4741.js.LICENSE.txt} +0 -0
- /package/dist/{5514.js.LICENSE.txt → 4771.js.LICENSE.txt} +0 -0
- /package/dist/{5522.js.LICENSE.txt → 4776.js.LICENSE.txt} +0 -0
- /package/dist/{5677.js.LICENSE.txt → 4834.js.LICENSE.txt} +0 -0
- /package/dist/{5781.js.LICENSE.txt → 484.js.LICENSE.txt} +0 -0
- /package/dist/{5813.js.LICENSE.txt → 4935.js.LICENSE.txt} +0 -0
- /package/dist/{5829.js.LICENSE.txt → 5428.js.LICENSE.txt} +0 -0
- /package/dist/{6320.js.LICENSE.txt → 5487.js.LICENSE.txt} +0 -0
- /package/dist/{6473.js.LICENSE.txt → 5602.js.LICENSE.txt} +0 -0
- /package/dist/{6567.js.LICENSE.txt → 5654.js.LICENSE.txt} +0 -0
- /package/dist/{6628.js.LICENSE.txt → 5734.js.LICENSE.txt} +0 -0
- /package/dist/{6649.js.LICENSE.txt → 5916.js.LICENSE.txt} +0 -0
- /package/dist/{6717.js.LICENSE.txt → 5993.js.LICENSE.txt} +0 -0
- /package/dist/{6731.js.LICENSE.txt → 6121.js.LICENSE.txt} +0 -0
- /package/dist/{6971.js.LICENSE.txt → 6313.js.LICENSE.txt} +0 -0
- /package/dist/{6974.js.LICENSE.txt → 6330.js.LICENSE.txt} +0 -0
- /package/dist/{7157.js.LICENSE.txt → 6398.js.LICENSE.txt} +0 -0
- /package/dist/{7162.js.LICENSE.txt → 642.js.LICENSE.txt} +0 -0
- /package/dist/{7163.js.LICENSE.txt → 6569.js.LICENSE.txt} +0 -0
- /package/dist/{7310.js.LICENSE.txt → 658.js.LICENSE.txt} +0 -0
- /package/dist/{7461.js.LICENSE.txt → 6599.js.LICENSE.txt} +0 -0
- /package/dist/{7560.js.LICENSE.txt → 6749.js.LICENSE.txt} +0 -0
- /package/dist/{7582.js.LICENSE.txt → 7360.js.LICENSE.txt} +0 -0
- /package/dist/{7626.js.LICENSE.txt → 7579.js.LICENSE.txt} +0 -0
- /package/dist/{8100.js.LICENSE.txt → 760.js.LICENSE.txt} +0 -0
- /package/dist/{8116.js.LICENSE.txt → 7797.js.LICENSE.txt} +0 -0
- /package/dist/{8126.js.LICENSE.txt → 7864.js.LICENSE.txt} +0 -0
- /package/dist/{8210.js.LICENSE.txt → 7884.js.LICENSE.txt} +0 -0
- /package/dist/{8471.js.LICENSE.txt → 7912.js.LICENSE.txt} +0 -0
- /package/dist/{85.js.LICENSE.txt → 7942.js.LICENSE.txt} +0 -0
- /package/dist/{872.js.LICENSE.txt → 8454.js.LICENSE.txt} +0 -0
- /package/dist/{8799.js.LICENSE.txt → 8472.js.LICENSE.txt} +0 -0
- /package/dist/{8902.js.LICENSE.txt → 8708.js.LICENSE.txt} +0 -0
- /package/dist/{8956.js.LICENSE.txt → 8874.js.LICENSE.txt} +0 -0
- /package/dist/{92.js.LICENSE.txt → 8953.js.LICENSE.txt} +0 -0
- /package/dist/{9558.js.LICENSE.txt → 8966.js.LICENSE.txt} +0 -0
- /package/dist/{9768.js.LICENSE.txt → 9001.js.LICENSE.txt} +0 -0
- /package/dist/{9818.js.LICENSE.txt → 9441.js.LICENSE.txt} +0 -0
- /package/dist/{9849.js.LICENSE.txt → 9570.js.LICENSE.txt} +0 -0
- /package/dist/{9980.js.LICENSE.txt → 9963.js.LICENSE.txt} +0 -0
package/dist/9570.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see 9570.js.LICENSE.txt */
|
|
2
|
+
"use strict";(self.webpackChunk_public_ui_sample_react=self.webpackChunk_public_ui_sample_react||[]).push([[9570],{7128:(t,e,a)=>{a.d(e,{v:()=>n});var i=a(3409);const s=new Set([...new Set(['"left", "right"']),...new Set(['"bottom", "top"'])]),n=(t,e,a)=>{(0,i.w)(t,e,(t=>"bottom"===t||"left"===t||"right"===t||"top"===t),s,a,{defaultValue:"top"})}},3139:(t,e,a)=>{a.d(e,{a:()=>s,v:()=>n});var i=a(3409);const s=(t,e)=>{(0,i.w)(t,"_variant",(t=>"primary"===t||"secondary"===t||"normal"===t||"danger"===t||"ghost"===t||"custom"===t),new Set(["KoliBriButtonVariant {primary, secondary, normal, danger, ghost, custom}"]),e,{defaultValue:"normal"})},n=(t,e)=>{(0,i.d)(t,"_customClass",e,{defaultValue:void 0})}},5716:(t,e,a)=>{a.d(e,{t:()=>h});var i=a(1511),s=a(4186);const n={error:"Fehler",warning:"Warnung",info:"Hinweis",success:"Erfolg",message:"Nachricht",close:"Schließen","form-description":"Formular-Felder, die mit einem Sternchen (*) gekennzeichnet sind, sind Pflichtangaben.",of:"von",characters:"Zeichen",new:"Neu","no-entries":"Es sind keine Einträge vorhanden.","change-order":"Sortierung von {{colLabel}} ändern","action-running":"Aktion wird ausgeführt...","action-done":"Aktion abgeschlossen",pagination:"Paginierung","page-first":"Direkt zur ersten Seite","page-back":"Eine Seite zurück","page-next":"Eine Seite weiter","page-last":"Direkt zur letzten Seite","entries-per-site":"Einträge pro Seite",page:"Seite","page-current":"Seite {{page}}","page-selected":"Seite {{page}} ist ausgewählt","page-per-site":"{{entries}} Einträge pro Seite","nav-maximize":"Navigation maximieren","nav-minimize":"Navigation minimieren","logo-description":"Logo {{orgShort}}. Bundesadler mit Flaggenstab und Schriftzug {{orgLong}}","open-link-in-tab":"Öffnet in neuem Tab.","kolibri-logo":"Logo von KoliBri","table-pagination-label":"Paginierung für die Tabelle {{label}}","avatar-alt":"Avatar von {{name}}","toast-close-all":"Alle schließen",version:"Versionsnummer","error-list":"Fehlerliste","error-list-message":"Bitte korrigieren Sie folgende Fehler:"},o={error:"Error",warning:"Warning",info:"Note",success:"Success",message:"Message",close:"Close","form-description":"Form fields marked with an asterisk (*) are mandatory.",of:"of",characters:"characters",new:"New","no-entries":"No entries available.","change-order":"Change order of {{colLabel}}","action-running":"Action is running...","action-done":"Action done",pagination:"Pagination","page-first":"Directly to the first page","page-back":"One page back","page-next":"One page further","page-last":"Directly to the last page","entries-per-site":"Entries per page",page:"Page","page-current":"Page {{page}}","page-selected":"Page {{page}} is selected","page-per-site":"{{entries}} entries per page","nav-maximize":"Maximize","nav-minimize":"Minimize","logo-description":"Logo {{orgShort}}. Federal eagle with flag staff and lettering {{orgLong}}","open-link-in-tab":"Opens in new tab.","kolibri-logo":"KoliBri logo","table-pagination-label":"Pagination for table {{label}}","avatar-alt":"Avatar of {{name}}","toast-close-all":"Close all",version:"Version number","error-list":"Error list","error-list-message":"Please correct the following errors"},l=t=>Object.keys(t).reduce(((e,a)=>(e[`kol-${a}`]=t[a],e)),{}),r=new Set([t=>t("en",l(o)),t=>t("de",l(n))]);let h=(t,e)=>{const a=(0,i.g)();let s=a.translate(t,e);return s===t&&(a.addTranslations(r),s=a.translate(t,e)),s};"test"===s.p&&(h=t=>t)},9570:(t,e,a)=>{a.r(e),a.d(e,{kol_pagination:()=>b});var i=a(4566),s=a(5716),n=a(3139),o=a(88),l=a(6474),r=a(455),h=a(3409),g=a(6752),c=a(4186),p=a(5109);const d={left:"codicon codicon-debug-reverse-continue"},u={left:"codicon codicon-chevron-left"},_={right:"codicon codicon-chevron-right"},v={right:"codicon codicon-debug-continue"},b=class{constructor(t){(0,i.r)(this,t),this.nonce=(0,r.n)(),this.calcCount=(t,e=1)=>Math.ceil(t/e),this.getCount=()=>this.calcCount(this.state._max,this.state._pageSize),this.onClick=(t,e)=>{"function"==typeof this.state._on.onClick&&this.state._on.onClick(t,e),this.onChangePage(t,e)},this.onChangePage=(t,e)=>{const a=setTimeout((()=>{clearTimeout(a),"function"==typeof this.state._on.onChangePage&&this.state._on.onChangePage(t,e)}))},this.onChangePageSize=(t,e)=>{if("number"==typeof(e=parseInt(e[0]))&&e>0&&this._pageSize!==e){this._pageSize=e;const a=setTimeout((()=>{clearTimeout(a),"function"==typeof this.state._on.onChangePageSize&&this.state._on.onChangePageSize(t,this._pageSize)}))}},this.onGoToFirst={onClick:t=>{this.onClick(t,1)}},this.onGoToEnd={onClick:t=>{this.onClick(t,this.getCount())}},this.onGoBackward={onClick:t=>{this.onClick(t,this.state._page-1)}},this.onGoForward={onClick:t=>{this.onClick(t,this.state._page+1)}},this.beforePageSize=(t,e)=>{let a=e.has("_pageSize")?e.get("_pageSize"):this.state._pageSize;const i=e.has("_pageSizeOptions")?e.get("_pageSizeOptions"):this.state._pageSizeOptions;if(Array.isArray(i)&&i.length>0){const t=i.find((t=>t.value===a));a=void 0===t?i[0].value:t.value,e.set("_pageSize",a)}const s=e.has("_page")?e.get("_page"):this.state._page,n=e.has("_max")?e.get("_max"):this.state._max;this.syncPage(e,s,e.get("_pageSize"),n)},this.syncPage=(t,e,a,i)=>{if(i>0){const s=this.calcCount(i,a);s>0&&(e>s?(t.set("_page",s),this.onChangePage(c.S,s)):e<1&&(t.set("_page",1),this.onChangePage(c.S,1)))}},this.beforePageSizeOptions=(t,e)=>{const a=[];if(Array.isArray(t))for(const e of t)"number"==typeof e&&a.push({label:(0,s.t)("kol-page-per-site",{placeholders:{entries:`${e}`}}),value:e});e.set("_pageSizeOptions",a),this.beforePageSize(a,e)},this._boundaryCount=1,this._customClass=void 0,this._label=void 0,this._hasButtons=!0,this._page=void 0,this._pageSize=1,this._pageSizeOptions=[],this._on=void 0,this._siblingCount=1,this._tooltipAlign="top",this._total=void 0,this._max=void 0,this._variant="normal",this.state={_boundaryCount:1,_label:(0,s.t)("kol-pagination"),_hasButtons:{first:!0,last:!0,next:!0,previous:!0},_on:{onClick:()=>null},_page:0,_pageSize:1,_pageSizeOptions:[],_siblingCount:1,_max:0,_variant:"normal"}}render(){var t;let e=!1;const a=this.getCount(),n=Array.from(Array(a).keys()).map((t=>t+1)).map((t=>t<=this.state._boundaryCount||t>a-this.state._boundaryCount||t>=this.state._page-this.state._siblingCount&&t<=this.state._page+this.state._siblingCount?(e=!0,this.state._page===t?this.getSelectedPageButton(t):this.getUnselectedPageButton(t)):!0===e?(e=!1,(0,i.h)("li",null,(0,i.h)("span",{class:"separator",key:`${this.nonce}-el-${t}`,"aria-hidden":"true"}))):null));return(0,i.h)(i.H,{class:"kol-pagination"},(0,i.h)("nav",{"aria-label":this.state._label},(0,i.h)("ul",{class:"navigation-list"},this.state._hasButtons.first&&(0,i.h)("li",null,(0,i.h)(p.p,{class:"first",exportparts:"icon",_customClass:this.state._customClass,_disabled:this.state._page<=1,_icon:d,_hideLabel:!0,_label:(0,s.t)("kol-page-first"),_on:this.onGoToFirst,_variant:this.state._variant,_tooltipAlign:this.state._tooltipAlign})),this.state._hasButtons.previous&&(0,i.h)("li",null,(0,i.h)(p.p,{class:"previous",exportparts:"icon",_customClass:this.state._customClass,_disabled:this.state._page<=1,_icon:u,_hideLabel:!0,_label:(0,s.t)("kol-page-back"),_on:this.onGoBackward,_variant:this.state._variant,_tooltipAlign:this.state._tooltipAlign})),n,this.state._hasButtons.next&&(0,i.h)("li",null,(0,i.h)(p.p,{class:"next",exportparts:"icon",_customClass:this.state._customClass,_disabled:a<=this.state._page,_icon:_,_hideLabel:!0,_label:(0,s.t)("kol-page-next"),_on:this.onGoForward,_variant:this.state._variant,_tooltipAlign:this.state._tooltipAlign})),this.state._hasButtons.last&&(0,i.h)("li",null,(0,i.h)(p.p,{class:"last",exportparts:"icon",_customClass:this.state._customClass,_disabled:a<=this.state._page,_icon:v,_hideLabel:!0,_label:(0,s.t)("kol-page-last"),_on:this.onGoToEnd,_variant:this.state._variant,_tooltipAlign:this.state._tooltipAlign})))),(null===(t=this.state._pageSizeOptions)||void 0===t?void 0:t.length)>0&&(0,i.h)(p.q,{_hideLabel:!0,_id:`pagination-size-${this.nonce}`,_label:(0,s.t)("kol-entries-per-site"),_list:this.state._pageSizeOptions,_on:{onChange:this.onChangePageSize},_value:[this.state._pageSize]}))}getUnselectedPageButton(t){return(0,i.h)("li",{key:`${this.nonce}-${t}`},(0,i.h)(p.p,{exportparts:"icon",_customClass:this.state._customClass,_label:"",_on:{onClick:e=>{this.onClick(e,t)}},_variant:this.state._variant},(0,i.h)("span",{slot:"expert"},(0,i.h)("span",{class:"visually-hidden"},(0,s.t)("kol-page"))," ",t)))}getSelectedPageButton(t){return(0,i.h)("li",{key:`${this.nonce}-selected`},(0,i.h)(p.d,{class:"selected",_customClass:this.state._customClass,_disabled:!0,_ariaCurrent:!0,_label:"",_variant:this.state._variant},(0,i.h)("span",{slot:"expert"},(0,i.h)("span",{class:"visually-hidden"},(0,s.t)("kol-page"))," ",t)))}validateBoundaryCount(t){(0,h.e)(this,"_boundaryCount",Math.max(0,null!=t?t:1))}validateCustomClass(t){(0,n.v)(this,t)}validateLabel(t,e,a=!1){a||(0,g.r)(this.state._label),(0,o.v)(this,t),(0,g.a)(this.state._label)}validateHasButtons(t){(0,h.w)(this,"_hasButtons",(t=>"boolean"==typeof t||"string"==typeof t||"object"==typeof t&&null!==t),new Set(["Boolean","PaginationHasButton"]),t,{hooks:{beforePatch:(t,e)=>{if("boolean"==typeof t)e.set("_hasButtons",{first:t,last:t,next:t,previous:t});else{if("string"==typeof t)try{t=(0,h.p)(t)}catch(t){e.delete("_hasButtons")}"object"==typeof t&&null!==t&&e.set("_hasButtons",Object.assign(Object.assign({},this.state._hasButtons),{first:"boolean"==typeof t.first?!0===t.first:this.state._hasButtons.first,last:"boolean"==typeof t.last?!0===t.last:this.state._hasButtons.last,next:"boolean"==typeof t.next?!0===t.next:this.state._hasButtons.next,previous:"boolean"==typeof t.previous?!0===t.previous:this.state._hasButtons.previous}))}}}})}validateOn(t){"object"==typeof t&&null!==t&&(this.state=Object.assign(Object.assign({},this.state),{_on:t}))}validatePage(t){(0,h.e)(this,"_page",t,{hooks:{beforePatch:(t,e)=>{const a=e.has("_pageSize")?e.get("_pageSize"):this.state._pageSize,i=e.has("_max")?e.get("_max"):this.state._max;this.syncPage(e,t,a,i)}}})}validatePageSize(t){(0,h.e)(this,"_pageSize",t,{hooks:{beforePatch:this.beforePageSize}})}validatePageSizeOptions(t){(0,h.c)(this,"_pageSizeOptions",(t=>"number"==typeof t),t,void 0,{hooks:{beforePatch:this.beforePageSizeOptions}})}validateSiblingCount(t){(0,h.e)(this,"_siblingCount",Math.max(0,null!=t?t:1))}validateTotal(t){this.validateMax(t)}validateMax(t){((t,e,a)=>{(0,h.e)(t,"_max",e,a)})(this,t,{hooks:{beforePatch:(t,e)=>{const a=e.has("_page")?e.get("_page"):this.state._page,i=e.has("_pageSize")?e.get("_pageSize"):this.state._pageSize;this.syncPage(e,a,i,t)}}})}validateTooltipAlign(t){(0,l.v)(this,t)}validateVariant(t){(0,n.a)(this,t)}componentWillLoad(){this.validateBoundaryCount(this._boundaryCount),this.validateCustomClass(this._customClass),this.validateHasButtons(this._hasButtons),this.validateLabel(this._label,void 0,!0),this.validateOn(this._on),this.validatePage(this._page),this.validatePageSize(this._pageSize),this.validatePageSizeOptions(this._pageSizeOptions),this.validateSiblingCount(this._siblingCount),this.validateTooltipAlign(this._tooltipAlign),this.validateMax(this._max||this._total),this.validateVariant(this._variant),this.validatePage(this._page)}disconnectedCallback(){(0,g.r)(this.state._label)}static get watchers(){return{_boundaryCount:["validateBoundaryCount"],_customClass:["validateCustomClass"],_label:["validateLabel"],_hasButtons:["validateHasButtons"],_on:["validateOn"],_page:["validatePage"],_pageSize:["validatePageSize"],_pageSizeOptions:["validatePageSizeOptions"],_siblingCount:["validateSiblingCount"],_total:["validateTotal"],_max:["validateMax"],_tooltipAlign:["validateTooltipAlign"],_variant:["validateVariant"]}}};b.style={default:'@charset "UTF-8";:host{--a11y-min-size:44px;background-color:white;color:black;font-family:Verdana}*{hyphens:auto;letter-spacing:inherit;word-break:break-word;word-spacing:inherit}[role=button],button:not([role=link]),.kol-input .input{min-height:var(--a11y-min-size);min-width:var(--a11y-min-size)}a,button,h1,h2,h3,h4,h5,h6,input,option,select,textarea{font-family:inherit;font-size:inherit}.visually-hidden{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}:is(a,button){background-color:transparent;border:none;margin:0;padding:0;width:100%;}[hidden]{display:none !important}:host{max-width:100%}*{box-sizing:border-box}.kol-span-wc{display:grid;place-items:center}.kol-span-wc>span{display:flex;place-items:center}a,button{cursor:pointer}.icon-only>.kol-span-wc>span>span{display:none}.hidden{display:none;visibility:hidden}.navigation-list{list-style:none}.separator:before{content:"•••"}'}},88:(t,e,a)=>{a.d(e,{a:()=>c,c:()=>r,h:()=>l,v:()=>g});var i=a(216),s=a(3409);const n=/[a-zA-Z0-9äöüÄÖÜß]/g,o=/^\d+$/;function l(t,e=1){return function(t){var e;return"string"==typeof t&&(null===(e=t.match(n))||void 0===e?void 0:e.length)||0}(t)>=e}function r(t){return o.test(t)}const h=new Set(["string"]),g=(t,e,a={})=>{(0,s.w)(t,"_label",(t=>"string"==typeof t),h,e,function(t){var e;return Object.assign(Object.assign({},t),{hooks:{afterPatch:(e,a,s,n)=>{var o,h;"function"==typeof(null===(o=t.hooks)||void 0===o?void 0:o.afterPatch)&&(null===(h=t.hooks)||void 0===h||h.afterPatch(e,a,s,n)),"string"==typeof e&&!1===l(e,3)&&!1===r(e)&&(0,i.a)(`The heading or label ("${e}") is not accessible. A label should consist of at least three readable characters.`),"string"==typeof e&&e.length>80&&(0,i.u)("A heading or label should not be longer than 80 characters.")},beforePatch:null===(e=t.hooks)||void 0===e?void 0:e.beforePatch}})}(a))},c=g},6474:(t,e,a)=>{a.d(e,{v:()=>s});var i=a(7128);const s=(t,e)=>{(0,i.v)(t,"_tooltipAlign",e)}},6752:(t,e,a)=>{a.d(e,{a:()=>s,r:()=>n});const i=new Set;function s(t){i.has(t)?console.error(`There already is a nav element with the label "${t}"`):i.add(t)}function n(t){i.delete(t)}}}]);
|
package/dist/9954.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_public_ui_sample_react=self.webpackChunk_public_ui_sample_react||[]).push([[9954],{9954:(e,t,i)=>{i.r(t),i.d(t,{initialize:()=>a});var r=i(455),l=i(3409);function n(e,t){try{Object.defineProperty((()=>{let e=(0,r.b)().KoliBri;return void 0===e&&(e={},Object.defineProperty((0,r.b)(),"KoliBri",{value:e,writable:!1})),e})(),e,{get:function(){return t}})}catch(t){r.L.debug(`KoliBri property ${e} is already bind.`)}}const o=(e,t)=>r.L.debug(`${e} ${t?"":"not "}activated`),a=()=>{if((0,r.i)(),(0,r.c)()){(0,r.r)(),n("a11yColorContrast",l.q),n("querySelector",l.k),n("querySelectorAll",l.t),n("querySelectorColors",l.u),n("utils",(function(){return l.n})),n("parseJson",l.p),n("stringifyJson",l.v);const e=(0,r.g)().body,t=(0,r.g)().createElement("svg");if(t.setAttribute("aria-label","KoliBri-DevTools"),t.setAttribute("xmlns","http://www.w3.org/2000/svg"),t.setAttribute("role","toolbar"),t.setAttribute("style","position: fixed;color: black;font-size: 200%;bottom: 0.25rem;right: 0.25rem;"),t.innerHTML='<svg\n xmlns="http://www.w3.org/2000/svg"\n width="50"\n height="50"\n viewBox="0 0 600 600"\n>\n <path d="M353 322L213 304V434L353 322Z" fill="#047" />\n <path d="M209 564V304L149 434L209 564Z" fill="#047" />\n <path d="M357 316L417 250L361 210L275 244L357 316Z" fill="#047" />\n <path d="M353 318L35 36L213 300L353 318Z" fill="#047" />\n <path d="M329 218L237 92L250 222L272 241L329 218Z" fill="#047" />\n <path d="M391 286L565 272L421 252L391 286Z" fill="#047" />\n</svg>',(0,r.g)().body.appendChild(t),o("Development mode",(0,r.c)()),o("Experimental mode",(0,r.a)()),o("Color contrast analysis",(0,r.d)()),(0,r.d)()){const t=setTimeout((()=>{clearTimeout(t),setInterval((()=>{l.n.queryHtmlElementColors((0,r.g)().createElement("div"),(0,l.q)(e),!1,!1)}),1e4)}),2500)}}}}}]);
|
package/dist/9963.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see 9963.js.LICENSE.txt */
|
|
2
|
+
"use strict";(self.webpackChunk_public_ui_sample_react=self.webpackChunk_public_ui_sample_react||[]).push([[9963],{7759:(t,e,a)=>{a.d(e,{v:()=>s});var i=a(3409);const s=(t,e)=>{(0,i.a)(t,"_hasCloser",e)}},9963:(t,e,a)=>{a.r(e),a.d(e,{kol_toast:()=>d});var i=a(4566),s=a(7759),o=a(88),l=a(8869),n=a(3409),h=a(5885),r=a(5109);const d=class{constructor(t){(0,i.r)(this,t),this.handleShowAndDuration=()=>{!0===this.state._show&&"number"==typeof this.state._showDuration&&this.state._showDuration>=0&&(clearTimeout(this.durationTimeout),this.durationTimeout=setTimeout((()=>{this.close()}),this.state._showDuration))},this.close=()=>{var t;this._show=!1,this.state=Object.assign(Object.assign({},this.state),{_show:!1}),void 0!==(null===(t=this._on)||void 0===t?void 0:t.onClose)&&this._on.onClose(new Event("Close"))},this.on={onClose:this.close},this._alert=!0,this._hasCloser=!1,this._heading="",this._label=void 0,this._level=1,this._on=void 0,this._show=!0,this._showDuration=1e4,this._type="default",this.state={_alert:!0,_level:1,_show:!0}}validateAlert(t){(0,n.a)(this,"_alert",t)}validateHasCloser(t){(0,s.v)(this,t)}validateHeading(t){this.validateLabel(t)}validateLabel(t){(0,o.v)(this,t)}validateLevel(t){(0,h.w)(this,t)}validateOn(t){"object"!=typeof t||"function"!=typeof(null==t?void 0:t.onClose)&&!0!==t.onClose||(0,n.s)(this,"_on",{onClose:t.onClose})}validateShow(t){(0,l.v)(this,t,{hooks:{afterPatch:this.handleShowAndDuration}})}validateShowDuration(t){(0,n.e)(this,"_showDuration",t,{hooks:{afterPatch:this.handleShowAndDuration}})}validateType(t){(0,n.w)(this,"_type",(t=>"string"==typeof t&&("default"===t||"error"===t||"info"===t||"success"===t||"warning"===t)),new Set("String {success, info, warning, error}"),t)}componentWillLoad(){this.validateAlert(this._alert),this.validateHasCloser(this._hasCloser),this.validateLabel(this._label||this._heading),this.validateLevel(this._level),this.validateOn(this._on),this.validateShow(this._show),this.validateShowDuration(this._showDuration),this.validateType(this._type)}render(){return(0,i.h)(i.H,{key:"0542a43b3083b6cbb7adadaed3551ab94f9b1879",class:"kol-toast"},this.state._show&&(0,i.h)("div",{key:"0916074ad0021f2ae726b8678d6535c2c08c42ec"},(0,i.h)(r.l,{key:"50fce2512d5268de53a02272fbaa565c65915c2d",_alert:this.state._alert,_label:this.state._label,_level:this.state._level,_hasCloser:this.state._hasCloser,_type:this.state._type,_variant:"card",_on:this.on,class:"kol-alert"},(0,i.h)("slot",{key:"88703cc54794c0630b91cf44707fef95c9da925a"}))))}static get watchers(){return{_alert:["validateAlert"],_hasCloser:["validateHasCloser"],_heading:["validateHeading"],_label:["validateLabel"],_level:["validateLevel"],_on:["validateOn"],_show:["validateShow"],_showDuration:["validateShowDuration"],_type:["validateType"]}}};d.style={default:":host{--a11y-min-size:44px;background-color:white;color:black;font-family:Verdana}*{hyphens:auto;letter-spacing:inherit;word-break:break-word;word-spacing:inherit}[role=button],button:not([role=link]),.kol-input .input{min-height:var(--a11y-min-size);min-width:var(--a11y-min-size)}a,button,h1,h2,h3,h4,h5,h6,input,option,select,textarea{font-family:inherit;font-size:inherit}.visually-hidden{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}:is(a,button){background-color:transparent;border:none;margin:0;padding:0;width:100%;}[hidden]{display:none !important}:host{max-width:100%}*{box-sizing:border-box}.kol-span-wc{display:grid;place-items:center}.kol-span-wc>span{display:flex;place-items:center}a,button{cursor:pointer}.icon-only>.kol-span-wc>span>span{display:none}.hidden{display:none;visibility:hidden}:host{display:block}:host>div{background-color:#fff;height:0;left:0;position:fixed;top:0;width:100%;z-index:200}:host>div>.kol-alert{display:block;margin:auto;max-width:750px}:host>div>.kol-button-wc{display:block;margin:auto;position:relative;top:0;width:1em}"}},88:(t,e,a)=>{a.d(e,{a:()=>c,c:()=>h,h:()=>n,v:()=>d});var i=a(216),s=a(3409);const o=/[a-zA-Z0-9äöüÄÖÜß]/g,l=/^\d+$/;function n(t,e=1){return function(t){var e;return"string"==typeof t&&(null===(e=t.match(o))||void 0===e?void 0:e.length)||0}(t)>=e}function h(t){return l.test(t)}const r=new Set(["string"]),d=(t,e,a={})=>{(0,s.w)(t,"_label",(t=>"string"==typeof t),r,e,function(t){var e;return Object.assign(Object.assign({},t),{hooks:{afterPatch:(e,a,s,o)=>{var l,r;"function"==typeof(null===(l=t.hooks)||void 0===l?void 0:l.afterPatch)&&(null===(r=t.hooks)||void 0===r||r.afterPatch(e,a,s,o)),"string"==typeof e&&!1===n(e,3)&&!1===h(e)&&(0,i.a)(`The heading or label ("${e}") is not accessible. A label should consist of at least three readable characters.`),"string"==typeof e&&e.length>80&&(0,i.u)("A heading or label should not be longer than 80 characters.")},beforePatch:null===(e=t.hooks)||void 0===e?void 0:e.beforePatch}})}(a))},c=d},8869:(t,e,a)=>{a.d(e,{v:()=>s});var i=a(3409);const s=(t,e,a)=>{(0,i.a)(t,"_show",e,a)}},5885:(t,e,a)=>{a.d(e,{w:()=>s});var i=a(3409);const s=(t,e)=>{(0,i.w)(t,"_level",(t=>"number"==typeof t&&0<=t&&t<=6),new Set(["Number {0, 1, 2, 3, 4, 5, 6}"]),e,{defaultValue:1,required:!0})}}}]);
|