@public-ui/sample-react 2.0.13 → 2.0.15
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/1266.js +2 -0
- package/dist/{2186.js → 1396.js} +2 -2
- package/dist/{7240.js → 1430.js} +2 -2
- package/dist/{1699.js → 1601.js} +2 -2
- package/dist/1786.js +2 -0
- package/dist/{2619.js → 1797.js} +2 -2
- package/dist/1832.js +2 -0
- package/dist/200.js +2 -0
- package/dist/2441.js +2 -0
- package/dist/2462.js +2 -0
- package/dist/2605.js +2 -0
- package/dist/2728.js +2 -0
- package/dist/2960.js +2 -0
- package/dist/{9622.js → 3460.js} +2 -2
- package/dist/3492.js +2 -0
- package/dist/{9829.js → 3503.js} +2 -2
- package/dist/3838.js +2 -0
- package/dist/{9179.js → 3845.js} +2 -2
- package/dist/3882.js +2 -0
- package/dist/3965.js +2 -0
- package/dist/{9183.js → 4181.js} +2 -2
- package/dist/{5172.js → 4294.js} +2 -2
- package/dist/4604.js +2 -0
- package/dist/4737.js +2 -0
- package/dist/{7950.js → 4972.js} +2 -2
- package/dist/{9190.js → 5020.js} +2 -2
- package/dist/5076.js +2 -0
- package/dist/{3525.js → 5114.js} +2 -2
- package/dist/5204.js +2 -0
- package/dist/{9485.js → 5399.js} +2 -2
- package/dist/5514.js +2 -0
- package/dist/5522.js +2 -0
- package/dist/5677.js +2 -0
- package/dist/{2015.js → 5781.js} +2 -2
- package/dist/5813.js +2 -0
- package/dist/5829.js +2 -0
- package/dist/6320.js +2 -0
- package/dist/6473.js +2 -0
- package/dist/648.js +2 -0
- package/dist/6531.js +2 -0
- package/dist/6567.js +2 -0
- package/dist/{7435.js → 6649.js} +2 -2
- package/dist/6717.js +2 -0
- package/dist/6731.js +2 -0
- package/dist/{9993.js → 6971.js} +2 -2
- package/dist/6974.js +2 -0
- package/dist/7157.js +2 -0
- package/dist/7162.js +2 -0
- package/dist/{9237.js → 7163.js} +2 -2
- package/dist/{6357.js → 7183.js} +2 -2
- package/dist/7310.js +2 -0
- package/dist/7391.js +2 -0
- package/dist/7461.js +2 -0
- package/dist/7560.js +2 -0
- package/dist/{5784.js → 7582.js} +2 -2
- package/dist/8100.js +2 -0
- package/dist/8116.js +2 -0
- package/dist/8126.js +2 -0
- package/dist/{5896.js → 8210.js} +2 -2
- package/dist/{3073.js → 8251.js} +2 -2
- package/dist/{7748.js → 8286.js} +2 -2
- package/dist/8471.js +2 -0
- package/dist/85.js +2 -0
- package/dist/{4937.js → 8799.js} +2 -2
- package/dist/8902.js +2 -0
- package/dist/8956.js +2 -0
- package/dist/92.js +2 -0
- package/dist/{8240.js → 9558.js} +2 -2
- package/dist/9768.js +2 -0
- package/dist/{3028.js → 9818.js} +2 -2
- package/dist/9849.js +2 -0
- package/dist/9849.js.LICENSE.txt +3 -0
- package/dist/989.js +2 -0
- package/dist/989.js.LICENSE.txt +3 -0
- package/dist/{7086.js → 9980.js} +2 -2
- package/dist/9980.js.LICENSE.txt +3 -0
- package/dist/main.js +1 -1
- package/dist/main.js.LICENSE.txt +2 -2
- package/package.json +15 -15
- package/src/components/handout/basic.tsx +3 -4
- package/src/components/input-checkbox/partials/cases.tsx +5 -51
- package/src/components/table/badge-size.tsx +2 -1
- package/src/components/table/horizontal-scrollbar.tsx +1 -0
- package/src/components/table/pagination-position.tsx +2 -1
- package/src/components/table/render-cell.tsx +1 -0
- package/src/components/table/routes.ts +2 -0
- package/src/components/table/sort-data.tsx +1 -1
- package/src/components/table/stateless.tsx +42 -0
- package/src/components/table/with-pagination.tsx +2 -1
- package/src/react.main.tsx +2 -2
- package/src/shares/theme.ts +6 -2
- package/dist/1051.js +0 -2
- package/dist/1278.js +0 -2
- package/dist/1499.js +0 -2
- package/dist/1502.js +0 -2
- package/dist/1517.js +0 -2
- package/dist/1848.js +0 -2
- package/dist/1940.js +0 -2
- package/dist/2156.js +0 -2
- package/dist/2182.js +0 -2
- package/dist/2439.js +0 -2
- package/dist/2624.js +0 -2
- package/dist/2671.js +0 -2
- package/dist/2926.js +0 -2
- package/dist/3316.js +0 -2
- package/dist/3448.js +0 -2
- package/dist/351.js +0 -2
- package/dist/3625.js +0 -2
- package/dist/4619.js +0 -2
- package/dist/528.js +0 -2
- package/dist/5342.js +0 -2
- package/dist/5431.js +0 -2
- package/dist/5615.js +0 -2
- package/dist/6114.js +0 -2
- package/dist/6329.js +0 -2
- package/dist/6511.js +0 -2
- package/dist/710.js +0 -2
- package/dist/7160.js +0 -2
- package/dist/7628.js +0 -2
- package/dist/7732.js +0 -2
- package/dist/7986.js +0 -2
- package/dist/8247.js +0 -2
- package/dist/8256.js +0 -2
- package/dist/8494.js +0 -2
- package/dist/8507.js +0 -2
- package/dist/9021.js +0 -2
- package/dist/9035.js +0 -2
- package/dist/9094.js +0 -2
- package/dist/9246.js +0 -2
- package/dist/9456.js +0 -2
- package/dist/9483.js +0 -2
- package/dist/9528.js +0 -2
- package/dist/97.js +0 -2
- package/dist/9758.js +0 -2
- package/dist/9918.js +0 -2
- /package/dist/{1051.js.LICENSE.txt → 1266.js.LICENSE.txt} +0 -0
- /package/dist/{1278.js.LICENSE.txt → 1396.js.LICENSE.txt} +0 -0
- /package/dist/{1499.js.LICENSE.txt → 1430.js.LICENSE.txt} +0 -0
- /package/dist/{1502.js.LICENSE.txt → 1601.js.LICENSE.txt} +0 -0
- /package/dist/{1517.js.LICENSE.txt → 1786.js.LICENSE.txt} +0 -0
- /package/dist/{1699.js.LICENSE.txt → 1797.js.LICENSE.txt} +0 -0
- /package/dist/{1848.js.LICENSE.txt → 1832.js.LICENSE.txt} +0 -0
- /package/dist/{1940.js.LICENSE.txt → 200.js.LICENSE.txt} +0 -0
- /package/dist/{2015.js.LICENSE.txt → 2441.js.LICENSE.txt} +0 -0
- /package/dist/{2156.js.LICENSE.txt → 2462.js.LICENSE.txt} +0 -0
- /package/dist/{2182.js.LICENSE.txt → 2605.js.LICENSE.txt} +0 -0
- /package/dist/{2186.js.LICENSE.txt → 2728.js.LICENSE.txt} +0 -0
- /package/dist/{2439.js.LICENSE.txt → 2960.js.LICENSE.txt} +0 -0
- /package/dist/{2619.js.LICENSE.txt → 3460.js.LICENSE.txt} +0 -0
- /package/dist/{2624.js.LICENSE.txt → 3492.js.LICENSE.txt} +0 -0
- /package/dist/{2671.js.LICENSE.txt → 3503.js.LICENSE.txt} +0 -0
- /package/dist/{2926.js.LICENSE.txt → 3838.js.LICENSE.txt} +0 -0
- /package/dist/{3028.js.LICENSE.txt → 3845.js.LICENSE.txt} +0 -0
- /package/dist/{3073.js.LICENSE.txt → 3882.js.LICENSE.txt} +0 -0
- /package/dist/{3316.js.LICENSE.txt → 3965.js.LICENSE.txt} +0 -0
- /package/dist/{3448.js.LICENSE.txt → 4181.js.LICENSE.txt} +0 -0
- /package/dist/{351.js.LICENSE.txt → 4294.js.LICENSE.txt} +0 -0
- /package/dist/{3525.js.LICENSE.txt → 4604.js.LICENSE.txt} +0 -0
- /package/dist/{3625.js.LICENSE.txt → 4737.js.LICENSE.txt} +0 -0
- /package/dist/{4619.js.LICENSE.txt → 4972.js.LICENSE.txt} +0 -0
- /package/dist/{4937.js.LICENSE.txt → 5020.js.LICENSE.txt} +0 -0
- /package/dist/{5172.js.LICENSE.txt → 5076.js.LICENSE.txt} +0 -0
- /package/dist/{528.js.LICENSE.txt → 5114.js.LICENSE.txt} +0 -0
- /package/dist/{5342.js.LICENSE.txt → 5204.js.LICENSE.txt} +0 -0
- /package/dist/{5431.js.LICENSE.txt → 5399.js.LICENSE.txt} +0 -0
- /package/dist/{5615.js.LICENSE.txt → 5514.js.LICENSE.txt} +0 -0
- /package/dist/{5784.js.LICENSE.txt → 5522.js.LICENSE.txt} +0 -0
- /package/dist/{5896.js.LICENSE.txt → 5677.js.LICENSE.txt} +0 -0
- /package/dist/{6114.js.LICENSE.txt → 5781.js.LICENSE.txt} +0 -0
- /package/dist/{6329.js.LICENSE.txt → 5813.js.LICENSE.txt} +0 -0
- /package/dist/{6357.js.LICENSE.txt → 5829.js.LICENSE.txt} +0 -0
- /package/dist/{6511.js.LICENSE.txt → 6320.js.LICENSE.txt} +0 -0
- /package/dist/{7086.js.LICENSE.txt → 6473.js.LICENSE.txt} +0 -0
- /package/dist/{710.js.LICENSE.txt → 648.js.LICENSE.txt} +0 -0
- /package/dist/{7160.js.LICENSE.txt → 6531.js.LICENSE.txt} +0 -0
- /package/dist/{7240.js.LICENSE.txt → 6567.js.LICENSE.txt} +0 -0
- /package/dist/{7435.js.LICENSE.txt → 6649.js.LICENSE.txt} +0 -0
- /package/dist/{7628.js.LICENSE.txt → 6717.js.LICENSE.txt} +0 -0
- /package/dist/{7732.js.LICENSE.txt → 6731.js.LICENSE.txt} +0 -0
- /package/dist/{7748.js.LICENSE.txt → 6971.js.LICENSE.txt} +0 -0
- /package/dist/{7950.js.LICENSE.txt → 6974.js.LICENSE.txt} +0 -0
- /package/dist/{7986.js.LICENSE.txt → 7157.js.LICENSE.txt} +0 -0
- /package/dist/{8240.js.LICENSE.txt → 7162.js.LICENSE.txt} +0 -0
- /package/dist/{8247.js.LICENSE.txt → 7163.js.LICENSE.txt} +0 -0
- /package/dist/{8256.js.LICENSE.txt → 7183.js.LICENSE.txt} +0 -0
- /package/dist/{8494.js.LICENSE.txt → 7310.js.LICENSE.txt} +0 -0
- /package/dist/{8507.js.LICENSE.txt → 7391.js.LICENSE.txt} +0 -0
- /package/dist/{9021.js.LICENSE.txt → 7461.js.LICENSE.txt} +0 -0
- /package/dist/{9035.js.LICENSE.txt → 7560.js.LICENSE.txt} +0 -0
- /package/dist/{9094.js.LICENSE.txt → 7582.js.LICENSE.txt} +0 -0
- /package/dist/{9179.js.LICENSE.txt → 8100.js.LICENSE.txt} +0 -0
- /package/dist/{9183.js.LICENSE.txt → 8116.js.LICENSE.txt} +0 -0
- /package/dist/{9190.js.LICENSE.txt → 8126.js.LICENSE.txt} +0 -0
- /package/dist/{9237.js.LICENSE.txt → 8210.js.LICENSE.txt} +0 -0
- /package/dist/{9246.js.LICENSE.txt → 8251.js.LICENSE.txt} +0 -0
- /package/dist/{9456.js.LICENSE.txt → 8286.js.LICENSE.txt} +0 -0
- /package/dist/{9483.js.LICENSE.txt → 8471.js.LICENSE.txt} +0 -0
- /package/dist/{9485.js.LICENSE.txt → 85.js.LICENSE.txt} +0 -0
- /package/dist/{9528.js.LICENSE.txt → 8799.js.LICENSE.txt} +0 -0
- /package/dist/{9622.js.LICENSE.txt → 8902.js.LICENSE.txt} +0 -0
- /package/dist/{97.js.LICENSE.txt → 8956.js.LICENSE.txt} +0 -0
- /package/dist/{9758.js.LICENSE.txt → 92.js.LICENSE.txt} +0 -0
- /package/dist/{9829.js.LICENSE.txt → 9558.js.LICENSE.txt} +0 -0
- /package/dist/{9918.js.LICENSE.txt → 9768.js.LICENSE.txt} +0 -0
- /package/dist/{9993.js.LICENSE.txt → 9818.js.LICENSE.txt} +0 -0
package/dist/{3028.js → 9818.js}
RENAMED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! For license information please see
|
|
2
|
-
"use strict";(self.webpackChunk_public_ui_sample_react=self.webpackChunk_public_ui_sample_react||[]).push([[
|
|
1
|
+
/*! For license information please see 9818.js.LICENSE.txt */
|
|
2
|
+
"use strict";(self.webpackChunk_public_ui_sample_react=self.webpackChunk_public_ui_sample_react||[]).push([[9818],{8445:(n,e,t)=>{function i(n){n.stopImmediatePropagation(),n.stopPropagation()}function a(n,e,t){e&&function(n,e,t){const i=n.dispatchEvent(function(n,e){return new CustomEvent(`kol-${n}`,{bubbles:!0,cancelable:!0,composed:!0,detail:e})}(e,t))}(e,n,t)}function s(n){n.preventDefault(),i(n)}t.d(e,{p:()=>s,s:()=>i,t:()=>a})},9818:(n,e,t)=>{t.r(e),t.d(e,{kol_details:()=>d});var i=t(5364),a=t(1717),s=t(8445),o=t(3202);class l{constructor(n,e,t){this.detailsElement=n,this.summaryElement=e,this.contentElement=t,this.isClosing=!1,this.isExpanding=!1,this.summaryElement.addEventListener("click",this.handleSummaryClick.bind(this))}handleSummaryClick(n){n.preventDefault(),this.isClosing||!this.detailsElement.open?this.open():(this.isExpanding||this.detailsElement.open)&&this.collapse()}open(){this.detailsElement.open=!0,window.requestAnimationFrame(this.expand.bind(this))}expand(){this.isExpanding=!0,this.animateContentHeight("expand")}collapse(){this.isClosing=!0,this.animateContentHeight("collapse")}animateContentHeight(n){let e="expand"===n?0:this.contentElement.offsetHeight,t="expand"===n?this.contentElement.offsetHeight:0;this.animation&&(e=this.contentElement.offsetHeight,this.animation.cancel(),"expand"===n&&(t=this.contentElement.offsetHeight)),this.animation=this.contentElement.animate({height:[`${e}px`,`${t}px`]},{duration:matchMedia("(prefers-reduced-motion)").matches?0:250,easing:"ease-out"}),this.animation.addEventListener("finish",(()=>{this.onAnimationFinish()}),{once:!0}),this.animation.addEventListener("cancel",(()=>{"expand"===n?this.isExpanding=!1:this.isClosing=!1}),{once:!0})}onAnimationFinish(){this.detailsElement.open=this.isExpanding,this.animation=void 0,this.isClosing=!1,this.isExpanding=!1}}const d=class{constructor(n){(0,i.r)(this,n),this.catchDetails=n=>{this.detailsElement=n},this.catchSummary=n=>{this.summaryElement=n,(0,a.h)(this.host,this.summaryElement)},this.preventToggleIfDisabled=n=>{!0===this.state._disabled&&(0,s.p)(n)},this.handleToggle=n=>{clearTimeout(this.toggleTimeout),this.toggleTimeout=setTimeout((()=>{var e,t,i,a;Boolean(null===(e=this.detailsElement)||void 0===e?void 0:e.open)!==this.state._open&&(this._open=Boolean(null===(t=this.detailsElement)||void 0===t?void 0:t.open),(0,s.t)("toggle",this.host,this._open),"function"==typeof(null===(i=this.state._on)||void 0===i?void 0:i.onToggle)&&(null===(a=this.state._on)||void 0===a||a.onToggle(n,this._open)))}),25)},this._disabled=!1,this._label=void 0,this._on=void 0,this._open=!1,this.state={_label:"",_on:{}}}render(){return(0,i.h)(i.H,{key:"d10f3b77aece51c200586eb0aca3e36bcf93377f",class:"kol-details"},(0,i.h)("details",{key:"fc2a98dd9be0f58f2753f36cd4f9cac8f0b7f95a",ref:this.catchDetails,class:{disabled:!0===this.state._disabled,open:!0===this.state._open},onToggle:this.handleToggle},(0,i.h)("summary",{key:"630d6b7a277a32222dc0be5f6a1bf1ab0f4c4785",ref:this.catchSummary,"aria-disabled":this.state._disabled?"true":void 0,onClick:this.preventToggleIfDisabled,onKeyPress:this.preventToggleIfDisabled,tabIndex:this.state._disabled?-1:void 0},(0,i.h)(o.g,{key:"abb205a1bfa9cf5f971746b08fa5fb509cb817e3",_label:"",_icons:"codicon codicon-chevron-right",class:"icon "+(this.state._open?"is-open":"")}),(0,i.h)("span",{key:"b3c6bdd2a3e9846f834e66ad52165543c7e357e0"},this.state._label)),(0,i.h)("div",{key:"a35a8360a03f7d45faaa28eec581733c1f1f62b8","aria-hidden":!1===this.state._open?"true":void 0,class:"content",ref:n=>this.contentElement=n},(0,i.h)(o.j,{key:"82ff331139735fdcf8a696080e850b368070a592"},(0,i.h)("slot",{key:"44fcda833ae850381ad5ccd36bea739c69451755"})))))}validateDisabled(n){(0,a.i)(this,n)}validateLabel(n){(0,a.v)(this,n,{required:!0})}validateOn(n){"object"==typeof n&&null!==n&&"function"==typeof n.onToggle&&(0,a.k)(this,"_on",n)}validateOpen(n){(0,a.l)(this,n)}componentWillLoad(){this.validateDisabled(this._disabled),this.validateLabel(this._label),this.validateOn(this._on),this.validateOpen(this._open)}componentDidLoad(){if(this.detailsElement&&this.summaryElement&&this.contentElement){const n=new l(this.detailsElement,this.summaryElement,this.contentElement);this.state._open&&n.open()}}get host(){return(0,i.g)(this)}static get watchers(){return{_disabled:["validateDisabled"],_label:["validateLabel"],_on:["validateOn"],_open:["validateOpen"]}}};d.style={default:"/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: 44px;\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of 44px.\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]),\n .kol-input .input {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: 1px;\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: 1px;\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%; /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n .kol-span-wc {\n display: grid;\n place-items: center;\n }\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n .kol-span-wc > span {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .hidden {\n display: none;\n visibility: hidden;\n }\n /* This is the text label. */\n .hide-label > .kol-span-wc > span > span {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span-wc,\n [disabled]:focus .kol-span-wc {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n details {\n display: grid;\n }\n details > summary {\n cursor: pointer;\n display: flex;\n place-items: center;\n }\n details > summary > span {\n border-bottom-color: grey;\n border-bottom-style: solid;\n }\n details > summary:focus > span,\n details > summary:hover > span,\n details[open] > summary > span {\n border-bottom-color: #000;\n }\n .content {\n overflow: hidden;\n }\n details > .kol-indented-text {\n margin: 0.25em 0 0 0.5em;\n }\n .icon.is-open::part(icon) {\n transform: rotate(90deg);\n }\n}"}}}]);
|
package/dist/9849.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see 9849.js.LICENSE.txt */
|
|
2
|
+
"use strict";(self.webpackChunk_public_ui_sample_react=self.webpackChunk_public_ui_sample_react||[]).push([[9849],{3293:(e,n,t)=>{t.d(n,{t:()=>s});var i=t(1717),a=t(8597);const c={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}}","split-button-dropdown-label-open":"Optionen anzeigen","split-button-dropdown-label-close":"Optionen schließen","toast-close-all":"Alle schließen","error-list":"Fehlerliste","error-list-message":"Bitte korrigieren Sie folgende Fehler:",version:"Versionsnummer","table-visible-range":"Einträge {{start}} bis {{end}} von {{total}}"},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 navigation","nav-minimize":"Minimize navigation","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}}","split-button-dropdown-label-open":"Show options","split-button-dropdown-label-close":"Hide options","toast-close-all":"Close all","error-list":"Error list","error-list-message":"Please correct the following errors",version:"Version number","table-visible-range":"Entries {{start}} to {{end}} of {{total}}"},r=e=>Object.keys(e).reduce(((n,t)=>(n[`kol-${t}`]=e[t],n)),{}),l=new Set([e=>e("en",r(o)),e=>e("de",r(c))]);let s=(e,n)=>{const t=(0,a.g)();let i=t.translate(e,n);return i===e&&(t.addTranslations(l),i=t.translate(e,n)),i};"test"===i.p&&(s=e=>e)},9849:(e,n,t)=>{t.r(n),t.d(n,{kol_logo:()=>d});var i=t(5364),a=t(1717),c=t(8394),o=t(3293);function r(e,n=new Map){return Object.entries(e).map((([e,t])=>{n.set(t,e)})),n}const l=r(c.b,r(c.d,r(c.B))),s=()=>(0,i.h)("path",{d:"M21.72,12.77c0.04-0.33,0.06-0.67,0.06-1c0-0.2,0-0.43,0-0.69c3.06,0,5.74-2.25,5.74-4.78\nc-0.09-1.07-0.56-2.08-1.32-2.84l0.32-0.07c1,0.89,1.61,2.14,1.7,3.48c0,3-3,5.85-6.5,5.92 M18.64,2.21\nc-0.05-0.33-0.19-0.64-0.39-0.91c0-0.31,0.14-0.61,0.64-0.36c-0.27,0.27-0.06,0.76-0.06,0.76s0.55-0.26,0.44-0.62\nC20.09,1.28,19.5,2.38,18.64,2.21 M17.93,3.77c-0.12-0.47-0.34-0.9-0.64-1.27c-0.3-0.42-0.77-0.69-1.29-0.73\nc-0.34,0.03-0.68,0.12-1,0.25c-0.16-0.28-0.27-0.58-0.32-0.9c0-0.22,0.38-0.44,1.1-0.44c1.58,0,2.52,0.71,2.52,1.91\nC18.26,3.01,18.14,3.41,17.93,3.77 M22,24.16c0.13,0,0.26,0.02,0.38,0.07c0.64,1.3,1.4,2.53,2.29,3.68l0,0l0,0\nc0.81-0.14,1.63-0.22,2.45-0.24l0,0c0.1-0.01,0.2,0.01,0.28,0.07c0.07,0.09,0.1,0.2,0.09,0.31c-0.01,0.28-0.08,0.55-0.21,0.79\nc-0.46-0.4-1.07-0.59-1.68-0.51c-0.24,0.01-0.48,0.05-0.71,0.12h-0.07h-0.07l0.48,0.49c0.77,0.83,1.44,1.43,1.44,1.83\nc-0.04,0.31-0.22,0.58-0.48,0.74c-0.22-0.98-0.8-1.84-1.62-2.42h-0.06v0.27c0,0.19,0,0.47,0,0.77c0,1.49-0.15,1.72-0.67,1.72\nc-0.09,0.01-0.19,0.01-0.28,0c0.33-0.49,0.48-1.08,0.41-1.67v-0.7c0-0.27,0.03-0.53,0.06-0.8v-0.11h-0.08\nc-0.33-0.05-0.67-0.09-1-0.1c-0.57-0.07-1.14,0.07-1.6,0.41c-0.24-0.18-0.41-0.44-0.48-0.73c0-0.32,0.19-0.34,0.45-0.34\nc0.14-0.01,0.27-0.01,0.41,0c0.59,0.09,1.18,0.13,1.78,0.12h0.06v-0.06c-0.5-1.13-1.18-2.17-2-3.09c0.1-0.35,0.2-0.59,0.54-0.59\nM12.64,27.87v0.06h0.06c0.55-0.01,1.1-0.06,1.64-0.16c0.14-0.01,0.27-0.01,0.41,0c0.26,0,0.45,0,0.45,0.34\nc-0.07,0.29-0.24,0.55-0.48,0.73c-0.46-0.34-1.03-0.49-1.6-0.41c-0.33,0.01-0.67,0.05-1,0.1H12v0.11\nc0.03,0.27,0.06,0.53,0.06,0.8v0.7c-0.05,0.58,0.1,1.15,0.42,1.63c-0.09,0.01-0.19,0.01-0.28,0c-0.52,0-0.67-0.23-0.67-1.72\nc0-0.3,0-0.58,0-0.77V29l-0.06,0.05c-0.82,0.58-1.39,1.44-1.61,2.42c-0.28-0.14-0.47-0.4-0.53-0.7c0-0.43,0.65-1.07,1.39-1.81\nl0.43-0.43v-0.06h-0.14c-0.23-0.07-0.47-0.11-0.71-0.12c-0.61-0.08-1.22,0.11-1.68,0.51c-0.13-0.24-0.2-0.51-0.21-0.79\nc0.01-0.11,0.06-0.22,0.14-0.3c0.08-0.06,0.18-0.08,0.28-0.07l0,0c0.82,0.02,1.64,0.1,2.45,0.24l0,0l0,0\nc0.88-1.15,1.64-2.38,2.28-3.68c0.12-0.05,0.25-0.07,0.38-0.07c0.35,0,0.44,0.24,0.54,0.59c-0.82,0.92-1.5,1.96-2,3.09\nM7.78,6.87c0.08-1.36,0.7-2.62,1.72-3.52l0.32,0.07C9.06,4.19,8.6,5.19,8.51,6.26c0,2.56,2.73,4.78,5.82,4.78\nc0,0.22,0,0.45,0,0.69c-0.01,0.35,0,0.69,0.03,1.04c-3.5,0-6.58-2.86-6.58-5.92 M31.25,12.23c1.57,2.49,2.8,2.45,4.66,2.45\nc-1.19-0.97-2.21-2.14-3-3.46L30,6.65c-0.29-1.44-1.03-2.75-2.12-3.73c0.31-0.1,0.6-0.24,0.87-0.42c-1.88,0-3.73-1-4.75-1\nc-0.55-0.05-1.03,0.36-1.08,0.91c0,0.58,0.63,1.16,1.73,1.16c0.31,0,0.62-0.04,0.92-0.09c0.65,0.74,1.03,1.67,1.08,2.65\nc0,2-2.41,3.58-4.83,3.58h-0.41c-0.5-0.67-0.84-1.45-1-2.28c0-1.6,1.05-2.9,1.05-4.48c0-0.68-0.24-1.33-0.67-1.85\nc0.29-0.23,0.53-0.52,0.7-0.85c-0.22,0.08-0.45,0.11-0.68,0.09c-1.16,0-2.11-0.3-3-0.3c-0.53,0-0.67,0.16-0.67,0.31\nc-0.01,0.05-0.01,0.1,0,0.15c-0.19-0.08-0.39-0.13-0.59-0.17c-0.29-0.05-0.58-0.08-0.88-0.08c-1.13,0-1.52,0.47-1.52,0.87\nc0.07,0.52,0.27,1.01,0.57,1.44c0.4-0.2,0.84-0.31,1.28-0.34c0.6,0,1.13,0.57,1.41,1.24c-0.29,0.05-0.59,0.07-0.88,0.07\nc-0.68-0.03-1.36-0.16-2-0.39l0,0c0,0,0.31,0.56,0.92,0.78c0.72,0.22,1.46,0.37,2.21,0.45c-0.08,0.21-0.23,0.38-0.43,0.49\nc-0.05,0.02-0.09,0.02-0.14,0c-0.74-0.14-1.45-0.35-2.14-0.65H14.9c0,0.42,1.09,1.35,2.07,1.71c-1.06,1.1-1.87,2.41-2.39,3.85\nh-0.41c-2.42,0-4.82-1.57-4.82-3.58c0.05-0.98,0.43-1.91,1.07-2.65c0.3,0.05,0.61,0.09,0.92,0.09c1.1,0,1.69-0.58,1.74-1.16\nc-0.04-0.55-0.52-0.96-1.07-0.92c0,0,0,0-0.01,0c-1,0-2.88,1-4.76,1C7.51,2.73,7.8,2.87,8.11,2.97C7.03,3.94,6.29,5.23,6,6.65\nl-2.87,4.59c-0.79,1.32-1.81,2.49-3,3.46c1.86,0,3.09,0,4.66-2.45L6.26,9.9c0.11,0.31,0.24,0.61,0.4,0.9l-2.97,4.67\nc-0.79,1.32-1.8,2.49-3,3.46c1.85,0,3.08,0,4.65-2.44l2.52-4c0.19,0.2,0.39,0.4,0.6,0.58l-3.59,5.7c-0.79,1.32-1.8,2.49-3,3.45\nc1.85,0,3.08,0.05,4.65-2.44L10,14.2c0.22,0.14,0.46,0.28,0.7,0.41l-4.27,6.77c-0.79,1.31-1.81,2.48-3,3.45\nc1.85,0,3.08,0,4.65-2.44l4.36-7c0.25,0.1,0.51,0.2,0.78,0.28l-4.95,7.9c-0.79,1.31-1.81,2.48-3,3.45c1.85,0,3.08,0.05,4.65-2.43\nl5.24-8.39h0.16c0.14,0.42,0.22,0.86,0.24,1.3c0,2.64-1.73,5-3.8,6.76c0.19,0.06,0.38,0.09,0.58,0.08c0.3,0.01,0.6-0.01,0.9-0.05\nc-0.57,1.13-1.24,2.21-2,3.23c-0.77-0.13-1.54-0.2-2.32-0.22c-0.67,0-0.75,0.4-0.75,0.75c-0.01,0.53,0.22,1.03,0.62,1.38\nc0.13-0.31,0.38-0.73,1.63-0.73h0.13C10.11,29.13,9,30.06,9,30.77c0.06,0.66,0.59,1.18,1.25,1.24c-0.02-0.14-0.02-0.28,0-0.42\nc0.13-0.69,0.48-1.33,1-1.8c-0.01,0.1-0.01,0.2,0,0.3c0,1.43,0.13,2.08,1,2.08c0.31-0.01,0.61-0.12,0.86-0.31\nc-0.5-0.44-0.73-1.11-0.62-1.77c0-0.21,0-0.41,0-0.69c0.02-0.2,0.02-0.41,0-0.61c0.24-0.02,0.47-0.02,0.71,0\nc0,0,1.29-0.1,1.6,0.57c0.35-0.32,0.86-0.78,0.86-1.27c0-0.33-0.16-0.71-0.83-0.71c-0.25,0-1,0.16-1.7,0.16\nc0.48-0.84,1.04-1.64,1.66-2.39c0.1,0.39,0.31,0.74,0.62,1c0.12-1.17,0.54-2.28,1.21-3.24c0.16,0.93,0.24,1.87,0.23,2.82\nc0,3.55-0.85,6.17-2.66,6.67c0.26,0.46,0.73,0.75,1.25,0.78c0.66,0,1-0.75,1.39-1.46c0.19,0.53,0.72,1.8,1.25,1.8\ns1.06-1.27,1.25-1.8c0.37,0.71,0.73,1.46,1.39,1.46c0.52-0.03,1-0.33,1.26-0.78c-1.82-0.5-2.67-3.12-2.67-6.67\nc-0.01-0.95,0.07-1.89,0.23-2.82c0.68,0.96,1.1,2.07,1.21,3.24c0.31-0.26,0.53-0.61,0.63-1c0.61,0.75,1.15,1.54,1.62,2.38\nc-0.66,0-1.45-0.16-1.7-0.16c-0.67,0-0.82,0.38-0.82,0.71c0,0.49,0.51,1,0.86,1.27c0.3-0.67,1.59-0.57,1.59-0.57\nc0.24-0.02,0.47-0.02,0.71,0c-0.02,0.2-0.02,0.41,0,0.61v0.69c0.11,0.66-0.12,1.33-0.62,1.77c0.25,0.19,0.55,0.3,0.86,0.31\nc0.91,0,1-0.65,1-2.08c0.01-0.1,0.01-0.2,0-0.3c0.52,0.47,0.87,1.11,1,1.8c0.02,0.14,0.02,0.28,0,0.42\nc0.61-0.11,1.06-0.62,1.12-1.23c0-0.74-1.15-1.67-1.52-2.08h0.13c1.25,0,1.5,0.42,1.63,0.73c0.4-0.35,0.63-0.85,0.62-1.38\nc0-0.35-0.07-0.75-0.75-0.75c-0.78,0.02-1.55,0.09-2.32,0.22c-0.76-1.02-1.43-2.1-2-3.23c0.3,0.04,0.6,0.06,0.9,0.05\nc0.19,0.01,0.39-0.02,0.57-0.08c-2.07-1.79-3.8-4.12-3.8-6.76c0.02-0.44,0.1-0.88,0.24-1.3h0.16l5.24,8.39\nc1.57,2.48,2.8,2.43,4.65,2.43c-1.19-0.97-2.21-2.14-3-3.45l-4.92-7.87c0.27-0.08,0.53-0.18,0.79-0.28l4.35,7\nc1.57,2.48,2.8,2.44,4.65,2.44c-1.19-0.97-2.21-2.14-3-3.45l-4.23-6.77c0.24-0.13,0.48-0.27,0.7-0.41l3.42,5.55\nc1.57,2.49,2.8,2.44,4.65,2.44c-1.19-0.97-2.21-2.13-3-3.45l-3.55-5.69c0.2-0.18,0.4-0.38,0.59-0.58l2.52,4\nc1.57,2.48,2.8,2.44,4.65,2.44c-1.2-0.97-2.21-2.14-3-3.46l-2.99-4.7c0.16-0.29,0.29-0.59,0.4-0.9L31.25,12.23z"}),d=class{constructor(e){(0,i.r)(this,e),this._org=void 0,this.state={_org:c.d["Informationstechnikzentrum Bund"]}}validateOrg(e){"string"==typeof e&&l.has(e)?(0,a.k)(this,"_org",e):(0,a.R)(`Die verwendete Abkürzung (${e}) ist nicht definiert!`)}componentWillLoad(){this.validateOrg(this._org)}render(){var e,n;return(0,i.h)(i.H,{key:"b22bb390038db55b19becb3b5a7c07286fe6802e",class:"kol-logo"},(0,i.h)("svg",{key:"d043984b885458cffaaab20b87aff94ca76d6cb3","aria-label":(0,o.t)("kol-logo-description",{placeholders:{orgShort:this.state._org,orgLong:(n=this.state._org,l.has(n)?l.get(n):"")}}),role:"img",viewBox:"0 0 225 100"},(0,i.h)("rect",{key:"77cf2cfe14aaf7ad2171af8b48f8516c462fe7b8",width:"100%",height:"100%",fill:"white"}),(0,i.h)("svg",{key:"ded3c8f86cfe1e5ed0072d4a02eec46d65bb1cbb",x:"0",y:"4",height:"75"},(0,i.h)(s,{key:"73750e236421e7bd8469290ff190df5c81c2c5b4"})),(0,i.h)("svg",{key:"423cac2465f5b54cdbe2e990b44030867faf4eba",x:"40.5",y:"3.5",height:"100"},(0,i.h)("rect",{key:"db677551f809c4c40e2e71f5c225f3e62f35d2b1",width:"5",height:"30"}),(0,i.h)("rect",{key:"9cac865f410a974e74e33eae4efffa1fc7b00dca",y:"30",width:"5",height:"30",fill:"red"}),(0,i.h)("rect",{key:"0b7d7fd9b8eb41b8401b5ed3d88b0ef5b43d02b6",y:"60",width:"5",height:"30",fill:"#fc0"})),(0,i.h)("svg",{key:"0b8a3e24294ac09963ce5ae4308f084724f1ebe0",x:"50",y:"0"},(0,i.h)("text",{key:"468bf4e4ab40e4dc05a30c51a32cfc6b4c5987dc",x:"0",y:"-0.05em","font-family":"BundesSans Web",style:{backgroundColor:"white",color:"black"}},c.f.has(this.state._org)?(0,i.h)("tspan",null,null===(e=c.f.get(this.state._org))||void 0===e?void 0:e.map(((e,n)=>(0,i.h)("tspan",{x:"0",dy:"1.1em",key:`kol-logo-text-${n}`},e)))):(0,i.h)("tspan",{fill:"red"},(0,i.h)("tspan",{x:"0",dy:"1.1em"},"Der Schlüsselwert"),(0,i.h)("tspan",{x:"0",dy:"1.1em","font-weight":"bold"},"'",this.state._org,"'"),(0,i.h)("tspan",{x:"0",dy:"1.1em"},"ist nicht definiert."),(0,i.h)("tspan",{x:"0",dy:"1.1em"},"oder freigegeben."))))))}static get watchers(){return{_org:["validateOrg"]}}};d.style={default:"/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: 44px;\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of 44px.\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]),\n .kol-input .input {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: 1px;\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: 1px;\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%; /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n .kol-span-wc {\n display: grid;\n place-items: center;\n }\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n .kol-span-wc > span {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .hidden {\n display: none;\n visibility: hidden;\n }\n /* This is the text label. */\n .hide-label > .kol-span-wc > span > span {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span-wc,\n [disabled]:focus .kol-span-wc {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n display: inline-block;\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n text {\n font-size: 16px;\n letter-spacing: normal;\n word-spacing: normal;\n }\n svg {\n max-height: 100%;\n }\n}"}}}]);
|
package/dist/989.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see 989.js.LICENSE.txt */
|
|
2
|
+
"use strict";(self.webpackChunk_public_ui_sample_react=self.webpackChunk_public_ui_sample_react||[]).push([[989],{3293:(t,i,e)=>{e.d(i,{t:()=>h});var a=e(1717),n=e(8597);const o={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}}","split-button-dropdown-label-open":"Optionen anzeigen","split-button-dropdown-label-close":"Optionen schließen","toast-close-all":"Alle schließen","error-list":"Fehlerliste","error-list-message":"Bitte korrigieren Sie folgende Fehler:",version:"Versionsnummer","table-visible-range":"Einträge {{start}} bis {{end}} von {{total}}"},s={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 navigation","nav-minimize":"Minimize navigation","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}}","split-button-dropdown-label-open":"Show options","split-button-dropdown-label-close":"Hide options","toast-close-all":"Close all","error-list":"Error list","error-list-message":"Please correct the following errors",version:"Version number","table-visible-range":"Entries {{start}} to {{end}} of {{total}}"},r=t=>Object.keys(t).reduce(((i,e)=>(i[`kol-${e}`]=t[e],i)),{}),l=new Set([t=>t("en",r(s)),t=>t("de",r(o))]);let h=(t,i)=>{const e=(0,n.g)();let a=e.translate(t,i);return a===t&&(e.addTranslations(l),a=e.translate(t,i)),a};"test"===a.p&&(h=t=>t)},989:(t,i,e)=>{e.r(i),e.d(i,{kol_table_stateful:()=>h});var a=e(5364),n=e(1717),o=e(3293),s=e(3202);const r=[10,20,50,100],l=t=>!0===t||""===t||"object"==typeof t&&null!==t,h=class{constructor(t){(0,a.r)(this,t),this.sortDirections=new Map,this.sortData=[],this.showPagination=!1,this.pageStartSlice=0,this.pageEndSlice=10,this.disableSort=!1,this.sortedColumnHead={label:"",key:"",sortDirection:"NOS"},this.setSortDirection=(t,i)=>{this.sortDirections.clear(),this.sortDirections.set(t,i),this.sortFunction=t},this.handlePagination={onClick:(t,i)=>{var e;"function"==typeof(null===(e=this.state._pagination._on)||void 0===e?void 0:e.onClick)&&this.state._pagination._on.onClick(t,i),(0,n.k)(this,"_pagination",Object.assign(Object.assign({},this.state._pagination),{_page:i}))},onChangePage:(t,i)=>{var e;"function"==typeof(null===(e=this.state._pagination._on)||void 0===e?void 0:e.onChangePage)&&this.state._pagination._on.onChangePage(t,i),(0,n.k)(this,"_pagination",Object.assign(Object.assign({},this.state._pagination),{_page:i}))},onChangePageSize:(t,i)=>{var e;"function"==typeof(null===(e=this.state._pagination._on)||void 0===e?void 0:e.onChangePageSize)&&this.state._pagination._on.onChangePageSize(t,i),(0,n.k)(this,"_pagination",Object.assign(Object.assign({},this.state._pagination),{_pageSize:i})),(0,n.k)(this,"_pageSize",i)}},this.updateSortedData=(t=this.sortedColumnHead)=>{if(this.disableSort)return void(0,n.k)(this,"_sortedData",this.state._data);let i=this.state._data;if(this.sortData.length>0)i=this.state._data.sort(((t,i)=>{for(let e=0;e<this.sortData.length;e++){const a=this.sortData[e],n=a.compareFn(t,i);if(0!==n)return"ASC"===a.direction?n:-n}return 0}));else if("function"==typeof this.sortFunction)switch(this.sortDirections.get(this.sortFunction)){case"ASC":i=this.sortFunction([...this.state._data]),this.sortedColumnHead={label:t.label,key:t.key,sortDirection:"ASC"};break;case"DESC":i=this.sortFunction([...this.state._data]).reverse(),this.sortedColumnHead={label:t.label,key:t.key,sortDirection:"DESC"};break;default:i=[...this.state._data],this.sortedColumnHead={label:"",key:"",sortDirection:"NOS"}}(0,n.k)(this,"_sortedData",i)},this._allowMultiSort=void 0,this._data=void 0,this._dataFoot=void 0,this._headers=void 0,this._label=void 0,this._minWidth=void 0,this._pagination=void 0,this._paginationPosition="bottom",this.state={_allowMultiSort:!1,_data:[],_dataFoot:[],_headers:{horizontal:[],vertical:[]},_label:"",_pagination:{_page:1,_pageSize:10,_max:0},_sortedData:[],_paginationPosition:"bottom"}}validateAllowMultiSort(t){(0,n.w)(this,"_allowMultiSort",(()=>!0),new Set(["boolean"]),t,{defaultValue:!1})}validateData(t){(0,n.ap)(this,t,{afterPatch:()=>{setTimeout(this.updateSortedData)}})}validateDataFoot(t){(0,n.aq)(this,t,{afterPatch:()=>{setTimeout(this.updateSortedData)}})}validatePaginationPosition(t){(0,n.ar)(this,t)}changeCellSort(t){var i;if("function"==typeof t.compareFn){this.state._allowMultiSort||t.key==(null===(i=this.sortData[0])||void 0===i?void 0:i.key)||(this.sortData=[]);const e=this.sortData.findIndex((i=>i.key===t.key));if(e>=0){const t=this.sortData[e];switch(t.direction){case"ASC":t.direction="DESC";break;case"DESC":this.sortData.splice(e,1);break;default:t.direction="ASC"}}else t.key&&this.sortData.push({label:t.label,key:t.key,compareFn:t.compareFn,direction:"ASC"});this.updateSortedData(t)}else if("function"==typeof t.sort){switch(this.sortFunction=t.sort,this.sortDirections.get(this.sortFunction)){case"ASC":this.setSortDirection(this.sortFunction,"DESC");break;case"DESC":this.setSortDirection(this.sortFunction,"NOS");break;default:this.setSortDirection(this.sortFunction,"ASC")}this.updateSortedData(t)}}validateHeaders(t){(0,n.as)(t,(()=>{(0,n.q)(t,(()=>{try{t=(0,n.r)(t)}catch(t){}(0,n.w)(this,"_headers",(t=>"object"==typeof t&&null!==t),new Set(["KoliBriTableHeaders"]),t,{hooks:{beforePatch:t=>{var i,e,a,o;const s=t=>{let i=!1;t.forEach((t=>{const e=t.key;if(!e)return;const a=t.sortDirection;"ASC"!==a&&"DESC"!==a||("function"==typeof t.compareFn?((this.state._allowMultiSort||0===this.sortData.length)&&this.sortData.push({label:t.label,key:e,compareFn:t.compareFn,direction:a}),i=!0):"function"==typeof t.sort&&(this.setSortDirection(t.sort,a),setTimeout((()=>this.updateSortedData({key:e,label:t.label,sortDirection:a})))))})),i&&setTimeout((()=>this.updateSortedData()))},r=t;null===(i=r.horizontal)||void 0===i||i.forEach(s),null===(e=r.vertical)||void 0===e||e.forEach(s),r.horizontal&&r.vertical&&(null===(a=r.horizontal)||void 0===a?void 0:a.length)>0&&(null===(o=r.vertical)||void 0===o?void 0:o.length)>0&&(this.disableSort=!0,(0,n.R)("Table: You can not sort the table data, if horizontal and vertical headers are defined at the same time. (https://github.com/public-ui/kolibri/issues/2372)"))}}})}))}))}validateLabel(t){(0,n.v)(this,t,{required:!0})}validateMinWidth(t){(0,n.A)(this,"_minWidth",t,{defaultValue:void 0})}validatePagination(t){try{t=(0,n.r)(t)}catch(t){}this.showPagination=l(t),(0,n.w)(this,"_pagination",l,new Set(["boolean","KoliBriTablePagination"]),t,{defaultValue:{_page:1,_pageSize:10,_max:0}})}componentWillLoad(){this.validateAllowMultiSort(this._allowMultiSort),this.validateData(this._data),this.validateDataFoot(this._dataFoot),this.validateHeaders(this._headers),this.validateLabel(this._label),this.validateMinWidth(this._minWidth),this.validatePagination(this._pagination),this.validatePaginationPosition(this._paginationPosition)}selectDisplayedData(t,i,e){return"number"==typeof i&&i>0&&"number"==typeof e&&e>0?(this.pageStartSlice=i*(e-1),this.pageEndSlice=i*e>t.length?t.length:i*e,t.slice(this.pageStartSlice,this.pageEndSlice)):(this.pageStartSlice=0,this.pageEndSlice=t.length,t)}renderPagination(){return(0,a.h)("div",{class:"pagination"},(0,a.h)("span",null,(0,o.t)("kol-table-visible-range",{placeholders:{start:this.pageEndSlice>0?(this.pageStartSlice+1).toString():"0",end:this.pageEndSlice.toString(),total:this.state._pagination&&this.state._pagination._max>0?this.state._pagination._max.toString():Array.isArray(this.state._data)?this.state._data.length.toString():"0"}})),(0,a.h)("div",null,(0,a.h)(s.r,{_boundaryCount:this.state._pagination._boundaryCount,_customClass:this.state._pagination._customClass,_on:this.handlePagination,_page:this.state._pagination._page,_pageSize:this.state._pagination._pageSize,_pageSizeOptions:this.state._pagination._pageSizeOptions||r,_siblingCount:this.state._pagination._siblingCount,_tooltipAlign:"bottom",_max:this.state._pagination._max||this.state._pagination._max||this.state._data.length,_label:(0,o.t)("kol-table-pagination-label",{placeholders:{label:this.state._label}})})))}getHeaderCellSortState(t){if(!this.disableSort&&("function"==typeof t.compareFn||"function"==typeof t.sort)){if(t.key===this.sortedColumnHead.key)return this.sortedColumnHead.sortDirection;if(t.key){const i=this.sortData.find((i=>i.key===t.key));if(null==i?void 0:i.direction)return i.direction}return"NOS"}}handleSort({key:t}){const i=[...(this.state._headers.horizontal||[]).flat(),...(this.state._headers.vertical||[]).flat()].find((i=>i.key===t));i&&this.changeCellSort(i)}render(){var t,i,e,n;const o=this.selectDisplayedData(this.state._sortedData,this.showPagination?null!==(i=null===(t=this.state._pagination)||void 0===t?void 0:t._pageSize)&&void 0!==i?i:10:this.state._sortedData.length,this.state._pagination._page||1),r="top"===this._paginationPosition||"both"===this._paginationPosition?this.renderPagination():null,l="bottom"===this._paginationPosition||"both"===this._paginationPosition?this.renderPagination():null,h={horizontal:null===(e=this.state._headers.horizontal)||void 0===e?void 0:e.map((t=>t.map((t=>Object.assign(Object.assign({},t),{sortDirection:this.getHeaderCellSortState(t)}))))),vertical:null===(n=this.state._headers.vertical)||void 0===n?void 0:n.map((t=>t.map((t=>Object.assign(Object.assign({},t),{sortDirection:this.getHeaderCellSortState(t)})))))};return(0,a.h)(a.H,{key:"6beae5b0e089bb81c12eea3d1621a21a547d1fc0",class:"kol-table-stateful"},this.pageEndSlice>0&&this.showPagination&&r,(0,a.h)(s.t,{key:"e4ffbb145e4484c347ebd03ca93836ab16248b64",_data:o,_headerCells:h,_label:this.state._label,_dataFoot:this.state._dataFoot,_minWidth:this.state._minWidth,_on:{onSort:(t,i)=>{this.handleSort(i)}}}),this.pageEndSlice>0&&this.showPagination&&l)}static get watchers(){return{_allowMultiSort:["validateAllowMultiSort"],_data:["validateData"],_dataFoot:["validateDataFoot"],_paginationPosition:["validatePaginationPosition"],_headers:["validateHeaders"],_label:["validateLabel"],_minWidth:["validateMinWidth"],_pagination:["validatePagination"]}}};h.style={default:"@layer kol-component {\n :root {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n div.pagination .kol-pagination {\n display: flex;\n flex-wrap: wrap;\n }\n div.pagination,\n div.pagination > div:last-child {\n display: grid;\n place-items: center;\n }\n @media (max-width: 1024px) {\n div.pagination .kol-pagination {\n flex-direction: column;\n }\n }\n @media (min-width: 1024px) {\n div.pagination,\n div.pagination > div:last-child {\n grid-auto-flow: column;\n }\n div.pagination .kol-pagination {\n display: flex;\n }\n }\n}"}}}]);
|
package/dist/{7086.js → 9980.js}
RENAMED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! For license information please see
|
|
2
|
-
"use strict";(self.webpackChunk_public_ui_sample_react=self.webpackChunk_public_ui_sample_react||[]).push([[
|
|
1
|
+
/*! For license information please see 9980.js.LICENSE.txt */
|
|
2
|
+
"use strict";(self.webpackChunk_public_ui_sample_react=self.webpackChunk_public_ui_sample_react||[]).push([[9980],{9980:(e,n,t)=>{t.r(n),t.d(n,{kol_popover_wc:()=>a});var i=t(5364),o=t(1717),s=t(7819);const a=class{constructor(e){(0,i.r)(this,e),this.hidePopoverByEscape=e=>{"Escape"===e.key&&this.hidePopover()},this.hidePopoverByClickOutside=e=>{this.host&&!this.host.contains(e.target)&&this.hidePopover()},this.catchHostAndTriggerElement=e=>{e&&(this.host=e,this.triggerElement=e.previousElementSibling)},this.catchPopoverElement=e=>{this.popoverElement=e},this.catchArrowElement=e=>{this.arrowElement=e},this._align="top",this._show=!1,this.state={_align:"top",_show:!1,_visible:!1}}showPopover(){return e=this,null,n=function*(){this.addListenersToBody(),this.triggerElement&&this.popoverElement&&(yield(0,s.a)({align:this._align,referenceElement:this.triggerElement,arrowElement:this.arrowElement,floatingElement:this.popoverElement}),this.state=Object.assign(Object.assign({},this.state),{_visible:!0}))},new Promise(((t,i)=>{var o=e=>{try{a(n.next(e))}catch(e){i(e)}},s=e=>{try{a(n.throw(e))}catch(e){i(e)}},a=e=>e.done?t(e.value):Promise.resolve(e.value).then(o,s);a((n=n.apply(e,null)).next())}));var e,n}hidePopover(){var e;this.state=Object.assign(Object.assign({},this.state),{_visible:!1}),this._show=!1,null===(e=this.triggerElement)||void 0===e||e.focus(),this.removeListenersToBody()}addListenersToBody(){var e;const n=(0,o.g)().body;n.addEventListener("keyup",this.hidePopoverByEscape),n.addEventListener("click",this.hidePopoverByClickOutside),null===(e=document.scrollingElement)||void 0===e||e.addEventListener("scroll",(()=>{this.showPopover()}),{passive:!0})}removeListenersToBody(){var e;const n=(0,o.g)().body;n.removeEventListener("keyup",this.hidePopoverByEscape),n.removeEventListener("click",this.hidePopoverByClickOutside),null===(e=document.scrollingElement)||void 0===e||e.removeEventListener("scroll",(()=>{this.showPopover()}))}render(){return(0,i.h)(i.H,{key:"ec04943dbf11e2fecb42ea74126500179f6924bc",ref:this.catchHostAndTriggerElement,class:"kol-popover-wc"},(0,i.h)("div",{key:"2d191ed96a7617ab8047846268ab0778e436651f",class:{popover:!0,hidden:!this.state._show,show:this.state._visible},ref:this.catchPopoverElement},(0,i.h)("div",{key:"7469fccc90fe09e1cd6fd5745e6c74fd3a939f64",class:`arrow ${this.state._align}`,ref:this.catchArrowElement}),(0,i.h)("slot",{key:"f49f41eacdddfe7220a03b15f8a3824e9bdd2875"})))}validateAlign(e){(0,o.at)(this,e)}validateShow(e){(0,o.an)(this,e),e&&this.showPopover()}componentWillLoad(){this.validateAlign(this._align),this.validateShow(this._show)}static get watchers(){return{_align:["validateAlign"],_show:["validateShow"]}}};a.style="/*\n * This file contains all rules for accessibility.\n */\n@layer kol-global {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: 44px;\n /*\n * No element should be used without a background and font color whose contrast ratio has\n * not been checked. By initially setting the background color to white and the font color\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\n */\n background-color: white;\n color: black;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /*\n * All interactive elements should have a minimum size of 44px.\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n [role=button],\n button:not([role=link]),\n .kol-input .input {\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n }\n}\n/**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: 1px;\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: 1px;\n}\n\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n border: none;\n margin: 0;\n padding: 0;\n width: 100%; /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n .kol-span-wc {\n display: grid;\n place-items: center;\n }\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n .kol-span-wc > span {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .hidden {\n display: none;\n visibility: hidden;\n }\n /* This is the text label. */\n .hide-label > .kol-span-wc > span > span {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n cursor: not-allowed;\n opacity: 0.5;\n outline: none;\n }\n [aria-disabled=true]:focus .kol-span-wc,\n [disabled]:focus .kol-span-wc {\n outline: none !important;\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-popover {\n height: 0;\n position: absolute;\n }\n .kol-popover .popover {\n background-color: #fff;\n min-height: max-content;\n min-width: max-content;\n opacity: 0;\n position: absolute;\n }\n .kol-popover .show {\n animation: 0.3s ease-in forwards fadeInOpacity;\n }\n .kol-popover .disappear {\n animation: 0.3s ease-in backwards fadeInOpacity;\n }\n .kol-popover .arrow {\n background-color: inherit;\n height: var(--font-size);\n position: absolute;\n rotate: 0.125turn;\n width: var(--font-size);\n z-index: -1;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}"}}]);
|