@public-ui/sample-react 1.7.20 → 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.
Files changed (200) hide show
  1. package/dist/1053.js +2 -0
  2. package/dist/1272.js +2 -0
  3. package/dist/1491.js +2 -0
  4. package/dist/{7192.js → 1730.js} +2 -2
  5. package/dist/1825.js +2 -0
  6. package/dist/1947.js +2 -0
  7. package/dist/2115.js +2 -0
  8. package/dist/2166.js +2 -0
  9. package/dist/2174.js +2 -0
  10. package/dist/219.js +2 -0
  11. package/dist/2264.js +2 -0
  12. package/dist/{9224.js → 2360.js} +2 -2
  13. package/dist/2375.js +2 -0
  14. package/dist/{5376.js → 2410.js} +2 -2
  15. package/dist/2544.js +2 -0
  16. package/dist/2600.js +2 -0
  17. package/dist/2605.js +2 -0
  18. package/dist/2972.js +2 -0
  19. package/dist/3022.js +2 -0
  20. package/dist/3112.js +2 -0
  21. package/dist/3167.js +2 -0
  22. package/dist/3409.js +2 -0
  23. package/dist/{2740.js → 3410.js} +2 -2
  24. package/dist/{2782.js → 3545.js} +2 -2
  25. package/dist/3564.js +1 -1
  26. package/dist/361.js +2 -0
  27. package/dist/380.js +2 -0
  28. package/dist/4041.js +2 -0
  29. package/dist/{4544.js → 4334.js} +2 -2
  30. package/dist/4357.js +2 -0
  31. package/dist/4741.js +2 -0
  32. package/dist/4771.js +2 -0
  33. package/dist/4776.js +2 -0
  34. package/dist/{3200.js → 4834.js} +2 -2
  35. package/dist/484.js +2 -0
  36. package/dist/{7808.js → 4935.js} +2 -2
  37. package/dist/5428.js +2 -0
  38. package/dist/{9544.js → 5487.js} +2 -2
  39. package/dist/5602.js +2 -0
  40. package/dist/5654.js +2 -0
  41. package/dist/5734.js +2 -0
  42. package/dist/{2812.js → 5916.js} +2 -2
  43. package/dist/5993.js +2 -0
  44. package/dist/{4020.js → 6121.js} +2 -2
  45. package/dist/{4728.js → 6313.js} +2 -2
  46. package/dist/6330.js +2 -0
  47. package/dist/{1940.js → 6398.js} +2 -2
  48. package/dist/642.js +2 -0
  49. package/dist/6569.js +2 -0
  50. package/dist/{104.js → 658.js} +2 -2
  51. package/dist/{6112.js → 6599.js} +2 -2
  52. package/dist/6749.js +2 -0
  53. package/dist/7360.js +2 -0
  54. package/dist/{8524.js → 7579.js} +2 -2
  55. package/dist/760.js +2 -0
  56. package/dist/7797.js +2 -0
  57. package/dist/7864.js +2 -0
  58. package/dist/7884.js +2 -0
  59. package/dist/{5839.js → 7912.js} +2 -2
  60. package/dist/7942.js +2 -0
  61. package/dist/{9888.js → 8454.js} +2 -2
  62. package/dist/8472.js +2 -0
  63. package/dist/8708.js +2 -0
  64. package/dist/{5628.js → 8874.js} +2 -2
  65. package/dist/8915.js +1 -0
  66. package/dist/8953.js +2 -0
  67. package/dist/8966.js +2 -0
  68. package/dist/9001.js +2 -0
  69. package/dist/9441.js +2 -0
  70. package/dist/9570.js +2 -0
  71. package/dist/9954.js +1 -0
  72. package/dist/9963.js +2 -0
  73. package/dist/main.js +1 -1
  74. package/dist/main.js.LICENSE.txt +2 -2
  75. package/package.json +16 -16
  76. package/src/scenarios/appointment-form/AppointmentForm.tsx +1 -1
  77. package/src/scenarios/appointment-form/AvailableAppointmentsForm.tsx +50 -52
  78. package/src/scenarios/appointment-form/DistrictForm.tsx +11 -8
  79. package/src/scenarios/appointment-form/formUtils.ts +2 -4
  80. package/dist/1296.js +0 -2
  81. package/dist/1300.js +0 -2
  82. package/dist/1461.js +0 -2
  83. package/dist/1624.js +0 -2
  84. package/dist/1684.js +0 -2
  85. package/dist/1720.js +0 -2
  86. package/dist/1888.js +0 -2
  87. package/dist/2120.js +0 -2
  88. package/dist/2240.js +0 -2
  89. package/dist/2444.js +0 -2
  90. package/dist/2628.js +0 -2
  91. package/dist/276.js +0 -2
  92. package/dist/2764.js +0 -2
  93. package/dist/3180.js +0 -2
  94. package/dist/3204.js +0 -2
  95. package/dist/352.js +0 -2
  96. package/dist/3524.js +0 -2
  97. package/dist/3920.js +0 -2
  98. package/dist/4136.js +0 -1
  99. package/dist/4184.js +0 -2
  100. package/dist/4768.js +0 -2
  101. package/dist/4915.js +0 -2
  102. package/dist/4988.js +0 -2
  103. package/dist/5228.js +0 -2
  104. package/dist/5615.js +0 -2
  105. package/dist/5744.js +0 -2
  106. package/dist/5768.js +0 -2
  107. package/dist/5956.js +0 -2
  108. package/dist/5972.js +0 -2
  109. package/dist/6040.js +0 -2
  110. package/dist/6133.js +0 -2
  111. package/dist/6272.js +0 -2
  112. package/dist/7312.js +0 -2
  113. package/dist/7344.js +0 -2
  114. package/dist/736.js +0 -2
  115. package/dist/7496.js +0 -2
  116. package/dist/7508.js +0 -2
  117. package/dist/7596.js +0 -2
  118. package/dist/7712.js +0 -2
  119. package/dist/8188.js +0 -2
  120. package/dist/8232.js +0 -2
  121. package/dist/8248.js +0 -2
  122. package/dist/828.js +0 -2
  123. package/dist/8360.js +0 -1
  124. package/dist/8476.js +0 -2
  125. package/dist/9088.js +0 -2
  126. package/dist/9404.js +0 -2
  127. package/dist/9424.js +0 -2
  128. package/dist/9432.js +0 -2
  129. package/dist/9496.js +0 -2
  130. package/dist/9680.js +0 -2
  131. package/dist/9984.js +0 -2
  132. /package/dist/{104.js.LICENSE.txt → 1053.js.LICENSE.txt} +0 -0
  133. /package/dist/{1296.js.LICENSE.txt → 1272.js.LICENSE.txt} +0 -0
  134. /package/dist/{1300.js.LICENSE.txt → 1491.js.LICENSE.txt} +0 -0
  135. /package/dist/{1461.js.LICENSE.txt → 1730.js.LICENSE.txt} +0 -0
  136. /package/dist/{1624.js.LICENSE.txt → 1825.js.LICENSE.txt} +0 -0
  137. /package/dist/{1684.js.LICENSE.txt → 1947.js.LICENSE.txt} +0 -0
  138. /package/dist/{1720.js.LICENSE.txt → 2115.js.LICENSE.txt} +0 -0
  139. /package/dist/{1888.js.LICENSE.txt → 2166.js.LICENSE.txt} +0 -0
  140. /package/dist/{1940.js.LICENSE.txt → 2174.js.LICENSE.txt} +0 -0
  141. /package/dist/{2120.js.LICENSE.txt → 219.js.LICENSE.txt} +0 -0
  142. /package/dist/{2240.js.LICENSE.txt → 2264.js.LICENSE.txt} +0 -0
  143. /package/dist/{2444.js.LICENSE.txt → 2360.js.LICENSE.txt} +0 -0
  144. /package/dist/{2628.js.LICENSE.txt → 2375.js.LICENSE.txt} +0 -0
  145. /package/dist/{2740.js.LICENSE.txt → 2410.js.LICENSE.txt} +0 -0
  146. /package/dist/{276.js.LICENSE.txt → 2544.js.LICENSE.txt} +0 -0
  147. /package/dist/{2764.js.LICENSE.txt → 2600.js.LICENSE.txt} +0 -0
  148. /package/dist/{2782.js.LICENSE.txt → 2605.js.LICENSE.txt} +0 -0
  149. /package/dist/{2812.js.LICENSE.txt → 2972.js.LICENSE.txt} +0 -0
  150. /package/dist/{3180.js.LICENSE.txt → 3022.js.LICENSE.txt} +0 -0
  151. /package/dist/{3200.js.LICENSE.txt → 3112.js.LICENSE.txt} +0 -0
  152. /package/dist/{3204.js.LICENSE.txt → 3167.js.LICENSE.txt} +0 -0
  153. /package/dist/{352.js.LICENSE.txt → 3409.js.LICENSE.txt} +0 -0
  154. /package/dist/{3524.js.LICENSE.txt → 3410.js.LICENSE.txt} +0 -0
  155. /package/dist/{3920.js.LICENSE.txt → 3545.js.LICENSE.txt} +0 -0
  156. /package/dist/{4020.js.LICENSE.txt → 361.js.LICENSE.txt} +0 -0
  157. /package/dist/{4184.js.LICENSE.txt → 380.js.LICENSE.txt} +0 -0
  158. /package/dist/{4544.js.LICENSE.txt → 4041.js.LICENSE.txt} +0 -0
  159. /package/dist/{4728.js.LICENSE.txt → 4334.js.LICENSE.txt} +0 -0
  160. /package/dist/{4768.js.LICENSE.txt → 4357.js.LICENSE.txt} +0 -0
  161. /package/dist/{4915.js.LICENSE.txt → 4741.js.LICENSE.txt} +0 -0
  162. /package/dist/{4988.js.LICENSE.txt → 4771.js.LICENSE.txt} +0 -0
  163. /package/dist/{5228.js.LICENSE.txt → 4776.js.LICENSE.txt} +0 -0
  164. /package/dist/{5376.js.LICENSE.txt → 4834.js.LICENSE.txt} +0 -0
  165. /package/dist/{5615.js.LICENSE.txt → 484.js.LICENSE.txt} +0 -0
  166. /package/dist/{5628.js.LICENSE.txt → 4935.js.LICENSE.txt} +0 -0
  167. /package/dist/{5744.js.LICENSE.txt → 5428.js.LICENSE.txt} +0 -0
  168. /package/dist/{5768.js.LICENSE.txt → 5487.js.LICENSE.txt} +0 -0
  169. /package/dist/{5839.js.LICENSE.txt → 5602.js.LICENSE.txt} +0 -0
  170. /package/dist/{5956.js.LICENSE.txt → 5654.js.LICENSE.txt} +0 -0
  171. /package/dist/{5972.js.LICENSE.txt → 5734.js.LICENSE.txt} +0 -0
  172. /package/dist/{6040.js.LICENSE.txt → 5916.js.LICENSE.txt} +0 -0
  173. /package/dist/{6112.js.LICENSE.txt → 5993.js.LICENSE.txt} +0 -0
  174. /package/dist/{6133.js.LICENSE.txt → 6121.js.LICENSE.txt} +0 -0
  175. /package/dist/{6272.js.LICENSE.txt → 6313.js.LICENSE.txt} +0 -0
  176. /package/dist/{7192.js.LICENSE.txt → 6330.js.LICENSE.txt} +0 -0
  177. /package/dist/{7312.js.LICENSE.txt → 6398.js.LICENSE.txt} +0 -0
  178. /package/dist/{7344.js.LICENSE.txt → 642.js.LICENSE.txt} +0 -0
  179. /package/dist/{736.js.LICENSE.txt → 6569.js.LICENSE.txt} +0 -0
  180. /package/dist/{7496.js.LICENSE.txt → 658.js.LICENSE.txt} +0 -0
  181. /package/dist/{7508.js.LICENSE.txt → 6599.js.LICENSE.txt} +0 -0
  182. /package/dist/{7596.js.LICENSE.txt → 6749.js.LICENSE.txt} +0 -0
  183. /package/dist/{7712.js.LICENSE.txt → 7360.js.LICENSE.txt} +0 -0
  184. /package/dist/{7808.js.LICENSE.txt → 7579.js.LICENSE.txt} +0 -0
  185. /package/dist/{8188.js.LICENSE.txt → 760.js.LICENSE.txt} +0 -0
  186. /package/dist/{8232.js.LICENSE.txt → 7797.js.LICENSE.txt} +0 -0
  187. /package/dist/{8248.js.LICENSE.txt → 7864.js.LICENSE.txt} +0 -0
  188. /package/dist/{828.js.LICENSE.txt → 7884.js.LICENSE.txt} +0 -0
  189. /package/dist/{8476.js.LICENSE.txt → 7912.js.LICENSE.txt} +0 -0
  190. /package/dist/{8524.js.LICENSE.txt → 7942.js.LICENSE.txt} +0 -0
  191. /package/dist/{9088.js.LICENSE.txt → 8454.js.LICENSE.txt} +0 -0
  192. /package/dist/{9224.js.LICENSE.txt → 8472.js.LICENSE.txt} +0 -0
  193. /package/dist/{9404.js.LICENSE.txt → 8708.js.LICENSE.txt} +0 -0
  194. /package/dist/{9424.js.LICENSE.txt → 8874.js.LICENSE.txt} +0 -0
  195. /package/dist/{9432.js.LICENSE.txt → 8953.js.LICENSE.txt} +0 -0
  196. /package/dist/{9496.js.LICENSE.txt → 8966.js.LICENSE.txt} +0 -0
  197. /package/dist/{9544.js.LICENSE.txt → 9001.js.LICENSE.txt} +0 -0
  198. /package/dist/{9680.js.LICENSE.txt → 9441.js.LICENSE.txt} +0 -0
  199. /package/dist/{9888.js.LICENSE.txt → 9570.js.LICENSE.txt} +0 -0
  200. /package/dist/{9984.js.LICENSE.txt → 9963.js.LICENSE.txt} +0 -0
package/dist/9441.js ADDED
@@ -0,0 +1,2 @@
1
+ /*! For license information please see 9441.js.LICENSE.txt */
2
+ "use strict";(self.webpackChunk_public_ui_sample_react=self.webpackChunk_public_ui_sample_react||[]).push([[9441],{9441:(e,t,a)=>{a.r(t),a.d(t,{kol_skip_nav:()=>r});var i=a(4566),n=a(88),l=a(6752),s=a(1106),o=a(5109);const r=class{constructor(e){(0,i.r)(this,e),this._ariaLabel=void 0,this._label=void 0,this._links=void 0,this.state={_label:"…",_links:[]}}render(){return(0,i.h)(i.H,{key:"0e6d86d9542b0b61bcf2b1f16aa6e06cb6857b9a",class:"kol-skip-nav"},(0,i.h)("nav",{key:"66f4d2a10303d500b2f103017fcf80ecd34a80ef","aria-label":this.state._label},(0,i.h)("ul",{key:"1e32a6232952c0bd6b723c37833c382e9e84013e"},this.state._links.map(((e,t)=>(0,i.h)("li",{key:t},(0,i.h)(o.n,Object.assign({},e))))))))}validateAriaLabel(e){this.validateLabel(e)}validateLabel(e,t,a=!1){a||(0,l.r)(this.state._label),(0,n.v)(this,e,{required:!0}),(0,l.a)(this.state._label)}validateLinks(e){(0,s.w)("KolSkipNav",this,e)}componentWillLoad(){this.validateLabel(this._label||this._ariaLabel,void 0,!0),this.validateLinks(this._links)}disconnectedCallback(){(0,l.r)(this.state._label)}static get watchers(){return{_ariaLabel:["validateAriaLabel"],_label:["validateLabel"],_links:["validateLinks"]}}};r.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}ul{display:grid;list-style:none;place-items:center}ul li{height:0}.kol-link-wc a{left:-99999px;overflow:hidden;position:absolute;z-index:9999999;line-height:1em}.kol-link-wc a:focus{background-color:#fff;left:unset;position:unset}"}},88:(e,t,a)=>{a.d(t,{a:()=>d,c:()=>r,h:()=>o,v:()=>c});var i=a(216),n=a(3409);const l=/[a-zA-Z0-9äöüÄÖÜß]/g,s=/^\d+$/;function o(e,t=1){return function(e){var t;return"string"==typeof e&&(null===(t=e.match(l))||void 0===t?void 0:t.length)||0}(e)>=t}function r(e){return s.test(e)}const h=new Set(["string"]),c=(e,t,a={})=>{(0,n.w)(e,"_label",(e=>"string"==typeof e),h,t,function(e){var t;return Object.assign(Object.assign({},e),{hooks:{afterPatch:(t,a,n,l)=>{var s,h;"function"==typeof(null===(s=e.hooks)||void 0===s?void 0:s.afterPatch)&&(null===(h=e.hooks)||void 0===h||h.afterPatch(t,a,n,l)),"string"==typeof t&&!1===o(t,3)&&!1===r(t)&&(0,i.a)(`The heading or label ("${t}") is not accessible. A label should consist of at least three readable characters.`),"string"==typeof t&&t.length>80&&(0,i.u)("A heading or label should not be longer than 80 characters.")},beforePatch:null===(t=e.hooks)||void 0===t?void 0:t.beforePatch}})}(a))},d=c},6752:(e,t,a)=>{a.d(t,{a:()=>n,r:()=>l});const i=new Set;function n(e){i.has(e)?console.error(`There already is a nav element with the label "${e}"`):i.add(e)}function l(e){i.delete(e)}},1106:(e,t,a)=>{a.d(t,{w:()=>l});var i=a(216),n=a(3409);const l=(e,t,a)=>{(0,n.c)(t,"_links",(e=>"object"==typeof e&&("string"==typeof e._href||"string"==typeof e._label)),a),(0,i.c)(e,t.state._links.length)}}}]);
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})}}}]);