@public-ui/hydrate 3.0.0-023e727fba43bcd74fd9f7ce52558eee4a3aa906.0 → 3.0.0-0a564237c37a5d1ca12470bdd73e4ea1eac06982.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2216 -270
- package/dist/index.mjs +2216 -270
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1454,7 +1454,7 @@ var serverSideConnected = (elm) => {
|
|
|
1454
1454
|
};
|
|
1455
1455
|
|
|
1456
1456
|
// src/runtime/set-value.ts
|
|
1457
|
-
var getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
|
|
1457
|
+
var getValue$1 = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
|
|
1458
1458
|
var setValue = (ref, propName, newVal, cmpMeta) => {
|
|
1459
1459
|
const hostRef = getHostRef(ref);
|
|
1460
1460
|
if (!hostRef) {
|
|
@@ -1504,7 +1504,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1504
1504
|
if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
|
|
1505
1505
|
Object.defineProperty(prototype, memberName, {
|
|
1506
1506
|
get() {
|
|
1507
|
-
return getValue(this, memberName);
|
|
1507
|
+
return getValue$1(this, memberName);
|
|
1508
1508
|
},
|
|
1509
1509
|
set(newValue) {
|
|
1510
1510
|
setValue(this, memberName, newValue, cmpMeta);
|
|
@@ -1937,7 +1937,7 @@ function proxyHostElement(elm, cmpMeta) {
|
|
|
1937
1937
|
}
|
|
1938
1938
|
Object.defineProperty(elm, memberName, {
|
|
1939
1939
|
get() {
|
|
1940
|
-
return getValue(this, memberName);
|
|
1940
|
+
return getValue$1(this, memberName);
|
|
1941
1941
|
},
|
|
1942
1942
|
set(newValue) {
|
|
1943
1943
|
setValue(this, memberName, newValue, cmpMeta);
|
|
@@ -2655,9 +2655,9 @@ var loglevel = {exports: {}};
|
|
|
2655
2655
|
}));
|
|
2656
2656
|
}(loglevel));
|
|
2657
2657
|
|
|
2658
|
-
var
|
|
2658
|
+
var m = loglevel.exports;
|
|
2659
2659
|
|
|
2660
|
-
const
|
|
2660
|
+
const o$1={A11yUi:{CSS_STYLE_CACHE:new Map,HYDRATED_HISTORY:[],STYLING_TASK_QUEUE:new Map,Themes:{}}};let h=!1;const H=/^[a-z][a-z0-9]{1,}(-[a-z0-9]+)?$/,O=t=>typeof t=="string"&&H.test(t),p=t=>{if(O(t)===!1)throw new Error(`[Theming] The theme identifier "${typeof t=="string"?t:""}" (Type: ${typeof t}) is not valid. Please use only follow this pattern: /^[a-z][a-z0-9]{1,}(-[a-z0-9]+)?$/`)},_=(t,e,s,a)=>T(t,e,s,a),T=(t,e,s,a)=>{a=a??{},a.append=a.append??!1,p(t),h===!1&&(h=!0,m.warn(`[Theming] The theme process is locked. This means that the theme "${t}" should not be patched.
|
|
2661
2661
|
|
|
2662
2662
|
import { register } from 'adopted-style-sheets';
|
|
2663
2663
|
import { defineCustomElements } from '...';
|
|
@@ -2667,7 +2667,7 @@ const M=new Map,Y=[],$=new Map,o$1={A11yUi:{CSS_STYLE_CACHE:M,HYDRATED_HISTORY:Y
|
|
|
2667
2667
|
.then(() => {
|
|
2668
2668
|
// run your app or website
|
|
2669
2669
|
})
|
|
2670
|
-
.catch(console.warn);`)),(typeof o$1.A11yUi.Themes[t]!="object"||o$1.A11yUi.Themes[t]===null)&&(o$1.A11yUi.Themes[t]={}),a.append&&typeof o$1.A11yUi.Themes[t][e]=="string"?o$1.A11yUi.Themes[t][e]+=s:o$1.A11yUi.Themes[t][e]=s;},
|
|
2670
|
+
.catch(console.warn);`)),(typeof o$1.A11yUi.Themes[t]!="object"||o$1.A11yUi.Themes[t]===null)&&(o$1.A11yUi.Themes[t]={}),a.append&&typeof o$1.A11yUi.Themes[t][e]=="string"?o$1.A11yUi.Themes[t][e]+=s:o$1.A11yUi.Themes[t][e]=s;},I=(t,e,s,a)=>u$1(t,e,s,a),u$1=(t,e,s,a)=>(p(t),typeof e=="object"&&e!==null&&Object.getOwnPropertyNames(e).forEach(r=>{const n=e[r],i=r.toLowerCase(),c=typeof a?.transformTagName=="function"&&!["GLOBAL","PROPERTIES"].includes(r)?a.transformTagName(i):r;typeof n=="string"&&n.length>0&&T(t,c.toUpperCase(),n,s);}),t);const U=new Set,z=/--[^;]+/g,D=/:/;let f=0,C;const Q=(t,e)=>{let s=e.match(z);if(Array.isArray(s)){s=s.filter(r=>D.test(r));const a=document.createElement("style");a.innerHTML=`.${t} {${s.join(";")}}`,document.querySelector("head")?.appendChild(a);}U.add(t);},y=(t,e)=>typeof o$1.A11yUi=="object"&&o$1.A11yUi!==null&&typeof o$1.A11yUi.Themes=="object"&&o$1.A11yUi.Themes!==null&&typeof o$1.A11yUi.Themes[t]=="object"&&o$1.A11yUi.Themes[t]!==null&&typeof o$1.A11yUi.Themes[t][e]=="string"?o$1.A11yUi.Themes[t][e].replace(/\r?\n/g,""):"",F=t=>{for(const e of Array.from(t.childNodes))if(e instanceof HTMLStyleElement&&e.tagName==="STYLE"&&e.dataset.themingFallback===void 0)t.removeChild(e);else break},q=(t,e)=>{try{if(o$1.A11yUi.Theme?.mode==="ssr")throw new Error("SSR");const s=[];e.forEach(a=>{const r=new CSSStyleSheet;r.replaceSync(a),s.push(r);}),t.adoptedStyleSheets=s;}catch{[...e].reverse().forEach((a,r)=>{if(typeof a!="string"||a.length===0)return;const n=document.createElement("style");switch(n.dataset.themingFallback="",r){case 4:n.dataset.themingBaseA11y="";break;case 3:n.dataset.themingBaseGlobal="";break;case 2:n.dataset.themingBaseComponent="";break;case 1:n.dataset.themingCustomGlobal="";break;case 0:n.dataset.themingCustomComponent="";break;default:n.dataset.themingUnknown="";break}n.innerHTML=a,t.insertBefore(n,t.firstChild);});}},J=(t,e,s)=>{if(s!==!1){const a=[...Array.from(t.childNodes).filter(n=>n instanceof HTMLStyleElement&&n.tagName==="STYLE")];let r;try{r=[...Array.from(t.adoptedStyleSheets)];}catch{r=[];}s?.mode==="before"?(a.reverse().forEach(n=>e.unshift(n.innerHTML)),r.reverse().forEach(n=>e.unshift(Array.from(n.cssRules).map(i=>i.cssText).join("")))):s?.mode==="after"&&(a.forEach(n=>e.push(n.innerHTML)),r.forEach(n=>e.push(Array.from(n.cssRules).map(i=>i.cssText).join(""))));}},w=(t,e)=>{const s=e.name||"default";let a;try{if(t.shadowRoot===null)throw new Error("ShadowRoot is null");a=t.shadowRoot;}catch{a=t;}if(o$1.A11yUi.CSS_STYLE_CACHE.get(s)?.has(t.tagName))L(a,o$1.A11yUi.CSS_STYLE_CACHE.get(s)?.get(t.tagName));else {const r=y(s,"PROPERTIES"),n=y(s,"GLOBAL"),i=y(s,t.tagName);U.has(s)===!1&&Q(s,n);const c=[r,n,i];J(a,c,e.encroachCss),e.cache===!0&&(o$1.A11yUi.CSS_STYLE_CACHE.has(s)===!1&&o$1.A11yUi.CSS_STYLE_CACHE.set(s,new Map),o$1.A11yUi.CSS_STYLE_CACHE.get(s)?.set(t.tagName,c)),L(a,c);}},L=(t,e)=>{F(t),q(t,e);},V={attributes:!0,attributeFilter:["class"],childList:!1,subtree:!1},W={attributes:!0,attributeFilter:[],childList:!1,subtree:!1},v=new MutationObserver(t=>{for(const e of t){const s=e.target;if(s.classList.contains("hydrated")){const a=o$1.A11yUi.STYLING_TASK_QUEUE.get(s);if(a){const{themeDetails:r}=a;w(s,r),M(s);}v.observe(s,W);}}}),j=new IntersectionObserver(t=>{for(const e of t){const s=e.target;if(e.isIntersecting){if(f===0&&(f=performance.now()),s.classList.contains("hydrated")){const a=o$1.A11yUi.STYLING_TASK_QUEUE.get(s);if(a){const{themeDetails:r}=a;w(s,r),M(s);}}else v.observe(s,V);j.unobserve(s);}}},{root:null,threshold:0}),M=t=>{o$1.A11yUi.STYLING_TASK_QUEUE.delete(t),clearTimeout(C),C=setTimeout(()=>{const e=Math.round(performance.now()-f-2500);console.log(`Theming finished for all components in ${e}ms`),f=0;},2500);};
|
|
2671
2671
|
|
|
2672
2672
|
const alertTypeOptions = ['default', 'info', 'success', 'warning', 'error'];
|
|
2673
2673
|
const alertVariantOptions = ['card', 'msg'];
|
|
@@ -2685,7 +2685,7 @@ let EXPERIMENTAL_MODE = false;
|
|
|
2685
2685
|
const getDevMode = () => DEV_MODE === true;
|
|
2686
2686
|
const getExperimentalMode = () => EXPERIMENTAL_MODE === true;
|
|
2687
2687
|
const LOG_STYLE = 'color: white; background: #666; font-weight: bold; padding: .25em .5em; border-radius: 3px; border: 1px solid #000';
|
|
2688
|
-
const mapToArray = (msg) => {
|
|
2688
|
+
const mapToArray$1 = (msg) => {
|
|
2689
2689
|
return Array.isArray(msg) ? msg : [msg];
|
|
2690
2690
|
};
|
|
2691
2691
|
const getLogLabel = (label) => {
|
|
@@ -2710,30 +2710,30 @@ class Logger {
|
|
|
2710
2710
|
}
|
|
2711
2711
|
debug(msg, options) {
|
|
2712
2712
|
if (isDevModeOrForceLog(this.devMode, options === null || options === void 0 ? void 0 : options.forceLog)) {
|
|
2713
|
-
console.debug(...getShield(this.label, options), ...mapToArray(msg));
|
|
2713
|
+
console.debug(...getShield(this.label, options), ...mapToArray$1(msg));
|
|
2714
2714
|
}
|
|
2715
2715
|
}
|
|
2716
2716
|
info(msg, options) {
|
|
2717
2717
|
if (isDevModeOrForceLog(this.devMode, options === null || options === void 0 ? void 0 : options.forceLog)) {
|
|
2718
|
-
console.info(...getShield(this.label, options), ...mapToArray(msg));
|
|
2718
|
+
console.info(...getShield(this.label, options), ...mapToArray$1(msg));
|
|
2719
2719
|
}
|
|
2720
2720
|
}
|
|
2721
2721
|
trace(msg, options) {
|
|
2722
2722
|
if (isDevModeOrForceLog(this.devMode, options === null || options === void 0 ? void 0 : options.forceLog)) {
|
|
2723
|
-
console.trace(...getShield(this.label, options), ...mapToArray(msg));
|
|
2723
|
+
console.trace(...getShield(this.label, options), ...mapToArray$1(msg));
|
|
2724
2724
|
}
|
|
2725
2725
|
}
|
|
2726
2726
|
warn(msg, options) {
|
|
2727
2727
|
if (isDevModeOrForceLog(this.devMode, options === null || options === void 0 ? void 0 : options.forceLog)) {
|
|
2728
|
-
console.warn(...getShield(this.label, options), ...mapToArray(msg));
|
|
2728
|
+
console.warn(...getShield(this.label, options), ...mapToArray$1(msg));
|
|
2729
2729
|
}
|
|
2730
2730
|
}
|
|
2731
2731
|
error(msg, options) {
|
|
2732
|
-
console.error(...getShield(this.label, options), ...mapToArray(msg));
|
|
2732
|
+
console.error(...getShield(this.label, options), ...mapToArray$1(msg));
|
|
2733
2733
|
}
|
|
2734
2734
|
throw(msg, options) {
|
|
2735
2735
|
if (isDevModeOrForceLog(this.devMode, options === null || options === void 0 ? void 0 : options.forceLog)) {
|
|
2736
|
-
throw new Error(...getShield(this.label, options), ...mapToArray(msg));
|
|
2736
|
+
throw new Error(...getShield(this.label, options), ...mapToArray$1(msg));
|
|
2737
2737
|
}
|
|
2738
2738
|
}
|
|
2739
2739
|
}
|
|
@@ -3201,7 +3201,7 @@ function hsl2rgb(hsl) {
|
|
|
3201
3201
|
|
|
3202
3202
|
var colorRgba$1 = colorRgba;
|
|
3203
3203
|
|
|
3204
|
-
var n=.2126,r$
|
|
3204
|
+
var n=.2126,r$2=.7152,t=.0722,e=1/12.92;function u(n){return Math.pow((n+.055)/1.055,2.4)}function a(a){var i=a[0]/255,c=a[1]/255,o=a[2]/255,s=i<=.03928?i*e:u(i),f=c<=.03928?c*e:u(c),l=o<=.03928?o*e:u(o);return s*n+f*r$2+l*t}function i(n){var r=255;8===(n=n.replace(/^#/,"")).length&&(r=parseInt(n.slice(6,8),16),n=n.substring(0,6)),4===n.length&&(r=parseInt(n.slice(3,4).repeat(2),16),n=n.substring(0,3)),3===n.length&&(n=n[0]+n[0]+n[1]+n[1]+n[2]+n[2]);var t=parseInt(n,16);return [t>>16,t>>8&255,255&t,r]}function c(n,r){return (Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function o(n,r){return c(a(n),a(r))}function s$1(n,r){return o(i(n),i(r))}
|
|
3205
3205
|
|
|
3206
3206
|
var rgbaConvert = {exports: {}};
|
|
3207
3207
|
|
|
@@ -3441,7 +3441,7 @@ const calcColorContrast = (baseColor, contrastColor, ratio, dir = 1) => {
|
|
|
3441
3441
|
Math.max(Math.min(Math.round(contrastColor[1] + dir * Math.max(1, contrastColor[1] / 100)), 255), 0),
|
|
3442
3442
|
Math.max(Math.min(Math.round(contrastColor[2] + dir * Math.max(1, contrastColor[2] / 100)), 255), 0),
|
|
3443
3443
|
];
|
|
3444
|
-
const contrast = s(rgba$1.hex(`rgba(${baseColor.join(',')},1)`), rgba$1.hex(`rgba(${color.join(',')},1)`));
|
|
3444
|
+
const contrast = s$1(rgba$1.hex(`rgba(${baseColor.join(',')},1)`), rgba$1.hex(`rgba(${color.join(',')},1)`));
|
|
3445
3445
|
const summe = color[0] + color[1] + color[2];
|
|
3446
3446
|
if (summe === 0 || summe === 765 || contrast > ratio) {
|
|
3447
3447
|
return {
|
|
@@ -3713,9 +3713,9 @@ const koliBriQuerySelector = (selector, node) => querySelector(selector, node ||
|
|
|
3713
3713
|
const koliBriQuerySelectorAll = (selector, node) => querySelectorAll(selector, node || getDocument());
|
|
3714
3714
|
class KoliBriDevHelper {
|
|
3715
3715
|
}
|
|
3716
|
-
KoliBriDevHelper.getCssStyle =
|
|
3717
|
-
KoliBriDevHelper.patchTheme =
|
|
3718
|
-
KoliBriDevHelper.patchThemeTag =
|
|
3716
|
+
KoliBriDevHelper.getCssStyle = y;
|
|
3717
|
+
KoliBriDevHelper.patchTheme = I;
|
|
3718
|
+
KoliBriDevHelper.patchThemeTag = _;
|
|
3719
3719
|
KoliBriDevHelper.querySelector = koliBriQuerySelector;
|
|
3720
3720
|
KoliBriDevHelper.querySelectorAll = koliBriQuerySelectorAll;
|
|
3721
3721
|
KoliBriDevHelper.stringifyJson = stringifyJson;
|
|
@@ -4500,7 +4500,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
|
|
|
4500
4500
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
4501
4501
|
};
|
|
4502
4502
|
|
|
4503
|
-
function r(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=" "),n+=f);}else for(f in e)e[f]&&(n&&(n+=" "),n+=f);return n}function clsx(){for(var e,t,f=0,n="",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r(e))&&(n&&(n+=" "),n+=t);return n}
|
|
4503
|
+
function r$1(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r$1(e[t]))&&(n&&(n+=" "),n+=f);}else for(f in e)e[f]&&(n&&(n+=" "),n+=f);return n}function clsx(){for(var e,t,f=0,n="",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r$1(e))&&(n&&(n+=" "),n+=t);return n}
|
|
4504
4504
|
|
|
4505
4505
|
let KolAlertWcTag = 'kol-alert-wc';
|
|
4506
4506
|
let KolAvatarWcTag = 'kol-avatar-wc';
|
|
@@ -4726,7 +4726,7 @@ class KolAccordion {
|
|
|
4726
4726
|
}; }
|
|
4727
4727
|
}
|
|
4728
4728
|
|
|
4729
|
-
const defaultStyleCss$K = "/*\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: calc(44rem / var(--kolibri-root-font-size, 16));\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 rem(44).\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 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: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\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%;\n /* 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 .badge-text-hint {\n background-color: lightgray;\n color: black;\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 .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\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,\n [disabled]:focus .kol-span {\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 .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-
|
|
4729
|
+
const defaultStyleCss$K = "/*\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: calc(44rem / var(--kolibri-root-font-size, 16));\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 rem(44).\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 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: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\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%;\n /* 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 .badge-text-hint {\n background-color: lightgray;\n color: black;\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 .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\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,\n [disabled]:focus .kol-span {\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 .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-alert__closer {\n /* Visible with forced colors */\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\n }\n}\n@layer kol-component {\n .kol-alert {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n}";
|
|
4730
4730
|
var KolAlertDefaultStyle0 = defaultStyleCss$K;
|
|
4731
4731
|
|
|
4732
4732
|
class KolAlert {
|
|
@@ -4970,10 +4970,73 @@ if (processEnv === 'test') {
|
|
|
4970
4970
|
translate = (key) => key;
|
|
4971
4971
|
}
|
|
4972
4972
|
|
|
4973
|
+
/**
|
|
4974
|
+
* BEM class name factory.
|
|
4975
|
+
*
|
|
4976
|
+
* @typedef {Function} Bem
|
|
4977
|
+
* @param {String|Object} [elementOrMods] Element name or hash object with mods
|
|
4978
|
+
* @param {Object} [mods] Hash object with mods
|
|
4979
|
+
* @returns {String}
|
|
4980
|
+
*/
|
|
4981
|
+
|
|
4982
|
+
/**
|
|
4983
|
+
* Returns BEM class name factory.
|
|
4984
|
+
*
|
|
4985
|
+
* @param {String} componentName Block name
|
|
4986
|
+
* @returns {Bem}
|
|
4987
|
+
*/
|
|
4988
|
+
var easyBem = function bem(componentName) {
|
|
4989
|
+
return function (elementOrMods, mods) {
|
|
4990
|
+
if (!elementOrMods) {
|
|
4991
|
+
return componentName;
|
|
4992
|
+
}
|
|
4993
|
+
|
|
4994
|
+
var element;
|
|
4995
|
+
|
|
4996
|
+
if (typeof elementOrMods === 'string') {
|
|
4997
|
+
element = elementOrMods;
|
|
4998
|
+
} else {
|
|
4999
|
+
mods = elementOrMods;
|
|
5000
|
+
}
|
|
5001
|
+
|
|
5002
|
+
var base = componentName;
|
|
5003
|
+
if (element) {
|
|
5004
|
+
base += '__' + element;
|
|
5005
|
+
}
|
|
5006
|
+
|
|
5007
|
+
return base + (
|
|
5008
|
+
mods
|
|
5009
|
+
? Object.keys(mods).reduce(function (result, name) {
|
|
5010
|
+
var value = mods[name];
|
|
5011
|
+
|
|
5012
|
+
if (value) {
|
|
5013
|
+
result += ' ' + (
|
|
5014
|
+
typeof value === 'boolean'
|
|
5015
|
+
? (base + '--' + name)
|
|
5016
|
+
: (base + '--' + name + '_' + value)
|
|
5017
|
+
);
|
|
5018
|
+
}
|
|
5019
|
+
|
|
5020
|
+
return result;
|
|
5021
|
+
}, '')
|
|
5022
|
+
: ''
|
|
5023
|
+
);
|
|
5024
|
+
};
|
|
5025
|
+
};
|
|
5026
|
+
|
|
5027
|
+
var r = easyBem;
|
|
5028
|
+
|
|
5029
|
+
function s(){const e=new Map;return (t,n,o)=>{try{return e.get(t)(n,o)}catch{return e.set(t,r(t)).get(t)(n,o)}}}
|
|
5030
|
+
|
|
5031
|
+
const bem$1 = s();
|
|
5032
|
+
const BEM_CLASS_ALERT__CLOSER = bem$1('kol-alert', 'closer');
|
|
5033
|
+
const BEM_CLASS_ALERT__CONTENT = bem$1('kol-alert', 'content');
|
|
5034
|
+
const BEM_CLASS_ALERT__ICON = bem$1('kol-alert', 'icon');
|
|
5035
|
+
|
|
4973
5036
|
const Icon = ({ ariaLabel, icon }) => {
|
|
4974
5037
|
return (hAsync(Fragment, null,
|
|
4975
5038
|
hAsync("span", { class: "visually-hidden" }, ariaLabel),
|
|
4976
|
-
hAsync(KolIconTag, { class:
|
|
5039
|
+
hAsync(KolIconTag, { class: BEM_CLASS_ALERT__ICON, _label: "", _icons: icon })));
|
|
4977
5040
|
};
|
|
4978
5041
|
const AlertIcon = ({ type, label }) => {
|
|
4979
5042
|
switch (type) {
|
|
@@ -4993,7 +5056,7 @@ var AlertIcon$1 = AlertIcon;
|
|
|
4993
5056
|
|
|
4994
5057
|
const KolAlertFc = (props, children) => {
|
|
4995
5058
|
var _a, _b;
|
|
4996
|
-
const { class: classNames = {}, type = 'default', variant = 'msg',
|
|
5059
|
+
const { class: classNames = {}, alert = false, hasCloser = false, label, level = 0, type = 'default', variant = 'msg', onAlertTimeout, onCloserClick } = props, other = __rest(props, ["class", "alert", "hasCloser", "label", "level", "type", "variant", "onAlertTimeout", "onCloserClick"]);
|
|
4997
5060
|
if (alert) {
|
|
4998
5061
|
if ((_a = navigator.userActivation) === null || _a === void 0 ? void 0 : _a.hasBeenActive) {
|
|
4999
5062
|
(_b = navigator === null || navigator === void 0 ? void 0 : navigator.vibrate) === null || _b === void 0 ? void 0 : _b.call(navigator, [100, 75, 100, 75, 100]);
|
|
@@ -5002,19 +5065,27 @@ const KolAlertFc = (props, children) => {
|
|
|
5002
5065
|
onAlertTimeout === null || onAlertTimeout === void 0 ? void 0 : onAlertTimeout();
|
|
5003
5066
|
}, 10000);
|
|
5004
5067
|
}
|
|
5005
|
-
const
|
|
5068
|
+
const BEM_CLASS_ROOT = bem$1('kol-alert', {
|
|
5069
|
+
hasCloser: !!hasCloser,
|
|
5070
|
+
[`type-${type}`]: true,
|
|
5071
|
+
[`variant-${variant}`]: true,
|
|
5072
|
+
});
|
|
5073
|
+
const BEM_CLASS__HEADING = bem$1('kol-alert', 'heading', {
|
|
5074
|
+
[`h${level}`]: true,
|
|
5075
|
+
});
|
|
5076
|
+
const rootProps = Object.assign({ class: clsx(classNames, BEM_CLASS_ROOT), role: alert ? (type === 'error' ? 'alert' : 'status') : undefined }, other);
|
|
5006
5077
|
return (hAsync("div", Object.assign({}, rootProps),
|
|
5007
5078
|
hAsync("div", { class: "kol-alert__container" },
|
|
5008
5079
|
hAsync(AlertIcon$1, { label: label, type: type }),
|
|
5009
5080
|
hAsync("div", { class: "kol-alert__container-content" },
|
|
5010
|
-
label
|
|
5011
|
-
variant === 'msg' && hAsync("
|
|
5012
|
-
hasCloser && (hAsync(KolButtonWcTag, { class:
|
|
5081
|
+
label && (hAsync(KolHeadingFc$1, { class: BEM_CLASS__HEADING, level: level, id: "heading" }, label)),
|
|
5082
|
+
variant === 'msg' && (hAsync("span", { class: BEM_CLASS_ALERT__CONTENT, "aria-describedby": label ? 'heading' : undefined }, children))),
|
|
5083
|
+
hasCloser && (hAsync(KolButtonWcTag, { class: BEM_CLASS_ALERT__CLOSER, "data-testid": "alert-close-button", _ariaDescription: (label === null || label === void 0 ? void 0 : label.trim()) || '', _hideLabel: true, _icons: {
|
|
5013
5084
|
left: {
|
|
5014
5085
|
icon: 'codicon codicon-close',
|
|
5015
5086
|
},
|
|
5016
5087
|
}, _label: translate('kol-close-alert'), _on: { onClick: onCloserClick }, _tooltipAlign: "left" }))),
|
|
5017
|
-
variant === 'card' && hAsync("div", { class: "
|
|
5088
|
+
variant === 'card' && (hAsync("div", { class: BEM_CLASS_ALERT__CONTENT, "aria-describedby": label ? 'heading' : undefined }, children))));
|
|
5018
5089
|
};
|
|
5019
5090
|
var KolAlertFc$1 = KolAlertFc;
|
|
5020
5091
|
|
|
@@ -5207,231 +5278,2094 @@ class KolAvatarWc {
|
|
|
5207
5278
|
}; }
|
|
5208
5279
|
}
|
|
5209
5280
|
|
|
5210
|
-
const FormFieldMsgFc = (_a) => {
|
|
5211
|
-
var { alert, msg, hideMsg, id, class: classNames } = _a, other = __rest(_a, ["alert", "msg", "hideMsg", "id", "class"]);
|
|
5212
|
-
return (hAsync(KolAlertFc$1, Object.assign({ id: `${id}-msg`, alert: alert, type: "error", class: clsx('kol-form-field__msg', { 'visually-hidden': hideMsg === true }, classNames) }, msg, other, { "aria-hidden": "true" }), (msg === null || msg === void 0 ? void 0 : msg.description) || undefined));
|
|
5213
|
-
};
|
|
5214
|
-
var KolFormFieldMsgFc = FormFieldMsgFc;
|
|
5281
|
+
const FormFieldMsgFc = (_a) => {
|
|
5282
|
+
var { alert, msg, hideMsg, id, class: classNames } = _a, other = __rest(_a, ["alert", "msg", "hideMsg", "id", "class"]);
|
|
5283
|
+
return (hAsync(KolAlertFc$1, Object.assign({ id: `${id}-msg`, alert: alert, type: "error", class: clsx('kol-form-field__msg', { 'visually-hidden': hideMsg === true }, classNames) }, msg, other, { "aria-hidden": "true" }), (msg === null || msg === void 0 ? void 0 : msg.description) || undefined));
|
|
5284
|
+
};
|
|
5285
|
+
var KolFormFieldMsgFc = FormFieldMsgFc;
|
|
5286
|
+
|
|
5287
|
+
const KolIconFc = (props) => {
|
|
5288
|
+
const { class: classNames, style, icons, label, onClick } = props;
|
|
5289
|
+
return hAsync(KolIconTag, { class: classNames, style: style, onClick: onClick, _icons: icons, _label: label });
|
|
5290
|
+
};
|
|
5291
|
+
var KolIconFc$1 = KolIconFc;
|
|
5292
|
+
|
|
5293
|
+
/** Detect free variable `global` from Node.js. */
|
|
5294
|
+
var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;
|
|
5295
|
+
|
|
5296
|
+
var freeGlobal$1 = freeGlobal;
|
|
5297
|
+
|
|
5298
|
+
/** Detect free variable `self`. */
|
|
5299
|
+
var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
|
|
5300
|
+
|
|
5301
|
+
/** Used as a reference to the global object. */
|
|
5302
|
+
var root = freeGlobal$1 || freeSelf || Function('return this')();
|
|
5303
|
+
|
|
5304
|
+
var root$1 = root;
|
|
5305
|
+
|
|
5306
|
+
/** Built-in value references. */
|
|
5307
|
+
var Symbol = root$1.Symbol;
|
|
5308
|
+
|
|
5309
|
+
var Symbol$1 = Symbol;
|
|
5310
|
+
|
|
5311
|
+
/** Used for built-in method references. */
|
|
5312
|
+
var objectProto$b = Object.prototype;
|
|
5313
|
+
|
|
5314
|
+
/** Used to check objects for own properties. */
|
|
5315
|
+
var hasOwnProperty$8 = objectProto$b.hasOwnProperty;
|
|
5316
|
+
|
|
5317
|
+
/**
|
|
5318
|
+
* Used to resolve the
|
|
5319
|
+
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
|
5320
|
+
* of values.
|
|
5321
|
+
*/
|
|
5322
|
+
var nativeObjectToString$1 = objectProto$b.toString;
|
|
5323
|
+
|
|
5324
|
+
/** Built-in value references. */
|
|
5325
|
+
var symToStringTag$1 = Symbol$1 ? Symbol$1.toStringTag : undefined;
|
|
5326
|
+
|
|
5327
|
+
/**
|
|
5328
|
+
* A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
|
|
5329
|
+
*
|
|
5330
|
+
* @private
|
|
5331
|
+
* @param {*} value The value to query.
|
|
5332
|
+
* @returns {string} Returns the raw `toStringTag`.
|
|
5333
|
+
*/
|
|
5334
|
+
function getRawTag(value) {
|
|
5335
|
+
var isOwn = hasOwnProperty$8.call(value, symToStringTag$1),
|
|
5336
|
+
tag = value[symToStringTag$1];
|
|
5337
|
+
|
|
5338
|
+
try {
|
|
5339
|
+
value[symToStringTag$1] = undefined;
|
|
5340
|
+
var unmasked = true;
|
|
5341
|
+
} catch (e) {}
|
|
5342
|
+
|
|
5343
|
+
var result = nativeObjectToString$1.call(value);
|
|
5344
|
+
if (unmasked) {
|
|
5345
|
+
if (isOwn) {
|
|
5346
|
+
value[symToStringTag$1] = tag;
|
|
5347
|
+
} else {
|
|
5348
|
+
delete value[symToStringTag$1];
|
|
5349
|
+
}
|
|
5350
|
+
}
|
|
5351
|
+
return result;
|
|
5352
|
+
}
|
|
5353
|
+
|
|
5354
|
+
/** Used for built-in method references. */
|
|
5355
|
+
var objectProto$a = Object.prototype;
|
|
5356
|
+
|
|
5357
|
+
/**
|
|
5358
|
+
* Used to resolve the
|
|
5359
|
+
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
|
5360
|
+
* of values.
|
|
5361
|
+
*/
|
|
5362
|
+
var nativeObjectToString = objectProto$a.toString;
|
|
5363
|
+
|
|
5364
|
+
/**
|
|
5365
|
+
* Converts `value` to a string using `Object.prototype.toString`.
|
|
5366
|
+
*
|
|
5367
|
+
* @private
|
|
5368
|
+
* @param {*} value The value to convert.
|
|
5369
|
+
* @returns {string} Returns the converted string.
|
|
5370
|
+
*/
|
|
5371
|
+
function objectToString(value) {
|
|
5372
|
+
return nativeObjectToString.call(value);
|
|
5373
|
+
}
|
|
5374
|
+
|
|
5375
|
+
/** `Object#toString` result references. */
|
|
5376
|
+
var nullTag = '[object Null]',
|
|
5377
|
+
undefinedTag = '[object Undefined]';
|
|
5378
|
+
|
|
5379
|
+
/** Built-in value references. */
|
|
5380
|
+
var symToStringTag = Symbol$1 ? Symbol$1.toStringTag : undefined;
|
|
5381
|
+
|
|
5382
|
+
/**
|
|
5383
|
+
* The base implementation of `getTag` without fallbacks for buggy environments.
|
|
5384
|
+
*
|
|
5385
|
+
* @private
|
|
5386
|
+
* @param {*} value The value to query.
|
|
5387
|
+
* @returns {string} Returns the `toStringTag`.
|
|
5388
|
+
*/
|
|
5389
|
+
function baseGetTag(value) {
|
|
5390
|
+
if (value == null) {
|
|
5391
|
+
return value === undefined ? undefinedTag : nullTag;
|
|
5392
|
+
}
|
|
5393
|
+
return (symToStringTag && symToStringTag in Object(value))
|
|
5394
|
+
? getRawTag(value)
|
|
5395
|
+
: objectToString(value);
|
|
5396
|
+
}
|
|
5397
|
+
|
|
5398
|
+
/**
|
|
5399
|
+
* Checks if `value` is object-like. A value is object-like if it's not `null`
|
|
5400
|
+
* and has a `typeof` result of "object".
|
|
5401
|
+
*
|
|
5402
|
+
* @static
|
|
5403
|
+
* @memberOf _
|
|
5404
|
+
* @since 4.0.0
|
|
5405
|
+
* @category Lang
|
|
5406
|
+
* @param {*} value The value to check.
|
|
5407
|
+
* @returns {boolean} Returns `true` if `value` is object-like, else `false`.
|
|
5408
|
+
* @example
|
|
5409
|
+
*
|
|
5410
|
+
* _.isObjectLike({});
|
|
5411
|
+
* // => true
|
|
5412
|
+
*
|
|
5413
|
+
* _.isObjectLike([1, 2, 3]);
|
|
5414
|
+
* // => true
|
|
5415
|
+
*
|
|
5416
|
+
* _.isObjectLike(_.noop);
|
|
5417
|
+
* // => false
|
|
5418
|
+
*
|
|
5419
|
+
* _.isObjectLike(null);
|
|
5420
|
+
* // => false
|
|
5421
|
+
*/
|
|
5422
|
+
function isObjectLike(value) {
|
|
5423
|
+
return value != null && typeof value == 'object';
|
|
5424
|
+
}
|
|
5425
|
+
|
|
5426
|
+
/**
|
|
5427
|
+
* Checks if `value` is classified as an `Array` object.
|
|
5428
|
+
*
|
|
5429
|
+
* @static
|
|
5430
|
+
* @memberOf _
|
|
5431
|
+
* @since 0.1.0
|
|
5432
|
+
* @category Lang
|
|
5433
|
+
* @param {*} value The value to check.
|
|
5434
|
+
* @returns {boolean} Returns `true` if `value` is an array, else `false`.
|
|
5435
|
+
* @example
|
|
5436
|
+
*
|
|
5437
|
+
* _.isArray([1, 2, 3]);
|
|
5438
|
+
* // => true
|
|
5439
|
+
*
|
|
5440
|
+
* _.isArray(document.body.children);
|
|
5441
|
+
* // => false
|
|
5442
|
+
*
|
|
5443
|
+
* _.isArray('abc');
|
|
5444
|
+
* // => false
|
|
5445
|
+
*
|
|
5446
|
+
* _.isArray(_.noop);
|
|
5447
|
+
* // => false
|
|
5448
|
+
*/
|
|
5449
|
+
var isArray = Array.isArray;
|
|
5450
|
+
|
|
5451
|
+
var isArray$1 = isArray;
|
|
5452
|
+
|
|
5453
|
+
/**
|
|
5454
|
+
* Checks if `value` is the
|
|
5455
|
+
* [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
|
|
5456
|
+
* of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
|
|
5457
|
+
*
|
|
5458
|
+
* @static
|
|
5459
|
+
* @memberOf _
|
|
5460
|
+
* @since 0.1.0
|
|
5461
|
+
* @category Lang
|
|
5462
|
+
* @param {*} value The value to check.
|
|
5463
|
+
* @returns {boolean} Returns `true` if `value` is an object, else `false`.
|
|
5464
|
+
* @example
|
|
5465
|
+
*
|
|
5466
|
+
* _.isObject({});
|
|
5467
|
+
* // => true
|
|
5468
|
+
*
|
|
5469
|
+
* _.isObject([1, 2, 3]);
|
|
5470
|
+
* // => true
|
|
5471
|
+
*
|
|
5472
|
+
* _.isObject(_.noop);
|
|
5473
|
+
* // => true
|
|
5474
|
+
*
|
|
5475
|
+
* _.isObject(null);
|
|
5476
|
+
* // => false
|
|
5477
|
+
*/
|
|
5478
|
+
function isObject$1(value) {
|
|
5479
|
+
var type = typeof value;
|
|
5480
|
+
return value != null && (type == 'object' || type == 'function');
|
|
5481
|
+
}
|
|
5482
|
+
|
|
5483
|
+
/** `Object#toString` result references. */
|
|
5484
|
+
var asyncTag = '[object AsyncFunction]',
|
|
5485
|
+
funcTag$1 = '[object Function]',
|
|
5486
|
+
genTag = '[object GeneratorFunction]',
|
|
5487
|
+
proxyTag = '[object Proxy]';
|
|
5488
|
+
|
|
5489
|
+
/**
|
|
5490
|
+
* Checks if `value` is classified as a `Function` object.
|
|
5491
|
+
*
|
|
5492
|
+
* @static
|
|
5493
|
+
* @memberOf _
|
|
5494
|
+
* @since 0.1.0
|
|
5495
|
+
* @category Lang
|
|
5496
|
+
* @param {*} value The value to check.
|
|
5497
|
+
* @returns {boolean} Returns `true` if `value` is a function, else `false`.
|
|
5498
|
+
* @example
|
|
5499
|
+
*
|
|
5500
|
+
* _.isFunction(_);
|
|
5501
|
+
* // => true
|
|
5502
|
+
*
|
|
5503
|
+
* _.isFunction(/abc/);
|
|
5504
|
+
* // => false
|
|
5505
|
+
*/
|
|
5506
|
+
function isFunction$1(value) {
|
|
5507
|
+
if (!isObject$1(value)) {
|
|
5508
|
+
return false;
|
|
5509
|
+
}
|
|
5510
|
+
// The use of `Object#toString` avoids issues with the `typeof` operator
|
|
5511
|
+
// in Safari 9 which returns 'object' for typed arrays and other constructors.
|
|
5512
|
+
var tag = baseGetTag(value);
|
|
5513
|
+
return tag == funcTag$1 || tag == genTag || tag == asyncTag || tag == proxyTag;
|
|
5514
|
+
}
|
|
5515
|
+
|
|
5516
|
+
/** Used to detect overreaching core-js shims. */
|
|
5517
|
+
var coreJsData = root$1['__core-js_shared__'];
|
|
5518
|
+
|
|
5519
|
+
var coreJsData$1 = coreJsData;
|
|
5520
|
+
|
|
5521
|
+
/** Used to detect methods masquerading as native. */
|
|
5522
|
+
var maskSrcKey = (function() {
|
|
5523
|
+
var uid = /[^.]+$/.exec(coreJsData$1 && coreJsData$1.keys && coreJsData$1.keys.IE_PROTO || '');
|
|
5524
|
+
return uid ? ('Symbol(src)_1.' + uid) : '';
|
|
5525
|
+
}());
|
|
5526
|
+
|
|
5527
|
+
/**
|
|
5528
|
+
* Checks if `func` has its source masked.
|
|
5529
|
+
*
|
|
5530
|
+
* @private
|
|
5531
|
+
* @param {Function} func The function to check.
|
|
5532
|
+
* @returns {boolean} Returns `true` if `func` is masked, else `false`.
|
|
5533
|
+
*/
|
|
5534
|
+
function isMasked(func) {
|
|
5535
|
+
return !!maskSrcKey && (maskSrcKey in func);
|
|
5536
|
+
}
|
|
5537
|
+
|
|
5538
|
+
/** Used for built-in method references. */
|
|
5539
|
+
var funcProto$1 = Function.prototype;
|
|
5540
|
+
|
|
5541
|
+
/** Used to resolve the decompiled source of functions. */
|
|
5542
|
+
var funcToString$1 = funcProto$1.toString;
|
|
5543
|
+
|
|
5544
|
+
/**
|
|
5545
|
+
* Converts `func` to its source code.
|
|
5546
|
+
*
|
|
5547
|
+
* @private
|
|
5548
|
+
* @param {Function} func The function to convert.
|
|
5549
|
+
* @returns {string} Returns the source code.
|
|
5550
|
+
*/
|
|
5551
|
+
function toSource(func) {
|
|
5552
|
+
if (func != null) {
|
|
5553
|
+
try {
|
|
5554
|
+
return funcToString$1.call(func);
|
|
5555
|
+
} catch (e) {}
|
|
5556
|
+
try {
|
|
5557
|
+
return (func + '');
|
|
5558
|
+
} catch (e) {}
|
|
5559
|
+
}
|
|
5560
|
+
return '';
|
|
5561
|
+
}
|
|
5562
|
+
|
|
5563
|
+
/**
|
|
5564
|
+
* Used to match `RegExp`
|
|
5565
|
+
* [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
|
|
5566
|
+
*/
|
|
5567
|
+
var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
|
|
5568
|
+
|
|
5569
|
+
/** Used to detect host constructors (Safari). */
|
|
5570
|
+
var reIsHostCtor = /^\[object .+?Constructor\]$/;
|
|
5571
|
+
|
|
5572
|
+
/** Used for built-in method references. */
|
|
5573
|
+
var funcProto = Function.prototype,
|
|
5574
|
+
objectProto$9 = Object.prototype;
|
|
5575
|
+
|
|
5576
|
+
/** Used to resolve the decompiled source of functions. */
|
|
5577
|
+
var funcToString = funcProto.toString;
|
|
5578
|
+
|
|
5579
|
+
/** Used to check objects for own properties. */
|
|
5580
|
+
var hasOwnProperty$7 = objectProto$9.hasOwnProperty;
|
|
5581
|
+
|
|
5582
|
+
/** Used to detect if a method is native. */
|
|
5583
|
+
var reIsNative = RegExp('^' +
|
|
5584
|
+
funcToString.call(hasOwnProperty$7).replace(reRegExpChar, '\\$&')
|
|
5585
|
+
.replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
|
|
5586
|
+
);
|
|
5587
|
+
|
|
5588
|
+
/**
|
|
5589
|
+
* The base implementation of `_.isNative` without bad shim checks.
|
|
5590
|
+
*
|
|
5591
|
+
* @private
|
|
5592
|
+
* @param {*} value The value to check.
|
|
5593
|
+
* @returns {boolean} Returns `true` if `value` is a native function,
|
|
5594
|
+
* else `false`.
|
|
5595
|
+
*/
|
|
5596
|
+
function baseIsNative(value) {
|
|
5597
|
+
if (!isObject$1(value) || isMasked(value)) {
|
|
5598
|
+
return false;
|
|
5599
|
+
}
|
|
5600
|
+
var pattern = isFunction$1(value) ? reIsNative : reIsHostCtor;
|
|
5601
|
+
return pattern.test(toSource(value));
|
|
5602
|
+
}
|
|
5603
|
+
|
|
5604
|
+
/**
|
|
5605
|
+
* Gets the value at `key` of `object`.
|
|
5606
|
+
*
|
|
5607
|
+
* @private
|
|
5608
|
+
* @param {Object} [object] The object to query.
|
|
5609
|
+
* @param {string} key The key of the property to get.
|
|
5610
|
+
* @returns {*} Returns the property value.
|
|
5611
|
+
*/
|
|
5612
|
+
function getValue(object, key) {
|
|
5613
|
+
return object == null ? undefined : object[key];
|
|
5614
|
+
}
|
|
5615
|
+
|
|
5616
|
+
/**
|
|
5617
|
+
* Gets the native function at `key` of `object`.
|
|
5618
|
+
*
|
|
5619
|
+
* @private
|
|
5620
|
+
* @param {Object} object The object to query.
|
|
5621
|
+
* @param {string} key The key of the method to get.
|
|
5622
|
+
* @returns {*} Returns the function if it's native, else `undefined`.
|
|
5623
|
+
*/
|
|
5624
|
+
function getNative(object, key) {
|
|
5625
|
+
var value = getValue(object, key);
|
|
5626
|
+
return baseIsNative(value) ? value : undefined;
|
|
5627
|
+
}
|
|
5628
|
+
|
|
5629
|
+
/* Built-in method references that are verified to be native. */
|
|
5630
|
+
var WeakMap$1 = getNative(root$1, 'WeakMap');
|
|
5631
|
+
|
|
5632
|
+
var WeakMap$2 = WeakMap$1;
|
|
5633
|
+
|
|
5634
|
+
/** Used as references for various `Number` constants. */
|
|
5635
|
+
var MAX_SAFE_INTEGER$1 = 9007199254740991;
|
|
5636
|
+
|
|
5637
|
+
/** Used to detect unsigned integer values. */
|
|
5638
|
+
var reIsUint = /^(?:0|[1-9]\d*)$/;
|
|
5639
|
+
|
|
5640
|
+
/**
|
|
5641
|
+
* Checks if `value` is a valid array-like index.
|
|
5642
|
+
*
|
|
5643
|
+
* @private
|
|
5644
|
+
* @param {*} value The value to check.
|
|
5645
|
+
* @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
|
|
5646
|
+
* @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
|
|
5647
|
+
*/
|
|
5648
|
+
function isIndex(value, length) {
|
|
5649
|
+
var type = typeof value;
|
|
5650
|
+
length = length == null ? MAX_SAFE_INTEGER$1 : length;
|
|
5651
|
+
|
|
5652
|
+
return !!length &&
|
|
5653
|
+
(type == 'number' ||
|
|
5654
|
+
(type != 'symbol' && reIsUint.test(value))) &&
|
|
5655
|
+
(value > -1 && value % 1 == 0 && value < length);
|
|
5656
|
+
}
|
|
5657
|
+
|
|
5658
|
+
/**
|
|
5659
|
+
* Performs a
|
|
5660
|
+
* [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
|
|
5661
|
+
* comparison between two values to determine if they are equivalent.
|
|
5662
|
+
*
|
|
5663
|
+
* @static
|
|
5664
|
+
* @memberOf _
|
|
5665
|
+
* @since 4.0.0
|
|
5666
|
+
* @category Lang
|
|
5667
|
+
* @param {*} value The value to compare.
|
|
5668
|
+
* @param {*} other The other value to compare.
|
|
5669
|
+
* @returns {boolean} Returns `true` if the values are equivalent, else `false`.
|
|
5670
|
+
* @example
|
|
5671
|
+
*
|
|
5672
|
+
* var object = { 'a': 1 };
|
|
5673
|
+
* var other = { 'a': 1 };
|
|
5674
|
+
*
|
|
5675
|
+
* _.eq(object, object);
|
|
5676
|
+
* // => true
|
|
5677
|
+
*
|
|
5678
|
+
* _.eq(object, other);
|
|
5679
|
+
* // => false
|
|
5680
|
+
*
|
|
5681
|
+
* _.eq('a', 'a');
|
|
5682
|
+
* // => true
|
|
5683
|
+
*
|
|
5684
|
+
* _.eq('a', Object('a'));
|
|
5685
|
+
* // => false
|
|
5686
|
+
*
|
|
5687
|
+
* _.eq(NaN, NaN);
|
|
5688
|
+
* // => true
|
|
5689
|
+
*/
|
|
5690
|
+
function eq(value, other) {
|
|
5691
|
+
return value === other || (value !== value && other !== other);
|
|
5692
|
+
}
|
|
5693
|
+
|
|
5694
|
+
/** Used as references for various `Number` constants. */
|
|
5695
|
+
var MAX_SAFE_INTEGER = 9007199254740991;
|
|
5696
|
+
|
|
5697
|
+
/**
|
|
5698
|
+
* Checks if `value` is a valid array-like length.
|
|
5699
|
+
*
|
|
5700
|
+
* **Note:** This method is loosely based on
|
|
5701
|
+
* [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
|
|
5702
|
+
*
|
|
5703
|
+
* @static
|
|
5704
|
+
* @memberOf _
|
|
5705
|
+
* @since 4.0.0
|
|
5706
|
+
* @category Lang
|
|
5707
|
+
* @param {*} value The value to check.
|
|
5708
|
+
* @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
|
|
5709
|
+
* @example
|
|
5710
|
+
*
|
|
5711
|
+
* _.isLength(3);
|
|
5712
|
+
* // => true
|
|
5713
|
+
*
|
|
5714
|
+
* _.isLength(Number.MIN_VALUE);
|
|
5715
|
+
* // => false
|
|
5716
|
+
*
|
|
5717
|
+
* _.isLength(Infinity);
|
|
5718
|
+
* // => false
|
|
5719
|
+
*
|
|
5720
|
+
* _.isLength('3');
|
|
5721
|
+
* // => false
|
|
5722
|
+
*/
|
|
5723
|
+
function isLength(value) {
|
|
5724
|
+
return typeof value == 'number' &&
|
|
5725
|
+
value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
|
|
5726
|
+
}
|
|
5727
|
+
|
|
5728
|
+
/**
|
|
5729
|
+
* Checks if `value` is array-like. A value is considered array-like if it's
|
|
5730
|
+
* not a function and has a `value.length` that's an integer greater than or
|
|
5731
|
+
* equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
|
|
5732
|
+
*
|
|
5733
|
+
* @static
|
|
5734
|
+
* @memberOf _
|
|
5735
|
+
* @since 4.0.0
|
|
5736
|
+
* @category Lang
|
|
5737
|
+
* @param {*} value The value to check.
|
|
5738
|
+
* @returns {boolean} Returns `true` if `value` is array-like, else `false`.
|
|
5739
|
+
* @example
|
|
5740
|
+
*
|
|
5741
|
+
* _.isArrayLike([1, 2, 3]);
|
|
5742
|
+
* // => true
|
|
5743
|
+
*
|
|
5744
|
+
* _.isArrayLike(document.body.children);
|
|
5745
|
+
* // => true
|
|
5746
|
+
*
|
|
5747
|
+
* _.isArrayLike('abc');
|
|
5748
|
+
* // => true
|
|
5749
|
+
*
|
|
5750
|
+
* _.isArrayLike(_.noop);
|
|
5751
|
+
* // => false
|
|
5752
|
+
*/
|
|
5753
|
+
function isArrayLike(value) {
|
|
5754
|
+
return value != null && isLength(value.length) && !isFunction$1(value);
|
|
5755
|
+
}
|
|
5756
|
+
|
|
5757
|
+
/** Used for built-in method references. */
|
|
5758
|
+
var objectProto$8 = Object.prototype;
|
|
5759
|
+
|
|
5760
|
+
/**
|
|
5761
|
+
* Checks if `value` is likely a prototype object.
|
|
5762
|
+
*
|
|
5763
|
+
* @private
|
|
5764
|
+
* @param {*} value The value to check.
|
|
5765
|
+
* @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
|
|
5766
|
+
*/
|
|
5767
|
+
function isPrototype(value) {
|
|
5768
|
+
var Ctor = value && value.constructor,
|
|
5769
|
+
proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto$8;
|
|
5770
|
+
|
|
5771
|
+
return value === proto;
|
|
5772
|
+
}
|
|
5773
|
+
|
|
5774
|
+
/**
|
|
5775
|
+
* The base implementation of `_.times` without support for iteratee shorthands
|
|
5776
|
+
* or max array length checks.
|
|
5777
|
+
*
|
|
5778
|
+
* @private
|
|
5779
|
+
* @param {number} n The number of times to invoke `iteratee`.
|
|
5780
|
+
* @param {Function} iteratee The function invoked per iteration.
|
|
5781
|
+
* @returns {Array} Returns the array of results.
|
|
5782
|
+
*/
|
|
5783
|
+
function baseTimes(n, iteratee) {
|
|
5784
|
+
var index = -1,
|
|
5785
|
+
result = Array(n);
|
|
5786
|
+
|
|
5787
|
+
while (++index < n) {
|
|
5788
|
+
result[index] = iteratee(index);
|
|
5789
|
+
}
|
|
5790
|
+
return result;
|
|
5791
|
+
}
|
|
5792
|
+
|
|
5793
|
+
/** `Object#toString` result references. */
|
|
5794
|
+
var argsTag$2 = '[object Arguments]';
|
|
5795
|
+
|
|
5796
|
+
/**
|
|
5797
|
+
* The base implementation of `_.isArguments`.
|
|
5798
|
+
*
|
|
5799
|
+
* @private
|
|
5800
|
+
* @param {*} value The value to check.
|
|
5801
|
+
* @returns {boolean} Returns `true` if `value` is an `arguments` object,
|
|
5802
|
+
*/
|
|
5803
|
+
function baseIsArguments(value) {
|
|
5804
|
+
return isObjectLike(value) && baseGetTag(value) == argsTag$2;
|
|
5805
|
+
}
|
|
5806
|
+
|
|
5807
|
+
/** Used for built-in method references. */
|
|
5808
|
+
var objectProto$7 = Object.prototype;
|
|
5809
|
+
|
|
5810
|
+
/** Used to check objects for own properties. */
|
|
5811
|
+
var hasOwnProperty$6 = objectProto$7.hasOwnProperty;
|
|
5812
|
+
|
|
5813
|
+
/** Built-in value references. */
|
|
5814
|
+
var propertyIsEnumerable$1 = objectProto$7.propertyIsEnumerable;
|
|
5815
|
+
|
|
5816
|
+
/**
|
|
5817
|
+
* Checks if `value` is likely an `arguments` object.
|
|
5818
|
+
*
|
|
5819
|
+
* @static
|
|
5820
|
+
* @memberOf _
|
|
5821
|
+
* @since 0.1.0
|
|
5822
|
+
* @category Lang
|
|
5823
|
+
* @param {*} value The value to check.
|
|
5824
|
+
* @returns {boolean} Returns `true` if `value` is an `arguments` object,
|
|
5825
|
+
* else `false`.
|
|
5826
|
+
* @example
|
|
5827
|
+
*
|
|
5828
|
+
* _.isArguments(function() { return arguments; }());
|
|
5829
|
+
* // => true
|
|
5830
|
+
*
|
|
5831
|
+
* _.isArguments([1, 2, 3]);
|
|
5832
|
+
* // => false
|
|
5833
|
+
*/
|
|
5834
|
+
var isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {
|
|
5835
|
+
return isObjectLike(value) && hasOwnProperty$6.call(value, 'callee') &&
|
|
5836
|
+
!propertyIsEnumerable$1.call(value, 'callee');
|
|
5837
|
+
};
|
|
5838
|
+
|
|
5839
|
+
var isArguments$1 = isArguments;
|
|
5840
|
+
|
|
5841
|
+
/**
|
|
5842
|
+
* This method returns `false`.
|
|
5843
|
+
*
|
|
5844
|
+
* @static
|
|
5845
|
+
* @memberOf _
|
|
5846
|
+
* @since 4.13.0
|
|
5847
|
+
* @category Util
|
|
5848
|
+
* @returns {boolean} Returns `false`.
|
|
5849
|
+
* @example
|
|
5850
|
+
*
|
|
5851
|
+
* _.times(2, _.stubFalse);
|
|
5852
|
+
* // => [false, false]
|
|
5853
|
+
*/
|
|
5854
|
+
function stubFalse() {
|
|
5855
|
+
return false;
|
|
5856
|
+
}
|
|
5857
|
+
|
|
5858
|
+
/** Detect free variable `exports`. */
|
|
5859
|
+
var freeExports$1 = typeof exports == 'object' && exports && !exports.nodeType && exports;
|
|
5860
|
+
|
|
5861
|
+
/** Detect free variable `module`. */
|
|
5862
|
+
var freeModule$1 = freeExports$1 && typeof module == 'object' && module && !module.nodeType && module;
|
|
5863
|
+
|
|
5864
|
+
/** Detect the popular CommonJS extension `module.exports`. */
|
|
5865
|
+
var moduleExports$1 = freeModule$1 && freeModule$1.exports === freeExports$1;
|
|
5866
|
+
|
|
5867
|
+
/** Built-in value references. */
|
|
5868
|
+
var Buffer = moduleExports$1 ? root$1.Buffer : undefined;
|
|
5869
|
+
|
|
5870
|
+
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
5871
|
+
var nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;
|
|
5872
|
+
|
|
5873
|
+
/**
|
|
5874
|
+
* Checks if `value` is a buffer.
|
|
5875
|
+
*
|
|
5876
|
+
* @static
|
|
5877
|
+
* @memberOf _
|
|
5878
|
+
* @since 4.3.0
|
|
5879
|
+
* @category Lang
|
|
5880
|
+
* @param {*} value The value to check.
|
|
5881
|
+
* @returns {boolean} Returns `true` if `value` is a buffer, else `false`.
|
|
5882
|
+
* @example
|
|
5883
|
+
*
|
|
5884
|
+
* _.isBuffer(new Buffer(2));
|
|
5885
|
+
* // => true
|
|
5886
|
+
*
|
|
5887
|
+
* _.isBuffer(new Uint8Array(2));
|
|
5888
|
+
* // => false
|
|
5889
|
+
*/
|
|
5890
|
+
var isBuffer = nativeIsBuffer || stubFalse;
|
|
5891
|
+
|
|
5892
|
+
var isBuffer$1 = isBuffer;
|
|
5893
|
+
|
|
5894
|
+
/** `Object#toString` result references. */
|
|
5895
|
+
var argsTag$1 = '[object Arguments]',
|
|
5896
|
+
arrayTag$1 = '[object Array]',
|
|
5897
|
+
boolTag$1 = '[object Boolean]',
|
|
5898
|
+
dateTag$1 = '[object Date]',
|
|
5899
|
+
errorTag$1 = '[object Error]',
|
|
5900
|
+
funcTag = '[object Function]',
|
|
5901
|
+
mapTag$2 = '[object Map]',
|
|
5902
|
+
numberTag$1 = '[object Number]',
|
|
5903
|
+
objectTag$2 = '[object Object]',
|
|
5904
|
+
regexpTag$1 = '[object RegExp]',
|
|
5905
|
+
setTag$2 = '[object Set]',
|
|
5906
|
+
stringTag$2 = '[object String]',
|
|
5907
|
+
weakMapTag$1 = '[object WeakMap]';
|
|
5908
|
+
|
|
5909
|
+
var arrayBufferTag$1 = '[object ArrayBuffer]',
|
|
5910
|
+
dataViewTag$2 = '[object DataView]',
|
|
5911
|
+
float32Tag = '[object Float32Array]',
|
|
5912
|
+
float64Tag = '[object Float64Array]',
|
|
5913
|
+
int8Tag = '[object Int8Array]',
|
|
5914
|
+
int16Tag = '[object Int16Array]',
|
|
5915
|
+
int32Tag = '[object Int32Array]',
|
|
5916
|
+
uint8Tag = '[object Uint8Array]',
|
|
5917
|
+
uint8ClampedTag = '[object Uint8ClampedArray]',
|
|
5918
|
+
uint16Tag = '[object Uint16Array]',
|
|
5919
|
+
uint32Tag = '[object Uint32Array]';
|
|
5920
|
+
|
|
5921
|
+
/** Used to identify `toStringTag` values of typed arrays. */
|
|
5922
|
+
var typedArrayTags = {};
|
|
5923
|
+
typedArrayTags[float32Tag] = typedArrayTags[float64Tag] =
|
|
5924
|
+
typedArrayTags[int8Tag] = typedArrayTags[int16Tag] =
|
|
5925
|
+
typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =
|
|
5926
|
+
typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =
|
|
5927
|
+
typedArrayTags[uint32Tag] = true;
|
|
5928
|
+
typedArrayTags[argsTag$1] = typedArrayTags[arrayTag$1] =
|
|
5929
|
+
typedArrayTags[arrayBufferTag$1] = typedArrayTags[boolTag$1] =
|
|
5930
|
+
typedArrayTags[dataViewTag$2] = typedArrayTags[dateTag$1] =
|
|
5931
|
+
typedArrayTags[errorTag$1] = typedArrayTags[funcTag] =
|
|
5932
|
+
typedArrayTags[mapTag$2] = typedArrayTags[numberTag$1] =
|
|
5933
|
+
typedArrayTags[objectTag$2] = typedArrayTags[regexpTag$1] =
|
|
5934
|
+
typedArrayTags[setTag$2] = typedArrayTags[stringTag$2] =
|
|
5935
|
+
typedArrayTags[weakMapTag$1] = false;
|
|
5936
|
+
|
|
5937
|
+
/**
|
|
5938
|
+
* The base implementation of `_.isTypedArray` without Node.js optimizations.
|
|
5939
|
+
*
|
|
5940
|
+
* @private
|
|
5941
|
+
* @param {*} value The value to check.
|
|
5942
|
+
* @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
|
|
5943
|
+
*/
|
|
5944
|
+
function baseIsTypedArray(value) {
|
|
5945
|
+
return isObjectLike(value) &&
|
|
5946
|
+
isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
|
|
5947
|
+
}
|
|
5948
|
+
|
|
5949
|
+
/**
|
|
5950
|
+
* The base implementation of `_.unary` without support for storing metadata.
|
|
5951
|
+
*
|
|
5952
|
+
* @private
|
|
5953
|
+
* @param {Function} func The function to cap arguments for.
|
|
5954
|
+
* @returns {Function} Returns the new capped function.
|
|
5955
|
+
*/
|
|
5956
|
+
function baseUnary(func) {
|
|
5957
|
+
return function(value) {
|
|
5958
|
+
return func(value);
|
|
5959
|
+
};
|
|
5960
|
+
}
|
|
5961
|
+
|
|
5962
|
+
/** Detect free variable `exports`. */
|
|
5963
|
+
var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;
|
|
5964
|
+
|
|
5965
|
+
/** Detect free variable `module`. */
|
|
5966
|
+
var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;
|
|
5967
|
+
|
|
5968
|
+
/** Detect the popular CommonJS extension `module.exports`. */
|
|
5969
|
+
var moduleExports = freeModule && freeModule.exports === freeExports;
|
|
5970
|
+
|
|
5971
|
+
/** Detect free variable `process` from Node.js. */
|
|
5972
|
+
var freeProcess = moduleExports && freeGlobal$1.process;
|
|
5973
|
+
|
|
5974
|
+
/** Used to access faster Node.js helpers. */
|
|
5975
|
+
var nodeUtil = (function() {
|
|
5976
|
+
try {
|
|
5977
|
+
// Use `util.types` for Node.js 10+.
|
|
5978
|
+
var types = freeModule && freeModule.require && freeModule.require('util').types;
|
|
5979
|
+
|
|
5980
|
+
if (types) {
|
|
5981
|
+
return types;
|
|
5982
|
+
}
|
|
5983
|
+
|
|
5984
|
+
// Legacy `process.binding('util')` for Node.js < 10.
|
|
5985
|
+
return freeProcess && freeProcess.binding && freeProcess.binding('util');
|
|
5986
|
+
} catch (e) {}
|
|
5987
|
+
}());
|
|
5988
|
+
|
|
5989
|
+
var nodeUtil$1 = nodeUtil;
|
|
5990
|
+
|
|
5991
|
+
/* Node.js helper references. */
|
|
5992
|
+
var nodeIsTypedArray = nodeUtil$1 && nodeUtil$1.isTypedArray;
|
|
5993
|
+
|
|
5994
|
+
/**
|
|
5995
|
+
* Checks if `value` is classified as a typed array.
|
|
5996
|
+
*
|
|
5997
|
+
* @static
|
|
5998
|
+
* @memberOf _
|
|
5999
|
+
* @since 3.0.0
|
|
6000
|
+
* @category Lang
|
|
6001
|
+
* @param {*} value The value to check.
|
|
6002
|
+
* @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
|
|
6003
|
+
* @example
|
|
6004
|
+
*
|
|
6005
|
+
* _.isTypedArray(new Uint8Array);
|
|
6006
|
+
* // => true
|
|
6007
|
+
*
|
|
6008
|
+
* _.isTypedArray([]);
|
|
6009
|
+
* // => false
|
|
6010
|
+
*/
|
|
6011
|
+
var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
|
|
6012
|
+
|
|
6013
|
+
var isTypedArray$1 = isTypedArray;
|
|
6014
|
+
|
|
6015
|
+
/** Used for built-in method references. */
|
|
6016
|
+
var objectProto$6 = Object.prototype;
|
|
6017
|
+
|
|
6018
|
+
/** Used to check objects for own properties. */
|
|
6019
|
+
var hasOwnProperty$5 = objectProto$6.hasOwnProperty;
|
|
6020
|
+
|
|
6021
|
+
/**
|
|
6022
|
+
* Creates an array of the enumerable property names of the array-like `value`.
|
|
6023
|
+
*
|
|
6024
|
+
* @private
|
|
6025
|
+
* @param {*} value The value to query.
|
|
6026
|
+
* @param {boolean} inherited Specify returning inherited property names.
|
|
6027
|
+
* @returns {Array} Returns the array of property names.
|
|
6028
|
+
*/
|
|
6029
|
+
function arrayLikeKeys(value, inherited) {
|
|
6030
|
+
var isArr = isArray$1(value),
|
|
6031
|
+
isArg = !isArr && isArguments$1(value),
|
|
6032
|
+
isBuff = !isArr && !isArg && isBuffer$1(value),
|
|
6033
|
+
isType = !isArr && !isArg && !isBuff && isTypedArray$1(value),
|
|
6034
|
+
skipIndexes = isArr || isArg || isBuff || isType,
|
|
6035
|
+
result = skipIndexes ? baseTimes(value.length, String) : [],
|
|
6036
|
+
length = result.length;
|
|
6037
|
+
|
|
6038
|
+
for (var key in value) {
|
|
6039
|
+
if ((inherited || hasOwnProperty$5.call(value, key)) &&
|
|
6040
|
+
!(skipIndexes && (
|
|
6041
|
+
// Safari 9 has enumerable `arguments.length` in strict mode.
|
|
6042
|
+
key == 'length' ||
|
|
6043
|
+
// Node.js 0.10 has enumerable non-index properties on buffers.
|
|
6044
|
+
(isBuff && (key == 'offset' || key == 'parent')) ||
|
|
6045
|
+
// PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
6046
|
+
(isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||
|
|
6047
|
+
// Skip index properties.
|
|
6048
|
+
isIndex(key, length)
|
|
6049
|
+
))) {
|
|
6050
|
+
result.push(key);
|
|
6051
|
+
}
|
|
6052
|
+
}
|
|
6053
|
+
return result;
|
|
6054
|
+
}
|
|
6055
|
+
|
|
6056
|
+
/**
|
|
6057
|
+
* Creates a unary function that invokes `func` with its argument transformed.
|
|
6058
|
+
*
|
|
6059
|
+
* @private
|
|
6060
|
+
* @param {Function} func The function to wrap.
|
|
6061
|
+
* @param {Function} transform The argument transform.
|
|
6062
|
+
* @returns {Function} Returns the new function.
|
|
6063
|
+
*/
|
|
6064
|
+
function overArg(func, transform) {
|
|
6065
|
+
return function(arg) {
|
|
6066
|
+
return func(transform(arg));
|
|
6067
|
+
};
|
|
6068
|
+
}
|
|
6069
|
+
|
|
6070
|
+
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
6071
|
+
var nativeKeys = overArg(Object.keys, Object);
|
|
6072
|
+
|
|
6073
|
+
var nativeKeys$1 = nativeKeys;
|
|
6074
|
+
|
|
6075
|
+
/** Used for built-in method references. */
|
|
6076
|
+
var objectProto$5 = Object.prototype;
|
|
6077
|
+
|
|
6078
|
+
/** Used to check objects for own properties. */
|
|
6079
|
+
var hasOwnProperty$4 = objectProto$5.hasOwnProperty;
|
|
6080
|
+
|
|
6081
|
+
/**
|
|
6082
|
+
* The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
|
|
6083
|
+
*
|
|
6084
|
+
* @private
|
|
6085
|
+
* @param {Object} object The object to query.
|
|
6086
|
+
* @returns {Array} Returns the array of property names.
|
|
6087
|
+
*/
|
|
6088
|
+
function baseKeys(object) {
|
|
6089
|
+
if (!isPrototype(object)) {
|
|
6090
|
+
return nativeKeys$1(object);
|
|
6091
|
+
}
|
|
6092
|
+
var result = [];
|
|
6093
|
+
for (var key in Object(object)) {
|
|
6094
|
+
if (hasOwnProperty$4.call(object, key) && key != 'constructor') {
|
|
6095
|
+
result.push(key);
|
|
6096
|
+
}
|
|
6097
|
+
}
|
|
6098
|
+
return result;
|
|
6099
|
+
}
|
|
6100
|
+
|
|
6101
|
+
/**
|
|
6102
|
+
* Creates an array of the own enumerable property names of `object`.
|
|
6103
|
+
*
|
|
6104
|
+
* **Note:** Non-object values are coerced to objects. See the
|
|
6105
|
+
* [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
|
|
6106
|
+
* for more details.
|
|
6107
|
+
*
|
|
6108
|
+
* @static
|
|
6109
|
+
* @since 0.1.0
|
|
6110
|
+
* @memberOf _
|
|
6111
|
+
* @category Object
|
|
6112
|
+
* @param {Object} object The object to query.
|
|
6113
|
+
* @returns {Array} Returns the array of property names.
|
|
6114
|
+
* @example
|
|
6115
|
+
*
|
|
6116
|
+
* function Foo() {
|
|
6117
|
+
* this.a = 1;
|
|
6118
|
+
* this.b = 2;
|
|
6119
|
+
* }
|
|
6120
|
+
*
|
|
6121
|
+
* Foo.prototype.c = 3;
|
|
6122
|
+
*
|
|
6123
|
+
* _.keys(new Foo);
|
|
6124
|
+
* // => ['a', 'b'] (iteration order is not guaranteed)
|
|
6125
|
+
*
|
|
6126
|
+
* _.keys('hi');
|
|
6127
|
+
* // => ['0', '1']
|
|
6128
|
+
*/
|
|
6129
|
+
function keys(object) {
|
|
6130
|
+
return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
|
|
6131
|
+
}
|
|
6132
|
+
|
|
6133
|
+
/* Built-in method references that are verified to be native. */
|
|
6134
|
+
var nativeCreate = getNative(Object, 'create');
|
|
6135
|
+
|
|
6136
|
+
var nativeCreate$1 = nativeCreate;
|
|
6137
|
+
|
|
6138
|
+
/**
|
|
6139
|
+
* Removes all key-value entries from the hash.
|
|
6140
|
+
*
|
|
6141
|
+
* @private
|
|
6142
|
+
* @name clear
|
|
6143
|
+
* @memberOf Hash
|
|
6144
|
+
*/
|
|
6145
|
+
function hashClear() {
|
|
6146
|
+
this.__data__ = nativeCreate$1 ? nativeCreate$1(null) : {};
|
|
6147
|
+
this.size = 0;
|
|
6148
|
+
}
|
|
6149
|
+
|
|
6150
|
+
/**
|
|
6151
|
+
* Removes `key` and its value from the hash.
|
|
6152
|
+
*
|
|
6153
|
+
* @private
|
|
6154
|
+
* @name delete
|
|
6155
|
+
* @memberOf Hash
|
|
6156
|
+
* @param {Object} hash The hash to modify.
|
|
6157
|
+
* @param {string} key The key of the value to remove.
|
|
6158
|
+
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
|
|
6159
|
+
*/
|
|
6160
|
+
function hashDelete(key) {
|
|
6161
|
+
var result = this.has(key) && delete this.__data__[key];
|
|
6162
|
+
this.size -= result ? 1 : 0;
|
|
6163
|
+
return result;
|
|
6164
|
+
}
|
|
6165
|
+
|
|
6166
|
+
/** Used to stand-in for `undefined` hash values. */
|
|
6167
|
+
var HASH_UNDEFINED$2 = '__lodash_hash_undefined__';
|
|
6168
|
+
|
|
6169
|
+
/** Used for built-in method references. */
|
|
6170
|
+
var objectProto$4 = Object.prototype;
|
|
6171
|
+
|
|
6172
|
+
/** Used to check objects for own properties. */
|
|
6173
|
+
var hasOwnProperty$3 = objectProto$4.hasOwnProperty;
|
|
6174
|
+
|
|
6175
|
+
/**
|
|
6176
|
+
* Gets the hash value for `key`.
|
|
6177
|
+
*
|
|
6178
|
+
* @private
|
|
6179
|
+
* @name get
|
|
6180
|
+
* @memberOf Hash
|
|
6181
|
+
* @param {string} key The key of the value to get.
|
|
6182
|
+
* @returns {*} Returns the entry value.
|
|
6183
|
+
*/
|
|
6184
|
+
function hashGet(key) {
|
|
6185
|
+
var data = this.__data__;
|
|
6186
|
+
if (nativeCreate$1) {
|
|
6187
|
+
var result = data[key];
|
|
6188
|
+
return result === HASH_UNDEFINED$2 ? undefined : result;
|
|
6189
|
+
}
|
|
6190
|
+
return hasOwnProperty$3.call(data, key) ? data[key] : undefined;
|
|
6191
|
+
}
|
|
6192
|
+
|
|
6193
|
+
/** Used for built-in method references. */
|
|
6194
|
+
var objectProto$3 = Object.prototype;
|
|
6195
|
+
|
|
6196
|
+
/** Used to check objects for own properties. */
|
|
6197
|
+
var hasOwnProperty$2 = objectProto$3.hasOwnProperty;
|
|
6198
|
+
|
|
6199
|
+
/**
|
|
6200
|
+
* Checks if a hash value for `key` exists.
|
|
6201
|
+
*
|
|
6202
|
+
* @private
|
|
6203
|
+
* @name has
|
|
6204
|
+
* @memberOf Hash
|
|
6205
|
+
* @param {string} key The key of the entry to check.
|
|
6206
|
+
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
|
6207
|
+
*/
|
|
6208
|
+
function hashHas(key) {
|
|
6209
|
+
var data = this.__data__;
|
|
6210
|
+
return nativeCreate$1 ? (data[key] !== undefined) : hasOwnProperty$2.call(data, key);
|
|
6211
|
+
}
|
|
6212
|
+
|
|
6213
|
+
/** Used to stand-in for `undefined` hash values. */
|
|
6214
|
+
var HASH_UNDEFINED$1 = '__lodash_hash_undefined__';
|
|
6215
|
+
|
|
6216
|
+
/**
|
|
6217
|
+
* Sets the hash `key` to `value`.
|
|
6218
|
+
*
|
|
6219
|
+
* @private
|
|
6220
|
+
* @name set
|
|
6221
|
+
* @memberOf Hash
|
|
6222
|
+
* @param {string} key The key of the value to set.
|
|
6223
|
+
* @param {*} value The value to set.
|
|
6224
|
+
* @returns {Object} Returns the hash instance.
|
|
6225
|
+
*/
|
|
6226
|
+
function hashSet(key, value) {
|
|
6227
|
+
var data = this.__data__;
|
|
6228
|
+
this.size += this.has(key) ? 0 : 1;
|
|
6229
|
+
data[key] = (nativeCreate$1 && value === undefined) ? HASH_UNDEFINED$1 : value;
|
|
6230
|
+
return this;
|
|
6231
|
+
}
|
|
6232
|
+
|
|
6233
|
+
/**
|
|
6234
|
+
* Creates a hash object.
|
|
6235
|
+
*
|
|
6236
|
+
* @private
|
|
6237
|
+
* @constructor
|
|
6238
|
+
* @param {Array} [entries] The key-value pairs to cache.
|
|
6239
|
+
*/
|
|
6240
|
+
function Hash(entries) {
|
|
6241
|
+
var index = -1,
|
|
6242
|
+
length = entries == null ? 0 : entries.length;
|
|
6243
|
+
|
|
6244
|
+
this.clear();
|
|
6245
|
+
while (++index < length) {
|
|
6246
|
+
var entry = entries[index];
|
|
6247
|
+
this.set(entry[0], entry[1]);
|
|
6248
|
+
}
|
|
6249
|
+
}
|
|
6250
|
+
|
|
6251
|
+
// Add methods to `Hash`.
|
|
6252
|
+
Hash.prototype.clear = hashClear;
|
|
6253
|
+
Hash.prototype['delete'] = hashDelete;
|
|
6254
|
+
Hash.prototype.get = hashGet;
|
|
6255
|
+
Hash.prototype.has = hashHas;
|
|
6256
|
+
Hash.prototype.set = hashSet;
|
|
6257
|
+
|
|
6258
|
+
/**
|
|
6259
|
+
* Removes all key-value entries from the list cache.
|
|
6260
|
+
*
|
|
6261
|
+
* @private
|
|
6262
|
+
* @name clear
|
|
6263
|
+
* @memberOf ListCache
|
|
6264
|
+
*/
|
|
6265
|
+
function listCacheClear() {
|
|
6266
|
+
this.__data__ = [];
|
|
6267
|
+
this.size = 0;
|
|
6268
|
+
}
|
|
6269
|
+
|
|
6270
|
+
/**
|
|
6271
|
+
* Gets the index at which the `key` is found in `array` of key-value pairs.
|
|
6272
|
+
*
|
|
6273
|
+
* @private
|
|
6274
|
+
* @param {Array} array The array to inspect.
|
|
6275
|
+
* @param {*} key The key to search for.
|
|
6276
|
+
* @returns {number} Returns the index of the matched value, else `-1`.
|
|
6277
|
+
*/
|
|
6278
|
+
function assocIndexOf(array, key) {
|
|
6279
|
+
var length = array.length;
|
|
6280
|
+
while (length--) {
|
|
6281
|
+
if (eq(array[length][0], key)) {
|
|
6282
|
+
return length;
|
|
6283
|
+
}
|
|
6284
|
+
}
|
|
6285
|
+
return -1;
|
|
6286
|
+
}
|
|
6287
|
+
|
|
6288
|
+
/** Used for built-in method references. */
|
|
6289
|
+
var arrayProto = Array.prototype;
|
|
6290
|
+
|
|
6291
|
+
/** Built-in value references. */
|
|
6292
|
+
var splice = arrayProto.splice;
|
|
6293
|
+
|
|
6294
|
+
/**
|
|
6295
|
+
* Removes `key` and its value from the list cache.
|
|
6296
|
+
*
|
|
6297
|
+
* @private
|
|
6298
|
+
* @name delete
|
|
6299
|
+
* @memberOf ListCache
|
|
6300
|
+
* @param {string} key The key of the value to remove.
|
|
6301
|
+
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
|
|
6302
|
+
*/
|
|
6303
|
+
function listCacheDelete(key) {
|
|
6304
|
+
var data = this.__data__,
|
|
6305
|
+
index = assocIndexOf(data, key);
|
|
6306
|
+
|
|
6307
|
+
if (index < 0) {
|
|
6308
|
+
return false;
|
|
6309
|
+
}
|
|
6310
|
+
var lastIndex = data.length - 1;
|
|
6311
|
+
if (index == lastIndex) {
|
|
6312
|
+
data.pop();
|
|
6313
|
+
} else {
|
|
6314
|
+
splice.call(data, index, 1);
|
|
6315
|
+
}
|
|
6316
|
+
--this.size;
|
|
6317
|
+
return true;
|
|
6318
|
+
}
|
|
6319
|
+
|
|
6320
|
+
/**
|
|
6321
|
+
* Gets the list cache value for `key`.
|
|
6322
|
+
*
|
|
6323
|
+
* @private
|
|
6324
|
+
* @name get
|
|
6325
|
+
* @memberOf ListCache
|
|
6326
|
+
* @param {string} key The key of the value to get.
|
|
6327
|
+
* @returns {*} Returns the entry value.
|
|
6328
|
+
*/
|
|
6329
|
+
function listCacheGet(key) {
|
|
6330
|
+
var data = this.__data__,
|
|
6331
|
+
index = assocIndexOf(data, key);
|
|
6332
|
+
|
|
6333
|
+
return index < 0 ? undefined : data[index][1];
|
|
6334
|
+
}
|
|
6335
|
+
|
|
6336
|
+
/**
|
|
6337
|
+
* Checks if a list cache value for `key` exists.
|
|
6338
|
+
*
|
|
6339
|
+
* @private
|
|
6340
|
+
* @name has
|
|
6341
|
+
* @memberOf ListCache
|
|
6342
|
+
* @param {string} key The key of the entry to check.
|
|
6343
|
+
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
|
6344
|
+
*/
|
|
6345
|
+
function listCacheHas(key) {
|
|
6346
|
+
return assocIndexOf(this.__data__, key) > -1;
|
|
6347
|
+
}
|
|
6348
|
+
|
|
6349
|
+
/**
|
|
6350
|
+
* Sets the list cache `key` to `value`.
|
|
6351
|
+
*
|
|
6352
|
+
* @private
|
|
6353
|
+
* @name set
|
|
6354
|
+
* @memberOf ListCache
|
|
6355
|
+
* @param {string} key The key of the value to set.
|
|
6356
|
+
* @param {*} value The value to set.
|
|
6357
|
+
* @returns {Object} Returns the list cache instance.
|
|
6358
|
+
*/
|
|
6359
|
+
function listCacheSet(key, value) {
|
|
6360
|
+
var data = this.__data__,
|
|
6361
|
+
index = assocIndexOf(data, key);
|
|
6362
|
+
|
|
6363
|
+
if (index < 0) {
|
|
6364
|
+
++this.size;
|
|
6365
|
+
data.push([key, value]);
|
|
6366
|
+
} else {
|
|
6367
|
+
data[index][1] = value;
|
|
6368
|
+
}
|
|
6369
|
+
return this;
|
|
6370
|
+
}
|
|
6371
|
+
|
|
6372
|
+
/**
|
|
6373
|
+
* Creates an list cache object.
|
|
6374
|
+
*
|
|
6375
|
+
* @private
|
|
6376
|
+
* @constructor
|
|
6377
|
+
* @param {Array} [entries] The key-value pairs to cache.
|
|
6378
|
+
*/
|
|
6379
|
+
function ListCache(entries) {
|
|
6380
|
+
var index = -1,
|
|
6381
|
+
length = entries == null ? 0 : entries.length;
|
|
6382
|
+
|
|
6383
|
+
this.clear();
|
|
6384
|
+
while (++index < length) {
|
|
6385
|
+
var entry = entries[index];
|
|
6386
|
+
this.set(entry[0], entry[1]);
|
|
6387
|
+
}
|
|
6388
|
+
}
|
|
6389
|
+
|
|
6390
|
+
// Add methods to `ListCache`.
|
|
6391
|
+
ListCache.prototype.clear = listCacheClear;
|
|
6392
|
+
ListCache.prototype['delete'] = listCacheDelete;
|
|
6393
|
+
ListCache.prototype.get = listCacheGet;
|
|
6394
|
+
ListCache.prototype.has = listCacheHas;
|
|
6395
|
+
ListCache.prototype.set = listCacheSet;
|
|
6396
|
+
|
|
6397
|
+
/* Built-in method references that are verified to be native. */
|
|
6398
|
+
var Map$1 = getNative(root$1, 'Map');
|
|
6399
|
+
|
|
6400
|
+
var Map$2 = Map$1;
|
|
6401
|
+
|
|
6402
|
+
/**
|
|
6403
|
+
* Removes all key-value entries from the map.
|
|
6404
|
+
*
|
|
6405
|
+
* @private
|
|
6406
|
+
* @name clear
|
|
6407
|
+
* @memberOf MapCache
|
|
6408
|
+
*/
|
|
6409
|
+
function mapCacheClear() {
|
|
6410
|
+
this.size = 0;
|
|
6411
|
+
this.__data__ = {
|
|
6412
|
+
'hash': new Hash,
|
|
6413
|
+
'map': new (Map$2 || ListCache),
|
|
6414
|
+
'string': new Hash
|
|
6415
|
+
};
|
|
6416
|
+
}
|
|
6417
|
+
|
|
6418
|
+
/**
|
|
6419
|
+
* Checks if `value` is suitable for use as unique object key.
|
|
6420
|
+
*
|
|
6421
|
+
* @private
|
|
6422
|
+
* @param {*} value The value to check.
|
|
6423
|
+
* @returns {boolean} Returns `true` if `value` is suitable, else `false`.
|
|
6424
|
+
*/
|
|
6425
|
+
function isKeyable(value) {
|
|
6426
|
+
var type = typeof value;
|
|
6427
|
+
return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')
|
|
6428
|
+
? (value !== '__proto__')
|
|
6429
|
+
: (value === null);
|
|
6430
|
+
}
|
|
6431
|
+
|
|
6432
|
+
/**
|
|
6433
|
+
* Gets the data for `map`.
|
|
6434
|
+
*
|
|
6435
|
+
* @private
|
|
6436
|
+
* @param {Object} map The map to query.
|
|
6437
|
+
* @param {string} key The reference key.
|
|
6438
|
+
* @returns {*} Returns the map data.
|
|
6439
|
+
*/
|
|
6440
|
+
function getMapData(map, key) {
|
|
6441
|
+
var data = map.__data__;
|
|
6442
|
+
return isKeyable(key)
|
|
6443
|
+
? data[typeof key == 'string' ? 'string' : 'hash']
|
|
6444
|
+
: data.map;
|
|
6445
|
+
}
|
|
6446
|
+
|
|
6447
|
+
/**
|
|
6448
|
+
* Removes `key` and its value from the map.
|
|
6449
|
+
*
|
|
6450
|
+
* @private
|
|
6451
|
+
* @name delete
|
|
6452
|
+
* @memberOf MapCache
|
|
6453
|
+
* @param {string} key The key of the value to remove.
|
|
6454
|
+
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
|
|
6455
|
+
*/
|
|
6456
|
+
function mapCacheDelete(key) {
|
|
6457
|
+
var result = getMapData(this, key)['delete'](key);
|
|
6458
|
+
this.size -= result ? 1 : 0;
|
|
6459
|
+
return result;
|
|
6460
|
+
}
|
|
6461
|
+
|
|
6462
|
+
/**
|
|
6463
|
+
* Gets the map value for `key`.
|
|
6464
|
+
*
|
|
6465
|
+
* @private
|
|
6466
|
+
* @name get
|
|
6467
|
+
* @memberOf MapCache
|
|
6468
|
+
* @param {string} key The key of the value to get.
|
|
6469
|
+
* @returns {*} Returns the entry value.
|
|
6470
|
+
*/
|
|
6471
|
+
function mapCacheGet(key) {
|
|
6472
|
+
return getMapData(this, key).get(key);
|
|
6473
|
+
}
|
|
6474
|
+
|
|
6475
|
+
/**
|
|
6476
|
+
* Checks if a map value for `key` exists.
|
|
6477
|
+
*
|
|
6478
|
+
* @private
|
|
6479
|
+
* @name has
|
|
6480
|
+
* @memberOf MapCache
|
|
6481
|
+
* @param {string} key The key of the entry to check.
|
|
6482
|
+
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
|
6483
|
+
*/
|
|
6484
|
+
function mapCacheHas(key) {
|
|
6485
|
+
return getMapData(this, key).has(key);
|
|
6486
|
+
}
|
|
6487
|
+
|
|
6488
|
+
/**
|
|
6489
|
+
* Sets the map `key` to `value`.
|
|
6490
|
+
*
|
|
6491
|
+
* @private
|
|
6492
|
+
* @name set
|
|
6493
|
+
* @memberOf MapCache
|
|
6494
|
+
* @param {string} key The key of the value to set.
|
|
6495
|
+
* @param {*} value The value to set.
|
|
6496
|
+
* @returns {Object} Returns the map cache instance.
|
|
6497
|
+
*/
|
|
6498
|
+
function mapCacheSet(key, value) {
|
|
6499
|
+
var data = getMapData(this, key),
|
|
6500
|
+
size = data.size;
|
|
6501
|
+
|
|
6502
|
+
data.set(key, value);
|
|
6503
|
+
this.size += data.size == size ? 0 : 1;
|
|
6504
|
+
return this;
|
|
6505
|
+
}
|
|
6506
|
+
|
|
6507
|
+
/**
|
|
6508
|
+
* Creates a map cache object to store key-value pairs.
|
|
6509
|
+
*
|
|
6510
|
+
* @private
|
|
6511
|
+
* @constructor
|
|
6512
|
+
* @param {Array} [entries] The key-value pairs to cache.
|
|
6513
|
+
*/
|
|
6514
|
+
function MapCache(entries) {
|
|
6515
|
+
var index = -1,
|
|
6516
|
+
length = entries == null ? 0 : entries.length;
|
|
6517
|
+
|
|
6518
|
+
this.clear();
|
|
6519
|
+
while (++index < length) {
|
|
6520
|
+
var entry = entries[index];
|
|
6521
|
+
this.set(entry[0], entry[1]);
|
|
6522
|
+
}
|
|
6523
|
+
}
|
|
6524
|
+
|
|
6525
|
+
// Add methods to `MapCache`.
|
|
6526
|
+
MapCache.prototype.clear = mapCacheClear;
|
|
6527
|
+
MapCache.prototype['delete'] = mapCacheDelete;
|
|
6528
|
+
MapCache.prototype.get = mapCacheGet;
|
|
6529
|
+
MapCache.prototype.has = mapCacheHas;
|
|
6530
|
+
MapCache.prototype.set = mapCacheSet;
|
|
6531
|
+
|
|
6532
|
+
/**
|
|
6533
|
+
* Appends the elements of `values` to `array`.
|
|
6534
|
+
*
|
|
6535
|
+
* @private
|
|
6536
|
+
* @param {Array} array The array to modify.
|
|
6537
|
+
* @param {Array} values The values to append.
|
|
6538
|
+
* @returns {Array} Returns `array`.
|
|
6539
|
+
*/
|
|
6540
|
+
function arrayPush(array, values) {
|
|
6541
|
+
var index = -1,
|
|
6542
|
+
length = values.length,
|
|
6543
|
+
offset = array.length;
|
|
6544
|
+
|
|
6545
|
+
while (++index < length) {
|
|
6546
|
+
array[offset + index] = values[index];
|
|
6547
|
+
}
|
|
6548
|
+
return array;
|
|
6549
|
+
}
|
|
6550
|
+
|
|
6551
|
+
/**
|
|
6552
|
+
* Removes all key-value entries from the stack.
|
|
6553
|
+
*
|
|
6554
|
+
* @private
|
|
6555
|
+
* @name clear
|
|
6556
|
+
* @memberOf Stack
|
|
6557
|
+
*/
|
|
6558
|
+
function stackClear() {
|
|
6559
|
+
this.__data__ = new ListCache;
|
|
6560
|
+
this.size = 0;
|
|
6561
|
+
}
|
|
6562
|
+
|
|
6563
|
+
/**
|
|
6564
|
+
* Removes `key` and its value from the stack.
|
|
6565
|
+
*
|
|
6566
|
+
* @private
|
|
6567
|
+
* @name delete
|
|
6568
|
+
* @memberOf Stack
|
|
6569
|
+
* @param {string} key The key of the value to remove.
|
|
6570
|
+
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
|
|
6571
|
+
*/
|
|
6572
|
+
function stackDelete(key) {
|
|
6573
|
+
var data = this.__data__,
|
|
6574
|
+
result = data['delete'](key);
|
|
6575
|
+
|
|
6576
|
+
this.size = data.size;
|
|
6577
|
+
return result;
|
|
6578
|
+
}
|
|
6579
|
+
|
|
6580
|
+
/**
|
|
6581
|
+
* Gets the stack value for `key`.
|
|
6582
|
+
*
|
|
6583
|
+
* @private
|
|
6584
|
+
* @name get
|
|
6585
|
+
* @memberOf Stack
|
|
6586
|
+
* @param {string} key The key of the value to get.
|
|
6587
|
+
* @returns {*} Returns the entry value.
|
|
6588
|
+
*/
|
|
6589
|
+
function stackGet(key) {
|
|
6590
|
+
return this.__data__.get(key);
|
|
6591
|
+
}
|
|
6592
|
+
|
|
6593
|
+
/**
|
|
6594
|
+
* Checks if a stack value for `key` exists.
|
|
6595
|
+
*
|
|
6596
|
+
* @private
|
|
6597
|
+
* @name has
|
|
6598
|
+
* @memberOf Stack
|
|
6599
|
+
* @param {string} key The key of the entry to check.
|
|
6600
|
+
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
|
6601
|
+
*/
|
|
6602
|
+
function stackHas(key) {
|
|
6603
|
+
return this.__data__.has(key);
|
|
6604
|
+
}
|
|
6605
|
+
|
|
6606
|
+
/** Used as the size to enable large array optimizations. */
|
|
6607
|
+
var LARGE_ARRAY_SIZE = 200;
|
|
6608
|
+
|
|
6609
|
+
/**
|
|
6610
|
+
* Sets the stack `key` to `value`.
|
|
6611
|
+
*
|
|
6612
|
+
* @private
|
|
6613
|
+
* @name set
|
|
6614
|
+
* @memberOf Stack
|
|
6615
|
+
* @param {string} key The key of the value to set.
|
|
6616
|
+
* @param {*} value The value to set.
|
|
6617
|
+
* @returns {Object} Returns the stack cache instance.
|
|
6618
|
+
*/
|
|
6619
|
+
function stackSet(key, value) {
|
|
6620
|
+
var data = this.__data__;
|
|
6621
|
+
if (data instanceof ListCache) {
|
|
6622
|
+
var pairs = data.__data__;
|
|
6623
|
+
if (!Map$2 || (pairs.length < LARGE_ARRAY_SIZE - 1)) {
|
|
6624
|
+
pairs.push([key, value]);
|
|
6625
|
+
this.size = ++data.size;
|
|
6626
|
+
return this;
|
|
6627
|
+
}
|
|
6628
|
+
data = this.__data__ = new MapCache(pairs);
|
|
6629
|
+
}
|
|
6630
|
+
data.set(key, value);
|
|
6631
|
+
this.size = data.size;
|
|
6632
|
+
return this;
|
|
6633
|
+
}
|
|
6634
|
+
|
|
6635
|
+
/**
|
|
6636
|
+
* Creates a stack cache object to store key-value pairs.
|
|
6637
|
+
*
|
|
6638
|
+
* @private
|
|
6639
|
+
* @constructor
|
|
6640
|
+
* @param {Array} [entries] The key-value pairs to cache.
|
|
6641
|
+
*/
|
|
6642
|
+
function Stack(entries) {
|
|
6643
|
+
var data = this.__data__ = new ListCache(entries);
|
|
6644
|
+
this.size = data.size;
|
|
6645
|
+
}
|
|
6646
|
+
|
|
6647
|
+
// Add methods to `Stack`.
|
|
6648
|
+
Stack.prototype.clear = stackClear;
|
|
6649
|
+
Stack.prototype['delete'] = stackDelete;
|
|
6650
|
+
Stack.prototype.get = stackGet;
|
|
6651
|
+
Stack.prototype.has = stackHas;
|
|
6652
|
+
Stack.prototype.set = stackSet;
|
|
6653
|
+
|
|
6654
|
+
/**
|
|
6655
|
+
* A specialized version of `_.filter` for arrays without support for
|
|
6656
|
+
* iteratee shorthands.
|
|
6657
|
+
*
|
|
6658
|
+
* @private
|
|
6659
|
+
* @param {Array} [array] The array to iterate over.
|
|
6660
|
+
* @param {Function} predicate The function invoked per iteration.
|
|
6661
|
+
* @returns {Array} Returns the new filtered array.
|
|
6662
|
+
*/
|
|
6663
|
+
function arrayFilter(array, predicate) {
|
|
6664
|
+
var index = -1,
|
|
6665
|
+
length = array == null ? 0 : array.length,
|
|
6666
|
+
resIndex = 0,
|
|
6667
|
+
result = [];
|
|
6668
|
+
|
|
6669
|
+
while (++index < length) {
|
|
6670
|
+
var value = array[index];
|
|
6671
|
+
if (predicate(value, index, array)) {
|
|
6672
|
+
result[resIndex++] = value;
|
|
6673
|
+
}
|
|
6674
|
+
}
|
|
6675
|
+
return result;
|
|
6676
|
+
}
|
|
6677
|
+
|
|
6678
|
+
/**
|
|
6679
|
+
* This method returns a new empty array.
|
|
6680
|
+
*
|
|
6681
|
+
* @static
|
|
6682
|
+
* @memberOf _
|
|
6683
|
+
* @since 4.13.0
|
|
6684
|
+
* @category Util
|
|
6685
|
+
* @returns {Array} Returns the new empty array.
|
|
6686
|
+
* @example
|
|
6687
|
+
*
|
|
6688
|
+
* var arrays = _.times(2, _.stubArray);
|
|
6689
|
+
*
|
|
6690
|
+
* console.log(arrays);
|
|
6691
|
+
* // => [[], []]
|
|
6692
|
+
*
|
|
6693
|
+
* console.log(arrays[0] === arrays[1]);
|
|
6694
|
+
* // => false
|
|
6695
|
+
*/
|
|
6696
|
+
function stubArray() {
|
|
6697
|
+
return [];
|
|
6698
|
+
}
|
|
6699
|
+
|
|
6700
|
+
/** Used for built-in method references. */
|
|
6701
|
+
var objectProto$2 = Object.prototype;
|
|
6702
|
+
|
|
6703
|
+
/** Built-in value references. */
|
|
6704
|
+
var propertyIsEnumerable = objectProto$2.propertyIsEnumerable;
|
|
6705
|
+
|
|
6706
|
+
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
6707
|
+
var nativeGetSymbols = Object.getOwnPropertySymbols;
|
|
6708
|
+
|
|
6709
|
+
/**
|
|
6710
|
+
* Creates an array of the own enumerable symbols of `object`.
|
|
6711
|
+
*
|
|
6712
|
+
* @private
|
|
6713
|
+
* @param {Object} object The object to query.
|
|
6714
|
+
* @returns {Array} Returns the array of symbols.
|
|
6715
|
+
*/
|
|
6716
|
+
var getSymbols = !nativeGetSymbols ? stubArray : function(object) {
|
|
6717
|
+
if (object == null) {
|
|
6718
|
+
return [];
|
|
6719
|
+
}
|
|
6720
|
+
object = Object(object);
|
|
6721
|
+
return arrayFilter(nativeGetSymbols(object), function(symbol) {
|
|
6722
|
+
return propertyIsEnumerable.call(object, symbol);
|
|
6723
|
+
});
|
|
6724
|
+
};
|
|
6725
|
+
|
|
6726
|
+
var getSymbols$1 = getSymbols;
|
|
6727
|
+
|
|
6728
|
+
/**
|
|
6729
|
+
* The base implementation of `getAllKeys` and `getAllKeysIn` which uses
|
|
6730
|
+
* `keysFunc` and `symbolsFunc` to get the enumerable property names and
|
|
6731
|
+
* symbols of `object`.
|
|
6732
|
+
*
|
|
6733
|
+
* @private
|
|
6734
|
+
* @param {Object} object The object to query.
|
|
6735
|
+
* @param {Function} keysFunc The function to get the keys of `object`.
|
|
6736
|
+
* @param {Function} symbolsFunc The function to get the symbols of `object`.
|
|
6737
|
+
* @returns {Array} Returns the array of property names and symbols.
|
|
6738
|
+
*/
|
|
6739
|
+
function baseGetAllKeys(object, keysFunc, symbolsFunc) {
|
|
6740
|
+
var result = keysFunc(object);
|
|
6741
|
+
return isArray$1(object) ? result : arrayPush(result, symbolsFunc(object));
|
|
6742
|
+
}
|
|
6743
|
+
|
|
6744
|
+
/**
|
|
6745
|
+
* Creates an array of own enumerable property names and symbols of `object`.
|
|
6746
|
+
*
|
|
6747
|
+
* @private
|
|
6748
|
+
* @param {Object} object The object to query.
|
|
6749
|
+
* @returns {Array} Returns the array of property names and symbols.
|
|
6750
|
+
*/
|
|
6751
|
+
function getAllKeys(object) {
|
|
6752
|
+
return baseGetAllKeys(object, keys, getSymbols$1);
|
|
6753
|
+
}
|
|
6754
|
+
|
|
6755
|
+
/* Built-in method references that are verified to be native. */
|
|
6756
|
+
var DataView = getNative(root$1, 'DataView');
|
|
6757
|
+
|
|
6758
|
+
var DataView$1 = DataView;
|
|
6759
|
+
|
|
6760
|
+
/* Built-in method references that are verified to be native. */
|
|
6761
|
+
var Promise$1 = getNative(root$1, 'Promise');
|
|
6762
|
+
|
|
6763
|
+
var Promise$2 = Promise$1;
|
|
6764
|
+
|
|
6765
|
+
/* Built-in method references that are verified to be native. */
|
|
6766
|
+
var Set$1 = getNative(root$1, 'Set');
|
|
6767
|
+
|
|
6768
|
+
var Set$2 = Set$1;
|
|
6769
|
+
|
|
6770
|
+
/** `Object#toString` result references. */
|
|
6771
|
+
var mapTag$1 = '[object Map]',
|
|
6772
|
+
objectTag$1 = '[object Object]',
|
|
6773
|
+
promiseTag = '[object Promise]',
|
|
6774
|
+
setTag$1 = '[object Set]',
|
|
6775
|
+
weakMapTag = '[object WeakMap]';
|
|
6776
|
+
|
|
6777
|
+
var dataViewTag$1 = '[object DataView]';
|
|
6778
|
+
|
|
6779
|
+
/** Used to detect maps, sets, and weakmaps. */
|
|
6780
|
+
var dataViewCtorString = toSource(DataView$1),
|
|
6781
|
+
mapCtorString = toSource(Map$2),
|
|
6782
|
+
promiseCtorString = toSource(Promise$2),
|
|
6783
|
+
setCtorString = toSource(Set$2),
|
|
6784
|
+
weakMapCtorString = toSource(WeakMap$2);
|
|
6785
|
+
|
|
6786
|
+
/**
|
|
6787
|
+
* Gets the `toStringTag` of `value`.
|
|
6788
|
+
*
|
|
6789
|
+
* @private
|
|
6790
|
+
* @param {*} value The value to query.
|
|
6791
|
+
* @returns {string} Returns the `toStringTag`.
|
|
6792
|
+
*/
|
|
6793
|
+
var getTag = baseGetTag;
|
|
6794
|
+
|
|
6795
|
+
// Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.
|
|
6796
|
+
if ((DataView$1 && getTag(new DataView$1(new ArrayBuffer(1))) != dataViewTag$1) ||
|
|
6797
|
+
(Map$2 && getTag(new Map$2) != mapTag$1) ||
|
|
6798
|
+
(Promise$2 && getTag(Promise$2.resolve()) != promiseTag) ||
|
|
6799
|
+
(Set$2 && getTag(new Set$2) != setTag$1) ||
|
|
6800
|
+
(WeakMap$2 && getTag(new WeakMap$2) != weakMapTag)) {
|
|
6801
|
+
getTag = function(value) {
|
|
6802
|
+
var result = baseGetTag(value),
|
|
6803
|
+
Ctor = result == objectTag$1 ? value.constructor : undefined,
|
|
6804
|
+
ctorString = Ctor ? toSource(Ctor) : '';
|
|
6805
|
+
|
|
6806
|
+
if (ctorString) {
|
|
6807
|
+
switch (ctorString) {
|
|
6808
|
+
case dataViewCtorString: return dataViewTag$1;
|
|
6809
|
+
case mapCtorString: return mapTag$1;
|
|
6810
|
+
case promiseCtorString: return promiseTag;
|
|
6811
|
+
case setCtorString: return setTag$1;
|
|
6812
|
+
case weakMapCtorString: return weakMapTag;
|
|
6813
|
+
}
|
|
6814
|
+
}
|
|
6815
|
+
return result;
|
|
6816
|
+
};
|
|
6817
|
+
}
|
|
6818
|
+
|
|
6819
|
+
var getTag$1 = getTag;
|
|
6820
|
+
|
|
6821
|
+
/** Built-in value references. */
|
|
6822
|
+
var Uint8Array = root$1.Uint8Array;
|
|
6823
|
+
|
|
6824
|
+
var Uint8Array$1 = Uint8Array;
|
|
6825
|
+
|
|
6826
|
+
/** Used to stand-in for `undefined` hash values. */
|
|
6827
|
+
var HASH_UNDEFINED = '__lodash_hash_undefined__';
|
|
6828
|
+
|
|
6829
|
+
/**
|
|
6830
|
+
* Adds `value` to the array cache.
|
|
6831
|
+
*
|
|
6832
|
+
* @private
|
|
6833
|
+
* @name add
|
|
6834
|
+
* @memberOf SetCache
|
|
6835
|
+
* @alias push
|
|
6836
|
+
* @param {*} value The value to cache.
|
|
6837
|
+
* @returns {Object} Returns the cache instance.
|
|
6838
|
+
*/
|
|
6839
|
+
function setCacheAdd(value) {
|
|
6840
|
+
this.__data__.set(value, HASH_UNDEFINED);
|
|
6841
|
+
return this;
|
|
6842
|
+
}
|
|
6843
|
+
|
|
6844
|
+
/**
|
|
6845
|
+
* Checks if `value` is in the array cache.
|
|
6846
|
+
*
|
|
6847
|
+
* @private
|
|
6848
|
+
* @name has
|
|
6849
|
+
* @memberOf SetCache
|
|
6850
|
+
* @param {*} value The value to search for.
|
|
6851
|
+
* @returns {number} Returns `true` if `value` is found, else `false`.
|
|
6852
|
+
*/
|
|
6853
|
+
function setCacheHas(value) {
|
|
6854
|
+
return this.__data__.has(value);
|
|
6855
|
+
}
|
|
6856
|
+
|
|
6857
|
+
/**
|
|
6858
|
+
*
|
|
6859
|
+
* Creates an array cache object to store unique values.
|
|
6860
|
+
*
|
|
6861
|
+
* @private
|
|
6862
|
+
* @constructor
|
|
6863
|
+
* @param {Array} [values] The values to cache.
|
|
6864
|
+
*/
|
|
6865
|
+
function SetCache(values) {
|
|
6866
|
+
var index = -1,
|
|
6867
|
+
length = values == null ? 0 : values.length;
|
|
6868
|
+
|
|
6869
|
+
this.__data__ = new MapCache;
|
|
6870
|
+
while (++index < length) {
|
|
6871
|
+
this.add(values[index]);
|
|
6872
|
+
}
|
|
6873
|
+
}
|
|
6874
|
+
|
|
6875
|
+
// Add methods to `SetCache`.
|
|
6876
|
+
SetCache.prototype.add = SetCache.prototype.push = setCacheAdd;
|
|
6877
|
+
SetCache.prototype.has = setCacheHas;
|
|
6878
|
+
|
|
6879
|
+
/**
|
|
6880
|
+
* A specialized version of `_.some` for arrays without support for iteratee
|
|
6881
|
+
* shorthands.
|
|
6882
|
+
*
|
|
6883
|
+
* @private
|
|
6884
|
+
* @param {Array} [array] The array to iterate over.
|
|
6885
|
+
* @param {Function} predicate The function invoked per iteration.
|
|
6886
|
+
* @returns {boolean} Returns `true` if any element passes the predicate check,
|
|
6887
|
+
* else `false`.
|
|
6888
|
+
*/
|
|
6889
|
+
function arraySome(array, predicate) {
|
|
6890
|
+
var index = -1,
|
|
6891
|
+
length = array == null ? 0 : array.length;
|
|
6892
|
+
|
|
6893
|
+
while (++index < length) {
|
|
6894
|
+
if (predicate(array[index], index, array)) {
|
|
6895
|
+
return true;
|
|
6896
|
+
}
|
|
6897
|
+
}
|
|
6898
|
+
return false;
|
|
6899
|
+
}
|
|
6900
|
+
|
|
6901
|
+
/**
|
|
6902
|
+
* Checks if a `cache` value for `key` exists.
|
|
6903
|
+
*
|
|
6904
|
+
* @private
|
|
6905
|
+
* @param {Object} cache The cache to query.
|
|
6906
|
+
* @param {string} key The key of the entry to check.
|
|
6907
|
+
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
|
6908
|
+
*/
|
|
6909
|
+
function cacheHas(cache, key) {
|
|
6910
|
+
return cache.has(key);
|
|
6911
|
+
}
|
|
6912
|
+
|
|
6913
|
+
/** Used to compose bitmasks for value comparisons. */
|
|
6914
|
+
var COMPARE_PARTIAL_FLAG$3 = 1,
|
|
6915
|
+
COMPARE_UNORDERED_FLAG$1 = 2;
|
|
6916
|
+
|
|
6917
|
+
/**
|
|
6918
|
+
* A specialized version of `baseIsEqualDeep` for arrays with support for
|
|
6919
|
+
* partial deep comparisons.
|
|
6920
|
+
*
|
|
6921
|
+
* @private
|
|
6922
|
+
* @param {Array} array The array to compare.
|
|
6923
|
+
* @param {Array} other The other array to compare.
|
|
6924
|
+
* @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
|
|
6925
|
+
* @param {Function} customizer The function to customize comparisons.
|
|
6926
|
+
* @param {Function} equalFunc The function to determine equivalents of values.
|
|
6927
|
+
* @param {Object} stack Tracks traversed `array` and `other` objects.
|
|
6928
|
+
* @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.
|
|
6929
|
+
*/
|
|
6930
|
+
function equalArrays(array, other, bitmask, customizer, equalFunc, stack) {
|
|
6931
|
+
var isPartial = bitmask & COMPARE_PARTIAL_FLAG$3,
|
|
6932
|
+
arrLength = array.length,
|
|
6933
|
+
othLength = other.length;
|
|
6934
|
+
|
|
6935
|
+
if (arrLength != othLength && !(isPartial && othLength > arrLength)) {
|
|
6936
|
+
return false;
|
|
6937
|
+
}
|
|
6938
|
+
// Check that cyclic values are equal.
|
|
6939
|
+
var arrStacked = stack.get(array);
|
|
6940
|
+
var othStacked = stack.get(other);
|
|
6941
|
+
if (arrStacked && othStacked) {
|
|
6942
|
+
return arrStacked == other && othStacked == array;
|
|
6943
|
+
}
|
|
6944
|
+
var index = -1,
|
|
6945
|
+
result = true,
|
|
6946
|
+
seen = (bitmask & COMPARE_UNORDERED_FLAG$1) ? new SetCache : undefined;
|
|
6947
|
+
|
|
6948
|
+
stack.set(array, other);
|
|
6949
|
+
stack.set(other, array);
|
|
6950
|
+
|
|
6951
|
+
// Ignore non-index properties.
|
|
6952
|
+
while (++index < arrLength) {
|
|
6953
|
+
var arrValue = array[index],
|
|
6954
|
+
othValue = other[index];
|
|
6955
|
+
|
|
6956
|
+
if (customizer) {
|
|
6957
|
+
var compared = isPartial
|
|
6958
|
+
? customizer(othValue, arrValue, index, other, array, stack)
|
|
6959
|
+
: customizer(arrValue, othValue, index, array, other, stack);
|
|
6960
|
+
}
|
|
6961
|
+
if (compared !== undefined) {
|
|
6962
|
+
if (compared) {
|
|
6963
|
+
continue;
|
|
6964
|
+
}
|
|
6965
|
+
result = false;
|
|
6966
|
+
break;
|
|
6967
|
+
}
|
|
6968
|
+
// Recursively compare arrays (susceptible to call stack limits).
|
|
6969
|
+
if (seen) {
|
|
6970
|
+
if (!arraySome(other, function(othValue, othIndex) {
|
|
6971
|
+
if (!cacheHas(seen, othIndex) &&
|
|
6972
|
+
(arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {
|
|
6973
|
+
return seen.push(othIndex);
|
|
6974
|
+
}
|
|
6975
|
+
})) {
|
|
6976
|
+
result = false;
|
|
6977
|
+
break;
|
|
6978
|
+
}
|
|
6979
|
+
} else if (!(
|
|
6980
|
+
arrValue === othValue ||
|
|
6981
|
+
equalFunc(arrValue, othValue, bitmask, customizer, stack)
|
|
6982
|
+
)) {
|
|
6983
|
+
result = false;
|
|
6984
|
+
break;
|
|
6985
|
+
}
|
|
6986
|
+
}
|
|
6987
|
+
stack['delete'](array);
|
|
6988
|
+
stack['delete'](other);
|
|
6989
|
+
return result;
|
|
6990
|
+
}
|
|
6991
|
+
|
|
6992
|
+
/**
|
|
6993
|
+
* Converts `map` to its key-value pairs.
|
|
6994
|
+
*
|
|
6995
|
+
* @private
|
|
6996
|
+
* @param {Object} map The map to convert.
|
|
6997
|
+
* @returns {Array} Returns the key-value pairs.
|
|
6998
|
+
*/
|
|
6999
|
+
function mapToArray(map) {
|
|
7000
|
+
var index = -1,
|
|
7001
|
+
result = Array(map.size);
|
|
7002
|
+
|
|
7003
|
+
map.forEach(function(value, key) {
|
|
7004
|
+
result[++index] = [key, value];
|
|
7005
|
+
});
|
|
7006
|
+
return result;
|
|
7007
|
+
}
|
|
7008
|
+
|
|
7009
|
+
/**
|
|
7010
|
+
* Converts `set` to an array of its values.
|
|
7011
|
+
*
|
|
7012
|
+
* @private
|
|
7013
|
+
* @param {Object} set The set to convert.
|
|
7014
|
+
* @returns {Array} Returns the values.
|
|
7015
|
+
*/
|
|
7016
|
+
function setToArray(set) {
|
|
7017
|
+
var index = -1,
|
|
7018
|
+
result = Array(set.size);
|
|
7019
|
+
|
|
7020
|
+
set.forEach(function(value) {
|
|
7021
|
+
result[++index] = value;
|
|
7022
|
+
});
|
|
7023
|
+
return result;
|
|
7024
|
+
}
|
|
7025
|
+
|
|
7026
|
+
/** Used to compose bitmasks for value comparisons. */
|
|
7027
|
+
var COMPARE_PARTIAL_FLAG$2 = 1,
|
|
7028
|
+
COMPARE_UNORDERED_FLAG = 2;
|
|
5215
7029
|
|
|
5216
|
-
|
|
5217
|
-
|
|
5218
|
-
|
|
5219
|
-
|
|
5220
|
-
|
|
7030
|
+
/** `Object#toString` result references. */
|
|
7031
|
+
var boolTag = '[object Boolean]',
|
|
7032
|
+
dateTag = '[object Date]',
|
|
7033
|
+
errorTag = '[object Error]',
|
|
7034
|
+
mapTag = '[object Map]',
|
|
7035
|
+
numberTag = '[object Number]',
|
|
7036
|
+
regexpTag = '[object RegExp]',
|
|
7037
|
+
setTag = '[object Set]',
|
|
7038
|
+
stringTag$1 = '[object String]',
|
|
7039
|
+
symbolTag = '[object Symbol]';
|
|
7040
|
+
|
|
7041
|
+
var arrayBufferTag = '[object ArrayBuffer]',
|
|
7042
|
+
dataViewTag = '[object DataView]';
|
|
7043
|
+
|
|
7044
|
+
/** Used to convert symbols to primitives and strings. */
|
|
7045
|
+
var symbolProto = Symbol$1 ? Symbol$1.prototype : undefined,
|
|
7046
|
+
symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;
|
|
5221
7047
|
|
|
5222
|
-
/**
|
|
5223
|
-
|
|
7048
|
+
/**
|
|
7049
|
+
* A specialized version of `baseIsEqualDeep` for comparing objects of
|
|
7050
|
+
* the same `toStringTag`.
|
|
7051
|
+
*
|
|
7052
|
+
* **Note:** This function only supports comparing values with tags of
|
|
7053
|
+
* `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.
|
|
7054
|
+
*
|
|
7055
|
+
* @private
|
|
7056
|
+
* @param {Object} object The object to compare.
|
|
7057
|
+
* @param {Object} other The other object to compare.
|
|
7058
|
+
* @param {string} tag The `toStringTag` of the objects to compare.
|
|
7059
|
+
* @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
|
|
7060
|
+
* @param {Function} customizer The function to customize comparisons.
|
|
7061
|
+
* @param {Function} equalFunc The function to determine equivalents of values.
|
|
7062
|
+
* @param {Object} stack Tracks traversed `object` and `other` objects.
|
|
7063
|
+
* @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
|
|
7064
|
+
*/
|
|
7065
|
+
function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {
|
|
7066
|
+
switch (tag) {
|
|
7067
|
+
case dataViewTag:
|
|
7068
|
+
if ((object.byteLength != other.byteLength) ||
|
|
7069
|
+
(object.byteOffset != other.byteOffset)) {
|
|
7070
|
+
return false;
|
|
7071
|
+
}
|
|
7072
|
+
object = object.buffer;
|
|
7073
|
+
other = other.buffer;
|
|
5224
7074
|
|
|
5225
|
-
|
|
7075
|
+
case arrayBufferTag:
|
|
7076
|
+
if ((object.byteLength != other.byteLength) ||
|
|
7077
|
+
!equalFunc(new Uint8Array$1(object), new Uint8Array$1(other))) {
|
|
7078
|
+
return false;
|
|
7079
|
+
}
|
|
7080
|
+
return true;
|
|
5226
7081
|
|
|
5227
|
-
|
|
5228
|
-
|
|
7082
|
+
case boolTag:
|
|
7083
|
+
case dateTag:
|
|
7084
|
+
case numberTag:
|
|
7085
|
+
// Coerce booleans to `1` or `0` and dates to milliseconds.
|
|
7086
|
+
// Invalid dates are coerced to `NaN`.
|
|
7087
|
+
return eq(+object, +other);
|
|
5229
7088
|
|
|
5230
|
-
|
|
5231
|
-
|
|
7089
|
+
case errorTag:
|
|
7090
|
+
return object.name == other.name && object.message == other.message;
|
|
5232
7091
|
|
|
5233
|
-
|
|
7092
|
+
case regexpTag:
|
|
7093
|
+
case stringTag$1:
|
|
7094
|
+
// Coerce regexes to strings and treat strings, primitives and objects,
|
|
7095
|
+
// as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring
|
|
7096
|
+
// for more details.
|
|
7097
|
+
return object == (other + '');
|
|
5234
7098
|
|
|
5235
|
-
|
|
5236
|
-
var
|
|
7099
|
+
case mapTag:
|
|
7100
|
+
var convert = mapToArray;
|
|
5237
7101
|
|
|
5238
|
-
|
|
7102
|
+
case setTag:
|
|
7103
|
+
var isPartial = bitmask & COMPARE_PARTIAL_FLAG$2;
|
|
7104
|
+
convert || (convert = setToArray);
|
|
7105
|
+
|
|
7106
|
+
if (object.size != other.size && !isPartial) {
|
|
7107
|
+
return false;
|
|
7108
|
+
}
|
|
7109
|
+
// Assume cyclic values are equal.
|
|
7110
|
+
var stacked = stack.get(object);
|
|
7111
|
+
if (stacked) {
|
|
7112
|
+
return stacked == other;
|
|
7113
|
+
}
|
|
7114
|
+
bitmask |= COMPARE_UNORDERED_FLAG;
|
|
7115
|
+
|
|
7116
|
+
// Recursively compare objects (susceptible to call stack limits).
|
|
7117
|
+
stack.set(object, other);
|
|
7118
|
+
var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);
|
|
7119
|
+
stack['delete'](object);
|
|
7120
|
+
return result;
|
|
7121
|
+
|
|
7122
|
+
case symbolTag:
|
|
7123
|
+
if (symbolValueOf) {
|
|
7124
|
+
return symbolValueOf.call(object) == symbolValueOf.call(other);
|
|
7125
|
+
}
|
|
7126
|
+
}
|
|
7127
|
+
return false;
|
|
7128
|
+
}
|
|
7129
|
+
|
|
7130
|
+
/** Used to compose bitmasks for value comparisons. */
|
|
7131
|
+
var COMPARE_PARTIAL_FLAG$1 = 1;
|
|
5239
7132
|
|
|
5240
7133
|
/** Used for built-in method references. */
|
|
5241
7134
|
var objectProto$1 = Object.prototype;
|
|
5242
7135
|
|
|
5243
7136
|
/** Used to check objects for own properties. */
|
|
5244
|
-
var hasOwnProperty = objectProto$1.hasOwnProperty;
|
|
5245
|
-
|
|
5246
|
-
/**
|
|
5247
|
-
* Used to resolve the
|
|
5248
|
-
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
|
5249
|
-
* of values.
|
|
5250
|
-
*/
|
|
5251
|
-
var nativeObjectToString$1 = objectProto$1.toString;
|
|
5252
|
-
|
|
5253
|
-
/** Built-in value references. */
|
|
5254
|
-
var symToStringTag$1 = Symbol$1 ? Symbol$1.toStringTag : undefined;
|
|
7137
|
+
var hasOwnProperty$1 = objectProto$1.hasOwnProperty;
|
|
5255
7138
|
|
|
5256
7139
|
/**
|
|
5257
|
-
* A specialized version of `
|
|
7140
|
+
* A specialized version of `baseIsEqualDeep` for objects with support for
|
|
7141
|
+
* partial deep comparisons.
|
|
5258
7142
|
*
|
|
5259
7143
|
* @private
|
|
5260
|
-
* @param {
|
|
5261
|
-
* @
|
|
7144
|
+
* @param {Object} object The object to compare.
|
|
7145
|
+
* @param {Object} other The other object to compare.
|
|
7146
|
+
* @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
|
|
7147
|
+
* @param {Function} customizer The function to customize comparisons.
|
|
7148
|
+
* @param {Function} equalFunc The function to determine equivalents of values.
|
|
7149
|
+
* @param {Object} stack Tracks traversed `object` and `other` objects.
|
|
7150
|
+
* @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
|
|
5262
7151
|
*/
|
|
5263
|
-
function
|
|
5264
|
-
var
|
|
5265
|
-
|
|
5266
|
-
|
|
5267
|
-
|
|
5268
|
-
|
|
5269
|
-
|
|
5270
|
-
|
|
7152
|
+
function equalObjects(object, other, bitmask, customizer, equalFunc, stack) {
|
|
7153
|
+
var isPartial = bitmask & COMPARE_PARTIAL_FLAG$1,
|
|
7154
|
+
objProps = getAllKeys(object),
|
|
7155
|
+
objLength = objProps.length,
|
|
7156
|
+
othProps = getAllKeys(other),
|
|
7157
|
+
othLength = othProps.length;
|
|
7158
|
+
|
|
7159
|
+
if (objLength != othLength && !isPartial) {
|
|
7160
|
+
return false;
|
|
7161
|
+
}
|
|
7162
|
+
var index = objLength;
|
|
7163
|
+
while (index--) {
|
|
7164
|
+
var key = objProps[index];
|
|
7165
|
+
if (!(isPartial ? key in other : hasOwnProperty$1.call(other, key))) {
|
|
7166
|
+
return false;
|
|
7167
|
+
}
|
|
7168
|
+
}
|
|
7169
|
+
// Check that cyclic values are equal.
|
|
7170
|
+
var objStacked = stack.get(object);
|
|
7171
|
+
var othStacked = stack.get(other);
|
|
7172
|
+
if (objStacked && othStacked) {
|
|
7173
|
+
return objStacked == other && othStacked == object;
|
|
7174
|
+
}
|
|
7175
|
+
var result = true;
|
|
7176
|
+
stack.set(object, other);
|
|
7177
|
+
stack.set(other, object);
|
|
7178
|
+
|
|
7179
|
+
var skipCtor = isPartial;
|
|
7180
|
+
while (++index < objLength) {
|
|
7181
|
+
key = objProps[index];
|
|
7182
|
+
var objValue = object[key],
|
|
7183
|
+
othValue = other[key];
|
|
7184
|
+
|
|
7185
|
+
if (customizer) {
|
|
7186
|
+
var compared = isPartial
|
|
7187
|
+
? customizer(othValue, objValue, key, other, object, stack)
|
|
7188
|
+
: customizer(objValue, othValue, key, object, other, stack);
|
|
7189
|
+
}
|
|
7190
|
+
// Recursively compare objects (susceptible to call stack limits).
|
|
7191
|
+
if (!(compared === undefined
|
|
7192
|
+
? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack))
|
|
7193
|
+
: compared
|
|
7194
|
+
)) {
|
|
7195
|
+
result = false;
|
|
7196
|
+
break;
|
|
7197
|
+
}
|
|
7198
|
+
skipCtor || (skipCtor = key == 'constructor');
|
|
7199
|
+
}
|
|
7200
|
+
if (result && !skipCtor) {
|
|
7201
|
+
var objCtor = object.constructor,
|
|
7202
|
+
othCtor = other.constructor;
|
|
5271
7203
|
|
|
5272
|
-
|
|
5273
|
-
|
|
5274
|
-
|
|
5275
|
-
|
|
5276
|
-
|
|
5277
|
-
|
|
7204
|
+
// Non `Object` object instances with different constructors are not equal.
|
|
7205
|
+
if (objCtor != othCtor &&
|
|
7206
|
+
('constructor' in object && 'constructor' in other) &&
|
|
7207
|
+
!(typeof objCtor == 'function' && objCtor instanceof objCtor &&
|
|
7208
|
+
typeof othCtor == 'function' && othCtor instanceof othCtor)) {
|
|
7209
|
+
result = false;
|
|
5278
7210
|
}
|
|
5279
7211
|
}
|
|
7212
|
+
stack['delete'](object);
|
|
7213
|
+
stack['delete'](other);
|
|
5280
7214
|
return result;
|
|
5281
7215
|
}
|
|
5282
7216
|
|
|
7217
|
+
/** Used to compose bitmasks for value comparisons. */
|
|
7218
|
+
var COMPARE_PARTIAL_FLAG = 1;
|
|
7219
|
+
|
|
7220
|
+
/** `Object#toString` result references. */
|
|
7221
|
+
var argsTag = '[object Arguments]',
|
|
7222
|
+
arrayTag = '[object Array]',
|
|
7223
|
+
objectTag = '[object Object]';
|
|
7224
|
+
|
|
5283
7225
|
/** Used for built-in method references. */
|
|
5284
7226
|
var objectProto = Object.prototype;
|
|
5285
7227
|
|
|
5286
|
-
/**
|
|
5287
|
-
|
|
5288
|
-
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
|
5289
|
-
* of values.
|
|
5290
|
-
*/
|
|
5291
|
-
var nativeObjectToString = objectProto.toString;
|
|
7228
|
+
/** Used to check objects for own properties. */
|
|
7229
|
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
5292
7230
|
|
|
5293
7231
|
/**
|
|
5294
|
-
*
|
|
7232
|
+
* A specialized version of `baseIsEqual` for arrays and objects which performs
|
|
7233
|
+
* deep comparisons and tracks traversed objects enabling objects with circular
|
|
7234
|
+
* references to be compared.
|
|
5295
7235
|
*
|
|
5296
7236
|
* @private
|
|
5297
|
-
* @param {
|
|
5298
|
-
* @
|
|
7237
|
+
* @param {Object} object The object to compare.
|
|
7238
|
+
* @param {Object} other The other object to compare.
|
|
7239
|
+
* @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
|
|
7240
|
+
* @param {Function} customizer The function to customize comparisons.
|
|
7241
|
+
* @param {Function} equalFunc The function to determine equivalents of values.
|
|
7242
|
+
* @param {Object} [stack] Tracks traversed `object` and `other` objects.
|
|
7243
|
+
* @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
|
|
5299
7244
|
*/
|
|
5300
|
-
function
|
|
5301
|
-
|
|
5302
|
-
|
|
7245
|
+
function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {
|
|
7246
|
+
var objIsArr = isArray$1(object),
|
|
7247
|
+
othIsArr = isArray$1(other),
|
|
7248
|
+
objTag = objIsArr ? arrayTag : getTag$1(object),
|
|
7249
|
+
othTag = othIsArr ? arrayTag : getTag$1(other);
|
|
5303
7250
|
|
|
5304
|
-
|
|
5305
|
-
|
|
5306
|
-
undefinedTag = '[object Undefined]';
|
|
7251
|
+
objTag = objTag == argsTag ? objectTag : objTag;
|
|
7252
|
+
othTag = othTag == argsTag ? objectTag : othTag;
|
|
5307
7253
|
|
|
5308
|
-
|
|
5309
|
-
|
|
7254
|
+
var objIsObj = objTag == objectTag,
|
|
7255
|
+
othIsObj = othTag == objectTag,
|
|
7256
|
+
isSameTag = objTag == othTag;
|
|
7257
|
+
|
|
7258
|
+
if (isSameTag && isBuffer$1(object)) {
|
|
7259
|
+
if (!isBuffer$1(other)) {
|
|
7260
|
+
return false;
|
|
7261
|
+
}
|
|
7262
|
+
objIsArr = true;
|
|
7263
|
+
objIsObj = false;
|
|
7264
|
+
}
|
|
7265
|
+
if (isSameTag && !objIsObj) {
|
|
7266
|
+
stack || (stack = new Stack);
|
|
7267
|
+
return (objIsArr || isTypedArray$1(object))
|
|
7268
|
+
? equalArrays(object, other, bitmask, customizer, equalFunc, stack)
|
|
7269
|
+
: equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);
|
|
7270
|
+
}
|
|
7271
|
+
if (!(bitmask & COMPARE_PARTIAL_FLAG)) {
|
|
7272
|
+
var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),
|
|
7273
|
+
othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');
|
|
7274
|
+
|
|
7275
|
+
if (objIsWrapped || othIsWrapped) {
|
|
7276
|
+
var objUnwrapped = objIsWrapped ? object.value() : object,
|
|
7277
|
+
othUnwrapped = othIsWrapped ? other.value() : other;
|
|
7278
|
+
|
|
7279
|
+
stack || (stack = new Stack);
|
|
7280
|
+
return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);
|
|
7281
|
+
}
|
|
7282
|
+
}
|
|
7283
|
+
if (!isSameTag) {
|
|
7284
|
+
return false;
|
|
7285
|
+
}
|
|
7286
|
+
stack || (stack = new Stack);
|
|
7287
|
+
return equalObjects(object, other, bitmask, customizer, equalFunc, stack);
|
|
7288
|
+
}
|
|
5310
7289
|
|
|
5311
7290
|
/**
|
|
5312
|
-
* The base implementation of `
|
|
7291
|
+
* The base implementation of `_.isEqual` which supports partial comparisons
|
|
7292
|
+
* and tracks traversed objects.
|
|
5313
7293
|
*
|
|
5314
7294
|
* @private
|
|
5315
|
-
* @param {*} value The value to
|
|
5316
|
-
* @
|
|
7295
|
+
* @param {*} value The value to compare.
|
|
7296
|
+
* @param {*} other The other value to compare.
|
|
7297
|
+
* @param {boolean} bitmask The bitmask flags.
|
|
7298
|
+
* 1 - Unordered comparison
|
|
7299
|
+
* 2 - Partial comparison
|
|
7300
|
+
* @param {Function} [customizer] The function to customize comparisons.
|
|
7301
|
+
* @param {Object} [stack] Tracks traversed `value` and `other` objects.
|
|
7302
|
+
* @returns {boolean} Returns `true` if the values are equivalent, else `false`.
|
|
5317
7303
|
*/
|
|
5318
|
-
function
|
|
5319
|
-
if (value
|
|
5320
|
-
return
|
|
7304
|
+
function baseIsEqual(value, other, bitmask, customizer, stack) {
|
|
7305
|
+
if (value === other) {
|
|
7306
|
+
return true;
|
|
5321
7307
|
}
|
|
5322
|
-
|
|
5323
|
-
|
|
5324
|
-
|
|
7308
|
+
if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) {
|
|
7309
|
+
return value !== value && other !== other;
|
|
7310
|
+
}
|
|
7311
|
+
return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);
|
|
5325
7312
|
}
|
|
5326
7313
|
|
|
7314
|
+
/** `Object#toString` result references. */
|
|
7315
|
+
var stringTag = '[object String]';
|
|
7316
|
+
|
|
5327
7317
|
/**
|
|
5328
|
-
* Checks if `value` is
|
|
5329
|
-
* and has a `typeof` result of "object".
|
|
7318
|
+
* Checks if `value` is classified as a `String` primitive or object.
|
|
5330
7319
|
*
|
|
5331
7320
|
* @static
|
|
7321
|
+
* @since 0.1.0
|
|
5332
7322
|
* @memberOf _
|
|
5333
|
-
* @since 4.0.0
|
|
5334
7323
|
* @category Lang
|
|
5335
7324
|
* @param {*} value The value to check.
|
|
5336
|
-
* @returns {boolean} Returns `true` if `value` is
|
|
7325
|
+
* @returns {boolean} Returns `true` if `value` is a string, else `false`.
|
|
5337
7326
|
* @example
|
|
5338
7327
|
*
|
|
5339
|
-
* _.
|
|
5340
|
-
* // => true
|
|
5341
|
-
*
|
|
5342
|
-
* _.isObjectLike([1, 2, 3]);
|
|
7328
|
+
* _.isString('abc');
|
|
5343
7329
|
* // => true
|
|
5344
7330
|
*
|
|
5345
|
-
* _.
|
|
5346
|
-
* // => false
|
|
5347
|
-
*
|
|
5348
|
-
* _.isObjectLike(null);
|
|
7331
|
+
* _.isString(1);
|
|
5349
7332
|
* // => false
|
|
5350
7333
|
*/
|
|
5351
|
-
function
|
|
5352
|
-
return
|
|
7334
|
+
function isString$2(value) {
|
|
7335
|
+
return typeof value == 'string' ||
|
|
7336
|
+
(!isArray$1(value) && isObjectLike(value) && baseGetTag(value) == stringTag);
|
|
5353
7337
|
}
|
|
5354
7338
|
|
|
5355
7339
|
/**
|
|
5356
|
-
*
|
|
5357
|
-
*
|
|
5358
|
-
* @static
|
|
5359
|
-
* @memberOf _
|
|
5360
|
-
* @since 0.1.0
|
|
5361
|
-
* @category Lang
|
|
5362
|
-
* @param {*} value The value to check.
|
|
5363
|
-
* @returns {boolean} Returns `true` if `value` is an array, else `false`.
|
|
5364
|
-
* @example
|
|
5365
|
-
*
|
|
5366
|
-
* _.isArray([1, 2, 3]);
|
|
5367
|
-
* // => true
|
|
7340
|
+
* Performs a deep comparison between two values to determine if they are
|
|
7341
|
+
* equivalent.
|
|
5368
7342
|
*
|
|
5369
|
-
*
|
|
5370
|
-
*
|
|
5371
|
-
*
|
|
5372
|
-
*
|
|
5373
|
-
*
|
|
5374
|
-
*
|
|
5375
|
-
* _.isArray(_.noop);
|
|
5376
|
-
* // => false
|
|
5377
|
-
*/
|
|
5378
|
-
var isArray = Array.isArray;
|
|
5379
|
-
|
|
5380
|
-
var isArray$1 = isArray;
|
|
5381
|
-
|
|
5382
|
-
/**
|
|
5383
|
-
* Checks if `value` is the
|
|
5384
|
-
* [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
|
|
5385
|
-
* of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
|
|
7343
|
+
* **Note:** This method supports comparing arrays, array buffers, booleans,
|
|
7344
|
+
* date objects, error objects, maps, numbers, `Object` objects, regexes,
|
|
7345
|
+
* sets, strings, symbols, and typed arrays. `Object` objects are compared
|
|
7346
|
+
* by their own, not inherited, enumerable properties. Functions and DOM
|
|
7347
|
+
* nodes are compared by strict equality, i.e. `===`.
|
|
5386
7348
|
*
|
|
5387
7349
|
* @static
|
|
5388
7350
|
* @memberOf _
|
|
5389
7351
|
* @since 0.1.0
|
|
5390
7352
|
* @category Lang
|
|
5391
|
-
* @param {*} value The value to
|
|
5392
|
-
* @
|
|
7353
|
+
* @param {*} value The value to compare.
|
|
7354
|
+
* @param {*} other The other value to compare.
|
|
7355
|
+
* @returns {boolean} Returns `true` if the values are equivalent, else `false`.
|
|
5393
7356
|
* @example
|
|
5394
7357
|
*
|
|
5395
|
-
*
|
|
5396
|
-
*
|
|
5397
|
-
*
|
|
5398
|
-
* _.isObject([1, 2, 3]);
|
|
5399
|
-
* // => true
|
|
5400
|
-
*
|
|
5401
|
-
* _.isObject(_.noop);
|
|
5402
|
-
* // => true
|
|
5403
|
-
*
|
|
5404
|
-
* _.isObject(null);
|
|
5405
|
-
* // => false
|
|
5406
|
-
*/
|
|
5407
|
-
function isObject$1(value) {
|
|
5408
|
-
var type = typeof value;
|
|
5409
|
-
return value != null && (type == 'object' || type == 'function');
|
|
5410
|
-
}
|
|
5411
|
-
|
|
5412
|
-
/** `Object#toString` result references. */
|
|
5413
|
-
var stringTag = '[object String]';
|
|
5414
|
-
|
|
5415
|
-
/**
|
|
5416
|
-
* Checks if `value` is classified as a `String` primitive or object.
|
|
5417
|
-
*
|
|
5418
|
-
* @static
|
|
5419
|
-
* @since 0.1.0
|
|
5420
|
-
* @memberOf _
|
|
5421
|
-
* @category Lang
|
|
5422
|
-
* @param {*} value The value to check.
|
|
5423
|
-
* @returns {boolean} Returns `true` if `value` is a string, else `false`.
|
|
5424
|
-
* @example
|
|
7358
|
+
* var object = { 'a': 1 };
|
|
7359
|
+
* var other = { 'a': 1 };
|
|
5425
7360
|
*
|
|
5426
|
-
* _.
|
|
7361
|
+
* _.isEqual(object, other);
|
|
5427
7362
|
* // => true
|
|
5428
7363
|
*
|
|
5429
|
-
*
|
|
7364
|
+
* object === other;
|
|
5430
7365
|
* // => false
|
|
5431
7366
|
*/
|
|
5432
|
-
function
|
|
5433
|
-
return
|
|
5434
|
-
(!isArray$1(value) && isObjectLike(value) && baseGetTag(value) == stringTag);
|
|
7367
|
+
function isEqual(value, other) {
|
|
7368
|
+
return baseIsEqual(value, other);
|
|
5435
7369
|
}
|
|
5436
7370
|
|
|
5437
7371
|
const IconHelper = (props) => {
|
|
@@ -14141,7 +16075,7 @@ const watchNavLinks = (className, component, value) => {
|
|
|
14141
16075
|
uiUxHintMillerscheZahl(className, component.state._links.length);
|
|
14142
16076
|
};
|
|
14143
16077
|
|
|
14144
|
-
const defaultStyleCss$H = "/*\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: calc(44rem / var(--kolibri-root-font-size, 16));\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 rem(44).\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 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: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\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%;\n /* 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 .badge-text-hint {\n background-color: lightgray;\n color: black;\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 .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\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,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n}\n@layer kol-component {\n .kol-breadcrumb {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-breadcrumb__list, .kol-breadcrumb__list-element {\n margin: 0;\n padding: 0;\n list-style: none;\n display: flex;\n gap: 0.5em;\n flex-wrap: wrap;\n place-items: center;\n }\n .kol-breadcrumb__icon::part(separator) {\n font-weight: 900;\n font-size: 0.7em;\n }\n .kol-breadcrumb__icon::part(separator):before {\n content: \"\\f054\";\n font-family: \"Font Awesome 6 Free\";\n }\n}";
|
|
16078
|
+
const defaultStyleCss$H = "/*\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: calc(44rem / var(--kolibri-root-font-size, 16));\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 rem(44).\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 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: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\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%;\n /* 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 .badge-text-hint {\n background-color: lightgray;\n color: black;\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 .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\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,\n [disabled]:focus .kol-span {\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-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n :host {\n display: inline-block;\n }\n .kol-link {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n align-items: baseline;\n display: inline-flex;\n place-items: center;\n text-align: left;\n text-decoration-line: none;\n }\n .kol-link__text .kol-span__label {\n text-decoration-line: underline;\n }\n .kol-link:is(:focus, :hover):not([aria-disabled], [disabled]) .kol-link__text .kol-span__label {\n text-decoration-thickness: 0.2em;\n }\n .kol-link__icon {\n display: inline-flex;\n margin-left: calc(8rem / var(--kolibri-root-font-size, 16));\n }\n}\n@layer kol-component {\n .kol-breadcrumb {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-breadcrumb__list, .kol-breadcrumb__list-element {\n margin: 0;\n padding: 0;\n list-style: none;\n display: flex;\n gap: 0.5em;\n flex-wrap: wrap;\n place-items: center;\n }\n .kol-breadcrumb__icon::part(separator) {\n font-weight: 900;\n font-size: 0.7em;\n }\n .kol-breadcrumb__icon::part(separator):before {\n content: \"\\f054\";\n font-family: \"Font Awesome 6 Free\";\n }\n}";
|
|
14145
16079
|
var KolBreadcrumbDefaultStyle0 = defaultStyleCss$H;
|
|
14146
16080
|
|
|
14147
16081
|
class KolBreadcrumb {
|
|
@@ -14149,7 +16083,7 @@ class KolBreadcrumb {
|
|
|
14149
16083
|
registerInstance(this, hostRef);
|
|
14150
16084
|
this.renderLink = (link, index) => {
|
|
14151
16085
|
const lastIndex = this.state._links.length - 1;
|
|
14152
|
-
return (hAsync("li", { class: "kol-breadcrumb__list-element", key: index }, index !== 0 && hAsync(KolIconTag, { class: "kol-breadcrumb__icon", _label: "", _icons: "codicon codicon-chevron-right" }), index === lastIndex ? (hAsync("span", { class: "kol-breadcrumb__list-element-span" }, link._hideLabel ? (hAsync(KolIconTag, { class: "kol-breadcrumb__icon", _label: link._label, _icons: typeof link._icons === 'string' ? link._icons : 'codicon codicon-symbol-event' })) : (hAsync(Fragment, null, link._label)))) : (hAsync(
|
|
16086
|
+
return (hAsync("li", { class: "kol-breadcrumb__list-element", key: index }, index !== 0 && hAsync(KolIconTag, { class: "kol-breadcrumb__icon", _label: "", _icons: "codicon codicon-chevron-right" }), index === lastIndex ? (hAsync("span", { class: "kol-breadcrumb__list-element-span" }, link._hideLabel ? (hAsync(KolIconTag, { class: "kol-breadcrumb__icon", _label: link._label, _icons: typeof link._icons === 'string' ? link._icons : 'codicon codicon-symbol-event' })) : (hAsync(Fragment, null, link._label)))) : (hAsync(KolLinkWcTag, Object.assign({ class: "kol-breadcrumb__link" }, link)))));
|
|
14153
16087
|
};
|
|
14154
16088
|
this._label = undefined;
|
|
14155
16089
|
this._links = undefined;
|
|
@@ -14159,7 +16093,7 @@ class KolBreadcrumb {
|
|
|
14159
16093
|
};
|
|
14160
16094
|
}
|
|
14161
16095
|
render() {
|
|
14162
|
-
return (hAsync("nav", { key: '
|
|
16096
|
+
return (hAsync("nav", { key: 'ec5c76bf09d3c9feaaf2e54dea8849f3df35f8cf', class: "kol-breadcrumb", "aria-label": this.state._label }, hAsync("ul", { key: '58258d0d211e35b1c10ea81d57ce664b5b365da1', class: "kol-breadcrumb__list" }, this.state._links.length === 0 && (hAsync("li", { key: '380473fa2c97a40a8f36042a7859edc30a13dcea' }, hAsync(KolIconTag, { key: '6f9289fa4d708da3b9bfbb7da105db05807dce39', class: "kol-breadcrumb_icon", _label: "", _icons: "codicon codicon-home" }), "\u2026")), this.state._links.map(this.renderLink))));
|
|
14163
16097
|
}
|
|
14164
16098
|
validateLabel(value, _oldValue, initial = false) {
|
|
14165
16099
|
if (!initial) {
|
|
@@ -14610,12 +16544,12 @@ class KolButtonWc {
|
|
|
14610
16544
|
const hasExpertSlot = showExpertSlot(this.state._label);
|
|
14611
16545
|
const hasAriaDescription = Boolean((_b = (_a = this.state._ariaDescription) === null || _a === void 0 ? void 0 : _a.trim()) === null || _b === void 0 ? void 0 : _b.length);
|
|
14612
16546
|
const badgeText = this.state._accessKey || this.state._shortKey;
|
|
14613
|
-
return (hAsync(Host, { key: '
|
|
16547
|
+
return (hAsync(Host, { key: '88fb283ddcb117a16a7d9bbbe4af5d95e982e705' }, hAsync("button", { key: '32101891390c1f05618744d94c960ce14bd55189', ref: this.catchRef, accessKey: this.state._accessKey || undefined, "aria-controls": this.state._ariaControls, "aria-describedby": hasAriaDescription ? this.internalDescriptionById : undefined, "aria-expanded": mapBoolean2String(this.state._ariaExpanded), "aria-haspopup": this._ariaHasPopup, "aria-label": this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, "aria-selected": mapStringOrBoolean2String(this.state._ariaSelected), class: clsx('kol-button', {
|
|
14614
16548
|
'kol-button--disabled': this.state._disabled === true,
|
|
14615
16549
|
[`kol-button--${this.state._variant}`]: this.state._variant !== 'custom',
|
|
14616
16550
|
'kol-button--hide-label': this.state._hideLabel === true,
|
|
14617
16551
|
[this.state._customClass]: this.state._variant === 'custom' && typeof this.state._customClass === 'string' && this.state._customClass.length > 0,
|
|
14618
|
-
}), disabled: this.state._disabled, id: this.state._id, name: this.state._name, onClick: this.onClick, onMouseDown: this.onMouseDown, role: this.state._role, tabIndex: this.state._tabIndex, type: this.state._type }, hAsync(KolSpanFc$1, { key: '
|
|
16552
|
+
}), disabled: this.state._disabled, id: this.state._id, name: this.state._name, onClick: this.onClick, onMouseDown: this.onMouseDown, role: this.state._role, tabIndex: this.state._tabIndex, type: this.state._type }, hAsync(KolSpanFc$1, { key: '79a1291431a07ebc737fd1de6dec4dda69b7da83', class: "kol-button__text", badgeText: badgeText, icons: this.state._icons, hideLabel: this.state._hideLabel, label: hasExpertSlot ? '' : this.state._label }, hAsync("slot", { key: '3b3a224e254beb9ad133bbd37d1cb32f1554a46f', name: "expert", slot: "expert" }))), hAsync(KolTooltipWcTag, { key: 'a61ba5756fd55dd58f097c4a15fc5ef252622948', "aria-hidden": "true", hidden: hasExpertSlot || !this.state._hideLabel, class: "kol-button__tooltip", _badgeText: badgeText, _align: this.state._tooltipAlign, _label: typeof this.state._label === 'string' ? this.state._label : '' }), hasAriaDescription && (hAsync("span", { key: '27b3e166d07a876a05613e5e09454becbded2bf7', class: "visually-hidden", id: this.internalDescriptionById }, this.state._ariaDescription))));
|
|
14619
16553
|
}
|
|
14620
16554
|
constructor(hostRef) {
|
|
14621
16555
|
registerInstance(this, hostRef);
|
|
@@ -14659,6 +16593,7 @@ class KolButtonWc {
|
|
|
14659
16593
|
this._ariaControls = undefined;
|
|
14660
16594
|
this._ariaDescription = undefined;
|
|
14661
16595
|
this._ariaExpanded = undefined;
|
|
16596
|
+
this._ariaHasPopup = undefined;
|
|
14662
16597
|
this._ariaSelected = undefined;
|
|
14663
16598
|
this._customClass = undefined;
|
|
14664
16599
|
this._disabled = false;
|
|
@@ -14809,6 +16744,7 @@ class KolButtonWc {
|
|
|
14809
16744
|
"_ariaControls": [1, "_aria-controls"],
|
|
14810
16745
|
"_ariaDescription": [1, "_aria-description"],
|
|
14811
16746
|
"_ariaExpanded": [4, "_aria-expanded"],
|
|
16747
|
+
"_ariaHasPopup": [1, "_aria-has-popup"],
|
|
14812
16748
|
"_ariaSelected": [4, "_aria-selected"],
|
|
14813
16749
|
"_customClass": [1, "_custom-class"],
|
|
14814
16750
|
"_disabled": [4],
|
|
@@ -15129,39 +17065,13 @@ class InputController extends ControlledInputController {
|
|
|
15129
17065
|
}
|
|
15130
17066
|
}
|
|
15131
17067
|
|
|
15132
|
-
const beforePatchIcons = (value, nextState) => {
|
|
15133
|
-
const icons = value;
|
|
15134
|
-
if (typeof icons === 'object' && icons !== null) {
|
|
15135
|
-
if (isString$3(icons.right, 1)) {
|
|
15136
|
-
icons.right = { icon: icons.right };
|
|
15137
|
-
}
|
|
15138
|
-
if (isString$3(icons.left, 1)) {
|
|
15139
|
-
icons.left = { icon: icons.left };
|
|
15140
|
-
}
|
|
15141
|
-
nextState.set('_icons', icons);
|
|
15142
|
-
}
|
|
15143
|
-
};
|
|
15144
17068
|
class InputIconController extends InputController {
|
|
15145
17069
|
constructor(component, name, host) {
|
|
15146
17070
|
super(component, name, host);
|
|
15147
17071
|
this.component = component;
|
|
15148
17072
|
}
|
|
15149
17073
|
validateIcons(value) {
|
|
15150
|
-
|
|
15151
|
-
try {
|
|
15152
|
-
value = parseJson(value);
|
|
15153
|
-
}
|
|
15154
|
-
catch (e) {
|
|
15155
|
-
}
|
|
15156
|
-
watchValidator(this.component, '_icons', (value) => {
|
|
15157
|
-
return (typeof value === 'object' && value !== null && (isString$3(value.left, 1) || isIcon(value.left) || isString$3(value.right, 1) || isIcon(value.right)));
|
|
15158
|
-
}, new Set(['KoliBriHorizontalIcon']), value, {
|
|
15159
|
-
hooks: {
|
|
15160
|
-
beforePatch: beforePatchIcons,
|
|
15161
|
-
},
|
|
15162
|
-
required: true,
|
|
15163
|
-
});
|
|
15164
|
-
});
|
|
17074
|
+
validateIcons(this.component, value);
|
|
15165
17075
|
}
|
|
15166
17076
|
componentWillLoad() {
|
|
15167
17077
|
super.componentWillLoad();
|
|
@@ -15359,14 +17269,14 @@ const CustomSuggestionsOptionFc = ({ index, ref, selected, onClick, onMouseOver,
|
|
|
15359
17269
|
};
|
|
15360
17270
|
var CustomSuggestionsOptionFc$1 = CustomSuggestionsOptionFc;
|
|
15361
17271
|
|
|
15362
|
-
const CustomSuggestionsOptionsGroupFc = ({ blockSuggestionMouseOver, onKeyDown }, children) => {
|
|
15363
|
-
return (hAsync("ul", { role: "listbox", class: clsx('kol-custom-suggestions-options-group', {
|
|
17272
|
+
const CustomSuggestionsOptionsGroupFc = ({ blockSuggestionMouseOver, onKeyDown, style }, children) => {
|
|
17273
|
+
return (hAsync("ul", { role: "listbox", style: style, class: clsx('kol-custom-suggestions-options-group', {
|
|
15364
17274
|
'kol-custom-suggestions-options-group--cursor-hidden': blockSuggestionMouseOver,
|
|
15365
17275
|
}), onKeyDown: onKeyDown }, children));
|
|
15366
17276
|
};
|
|
15367
17277
|
var CustomSuggestionsOptionsGroupFc$1 = CustomSuggestionsOptionsGroupFc;
|
|
15368
17278
|
|
|
15369
|
-
const defaultStyleCss$D = "/*\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: calc(44rem / var(--kolibri-root-font-size, 16));\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 rem(44).\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 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: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\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%;\n /* 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 .badge-text-hint {\n background-color: lightgray;\n color: black;\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 .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\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,\n [disabled]:focus .kol-span {\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 .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-
|
|
17279
|
+
const defaultStyleCss$D = "/*\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: calc(44rem / var(--kolibri-root-font-size, 16));\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 rem(44).\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 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: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\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%;\n /* 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 .badge-text-hint {\n background-color: lightgray;\n color: black;\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 .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\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,\n [disabled]:focus .kol-span {\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 .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-alert__closer {\n /* Visible with forced colors */\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\n }\n}\n@layer kol-component {\n .kol-custom-suggestions-option {\n cursor: pointer;\n white-space: normal;\n overflow-wrap: break-word;\n word-wrap: break-word;\n line-height: 1.5;\n box-sizing: border-box;\n }\n .kol-custom-suggestions-options-group--cursor-hidden .kol-custom-suggestions-option {\n cursor: none !important;\n }\n}\n@layer kol-component {\n .kol-custom-suggestions-options-group {\n display: block;\n position: absolute;\n list-style-type: none;\n margin: 0;\n padding: 0;\n overflow-y: auto;\n overflow-x: hidden;\n z-index: 2;\n background-color: white;\n max-height: calc(250rem / var(--kolibri-root-font-size, 16));\n }\n}\n@layer kol-component {\n .kol-custom-suggestions-toggle {\n align-items: center;\n display: flex;\n height: var(--a11y-min-size);\n width: var(--a11y-min-size);\n }\n .kol-custom-suggestions-toggle:not(:disabled) {\n cursor: pointer;\n }\n}\n@layer kol-component {\n .kol-form-field {\n display: grid;\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label {\n cursor: pointer;\n }\n .kol-form-field--disabled .kol-form-field__label {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__label-text::after {\n content: \"*\";\n }\n .kol-form-field--disabled .kol-form-field__hint {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__tooltip .span-label::after {\n content: \"*\";\n }\n}\n@layer kol-component {\n .kol-input-container {\n align-items: center;\n background-color: white;\n display: grid;\n grid-template-columns: 1fr;\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n width: 100%;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start) {\n grid-template-columns: auto 1fr;\n }\n .kol-input-container:has(> .kol-input-container__adornment--end) {\n grid-template-columns: 1fr auto;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start):has(> .kol-input-container__adornment--end) {\n grid-template-columns: auto 1fr auto;\n }\n .kol-input-container__container {\n position: relative;\n }\n .kol-input-container__adornment {\n display: flex;\n align-items: center;\n }\n .kol-input-container__adornment .kol-icon {\n display: grid;\n height: var(--a11y-min-size);\n place-items: center;\n }\n}\n@layer kol-component {\n .kol-input {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n min-width: var(--a11y-min-size);\n width: 100%;\n }\n .kol-input:focus {\n outline: none;\n }\n}";
|
|
15370
17280
|
var KolComboboxDefaultStyle0 = defaultStyleCss$D;
|
|
15371
17281
|
|
|
15372
17282
|
class KolCombobox {
|
|
@@ -15471,6 +17381,8 @@ class KolCombobox {
|
|
|
15471
17381
|
}, selected: this.state._value === option, onClick: () => {
|
|
15472
17382
|
this.selectOption(option);
|
|
15473
17383
|
this.toggleListbox();
|
|
17384
|
+
this._isOpen = false;
|
|
17385
|
+
this._hasOpened = false;
|
|
15474
17386
|
}, onMouseOver: () => {
|
|
15475
17387
|
if (!this.blockSuggestionMouseOver) {
|
|
15476
17388
|
this.focusOption(index);
|
|
@@ -15513,7 +17425,7 @@ class KolCombobox {
|
|
|
15513
17425
|
}
|
|
15514
17426
|
case 'Tab':
|
|
15515
17427
|
if (this._isOpen) {
|
|
15516
|
-
this._isOpen =
|
|
17428
|
+
this._isOpen = false;
|
|
15517
17429
|
(_a = this.refInput) === null || _a === void 0 ? void 0 : _a.focus();
|
|
15518
17430
|
}
|
|
15519
17431
|
break;
|
|
@@ -15521,13 +17433,21 @@ class KolCombobox {
|
|
|
15521
17433
|
case 'Escape': {
|
|
15522
17434
|
this._hasOpened = false;
|
|
15523
17435
|
this._isOpen = false;
|
|
15524
|
-
|
|
17436
|
+
event.preventDefault();
|
|
15525
17437
|
(_b = this.refInput) === null || _b === void 0 ? void 0 : _b.focus();
|
|
15526
17438
|
break;
|
|
15527
17439
|
}
|
|
15528
17440
|
case 'NumpadEnter':
|
|
15529
17441
|
case 'Enter': {
|
|
15530
|
-
this.
|
|
17442
|
+
if (this._isOpen && this._focusedOptionIndex >= 0) {
|
|
17443
|
+
this._filteredSuggestions && this.selectOption(this._filteredSuggestions[this._focusedOptionIndex]);
|
|
17444
|
+
this._isOpen = false;
|
|
17445
|
+
this._hasOpened = false;
|
|
17446
|
+
}
|
|
17447
|
+
else {
|
|
17448
|
+
this.toggleListbox();
|
|
17449
|
+
}
|
|
17450
|
+
event.preventDefault();
|
|
15531
17451
|
break;
|
|
15532
17452
|
}
|
|
15533
17453
|
case 'Home': {
|
|
@@ -16038,7 +17958,7 @@ class KolDrawer {
|
|
|
16038
17958
|
}; }
|
|
16039
17959
|
}
|
|
16040
17960
|
|
|
16041
|
-
const defaultStyleCss$A = "/*\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: calc(44rem / var(--kolibri-root-font-size, 16));\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 rem(44).\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 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: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\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%;\n /* 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 .badge-text-hint {\n background-color: lightgray;\n color: black;\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 .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\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,\n [disabled]:focus .kol-span {\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 .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n @layer kol-component {\n :host {\n display: inline-block;\n }\n .kol-link {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n align-items: baseline;\n display: inline-flex;\n place-items: center;\n text-align: left;\n text-decoration-line: none;\n }\n .kol-link__text .kol-span__label {\n text-decoration-line: underline;\n }\n .kol-link:is(:focus, :hover):not([aria-disabled], [disabled]) .kol-link__text .kol-span__label {\n text-decoration-thickness: 0.2em;\n }\n .kol-link__icon {\n display: inline-flex;\n margin-left: calc(8rem / var(--kolibri-root-font-size, 16));\n }\n }\n @layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-
|
|
17961
|
+
const defaultStyleCss$A = "/*\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: calc(44rem / var(--kolibri-root-font-size, 16));\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 rem(44).\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 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: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\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%;\n /* 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 .badge-text-hint {\n background-color: lightgray;\n color: black;\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 .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\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,\n [disabled]:focus .kol-span {\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 .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n @layer kol-component {\n :host {\n display: inline-block;\n }\n .kol-link {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n align-items: baseline;\n display: inline-flex;\n place-items: center;\n text-align: left;\n text-decoration-line: none;\n }\n .kol-link__text .kol-span__label {\n text-decoration-line: underline;\n }\n .kol-link:is(:focus, :hover):not([aria-disabled], [disabled]) .kol-link__text .kol-span__label {\n text-decoration-thickness: 0.2em;\n }\n .kol-link__icon {\n display: inline-flex;\n margin-left: calc(8rem / var(--kolibri-root-font-size, 16));\n }\n }\n @layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-alert__closer {\n /* Visible with forced colors */\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\n }\n }\n .kol-form {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n}";
|
|
16042
17962
|
var KolFormDefaultStyle0 = defaultStyleCss$A;
|
|
16043
17963
|
|
|
16044
17964
|
class KolForm {
|
|
@@ -16211,6 +18131,10 @@ class KolHeading {
|
|
|
16211
18131
|
}; }
|
|
16212
18132
|
}
|
|
16213
18133
|
|
|
18134
|
+
const bem = s();
|
|
18135
|
+
const BEM_CLASS_ICON = bem('kol-icon');
|
|
18136
|
+
const BEM_CLASS_ICON__ICON = bem('kol-icon', 'icon');
|
|
18137
|
+
|
|
16214
18138
|
const defaultStyleCss$y = "/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n@font-face {\n font-family: \"codicon\";\n font-display: block;\n src: url(\"./codicon.ttf?be64b7213e352cd7f91ef58198e71237\") format(\"truetype\");\n}\n.codicon[class*=codicon-] {\n font: normal normal normal 16px/1 codicon;\n display: inline-block;\n text-decoration: none;\n text-rendering: auto;\n text-align: center;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n user-select: none;\n -webkit-user-select: none;\n -ms-user-select: none;\n}\n\n/*---------------------\n * Modifiers\n *-------------------*/\n@keyframes codicon-spin {\n 100% {\n transform: rotate(360deg);\n }\n}\n.codicon-sync.codicon-modifier-spin,\n.codicon-loading.codicon-modifier-spin,\n.codicon-gear.codicon-modifier-spin {\n /* Use steps to throttle FPS to reduce CPU usage */\n animation: codicon-spin 1.5s steps(30) infinite;\n}\n\n.codicon-modifier-disabled {\n opacity: 0.5;\n}\n\n.codicon-modifier-hidden {\n opacity: 0;\n}\n\n/* custom speed & easing for loading icon */\n.codicon-loading {\n animation-duration: 1s !important;\n animation-timing-function: cubic-bezier(0.53, 0.21, 0.29, 0.67) !important;\n}\n\n/*---------------------\n * Icons\n *-------------------*/\n.codicon-add:before {\n content: \"\\ea60\";\n}\n\n.codicon-plus:before {\n content: \"\\ea60\";\n}\n\n.codicon-gist-new:before {\n content: \"\\ea60\";\n}\n\n.codicon-repo-create:before {\n content: \"\\ea60\";\n}\n\n.codicon-lightbulb:before {\n content: \"\\ea61\";\n}\n\n.codicon-light-bulb:before {\n content: \"\\ea61\";\n}\n\n.codicon-repo:before {\n content: \"\\ea62\";\n}\n\n.codicon-repo-delete:before {\n content: \"\\ea62\";\n}\n\n.codicon-gist-fork:before {\n content: \"\\ea63\";\n}\n\n.codicon-repo-forked:before {\n content: \"\\ea63\";\n}\n\n.codicon-git-pull-request:before {\n content: \"\\ea64\";\n}\n\n.codicon-git-pull-request-abandoned:before {\n content: \"\\ea64\";\n}\n\n.codicon-record-keys:before {\n content: \"\\ea65\";\n}\n\n.codicon-keyboard:before {\n content: \"\\ea65\";\n}\n\n.codicon-tag:before {\n content: \"\\ea66\";\n}\n\n.codicon-git-pull-request-label:before {\n content: \"\\ea66\";\n}\n\n.codicon-tag-add:before {\n content: \"\\ea66\";\n}\n\n.codicon-tag-remove:before {\n content: \"\\ea66\";\n}\n\n.codicon-person:before {\n content: \"\\ea67\";\n}\n\n.codicon-person-follow:before {\n content: \"\\ea67\";\n}\n\n.codicon-person-outline:before {\n content: \"\\ea67\";\n}\n\n.codicon-person-filled:before {\n content: \"\\ea67\";\n}\n\n.codicon-git-branch:before {\n content: \"\\ea68\";\n}\n\n.codicon-git-branch-create:before {\n content: \"\\ea68\";\n}\n\n.codicon-git-branch-delete:before {\n content: \"\\ea68\";\n}\n\n.codicon-source-control:before {\n content: \"\\ea68\";\n}\n\n.codicon-mirror:before {\n content: \"\\ea69\";\n}\n\n.codicon-mirror-public:before {\n content: \"\\ea69\";\n}\n\n.codicon-star:before {\n content: \"\\ea6a\";\n}\n\n.codicon-star-add:before {\n content: \"\\ea6a\";\n}\n\n.codicon-star-delete:before {\n content: \"\\ea6a\";\n}\n\n.codicon-star-empty:before {\n content: \"\\ea6a\";\n}\n\n.codicon-comment:before {\n content: \"\\ea6b\";\n}\n\n.codicon-comment-add:before {\n content: \"\\ea6b\";\n}\n\n.codicon-alert:before {\n content: \"\\ea6c\";\n}\n\n.codicon-warning:before {\n content: \"\\ea6c\";\n}\n\n.codicon-search:before {\n content: \"\\ea6d\";\n}\n\n.codicon-search-save:before {\n content: \"\\ea6d\";\n}\n\n.codicon-log-out:before {\n content: \"\\ea6e\";\n}\n\n.codicon-sign-out:before {\n content: \"\\ea6e\";\n}\n\n.codicon-log-in:before {\n content: \"\\ea6f\";\n}\n\n.codicon-sign-in:before {\n content: \"\\ea6f\";\n}\n\n.codicon-eye:before {\n content: \"\\ea70\";\n}\n\n.codicon-eye-unwatch:before {\n content: \"\\ea70\";\n}\n\n.codicon-eye-watch:before {\n content: \"\\ea70\";\n}\n\n.codicon-circle-filled:before {\n content: \"\\ea71\";\n}\n\n.codicon-primitive-dot:before {\n content: \"\\ea71\";\n}\n\n.codicon-close-dirty:before {\n content: \"\\ea71\";\n}\n\n.codicon-debug-breakpoint:before {\n content: \"\\ea71\";\n}\n\n.codicon-debug-breakpoint-disabled:before {\n content: \"\\ea71\";\n}\n\n.codicon-debug-hint:before {\n content: \"\\ea71\";\n}\n\n.codicon-terminal-decoration-success:before {\n content: \"\\ea71\";\n}\n\n.codicon-primitive-square:before {\n content: \"\\ea72\";\n}\n\n.codicon-edit:before {\n content: \"\\ea73\";\n}\n\n.codicon-pencil:before {\n content: \"\\ea73\";\n}\n\n.codicon-info:before {\n content: \"\\ea74\";\n}\n\n.codicon-issue-opened:before {\n content: \"\\ea74\";\n}\n\n.codicon-gist-private:before {\n content: \"\\ea75\";\n}\n\n.codicon-git-fork-private:before {\n content: \"\\ea75\";\n}\n\n.codicon-lock:before {\n content: \"\\ea75\";\n}\n\n.codicon-mirror-private:before {\n content: \"\\ea75\";\n}\n\n.codicon-close:before {\n content: \"\\ea76\";\n}\n\n.codicon-remove-close:before {\n content: \"\\ea76\";\n}\n\n.codicon-x:before {\n content: \"\\ea76\";\n}\n\n.codicon-repo-sync:before {\n content: \"\\ea77\";\n}\n\n.codicon-sync:before {\n content: \"\\ea77\";\n}\n\n.codicon-clone:before {\n content: \"\\ea78\";\n}\n\n.codicon-desktop-download:before {\n content: \"\\ea78\";\n}\n\n.codicon-beaker:before {\n content: \"\\ea79\";\n}\n\n.codicon-microscope:before {\n content: \"\\ea79\";\n}\n\n.codicon-vm:before {\n content: \"\\ea7a\";\n}\n\n.codicon-device-desktop:before {\n content: \"\\ea7a\";\n}\n\n.codicon-file:before {\n content: \"\\ea7b\";\n}\n\n.codicon-file-text:before {\n content: \"\\ea7b\";\n}\n\n.codicon-more:before {\n content: \"\\ea7c\";\n}\n\n.codicon-ellipsis:before {\n content: \"\\ea7c\";\n}\n\n.codicon-kebab-horizontal:before {\n content: \"\\ea7c\";\n}\n\n.codicon-mail-reply:before {\n content: \"\\ea7d\";\n}\n\n.codicon-reply:before {\n content: \"\\ea7d\";\n}\n\n.codicon-organization:before {\n content: \"\\ea7e\";\n}\n\n.codicon-organization-filled:before {\n content: \"\\ea7e\";\n}\n\n.codicon-organization-outline:before {\n content: \"\\ea7e\";\n}\n\n.codicon-new-file:before {\n content: \"\\ea7f\";\n}\n\n.codicon-file-add:before {\n content: \"\\ea7f\";\n}\n\n.codicon-new-folder:before {\n content: \"\\ea80\";\n}\n\n.codicon-file-directory-create:before {\n content: \"\\ea80\";\n}\n\n.codicon-trash:before {\n content: \"\\ea81\";\n}\n\n.codicon-trashcan:before {\n content: \"\\ea81\";\n}\n\n.codicon-history:before {\n content: \"\\ea82\";\n}\n\n.codicon-clock:before {\n content: \"\\ea82\";\n}\n\n.codicon-folder:before {\n content: \"\\ea83\";\n}\n\n.codicon-file-directory:before {\n content: \"\\ea83\";\n}\n\n.codicon-symbol-folder:before {\n content: \"\\ea83\";\n}\n\n.codicon-logo-github:before {\n content: \"\\ea84\";\n}\n\n.codicon-mark-github:before {\n content: \"\\ea84\";\n}\n\n.codicon-github:before {\n content: \"\\ea84\";\n}\n\n.codicon-terminal:before {\n content: \"\\ea85\";\n}\n\n.codicon-console:before {\n content: \"\\ea85\";\n}\n\n.codicon-repl:before {\n content: \"\\ea85\";\n}\n\n.codicon-zap:before {\n content: \"\\ea86\";\n}\n\n.codicon-symbol-event:before {\n content: \"\\ea86\";\n}\n\n.codicon-error:before {\n content: \"\\ea87\";\n}\n\n.codicon-stop:before {\n content: \"\\ea87\";\n}\n\n.codicon-variable:before {\n content: \"\\ea88\";\n}\n\n.codicon-symbol-variable:before {\n content: \"\\ea88\";\n}\n\n.codicon-array:before {\n content: \"\\ea8a\";\n}\n\n.codicon-symbol-array:before {\n content: \"\\ea8a\";\n}\n\n.codicon-symbol-module:before {\n content: \"\\ea8b\";\n}\n\n.codicon-symbol-package:before {\n content: \"\\ea8b\";\n}\n\n.codicon-symbol-namespace:before {\n content: \"\\ea8b\";\n}\n\n.codicon-symbol-object:before {\n content: \"\\ea8b\";\n}\n\n.codicon-symbol-method:before {\n content: \"\\ea8c\";\n}\n\n.codicon-symbol-function:before {\n content: \"\\ea8c\";\n}\n\n.codicon-symbol-constructor:before {\n content: \"\\ea8c\";\n}\n\n.codicon-symbol-boolean:before {\n content: \"\\ea8f\";\n}\n\n.codicon-symbol-null:before {\n content: \"\\ea8f\";\n}\n\n.codicon-symbol-numeric:before {\n content: \"\\ea90\";\n}\n\n.codicon-symbol-number:before {\n content: \"\\ea90\";\n}\n\n.codicon-symbol-structure:before {\n content: \"\\ea91\";\n}\n\n.codicon-symbol-struct:before {\n content: \"\\ea91\";\n}\n\n.codicon-symbol-parameter:before {\n content: \"\\ea92\";\n}\n\n.codicon-symbol-type-parameter:before {\n content: \"\\ea92\";\n}\n\n.codicon-symbol-key:before {\n content: \"\\ea93\";\n}\n\n.codicon-symbol-text:before {\n content: \"\\ea93\";\n}\n\n.codicon-symbol-reference:before {\n content: \"\\ea94\";\n}\n\n.codicon-go-to-file:before {\n content: \"\\ea94\";\n}\n\n.codicon-symbol-enum:before {\n content: \"\\ea95\";\n}\n\n.codicon-symbol-value:before {\n content: \"\\ea95\";\n}\n\n.codicon-symbol-ruler:before {\n content: \"\\ea96\";\n}\n\n.codicon-symbol-unit:before {\n content: \"\\ea96\";\n}\n\n.codicon-activate-breakpoints:before {\n content: \"\\ea97\";\n}\n\n.codicon-archive:before {\n content: \"\\ea98\";\n}\n\n.codicon-arrow-both:before {\n content: \"\\ea99\";\n}\n\n.codicon-arrow-down:before {\n content: \"\\ea9a\";\n}\n\n.codicon-arrow-left:before {\n content: \"\\ea9b\";\n}\n\n.codicon-arrow-right:before {\n content: \"\\ea9c\";\n}\n\n.codicon-arrow-small-down:before {\n content: \"\\ea9d\";\n}\n\n.codicon-arrow-small-left:before {\n content: \"\\ea9e\";\n}\n\n.codicon-arrow-small-right:before {\n content: \"\\ea9f\";\n}\n\n.codicon-arrow-small-up:before {\n content: \"\\eaa0\";\n}\n\n.codicon-arrow-up:before {\n content: \"\\eaa1\";\n}\n\n.codicon-bell:before {\n content: \"\\eaa2\";\n}\n\n.codicon-bold:before {\n content: \"\\eaa3\";\n}\n\n.codicon-book:before {\n content: \"\\eaa4\";\n}\n\n.codicon-bookmark:before {\n content: \"\\eaa5\";\n}\n\n.codicon-debug-breakpoint-conditional-unverified:before {\n content: \"\\eaa6\";\n}\n\n.codicon-debug-breakpoint-conditional:before {\n content: \"\\eaa7\";\n}\n\n.codicon-debug-breakpoint-conditional-disabled:before {\n content: \"\\eaa7\";\n}\n\n.codicon-debug-breakpoint-data-unverified:before {\n content: \"\\eaa8\";\n}\n\n.codicon-debug-breakpoint-data:before {\n content: \"\\eaa9\";\n}\n\n.codicon-debug-breakpoint-data-disabled:before {\n content: \"\\eaa9\";\n}\n\n.codicon-debug-breakpoint-log-unverified:before {\n content: \"\\eaaa\";\n}\n\n.codicon-debug-breakpoint-log:before {\n content: \"\\eaab\";\n}\n\n.codicon-debug-breakpoint-log-disabled:before {\n content: \"\\eaab\";\n}\n\n.codicon-briefcase:before {\n content: \"\\eaac\";\n}\n\n.codicon-broadcast:before {\n content: \"\\eaad\";\n}\n\n.codicon-browser:before {\n content: \"\\eaae\";\n}\n\n.codicon-bug:before {\n content: \"\\eaaf\";\n}\n\n.codicon-calendar:before {\n content: \"\\eab0\";\n}\n\n.codicon-case-sensitive:before {\n content: \"\\eab1\";\n}\n\n.codicon-check:before {\n content: \"\\eab2\";\n}\n\n.codicon-checklist:before {\n content: \"\\eab3\";\n}\n\n.codicon-chevron-down:before {\n content: \"\\eab4\";\n}\n\n.codicon-chevron-left:before {\n content: \"\\eab5\";\n}\n\n.codicon-chevron-right:before {\n content: \"\\eab6\";\n}\n\n.codicon-chevron-up:before {\n content: \"\\eab7\";\n}\n\n.codicon-chrome-close:before {\n content: \"\\eab8\";\n}\n\n.codicon-chrome-maximize:before {\n content: \"\\eab9\";\n}\n\n.codicon-chrome-minimize:before {\n content: \"\\eaba\";\n}\n\n.codicon-chrome-restore:before {\n content: \"\\eabb\";\n}\n\n.codicon-circle-outline:before {\n content: \"\\eabc\";\n}\n\n.codicon-circle:before {\n content: \"\\eabc\";\n}\n\n.codicon-debug-breakpoint-unverified:before {\n content: \"\\eabc\";\n}\n\n.codicon-terminal-decoration-incomplete:before {\n content: \"\\eabc\";\n}\n\n.codicon-circle-slash:before {\n content: \"\\eabd\";\n}\n\n.codicon-circuit-board:before {\n content: \"\\eabe\";\n}\n\n.codicon-clear-all:before {\n content: \"\\eabf\";\n}\n\n.codicon-clippy:before {\n content: \"\\eac0\";\n}\n\n.codicon-close-all:before {\n content: \"\\eac1\";\n}\n\n.codicon-cloud-download:before {\n content: \"\\eac2\";\n}\n\n.codicon-cloud-upload:before {\n content: \"\\eac3\";\n}\n\n.codicon-code:before {\n content: \"\\eac4\";\n}\n\n.codicon-collapse-all:before {\n content: \"\\eac5\";\n}\n\n.codicon-color-mode:before {\n content: \"\\eac6\";\n}\n\n.codicon-comment-discussion:before {\n content: \"\\eac7\";\n}\n\n.codicon-credit-card:before {\n content: \"\\eac9\";\n}\n\n.codicon-dash:before {\n content: \"\\eacc\";\n}\n\n.codicon-dashboard:before {\n content: \"\\eacd\";\n}\n\n.codicon-database:before {\n content: \"\\eace\";\n}\n\n.codicon-debug-continue:before {\n content: \"\\eacf\";\n}\n\n.codicon-debug-disconnect:before {\n content: \"\\ead0\";\n}\n\n.codicon-debug-pause:before {\n content: \"\\ead1\";\n}\n\n.codicon-debug-restart:before {\n content: \"\\ead2\";\n}\n\n.codicon-debug-start:before {\n content: \"\\ead3\";\n}\n\n.codicon-debug-step-into:before {\n content: \"\\ead4\";\n}\n\n.codicon-debug-step-out:before {\n content: \"\\ead5\";\n}\n\n.codicon-debug-step-over:before {\n content: \"\\ead6\";\n}\n\n.codicon-debug-stop:before {\n content: \"\\ead7\";\n}\n\n.codicon-debug:before {\n content: \"\\ead8\";\n}\n\n.codicon-device-camera-video:before {\n content: \"\\ead9\";\n}\n\n.codicon-device-camera:before {\n content: \"\\eada\";\n}\n\n.codicon-device-mobile:before {\n content: \"\\eadb\";\n}\n\n.codicon-diff-added:before {\n content: \"\\eadc\";\n}\n\n.codicon-diff-ignored:before {\n content: \"\\eadd\";\n}\n\n.codicon-diff-modified:before {\n content: \"\\eade\";\n}\n\n.codicon-diff-removed:before {\n content: \"\\eadf\";\n}\n\n.codicon-diff-renamed:before {\n content: \"\\eae0\";\n}\n\n.codicon-diff:before {\n content: \"\\eae1\";\n}\n\n.codicon-diff-sidebyside:before {\n content: \"\\eae1\";\n}\n\n.codicon-discard:before {\n content: \"\\eae2\";\n}\n\n.codicon-editor-layout:before {\n content: \"\\eae3\";\n}\n\n.codicon-empty-window:before {\n content: \"\\eae4\";\n}\n\n.codicon-exclude:before {\n content: \"\\eae5\";\n}\n\n.codicon-extensions:before {\n content: \"\\eae6\";\n}\n\n.codicon-eye-closed:before {\n content: \"\\eae7\";\n}\n\n.codicon-file-binary:before {\n content: \"\\eae8\";\n}\n\n.codicon-file-code:before {\n content: \"\\eae9\";\n}\n\n.codicon-file-media:before {\n content: \"\\eaea\";\n}\n\n.codicon-file-pdf:before {\n content: \"\\eaeb\";\n}\n\n.codicon-file-submodule:before {\n content: \"\\eaec\";\n}\n\n.codicon-file-symlink-directory:before {\n content: \"\\eaed\";\n}\n\n.codicon-file-symlink-file:before {\n content: \"\\eaee\";\n}\n\n.codicon-file-zip:before {\n content: \"\\eaef\";\n}\n\n.codicon-files:before {\n content: \"\\eaf0\";\n}\n\n.codicon-filter:before {\n content: \"\\eaf1\";\n}\n\n.codicon-flame:before {\n content: \"\\eaf2\";\n}\n\n.codicon-fold-down:before {\n content: \"\\eaf3\";\n}\n\n.codicon-fold-up:before {\n content: \"\\eaf4\";\n}\n\n.codicon-fold:before {\n content: \"\\eaf5\";\n}\n\n.codicon-folder-active:before {\n content: \"\\eaf6\";\n}\n\n.codicon-folder-opened:before {\n content: \"\\eaf7\";\n}\n\n.codicon-gear:before {\n content: \"\\eaf8\";\n}\n\n.codicon-gift:before {\n content: \"\\eaf9\";\n}\n\n.codicon-gist-secret:before {\n content: \"\\eafa\";\n}\n\n.codicon-gist:before {\n content: \"\\eafb\";\n}\n\n.codicon-git-commit:before {\n content: \"\\eafc\";\n}\n\n.codicon-git-compare:before {\n content: \"\\eafd\";\n}\n\n.codicon-compare-changes:before {\n content: \"\\eafd\";\n}\n\n.codicon-git-merge:before {\n content: \"\\eafe\";\n}\n\n.codicon-github-action:before {\n content: \"\\eaff\";\n}\n\n.codicon-github-alt:before {\n content: \"\\eb00\";\n}\n\n.codicon-globe:before {\n content: \"\\eb01\";\n}\n\n.codicon-grabber:before {\n content: \"\\eb02\";\n}\n\n.codicon-graph:before {\n content: \"\\eb03\";\n}\n\n.codicon-gripper:before {\n content: \"\\eb04\";\n}\n\n.codicon-heart:before {\n content: \"\\eb05\";\n}\n\n.codicon-home:before {\n content: \"\\eb06\";\n}\n\n.codicon-horizontal-rule:before {\n content: \"\\eb07\";\n}\n\n.codicon-hubot:before {\n content: \"\\eb08\";\n}\n\n.codicon-inbox:before {\n content: \"\\eb09\";\n}\n\n.codicon-issue-reopened:before {\n content: \"\\eb0b\";\n}\n\n.codicon-issues:before {\n content: \"\\eb0c\";\n}\n\n.codicon-italic:before {\n content: \"\\eb0d\";\n}\n\n.codicon-jersey:before {\n content: \"\\eb0e\";\n}\n\n.codicon-json:before {\n content: \"\\eb0f\";\n}\n\n.codicon-kebab-vertical:before {\n content: \"\\eb10\";\n}\n\n.codicon-key:before {\n content: \"\\eb11\";\n}\n\n.codicon-law:before {\n content: \"\\eb12\";\n}\n\n.codicon-lightbulb-autofix:before {\n content: \"\\eb13\";\n}\n\n.codicon-link-external:before {\n content: \"\\eb14\";\n}\n\n.codicon-link:before {\n content: \"\\eb15\";\n}\n\n.codicon-list-ordered:before {\n content: \"\\eb16\";\n}\n\n.codicon-list-unordered:before {\n content: \"\\eb17\";\n}\n\n.codicon-live-share:before {\n content: \"\\eb18\";\n}\n\n.codicon-loading:before {\n content: \"\\eb19\";\n}\n\n.codicon-location:before {\n content: \"\\eb1a\";\n}\n\n.codicon-mail-read:before {\n content: \"\\eb1b\";\n}\n\n.codicon-mail:before {\n content: \"\\eb1c\";\n}\n\n.codicon-markdown:before {\n content: \"\\eb1d\";\n}\n\n.codicon-megaphone:before {\n content: \"\\eb1e\";\n}\n\n.codicon-mention:before {\n content: \"\\eb1f\";\n}\n\n.codicon-milestone:before {\n content: \"\\eb20\";\n}\n\n.codicon-git-pull-request-milestone:before {\n content: \"\\eb20\";\n}\n\n.codicon-mortar-board:before {\n content: \"\\eb21\";\n}\n\n.codicon-move:before {\n content: \"\\eb22\";\n}\n\n.codicon-multiple-windows:before {\n content: \"\\eb23\";\n}\n\n.codicon-mute:before {\n content: \"\\eb24\";\n}\n\n.codicon-no-newline:before {\n content: \"\\eb25\";\n}\n\n.codicon-note:before {\n content: \"\\eb26\";\n}\n\n.codicon-octoface:before {\n content: \"\\eb27\";\n}\n\n.codicon-open-preview:before {\n content: \"\\eb28\";\n}\n\n.codicon-package:before {\n content: \"\\eb29\";\n}\n\n.codicon-paintcan:before {\n content: \"\\eb2a\";\n}\n\n.codicon-pin:before {\n content: \"\\eb2b\";\n}\n\n.codicon-play:before {\n content: \"\\eb2c\";\n}\n\n.codicon-run:before {\n content: \"\\eb2c\";\n}\n\n.codicon-plug:before {\n content: \"\\eb2d\";\n}\n\n.codicon-preserve-case:before {\n content: \"\\eb2e\";\n}\n\n.codicon-preview:before {\n content: \"\\eb2f\";\n}\n\n.codicon-project:before {\n content: \"\\eb30\";\n}\n\n.codicon-pulse:before {\n content: \"\\eb31\";\n}\n\n.codicon-question:before {\n content: \"\\eb32\";\n}\n\n.codicon-quote:before {\n content: \"\\eb33\";\n}\n\n.codicon-radio-tower:before {\n content: \"\\eb34\";\n}\n\n.codicon-reactions:before {\n content: \"\\eb35\";\n}\n\n.codicon-references:before {\n content: \"\\eb36\";\n}\n\n.codicon-refresh:before {\n content: \"\\eb37\";\n}\n\n.codicon-regex:before {\n content: \"\\eb38\";\n}\n\n.codicon-remote-explorer:before {\n content: \"\\eb39\";\n}\n\n.codicon-remote:before {\n content: \"\\eb3a\";\n}\n\n.codicon-remove:before {\n content: \"\\eb3b\";\n}\n\n.codicon-replace-all:before {\n content: \"\\eb3c\";\n}\n\n.codicon-replace:before {\n content: \"\\eb3d\";\n}\n\n.codicon-repo-clone:before {\n content: \"\\eb3e\";\n}\n\n.codicon-repo-force-push:before {\n content: \"\\eb3f\";\n}\n\n.codicon-repo-pull:before {\n content: \"\\eb40\";\n}\n\n.codicon-repo-push:before {\n content: \"\\eb41\";\n}\n\n.codicon-report:before {\n content: \"\\eb42\";\n}\n\n.codicon-request-changes:before {\n content: \"\\eb43\";\n}\n\n.codicon-rocket:before {\n content: \"\\eb44\";\n}\n\n.codicon-root-folder-opened:before {\n content: \"\\eb45\";\n}\n\n.codicon-root-folder:before {\n content: \"\\eb46\";\n}\n\n.codicon-rss:before {\n content: \"\\eb47\";\n}\n\n.codicon-ruby:before {\n content: \"\\eb48\";\n}\n\n.codicon-save-all:before {\n content: \"\\eb49\";\n}\n\n.codicon-save-as:before {\n content: \"\\eb4a\";\n}\n\n.codicon-save:before {\n content: \"\\eb4b\";\n}\n\n.codicon-screen-full:before {\n content: \"\\eb4c\";\n}\n\n.codicon-screen-normal:before {\n content: \"\\eb4d\";\n}\n\n.codicon-search-stop:before {\n content: \"\\eb4e\";\n}\n\n.codicon-server:before {\n content: \"\\eb50\";\n}\n\n.codicon-settings-gear:before {\n content: \"\\eb51\";\n}\n\n.codicon-settings:before {\n content: \"\\eb52\";\n}\n\n.codicon-shield:before {\n content: \"\\eb53\";\n}\n\n.codicon-smiley:before {\n content: \"\\eb54\";\n}\n\n.codicon-sort-precedence:before {\n content: \"\\eb55\";\n}\n\n.codicon-split-horizontal:before {\n content: \"\\eb56\";\n}\n\n.codicon-split-vertical:before {\n content: \"\\eb57\";\n}\n\n.codicon-squirrel:before {\n content: \"\\eb58\";\n}\n\n.codicon-star-full:before {\n content: \"\\eb59\";\n}\n\n.codicon-star-half:before {\n content: \"\\eb5a\";\n}\n\n.codicon-symbol-class:before {\n content: \"\\eb5b\";\n}\n\n.codicon-symbol-color:before {\n content: \"\\eb5c\";\n}\n\n.codicon-symbol-constant:before {\n content: \"\\eb5d\";\n}\n\n.codicon-symbol-enum-member:before {\n content: \"\\eb5e\";\n}\n\n.codicon-symbol-field:before {\n content: \"\\eb5f\";\n}\n\n.codicon-symbol-file:before {\n content: \"\\eb60\";\n}\n\n.codicon-symbol-interface:before {\n content: \"\\eb61\";\n}\n\n.codicon-symbol-keyword:before {\n content: \"\\eb62\";\n}\n\n.codicon-symbol-misc:before {\n content: \"\\eb63\";\n}\n\n.codicon-symbol-operator:before {\n content: \"\\eb64\";\n}\n\n.codicon-symbol-property:before {\n content: \"\\eb65\";\n}\n\n.codicon-wrench:before {\n content: \"\\eb65\";\n}\n\n.codicon-wrench-subaction:before {\n content: \"\\eb65\";\n}\n\n.codicon-symbol-snippet:before {\n content: \"\\eb66\";\n}\n\n.codicon-tasklist:before {\n content: \"\\eb67\";\n}\n\n.codicon-telescope:before {\n content: \"\\eb68\";\n}\n\n.codicon-text-size:before {\n content: \"\\eb69\";\n}\n\n.codicon-three-bars:before {\n content: \"\\eb6a\";\n}\n\n.codicon-thumbsdown:before {\n content: \"\\eb6b\";\n}\n\n.codicon-thumbsup:before {\n content: \"\\eb6c\";\n}\n\n.codicon-tools:before {\n content: \"\\eb6d\";\n}\n\n.codicon-triangle-down:before {\n content: \"\\eb6e\";\n}\n\n.codicon-triangle-left:before {\n content: \"\\eb6f\";\n}\n\n.codicon-triangle-right:before {\n content: \"\\eb70\";\n}\n\n.codicon-triangle-up:before {\n content: \"\\eb71\";\n}\n\n.codicon-twitter:before {\n content: \"\\eb72\";\n}\n\n.codicon-unfold:before {\n content: \"\\eb73\";\n}\n\n.codicon-unlock:before {\n content: \"\\eb74\";\n}\n\n.codicon-unmute:before {\n content: \"\\eb75\";\n}\n\n.codicon-unverified:before {\n content: \"\\eb76\";\n}\n\n.codicon-verified:before {\n content: \"\\eb77\";\n}\n\n.codicon-versions:before {\n content: \"\\eb78\";\n}\n\n.codicon-vm-active:before {\n content: \"\\eb79\";\n}\n\n.codicon-vm-outline:before {\n content: \"\\eb7a\";\n}\n\n.codicon-vm-running:before {\n content: \"\\eb7b\";\n}\n\n.codicon-watch:before {\n content: \"\\eb7c\";\n}\n\n.codicon-whitespace:before {\n content: \"\\eb7d\";\n}\n\n.codicon-whole-word:before {\n content: \"\\eb7e\";\n}\n\n.codicon-window:before {\n content: \"\\eb7f\";\n}\n\n.codicon-word-wrap:before {\n content: \"\\eb80\";\n}\n\n.codicon-zoom-in:before {\n content: \"\\eb81\";\n}\n\n.codicon-zoom-out:before {\n content: \"\\eb82\";\n}\n\n.codicon-list-filter:before {\n content: \"\\eb83\";\n}\n\n.codicon-list-flat:before {\n content: \"\\eb84\";\n}\n\n.codicon-list-selection:before {\n content: \"\\eb85\";\n}\n\n.codicon-selection:before {\n content: \"\\eb85\";\n}\n\n.codicon-list-tree:before {\n content: \"\\eb86\";\n}\n\n.codicon-debug-breakpoint-function-unverified:before {\n content: \"\\eb87\";\n}\n\n.codicon-debug-breakpoint-function:before {\n content: \"\\eb88\";\n}\n\n.codicon-debug-breakpoint-function-disabled:before {\n content: \"\\eb88\";\n}\n\n.codicon-debug-stackframe-active:before {\n content: \"\\eb89\";\n}\n\n.codicon-circle-small-filled:before {\n content: \"\\eb8a\";\n}\n\n.codicon-debug-stackframe-dot:before {\n content: \"\\eb8a\";\n}\n\n.codicon-terminal-decoration-mark:before {\n content: \"\\eb8a\";\n}\n\n.codicon-debug-stackframe:before {\n content: \"\\eb8b\";\n}\n\n.codicon-debug-stackframe-focused:before {\n content: \"\\eb8b\";\n}\n\n.codicon-debug-breakpoint-unsupported:before {\n content: \"\\eb8c\";\n}\n\n.codicon-symbol-string:before {\n content: \"\\eb8d\";\n}\n\n.codicon-debug-reverse-continue:before {\n content: \"\\eb8e\";\n}\n\n.codicon-debug-step-back:before {\n content: \"\\eb8f\";\n}\n\n.codicon-debug-restart-frame:before {\n content: \"\\eb90\";\n}\n\n.codicon-debug-alt:before {\n content: \"\\eb91\";\n}\n\n.codicon-call-incoming:before {\n content: \"\\eb92\";\n}\n\n.codicon-call-outgoing:before {\n content: \"\\eb93\";\n}\n\n.codicon-menu:before {\n content: \"\\eb94\";\n}\n\n.codicon-expand-all:before {\n content: \"\\eb95\";\n}\n\n.codicon-feedback:before {\n content: \"\\eb96\";\n}\n\n.codicon-git-pull-request-reviewer:before {\n content: \"\\eb96\";\n}\n\n.codicon-group-by-ref-type:before {\n content: \"\\eb97\";\n}\n\n.codicon-ungroup-by-ref-type:before {\n content: \"\\eb98\";\n}\n\n.codicon-account:before {\n content: \"\\eb99\";\n}\n\n.codicon-git-pull-request-assignee:before {\n content: \"\\eb99\";\n}\n\n.codicon-bell-dot:before {\n content: \"\\eb9a\";\n}\n\n.codicon-debug-console:before {\n content: \"\\eb9b\";\n}\n\n.codicon-library:before {\n content: \"\\eb9c\";\n}\n\n.codicon-output:before {\n content: \"\\eb9d\";\n}\n\n.codicon-run-all:before {\n content: \"\\eb9e\";\n}\n\n.codicon-sync-ignored:before {\n content: \"\\eb9f\";\n}\n\n.codicon-pinned:before {\n content: \"\\eba0\";\n}\n\n.codicon-github-inverted:before {\n content: \"\\eba1\";\n}\n\n.codicon-server-process:before {\n content: \"\\eba2\";\n}\n\n.codicon-server-environment:before {\n content: \"\\eba3\";\n}\n\n.codicon-pass:before {\n content: \"\\eba4\";\n}\n\n.codicon-issue-closed:before {\n content: \"\\eba4\";\n}\n\n.codicon-stop-circle:before {\n content: \"\\eba5\";\n}\n\n.codicon-play-circle:before {\n content: \"\\eba6\";\n}\n\n.codicon-record:before {\n content: \"\\eba7\";\n}\n\n.codicon-debug-alt-small:before {\n content: \"\\eba8\";\n}\n\n.codicon-vm-connect:before {\n content: \"\\eba9\";\n}\n\n.codicon-cloud:before {\n content: \"\\ebaa\";\n}\n\n.codicon-merge:before {\n content: \"\\ebab\";\n}\n\n.codicon-export:before {\n content: \"\\ebac\";\n}\n\n.codicon-graph-left:before {\n content: \"\\ebad\";\n}\n\n.codicon-magnet:before {\n content: \"\\ebae\";\n}\n\n.codicon-notebook:before {\n content: \"\\ebaf\";\n}\n\n.codicon-redo:before {\n content: \"\\ebb0\";\n}\n\n.codicon-check-all:before {\n content: \"\\ebb1\";\n}\n\n.codicon-pinned-dirty:before {\n content: \"\\ebb2\";\n}\n\n.codicon-pass-filled:before {\n content: \"\\ebb3\";\n}\n\n.codicon-circle-large-filled:before {\n content: \"\\ebb4\";\n}\n\n.codicon-circle-large:before {\n content: \"\\ebb5\";\n}\n\n.codicon-circle-large-outline:before {\n content: \"\\ebb5\";\n}\n\n.codicon-combine:before {\n content: \"\\ebb6\";\n}\n\n.codicon-gather:before {\n content: \"\\ebb6\";\n}\n\n.codicon-table:before {\n content: \"\\ebb7\";\n}\n\n.codicon-variable-group:before {\n content: \"\\ebb8\";\n}\n\n.codicon-type-hierarchy:before {\n content: \"\\ebb9\";\n}\n\n.codicon-type-hierarchy-sub:before {\n content: \"\\ebba\";\n}\n\n.codicon-type-hierarchy-super:before {\n content: \"\\ebbb\";\n}\n\n.codicon-git-pull-request-create:before {\n content: \"\\ebbc\";\n}\n\n.codicon-run-above:before {\n content: \"\\ebbd\";\n}\n\n.codicon-run-below:before {\n content: \"\\ebbe\";\n}\n\n.codicon-notebook-template:before {\n content: \"\\ebbf\";\n}\n\n.codicon-debug-rerun:before {\n content: \"\\ebc0\";\n}\n\n.codicon-workspace-trusted:before {\n content: \"\\ebc1\";\n}\n\n.codicon-workspace-untrusted:before {\n content: \"\\ebc2\";\n}\n\n.codicon-workspace-unknown:before {\n content: \"\\ebc3\";\n}\n\n.codicon-terminal-cmd:before {\n content: \"\\ebc4\";\n}\n\n.codicon-terminal-debian:before {\n content: \"\\ebc5\";\n}\n\n.codicon-terminal-linux:before {\n content: \"\\ebc6\";\n}\n\n.codicon-terminal-powershell:before {\n content: \"\\ebc7\";\n}\n\n.codicon-terminal-tmux:before {\n content: \"\\ebc8\";\n}\n\n.codicon-terminal-ubuntu:before {\n content: \"\\ebc9\";\n}\n\n.codicon-terminal-bash:before {\n content: \"\\ebca\";\n}\n\n.codicon-arrow-swap:before {\n content: \"\\ebcb\";\n}\n\n.codicon-copy:before {\n content: \"\\ebcc\";\n}\n\n.codicon-person-add:before {\n content: \"\\ebcd\";\n}\n\n.codicon-filter-filled:before {\n content: \"\\ebce\";\n}\n\n.codicon-wand:before {\n content: \"\\ebcf\";\n}\n\n.codicon-debug-line-by-line:before {\n content: \"\\ebd0\";\n}\n\n.codicon-inspect:before {\n content: \"\\ebd1\";\n}\n\n.codicon-layers:before {\n content: \"\\ebd2\";\n}\n\n.codicon-layers-dot:before {\n content: \"\\ebd3\";\n}\n\n.codicon-layers-active:before {\n content: \"\\ebd4\";\n}\n\n.codicon-compass:before {\n content: \"\\ebd5\";\n}\n\n.codicon-compass-dot:before {\n content: \"\\ebd6\";\n}\n\n.codicon-compass-active:before {\n content: \"\\ebd7\";\n}\n\n.codicon-azure:before {\n content: \"\\ebd8\";\n}\n\n.codicon-issue-draft:before {\n content: \"\\ebd9\";\n}\n\n.codicon-git-pull-request-closed:before {\n content: \"\\ebda\";\n}\n\n.codicon-git-pull-request-draft:before {\n content: \"\\ebdb\";\n}\n\n.codicon-debug-all:before {\n content: \"\\ebdc\";\n}\n\n.codicon-debug-coverage:before {\n content: \"\\ebdd\";\n}\n\n.codicon-run-errors:before {\n content: \"\\ebde\";\n}\n\n.codicon-folder-library:before {\n content: \"\\ebdf\";\n}\n\n.codicon-debug-continue-small:before {\n content: \"\\ebe0\";\n}\n\n.codicon-beaker-stop:before {\n content: \"\\ebe1\";\n}\n\n.codicon-graph-line:before {\n content: \"\\ebe2\";\n}\n\n.codicon-graph-scatter:before {\n content: \"\\ebe3\";\n}\n\n.codicon-pie-chart:before {\n content: \"\\ebe4\";\n}\n\n.codicon-bracket:before {\n content: \"\\eb0f\";\n}\n\n.codicon-bracket-dot:before {\n content: \"\\ebe5\";\n}\n\n.codicon-bracket-error:before {\n content: \"\\ebe6\";\n}\n\n.codicon-lock-small:before {\n content: \"\\ebe7\";\n}\n\n.codicon-azure-devops:before {\n content: \"\\ebe8\";\n}\n\n.codicon-verified-filled:before {\n content: \"\\ebe9\";\n}\n\n.codicon-newline:before {\n content: \"\\ebea\";\n}\n\n.codicon-layout:before {\n content: \"\\ebeb\";\n}\n\n.codicon-layout-activitybar-left:before {\n content: \"\\ebec\";\n}\n\n.codicon-layout-activitybar-right:before {\n content: \"\\ebed\";\n}\n\n.codicon-layout-panel-left:before {\n content: \"\\ebee\";\n}\n\n.codicon-layout-panel-center:before {\n content: \"\\ebef\";\n}\n\n.codicon-layout-panel-justify:before {\n content: \"\\ebf0\";\n}\n\n.codicon-layout-panel-right:before {\n content: \"\\ebf1\";\n}\n\n.codicon-layout-panel:before {\n content: \"\\ebf2\";\n}\n\n.codicon-layout-sidebar-left:before {\n content: \"\\ebf3\";\n}\n\n.codicon-layout-sidebar-right:before {\n content: \"\\ebf4\";\n}\n\n.codicon-layout-statusbar:before {\n content: \"\\ebf5\";\n}\n\n.codicon-layout-menubar:before {\n content: \"\\ebf6\";\n}\n\n.codicon-layout-centered:before {\n content: \"\\ebf7\";\n}\n\n.codicon-target:before {\n content: \"\\ebf8\";\n}\n\n.codicon-indent:before {\n content: \"\\ebf9\";\n}\n\n.codicon-record-small:before {\n content: \"\\ebfa\";\n}\n\n.codicon-error-small:before {\n content: \"\\ebfb\";\n}\n\n.codicon-terminal-decoration-error:before {\n content: \"\\ebfb\";\n}\n\n.codicon-arrow-circle-down:before {\n content: \"\\ebfc\";\n}\n\n.codicon-arrow-circle-left:before {\n content: \"\\ebfd\";\n}\n\n.codicon-arrow-circle-right:before {\n content: \"\\ebfe\";\n}\n\n.codicon-arrow-circle-up:before {\n content: \"\\ebff\";\n}\n\n.codicon-layout-sidebar-right-off:before {\n content: \"\\ec00\";\n}\n\n.codicon-layout-panel-off:before {\n content: \"\\ec01\";\n}\n\n.codicon-layout-sidebar-left-off:before {\n content: \"\\ec02\";\n}\n\n.codicon-blank:before {\n content: \"\\ec03\";\n}\n\n.codicon-heart-filled:before {\n content: \"\\ec04\";\n}\n\n.codicon-map:before {\n content: \"\\ec05\";\n}\n\n.codicon-map-horizontal:before {\n content: \"\\ec05\";\n}\n\n.codicon-fold-horizontal:before {\n content: \"\\ec05\";\n}\n\n.codicon-map-filled:before {\n content: \"\\ec06\";\n}\n\n.codicon-map-horizontal-filled:before {\n content: \"\\ec06\";\n}\n\n.codicon-fold-horizontal-filled:before {\n content: \"\\ec06\";\n}\n\n.codicon-circle-small:before {\n content: \"\\ec07\";\n}\n\n.codicon-bell-slash:before {\n content: \"\\ec08\";\n}\n\n.codicon-bell-slash-dot:before {\n content: \"\\ec09\";\n}\n\n.codicon-comment-unresolved:before {\n content: \"\\ec0a\";\n}\n\n.codicon-git-pull-request-go-to-changes:before {\n content: \"\\ec0b\";\n}\n\n.codicon-git-pull-request-new-changes:before {\n content: \"\\ec0c\";\n}\n\n.codicon-search-fuzzy:before {\n content: \"\\ec0d\";\n}\n\n.codicon-comment-draft:before {\n content: \"\\ec0e\";\n}\n\n.codicon-send:before {\n content: \"\\ec0f\";\n}\n\n.codicon-sparkle:before {\n content: \"\\ec10\";\n}\n\n.codicon-insert:before {\n content: \"\\ec11\";\n}\n\n.codicon-mic:before {\n content: \"\\ec12\";\n}\n\n.codicon-thumbsdown-filled:before {\n content: \"\\ec13\";\n}\n\n.codicon-thumbsup-filled:before {\n content: \"\\ec14\";\n}\n\n.codicon-coffee:before {\n content: \"\\ec15\";\n}\n\n.codicon-snake:before {\n content: \"\\ec16\";\n}\n\n.codicon-game:before {\n content: \"\\ec17\";\n}\n\n.codicon-vr:before {\n content: \"\\ec18\";\n}\n\n.codicon-chip:before {\n content: \"\\ec19\";\n}\n\n.codicon-piano:before {\n content: \"\\ec1a\";\n}\n\n.codicon-music:before {\n content: \"\\ec1b\";\n}\n\n.codicon-mic-filled:before {\n content: \"\\ec1c\";\n}\n\n.codicon-repo-fetch:before {\n content: \"\\ec1d\";\n}\n\n.codicon-copilot:before {\n content: \"\\ec1e\";\n}\n\n.codicon-lightbulb-sparkle:before {\n content: \"\\ec1f\";\n}\n\n.codicon-robot:before {\n content: \"\\ec20\";\n}\n\n.codicon-sparkle-filled:before {\n content: \"\\ec21\";\n}\n\n.codicon-diff-single:before {\n content: \"\\ec22\";\n}\n\n.codicon-diff-multiple:before {\n content: \"\\ec23\";\n}\n\n.codicon-surround-with:before {\n content: \"\\ec24\";\n}\n\n.codicon-share:before {\n content: \"\\ec25\";\n}\n\n.codicon-git-stash:before {\n content: \"\\ec26\";\n}\n\n.codicon-git-stash-apply:before {\n content: \"\\ec27\";\n}\n\n.codicon-git-stash-pop:before {\n content: \"\\ec28\";\n}\n\n.codicon-vscode:before {\n content: \"\\ec29\";\n}\n\n.codicon-vscode-insiders:before {\n content: \"\\ec2a\";\n}\n\n.codicon-code-oss:before {\n content: \"\\ec2b\";\n}\n\n.codicon-run-coverage:before {\n content: \"\\ec2c\";\n}\n\n.codicon-run-all-coverage:before {\n content: \"\\ec2d\";\n}\n\n.codicon-coverage:before {\n content: \"\\ec2e\";\n}\n\n.codicon-github-project:before {\n content: \"\\ec2f\";\n}\n\n.codicon-map-vertical:before {\n content: \"\\ec30\";\n}\n\n.codicon-fold-vertical:before {\n content: \"\\ec30\";\n}\n\n.codicon-map-vertical-filled:before {\n content: \"\\ec31\";\n}\n\n.codicon-fold-vertical-filled:before {\n content: \"\\ec31\";\n}\n\n.codicon-go-to-search:before {\n content: \"\\ec32\";\n}\n\n.codicon-percentage:before {\n content: \"\\ec33\";\n}\n\n.codicon-sort-percentage:before {\n content: \"\\ec33\";\n}\n\n.codicon-attach:before {\n content: \"\\ec34\";\n}\n\n.codicon-go-to-editing-session:before {\n content: \"\\ec35\";\n}\n\n.codicon-edit-session:before {\n content: \"\\ec36\";\n}\n\n.codicon-code-review:before {\n content: \"\\ec37\";\n}\n\n.codicon-copilot-warning:before {\n content: \"\\ec38\";\n}\n\n.codicon-python:before {\n content: \"\\ec39\";\n}\n\n.codicon-git-fetch:before {\n content: \"\\f101\";\n}\n\n@layer kol-component {\n /*\n * Necessary to center icon\n */\n :host {\n display: contents;\n }\n .kol-icon {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n color: inherit;\n line-height: inherit;\n }\n .kol-icon__icon, .kol-icon__icon:before {\n font-size: inherit !important;\n }\n .kol-icon__icon:before {\n line-height: normal;\n }\n}";
|
|
16215
18139
|
var KolIconDefaultStyle0 = defaultStyleCss$y;
|
|
16216
18140
|
|
|
@@ -16226,7 +18150,7 @@ class KolIcon {
|
|
|
16226
18150
|
}
|
|
16227
18151
|
render() {
|
|
16228
18152
|
const ariaShow = this.state._label.length > 0;
|
|
16229
|
-
return (hAsync(Host, { key: '
|
|
18153
|
+
return (hAsync(Host, { key: '7af77fdb58dcda68c7b39486bd80adb6605afd3d', exportparts: "icon", class: BEM_CLASS_ICON }, hAsync("i", { key: '8d8041a785fa85206a2b49d813ad1606bddd3a45', "aria-hidden": ariaShow ? undefined : 'true', "aria-label": ariaShow ? this.state._label : undefined, class: clsx(BEM_CLASS_ICON__ICON, this.state._icons), part: "icon", role: "img" })));
|
|
16230
18154
|
}
|
|
16231
18155
|
validateIcons(value) {
|
|
16232
18156
|
watchString(this, '_icons', value, {
|
|
@@ -16857,7 +18781,7 @@ class InputColorController extends InputIconController {
|
|
|
16857
18781
|
}
|
|
16858
18782
|
}
|
|
16859
18783
|
|
|
16860
|
-
const defaultStyleCss$v = "/*\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: calc(44rem / var(--kolibri-root-font-size, 16));\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 rem(44).\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 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: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\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%;\n /* 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 .badge-text-hint {\n background-color: lightgray;\n color: black;\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 .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\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,\n [disabled]:focus .kol-span {\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 .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-
|
|
18784
|
+
const defaultStyleCss$v = "/*\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: calc(44rem / var(--kolibri-root-font-size, 16));\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 rem(44).\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 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: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\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%;\n /* 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 .badge-text-hint {\n background-color: lightgray;\n color: black;\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 .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\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,\n [disabled]:focus .kol-span {\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 .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-alert__closer {\n /* Visible with forced colors */\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\n }\n}\n@layer kol-component {\n .kol-form-field {\n display: grid;\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label {\n cursor: pointer;\n }\n .kol-form-field--disabled .kol-form-field__label {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__label-text::after {\n content: \"*\";\n }\n .kol-form-field--disabled .kol-form-field__hint {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__tooltip .span-label::after {\n content: \"*\";\n }\n}\n@layer kol-component {\n .kol-input-container {\n align-items: center;\n background-color: white;\n display: grid;\n grid-template-columns: 1fr;\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n width: 100%;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start) {\n grid-template-columns: auto 1fr;\n }\n .kol-input-container:has(> .kol-input-container__adornment--end) {\n grid-template-columns: 1fr auto;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start):has(> .kol-input-container__adornment--end) {\n grid-template-columns: auto 1fr auto;\n }\n .kol-input-container__container {\n position: relative;\n }\n .kol-input-container__adornment {\n display: flex;\n align-items: center;\n }\n .kol-input-container__adornment .kol-icon {\n display: grid;\n height: var(--a11y-min-size);\n place-items: center;\n }\n}\n@layer kol-component {\n .kol-input {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n min-width: var(--a11y-min-size);\n width: 100%;\n }\n .kol-input:focus {\n outline: none;\n }\n}\n.kol-input-color__input--color {\n flex-grow: 1;\n}\n.kol-input-color__input--text {\n width: calc(112rem / var(--kolibri-root-font-size, 16));\n}\n.kol-input-color__inputs-wrapper {\n align-items: center;\n display: flex;\n flex-direction: row;\n gap: calc(6rem / var(--kolibri-root-font-size, 16)) !important;\n}\n\n.kol-input {\n cursor: pointer;\n}\n.kol-input:disabled {\n cursor: not-allowed;\n}";
|
|
16861
18785
|
var KolInputColorDefaultStyle0 = defaultStyleCss$v;
|
|
16862
18786
|
|
|
16863
18787
|
class KolInputColor {
|
|
@@ -16892,7 +18816,7 @@ class KolInputColor {
|
|
|
16892
18816
|
return Object.assign(Object.assign({ state: Object.assign(Object.assign({}, other), { _suggestions: [] }) }, this.controller.onFacade), { onBlur: this.onBlur, onFocus: this.onFocus });
|
|
16893
18817
|
}
|
|
16894
18818
|
render() {
|
|
16895
|
-
return (hAsync(KolFormFieldStateWrapperFc, Object.assign({ key: '
|
|
18819
|
+
return (hAsync(KolFormFieldStateWrapperFc, Object.assign({ key: '4618fa8ab667bdc8d8418ddb9a5612298c70a52f' }, this.getFormFieldProps()), hAsync(KolInputContainerStateWrapperFc, { key: 'fe5ab536ae149d533ca24d048722def43b9414c8', state: this.state, class: "kol-input-color__inputs-wrapper" }, hAsync("div", { key: '5152e937fb33845d08374862d90487b507132edf', class: "kol-input-color__inputs-wrapper" }, hAsync(KolInputStateWrapperFc, Object.assign({ key: '4f256a72a9b3f45c4153a63a6c865ff5e5d50bfb', class: "kol-input-color__input kol-input-color__input--color" }, this.getInputColorProps())), hAsync(KolInputStateWrapperFc, Object.assign({ key: 'bb9edc748af69658ba7082624c75ff0c05527415', class: "kol-input-color__input kol-input-color__input--text" }, this.getInputTextProps()))))));
|
|
16896
18820
|
}
|
|
16897
18821
|
constructor(hostRef) {
|
|
16898
18822
|
registerInstance(this, hostRef);
|
|
@@ -17232,7 +19156,7 @@ InputDateController.isoTimeRegex = /^[0-2]\d:[0-5]\d(:[0-5]\d(?:\.\d+)?)?/;
|
|
|
17232
19156
|
InputDateController.isoWeekRegex = /^\d{4}-W(?:[0-4]\d|5[0-3])$/;
|
|
17233
19157
|
InputDateController.DEFAULT_MAX_DATE = new Date(9999, 11, 31, 23, 59, 59);
|
|
17234
19158
|
|
|
17235
|
-
const defaultStyleCss$u = "/*\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: calc(44rem / var(--kolibri-root-font-size, 16));\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 rem(44).\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 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: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\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%;\n /* 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 .badge-text-hint {\n background-color: lightgray;\n color: black;\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 .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\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,\n [disabled]:focus .kol-span {\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 .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-
|
|
19159
|
+
const defaultStyleCss$u = "/*\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: calc(44rem / var(--kolibri-root-font-size, 16));\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 rem(44).\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 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: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\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%;\n /* 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 .badge-text-hint {\n background-color: lightgray;\n color: black;\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 .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\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,\n [disabled]:focus .kol-span {\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 .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-alert__closer {\n /* Visible with forced colors */\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\n }\n}\n@layer kol-component {\n .kol-form-field {\n display: grid;\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label {\n cursor: pointer;\n }\n .kol-form-field--disabled .kol-form-field__label {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__label-text::after {\n content: \"*\";\n }\n .kol-form-field--disabled .kol-form-field__hint {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__tooltip .span-label::after {\n content: \"*\";\n }\n}\n@layer kol-component {\n .kol-input-container {\n align-items: center;\n background-color: white;\n display: grid;\n grid-template-columns: 1fr;\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n width: 100%;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start) {\n grid-template-columns: auto 1fr;\n }\n .kol-input-container:has(> .kol-input-container__adornment--end) {\n grid-template-columns: 1fr auto;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start):has(> .kol-input-container__adornment--end) {\n grid-template-columns: auto 1fr auto;\n }\n .kol-input-container__container {\n position: relative;\n }\n .kol-input-container__adornment {\n display: flex;\n align-items: center;\n }\n .kol-input-container__adornment .kol-icon {\n display: grid;\n height: var(--a11y-min-size);\n place-items: center;\n }\n}\n@layer kol-component {\n .kol-input {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n min-width: var(--a11y-min-size);\n width: 100%;\n }\n .kol-input:focus {\n outline: none;\n }\n}";
|
|
17236
19160
|
var KolInputDateDefaultStyle0 = defaultStyleCss$u;
|
|
17237
19161
|
|
|
17238
19162
|
class KolInputDate {
|
|
@@ -17280,7 +19204,7 @@ class KolInputDate {
|
|
|
17280
19204
|
return Object.assign(Object.assign({ ref: this.catchRef, state: this.state }, this.controller.onFacade), { onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.onKeyDown, onChange: this.onChange, onInput: this.onInput });
|
|
17281
19205
|
}
|
|
17282
19206
|
render() {
|
|
17283
|
-
return (hAsync(KolFormFieldStateWrapperFc, Object.assign({ key: '
|
|
19207
|
+
return (hAsync(KolFormFieldStateWrapperFc, Object.assign({ key: '764e827d7652c7ace5ca967fb2a86e8d84a68258' }, this.getFormFieldProps()), hAsync(KolInputContainerStateWrapperFc, { key: 'cfb29cd3fae3706ef1db8e67bf67cab1ffb29a6b', state: this.state }, hAsync(KolInputStateWrapperFc, Object.assign({ key: 'cb590885f58275b5e5d7d86935b8a612c02a2699' }, this.getInputProps())))));
|
|
17284
19208
|
}
|
|
17285
19209
|
constructor(hostRef) {
|
|
17286
19210
|
registerInstance(this, hostRef);
|
|
@@ -17629,7 +19553,7 @@ class InputEmailController extends InputTextEmailController {
|
|
|
17629
19553
|
}
|
|
17630
19554
|
}
|
|
17631
19555
|
|
|
17632
|
-
const defaultStyleCss$t = "/*\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: calc(44rem / var(--kolibri-root-font-size, 16));\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 rem(44).\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 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: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\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%;\n /* 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 .badge-text-hint {\n background-color: lightgray;\n color: black;\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 .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\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,\n [disabled]:focus .kol-span {\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 .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-
|
|
19556
|
+
const defaultStyleCss$t = "/*\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: calc(44rem / var(--kolibri-root-font-size, 16));\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 rem(44).\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 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: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\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%;\n /* 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 .badge-text-hint {\n background-color: lightgray;\n color: black;\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 .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\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,\n [disabled]:focus .kol-span {\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 .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-alert__closer {\n /* Visible with forced colors */\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\n }\n}\n@layer kol-component {\n .kol-form-field {\n display: grid;\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label {\n cursor: pointer;\n }\n .kol-form-field--disabled .kol-form-field__label {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__label-text::after {\n content: \"*\";\n }\n .kol-form-field--disabled .kol-form-field__hint {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__tooltip .span-label::after {\n content: \"*\";\n }\n}\n@layer kol-component {\n .kol-input-container {\n align-items: center;\n background-color: white;\n display: grid;\n grid-template-columns: 1fr;\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n width: 100%;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start) {\n grid-template-columns: auto 1fr;\n }\n .kol-input-container:has(> .kol-input-container__adornment--end) {\n grid-template-columns: 1fr auto;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start):has(> .kol-input-container__adornment--end) {\n grid-template-columns: auto 1fr auto;\n }\n .kol-input-container__container {\n position: relative;\n }\n .kol-input-container__adornment {\n display: flex;\n align-items: center;\n }\n .kol-input-container__adornment .kol-icon {\n display: grid;\n height: var(--a11y-min-size);\n place-items: center;\n }\n}\n@layer kol-component {\n .kol-input {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n min-width: var(--a11y-min-size);\n width: 100%;\n }\n .kol-input:focus {\n outline: none;\n }\n}";
|
|
17633
19557
|
var KolInputEmailDefaultStyle0 = defaultStyleCss$t;
|
|
17634
19558
|
|
|
17635
19559
|
class KolInputEmail {
|
|
@@ -17662,7 +19586,7 @@ class KolInputEmail {
|
|
|
17662
19586
|
} });
|
|
17663
19587
|
}
|
|
17664
19588
|
render() {
|
|
17665
|
-
return (hAsync(KolFormFieldStateWrapperFc, Object.assign({ key: '
|
|
19589
|
+
return (hAsync(KolFormFieldStateWrapperFc, Object.assign({ key: '45f5d7733d0a437342c2e8bb1ce1775d0e7c9120' }, this.getFormFieldProps()), hAsync(KolInputContainerStateWrapperFc, { key: '2a8defce2681140146403050a95d4b06fa317d94', state: this.state }, hAsync(KolInputStateWrapperFc, Object.assign({ key: 'a7cc60872de4bb3da384bb0241bcaed3920574dc' }, this.getInputProps())))));
|
|
17666
19590
|
}
|
|
17667
19591
|
constructor(hostRef) {
|
|
17668
19592
|
registerInstance(this, hostRef);
|
|
@@ -17900,7 +19824,7 @@ class InputFileController extends InputIconController {
|
|
|
17900
19824
|
}
|
|
17901
19825
|
}
|
|
17902
19826
|
|
|
17903
|
-
const defaultStyleCss$s = "/*\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: calc(44rem / var(--kolibri-root-font-size, 16));\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 rem(44).\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 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: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\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%;\n /* 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 .badge-text-hint {\n background-color: lightgray;\n color: black;\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 .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\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,\n [disabled]:focus .kol-span {\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 .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-
|
|
19827
|
+
const defaultStyleCss$s = "/*\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: calc(44rem / var(--kolibri-root-font-size, 16));\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 rem(44).\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 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: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\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%;\n /* 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 .badge-text-hint {\n background-color: lightgray;\n color: black;\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 .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\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,\n [disabled]:focus .kol-span {\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 .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-alert__closer {\n /* Visible with forced colors */\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\n }\n}\n@layer kol-component {\n .kol-form-field {\n display: grid;\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label {\n cursor: pointer;\n }\n .kol-form-field--disabled .kol-form-field__label {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__label-text::after {\n content: \"*\";\n }\n .kol-form-field--disabled .kol-form-field__hint {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__tooltip .span-label::after {\n content: \"*\";\n }\n}\n@layer kol-component {\n .kol-input-container {\n align-items: center;\n background-color: white;\n display: grid;\n grid-template-columns: 1fr;\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n width: 100%;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start) {\n grid-template-columns: auto 1fr;\n }\n .kol-input-container:has(> .kol-input-container__adornment--end) {\n grid-template-columns: 1fr auto;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start):has(> .kol-input-container__adornment--end) {\n grid-template-columns: auto 1fr auto;\n }\n .kol-input-container__container {\n position: relative;\n }\n .kol-input-container__adornment {\n display: flex;\n align-items: center;\n }\n .kol-input-container__adornment .kol-icon {\n display: grid;\n height: var(--a11y-min-size);\n place-items: center;\n }\n}\n@layer kol-component {\n .kol-input {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n min-width: var(--a11y-min-size);\n width: 100%;\n }\n .kol-input:focus {\n outline: none;\n }\n}\n@layer kol-component {\n .kol-input {\n padding: calc((var(--a11y-min-size) - (16rem / var(--kolibri-root-font-size, 16))) / 10) 0.5em;\n position: absolute;\n inset: 0;\n width: 100%;\n height: 100%;\n opacity: 0;\n cursor: pointer;\n }\n .kol-input::-webkit-file-upload-button, .kol-input::file-selector-button {\n cursor: pointer;\n }\n .kol-input:disabled, .kol-input:disabled::-webkit-file-upload-button, .kol-input:disabled::file-selector-button {\n cursor: not-allowed;\n pointer-events: none;\n }\n .kol-input-container__container {\n display: flex;\n align-items: center;\n overflow: hidden;\n height: var(--a11y-min-size);\n }\n .kol-input-container__filename {\n flex-grow: 1;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n margin-left: calc(4rem / var(--kolibri-root-font-size, 16));\n }\n .kol-input-container:has(> .kol-input-container__adornment--start):has(> .kol-input-container__adornment--end) {\n grid-template-columns: auto 1fr;\n }\n}";
|
|
17904
19828
|
var KolInputFileDefaultStyle0 = defaultStyleCss$s;
|
|
17905
19829
|
|
|
17906
19830
|
class KolInputFile {
|
|
@@ -17931,7 +19855,7 @@ class KolInputFile {
|
|
|
17931
19855
|
} });
|
|
17932
19856
|
}
|
|
17933
19857
|
render() {
|
|
17934
|
-
return (hAsync(KolFormFieldStateWrapperFc, Object.assign({ key: '
|
|
19858
|
+
return (hAsync(KolFormFieldStateWrapperFc, Object.assign({ key: '6c81b473b7ba7db7b45405159e0ae33913fdea8a' }, this.getFormFieldProps()), hAsync(KolInputContainerStateWrapperFc, { key: '5e7229bb6eb56acb38c9354bd3a2f1d5e101aa93', state: this.state }, hAsync("span", { key: '3742d51be8c2cc4ee6723269a964589a990f9e23', class: clsx('kol-input-container__filename', { 'kol-input-container__filename--has-file': this.hasFileSelected }) }, this.filename), hAsync(KolInputStateWrapperFc, Object.assign({ key: 'a1f03cccb74166437976eea391187546537fdfff' }, this.getInputProps())), hAsync(KolButtonWcTag, { key: '97492f6a7ef31282d00a182281ea29571cd056a8', class: "kol-input-container__button", _label: translate('kol-data-browse-text'), _variant: "primary", _disabled: this._disabled }))));
|
|
17935
19859
|
}
|
|
17936
19860
|
constructor(hostRef) {
|
|
17937
19861
|
registerInstance(this, hostRef);
|
|
@@ -17962,6 +19886,7 @@ class KolInputFile {
|
|
|
17962
19886
|
this.onChange = (event) => {
|
|
17963
19887
|
if (this.inputRef instanceof HTMLInputElement && this.inputRef.type === 'file') {
|
|
17964
19888
|
const value = this.inputRef.files;
|
|
19889
|
+
this.hasFileSelected = !!(value === null || value === void 0 ? void 0 : value.length);
|
|
17965
19890
|
this.filename = (value === null || value === void 0 ? void 0 : value.length)
|
|
17966
19891
|
? Array.from(value)
|
|
17967
19892
|
.map((file) => file.name)
|
|
@@ -17997,6 +19922,7 @@ class KolInputFile {
|
|
|
17997
19922
|
this._tooltipAlign = 'top';
|
|
17998
19923
|
this._touched = false;
|
|
17999
19924
|
this.filename = translate('kol-filename-text');
|
|
19925
|
+
this.hasFileSelected = false;
|
|
18000
19926
|
this.state = {
|
|
18001
19927
|
_hideMsg: false,
|
|
18002
19928
|
_id: `id-${nonce()}`,
|
|
@@ -18122,6 +20048,7 @@ class KolInputFile {
|
|
|
18122
20048
|
"_tooltipAlign": [1, "_tooltip-align"],
|
|
18123
20049
|
"_touched": [1540],
|
|
18124
20050
|
"filename": [32],
|
|
20051
|
+
"hasFileSelected": [32],
|
|
18125
20052
|
"state": [32],
|
|
18126
20053
|
"inputHasFocus": [32],
|
|
18127
20054
|
"getValue": [64],
|
|
@@ -18215,7 +20142,7 @@ class InputNumberController extends InputIconController {
|
|
|
18215
20142
|
}
|
|
18216
20143
|
}
|
|
18217
20144
|
|
|
18218
|
-
const defaultStyleCss$r = "/*\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: calc(44rem / var(--kolibri-root-font-size, 16));\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 rem(44).\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 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: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\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%;\n /* 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 .badge-text-hint {\n background-color: lightgray;\n color: black;\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 .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\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,\n [disabled]:focus .kol-span {\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 .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-
|
|
20145
|
+
const defaultStyleCss$r = "/*\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: calc(44rem / var(--kolibri-root-font-size, 16));\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 rem(44).\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 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: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\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%;\n /* 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 .badge-text-hint {\n background-color: lightgray;\n color: black;\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 .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\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,\n [disabled]:focus .kol-span {\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 .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-alert__closer {\n /* Visible with forced colors */\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\n }\n}\n@layer kol-component {\n .kol-form-field {\n display: grid;\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label {\n cursor: pointer;\n }\n .kol-form-field--disabled .kol-form-field__label {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__label-text::after {\n content: \"*\";\n }\n .kol-form-field--disabled .kol-form-field__hint {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__tooltip .span-label::after {\n content: \"*\";\n }\n}\n@layer kol-component {\n .kol-input-container {\n align-items: center;\n background-color: white;\n display: grid;\n grid-template-columns: 1fr;\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n width: 100%;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start) {\n grid-template-columns: auto 1fr;\n }\n .kol-input-container:has(> .kol-input-container__adornment--end) {\n grid-template-columns: 1fr auto;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start):has(> .kol-input-container__adornment--end) {\n grid-template-columns: auto 1fr auto;\n }\n .kol-input-container__container {\n position: relative;\n }\n .kol-input-container__adornment {\n display: flex;\n align-items: center;\n }\n .kol-input-container__adornment .kol-icon {\n display: grid;\n height: var(--a11y-min-size);\n place-items: center;\n }\n}\n@layer kol-component {\n .kol-input {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n min-width: var(--a11y-min-size);\n width: 100%;\n }\n .kol-input:focus {\n outline: none;\n }\n}";
|
|
18219
20146
|
var KolInputNumberDefaultStyle0 = defaultStyleCss$r;
|
|
18220
20147
|
|
|
18221
20148
|
class KolInputNumber {
|
|
@@ -18248,7 +20175,7 @@ class KolInputNumber {
|
|
|
18248
20175
|
} });
|
|
18249
20176
|
}
|
|
18250
20177
|
render() {
|
|
18251
|
-
return (hAsync(KolFormFieldStateWrapperFc, Object.assign({ key: '
|
|
20178
|
+
return (hAsync(KolFormFieldStateWrapperFc, Object.assign({ key: 'de808304784b39e767c90dcff33ccf0d74eb1965' }, this.getFormFieldProps()), hAsync(KolInputContainerStateWrapperFc, { key: 'a1932ff3f3a33477ee4ed7474eb1e2f7159bf069', state: this.state }, hAsync(KolInputStateWrapperFc, Object.assign({ key: 'fdbfbb435d82998a20b0ad5494278c0d2ccd8c61' }, this.getInputProps())))));
|
|
18252
20179
|
}
|
|
18253
20180
|
constructor(hostRef) {
|
|
18254
20181
|
registerInstance(this, hostRef);
|
|
@@ -18456,7 +20383,7 @@ class KolInputNumber {
|
|
|
18456
20383
|
}; }
|
|
18457
20384
|
}
|
|
18458
20385
|
|
|
18459
|
-
const defaultStyleCss$q = "/*\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: calc(44rem / var(--kolibri-root-font-size, 16));\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 rem(44).\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 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: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\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%;\n /* 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 .badge-text-hint {\n background-color: lightgray;\n color: black;\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 .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\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,\n [disabled]:focus .kol-span {\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 .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-
|
|
20386
|
+
const defaultStyleCss$q = "/*\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: calc(44rem / var(--kolibri-root-font-size, 16));\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 rem(44).\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 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: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\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%;\n /* 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 .badge-text-hint {\n background-color: lightgray;\n color: black;\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 .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\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,\n [disabled]:focus .kol-span {\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 .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-alert__closer {\n /* Visible with forced colors */\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\n }\n}\n@layer kol-component {\n .kol-form-field {\n display: grid;\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label {\n cursor: pointer;\n }\n .kol-form-field--disabled .kol-form-field__label {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__label-text::after {\n content: \"*\";\n }\n .kol-form-field--disabled .kol-form-field__hint {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__tooltip .span-label::after {\n content: \"*\";\n }\n}\n@layer kol-component {\n .kol-input-container {\n align-items: center;\n background-color: white;\n display: grid;\n grid-template-columns: 1fr;\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n width: 100%;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start) {\n grid-template-columns: auto 1fr;\n }\n .kol-input-container:has(> .kol-input-container__adornment--end) {\n grid-template-columns: 1fr auto;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start):has(> .kol-input-container__adornment--end) {\n grid-template-columns: auto 1fr auto;\n }\n .kol-input-container__container {\n position: relative;\n }\n .kol-input-container__adornment {\n display: flex;\n align-items: center;\n }\n .kol-input-container__adornment .kol-icon {\n display: grid;\n height: var(--a11y-min-size);\n place-items: center;\n }\n}\n@layer kol-component {\n .kol-input {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n min-width: var(--a11y-min-size);\n width: 100%;\n }\n .kol-input:focus {\n outline: none;\n }\n}\n@layer kol-component {\n .kol-input-password {\n --kol-tooltip-width: calc(160rem / var(--kolibri-root-font-size, 16));\n }\n}";
|
|
18460
20387
|
var KolInputPasswordDefaultStyle0 = defaultStyleCss$q;
|
|
18461
20388
|
|
|
18462
20389
|
class KolInputPassword {
|
|
@@ -18499,7 +20426,7 @@ class KolInputPassword {
|
|
|
18499
20426
|
}, icon: `codicon codicon-eye-${this._passwordVisible ? 'closed' : 'watch'}`, disabled: this._disabled }));
|
|
18500
20427
|
}
|
|
18501
20428
|
render() {
|
|
18502
|
-
return (hAsync(KolFormFieldStateWrapperFc, Object.assign({ key: '
|
|
20429
|
+
return (hAsync(KolFormFieldStateWrapperFc, Object.assign({ key: '8812e872d476550cc508273147cca8d238111c24' }, this.getFormFieldProps()), hAsync(KolInputContainerStateWrapperFc, { key: '540aa1b375bbbae76f7a8f873b6908b8c31b633d', state: this.state, endAdornment: this.getShowPasswordButton() }, hAsync(KolInputStateWrapperFc, Object.assign({ key: 'bb5cbd480045b6ab5e9a37200edff80a2d01637f' }, this.getInputProps())))));
|
|
18503
20430
|
}
|
|
18504
20431
|
constructor(hostRef) {
|
|
18505
20432
|
registerInstance(this, hostRef);
|
|
@@ -18714,7 +20641,7 @@ class KolInputPassword {
|
|
|
18714
20641
|
}; }
|
|
18715
20642
|
}
|
|
18716
20643
|
|
|
18717
|
-
const defaultStyleCss$p = "/*\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: calc(44rem / var(--kolibri-root-font-size, 16));\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 rem(44).\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 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: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\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%;\n /* 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 .badge-text-hint {\n background-color: lightgray;\n color: black;\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 .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\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,\n [disabled]:focus .kol-span {\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 .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-alert__close-button {\n /* Visible with forced colors */\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\n }\n}\n@layer kol-component {\n .kol-field-control {\n min-height: var(--a11y-min-size);\n display: grid;\n grid-template-columns: auto 1fr;\n grid-template-areas: \"input label\";\n grid-template-rows: auto;\n align-items: center;\n justify-content: left;\n }\n .kol-field-control:has(.kol-field-control__hint) {\n grid-template-columns: auto 1fr;\n grid-template-areas: \"input label\" \"hint hint\";\n grid-template-rows: auto auto;\n }\n .kol-field-control--label-align-left:not(.kol-field-control--hide-label) {\n grid-template-columns: 1fr auto;\n grid-template-areas: \"label input\";\n grid-template-rows: auto;\n }\n .kol-field-control--label-align-left:not(.kol-field-control--hide-label):has(.kol-field-control__hint) {\n grid-template-columns: 1fr auto;\n grid-template-areas: \"label input\" \"hint hint\";\n grid-template-rows: auto auto;\n }\n .kol-field-control__input {\n grid-area: input;\n display: flex;\n min-height: var(--a11y-min-size);\n align-items: center;\n }\n .kol-field-control__label {\n align-items: center;\n cursor: pointer;\n display: flex;\n flex-grow: 1;\n grid-area: label;\n min-height: var(--a11y-min-size);\n }\n .kol-field-control__label--visually-hidden {\n height: 0;\n margin: 0;\n padding: 0;\n visibility: hidden;\n }\n .kol-field-control__label-text::after {\n content: \"\";\n }\n .kol-field-control__tooltip .span-label::after {\n content: \"\";\n }\n .kol-field-control__hint {\n grid-area: hint;\n }\n .kol-field-control--disabled .kol-field-control__label {\n cursor: not-allowed;\n opacity: 0.5;\n }\n .kol-field-control--required .kol-field-control__label-text::after {\n content: \"*\";\n }\n .kol-field-control--required .kol-field-control__tooltip .span-label::after {\n content: \"*\";\n }\n}\n@layer kol-component {\n .kol-form-field {\n display: grid;\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label {\n cursor: pointer;\n }\n .kol-form-field--disabled .kol-form-field__label {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__label-text::after {\n content: \"*\";\n }\n .kol-form-field--disabled .kol-form-field__hint {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__tooltip .span-label::after {\n content: \"*\";\n }\n}\n@layer kol-component {\n .kol-input-container {\n align-items: center;\n background-color: white;\n display: grid;\n grid-template-columns: 1fr;\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n width: 100%;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start) {\n grid-template-columns: auto 1fr;\n }\n .kol-input-container:has(> .kol-input-container__adornment--end) {\n grid-template-columns: 1fr auto;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start):has(> .kol-input-container__adornment--end) {\n grid-template-columns: auto 1fr auto;\n }\n .kol-input-container__container {\n position: relative;\n }\n .kol-input-container__adornment {\n display: flex;\n align-items: center;\n }\n .kol-input-container__adornment .kol-icon {\n display: grid;\n height: var(--a11y-min-size);\n place-items: center;\n }\n}\n@layer kol-component {\n .kol-form-field {\n --border-width: 2px;\n --input-size: 1.5em;\n }\n .kol-form-field__label {\n display: contents;\n }\n .kol-form-field__input {\n display: flex;\n flex-direction: column;\n }\n .kol-form-field__input--orientation-horizontal {\n flex-direction: row;\n flex-wrap: wrap;\n align-items: flex-start;\n }\n .kol-form-field--disabled {\n opacity: unset;\n }\n .kol-input-radio {\n appearance: none;\n border-width: var(--border-width);\n border-style: solid;\n border-radius: 100%;\n cursor: pointer;\n display: flex;\n height: var(--input-size);\n margin: 0;\n min-height: var(--input-size);\n min-width: var(--input-size);\n padding: 0;\n width: var(--input-size);\n }\n .kol-input-radio:before {\n border-radius: 100%;\n content: \"\";\n margin: auto;\n height: calc(var(--input-size) / 2);\n width: calc(var(--input-size) / 2);\n }\n .kol-input-radio:checked:before {\n background-color: #000;\n }\n @media (forced-colors: active) {\n .kol-input-radio:checked:before {\n /* Give it a visible background in forced colors mode */\n background-color: selectedItem !important;\n }\n }\n .kol-input-radio:disabled {\n opacity: 0.5;\n cursor: not-allowed;\n }\n}";
|
|
20644
|
+
const defaultStyleCss$p = "/*\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: calc(44rem / var(--kolibri-root-font-size, 16));\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 rem(44).\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 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: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\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%;\n /* 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 .badge-text-hint {\n background-color: lightgray;\n color: black;\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 .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\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,\n [disabled]:focus .kol-span {\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 .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-alert__closer {\n /* Visible with forced colors */\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\n }\n}\n@layer kol-component {\n .kol-field-control {\n min-height: var(--a11y-min-size);\n display: grid;\n grid-template-columns: auto 1fr;\n grid-template-areas: \"input label\";\n grid-template-rows: auto;\n align-items: center;\n justify-content: left;\n }\n .kol-field-control:has(.kol-field-control__hint) {\n grid-template-columns: auto 1fr;\n grid-template-areas: \"input label\" \"hint hint\";\n grid-template-rows: auto auto;\n }\n .kol-field-control--label-align-left:not(.kol-field-control--hide-label) {\n grid-template-columns: 1fr auto;\n grid-template-areas: \"label input\";\n grid-template-rows: auto;\n }\n .kol-field-control--label-align-left:not(.kol-field-control--hide-label):has(.kol-field-control__hint) {\n grid-template-columns: 1fr auto;\n grid-template-areas: \"label input\" \"hint hint\";\n grid-template-rows: auto auto;\n }\n .kol-field-control__input {\n grid-area: input;\n display: flex;\n min-height: var(--a11y-min-size);\n align-items: center;\n }\n .kol-field-control__label {\n align-items: center;\n cursor: pointer;\n display: flex;\n flex-grow: 1;\n grid-area: label;\n min-height: var(--a11y-min-size);\n }\n .kol-field-control__label--visually-hidden {\n height: 0;\n margin: 0;\n padding: 0;\n visibility: hidden;\n }\n .kol-field-control__label-text::after {\n content: \"\";\n }\n .kol-field-control__tooltip .span-label::after {\n content: \"\";\n }\n .kol-field-control__hint {\n grid-area: hint;\n }\n .kol-field-control--disabled .kol-field-control__label {\n cursor: not-allowed;\n opacity: 0.5;\n }\n .kol-field-control--required .kol-field-control__label-text::after {\n content: \"*\";\n }\n .kol-field-control--required .kol-field-control__tooltip .span-label::after {\n content: \"*\";\n }\n}\n@layer kol-component {\n .kol-form-field {\n display: grid;\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label {\n cursor: pointer;\n }\n .kol-form-field--disabled .kol-form-field__label {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__label-text::after {\n content: \"*\";\n }\n .kol-form-field--disabled .kol-form-field__hint {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__tooltip .span-label::after {\n content: \"*\";\n }\n}\n@layer kol-component {\n .kol-input-container {\n align-items: center;\n background-color: white;\n display: grid;\n grid-template-columns: 1fr;\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n width: 100%;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start) {\n grid-template-columns: auto 1fr;\n }\n .kol-input-container:has(> .kol-input-container__adornment--end) {\n grid-template-columns: 1fr auto;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start):has(> .kol-input-container__adornment--end) {\n grid-template-columns: auto 1fr auto;\n }\n .kol-input-container__container {\n position: relative;\n }\n .kol-input-container__adornment {\n display: flex;\n align-items: center;\n }\n .kol-input-container__adornment .kol-icon {\n display: grid;\n height: var(--a11y-min-size);\n place-items: center;\n }\n}\n@layer kol-component {\n .kol-form-field {\n --border-width: 2px;\n --input-size: 1.5em;\n }\n .kol-form-field__label {\n display: contents;\n }\n .kol-form-field__input {\n display: flex;\n flex-direction: column;\n }\n .kol-form-field__input--orientation-horizontal {\n flex-direction: row;\n flex-wrap: wrap;\n align-items: flex-start;\n }\n .kol-form-field--disabled {\n opacity: unset;\n }\n .kol-input-radio {\n appearance: none;\n border-width: var(--border-width);\n border-style: solid;\n border-radius: 100%;\n cursor: pointer;\n display: flex;\n height: var(--input-size);\n margin: 0;\n min-height: var(--input-size);\n min-width: var(--input-size);\n padding: 0;\n width: var(--input-size);\n }\n .kol-input-radio:before {\n border-radius: 100%;\n content: \"\";\n margin: auto;\n height: calc(var(--input-size) / 2);\n width: calc(var(--input-size) / 2);\n }\n .kol-input-radio:checked:before {\n background-color: #000;\n }\n @media (forced-colors: active) {\n .kol-input-radio:checked:before {\n /* Give it a visible background in forced colors mode */\n background-color: selectedItem !important;\n }\n }\n .kol-input-radio:disabled {\n opacity: 0.5;\n cursor: not-allowed;\n }\n}";
|
|
18718
20645
|
var KolInputRadioDefaultStyle0 = defaultStyleCss$p;
|
|
18719
20646
|
|
|
18720
20647
|
class KolInputRadio {
|
|
@@ -18994,7 +20921,7 @@ class InputRangeController extends InputIconController {
|
|
|
18994
20921
|
}
|
|
18995
20922
|
}
|
|
18996
20923
|
|
|
18997
|
-
const defaultStyleCss$o = "/*\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: calc(44rem / var(--kolibri-root-font-size, 16));\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 rem(44).\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 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: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\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%;\n /* 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 .badge-text-hint {\n background-color: lightgray;\n color: black;\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 .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\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,\n [disabled]:focus .kol-span {\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 .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-
|
|
20924
|
+
const defaultStyleCss$o = "/*\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: calc(44rem / var(--kolibri-root-font-size, 16));\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 rem(44).\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 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: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\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%;\n /* 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 .badge-text-hint {\n background-color: lightgray;\n color: black;\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 .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\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,\n [disabled]:focus .kol-span {\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 .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-alert__closer {\n /* Visible with forced colors */\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\n }\n}\n@layer kol-component {\n .kol-form-field {\n display: grid;\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label {\n cursor: pointer;\n }\n .kol-form-field--disabled .kol-form-field__label {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__label-text::after {\n content: \"*\";\n }\n .kol-form-field--disabled .kol-form-field__hint {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__tooltip .span-label::after {\n content: \"*\";\n }\n}\n@layer kol-component {\n .kol-input-container {\n align-items: center;\n background-color: white;\n display: grid;\n grid-template-columns: 1fr;\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n width: 100%;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start) {\n grid-template-columns: auto 1fr;\n }\n .kol-input-container:has(> .kol-input-container__adornment--end) {\n grid-template-columns: 1fr auto;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start):has(> .kol-input-container__adornment--end) {\n grid-template-columns: auto 1fr auto;\n }\n .kol-input-container__container {\n position: relative;\n }\n .kol-input-container__adornment {\n display: flex;\n align-items: center;\n }\n .kol-input-container__adornment .kol-icon {\n display: grid;\n height: var(--a11y-min-size);\n place-items: center;\n }\n}\n@layer kol-component {\n .kol-input {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n min-width: var(--a11y-min-size);\n width: 100%;\n }\n .kol-input:focus {\n outline: none;\n }\n}\n@layer kol-component {\n .kol-input-range__inputs-wrapper {\n align-items: center;\n display: flex;\n flex-direction: row;\n flex-grow: 1;\n }\n .kol-input-range__input--number {\n width: var(--kolibri-input-range--input-number--width);\n }\n .kol-input-range__input--range {\n appearance: none;\n background-color: #d3d3d3;\n border: 1px solid #000;\n display: inline-block;\n flex-grow: 1;\n height: calc(8rem / var(--kolibri-root-font-size, 16));\n line-height: 1.5;\n padding: 0;\n margin: 0;\n /* Design-Hack - related with flex-grow */\n width: 0;\n }\n .kol-input-range__input--range::-webkit-slider-thumb {\n box-sizing: border-box;\n background-color: #000;\n height: calc(20rem / var(--kolibri-root-font-size, 16));\n width: calc(20rem / var(--kolibri-root-font-size, 16));\n border-radius: 20px;\n -webkit-appearance: none;\n }\n .kol-input-range__input:not(:disabled).kol-input-range__input--range::-webkit-slider-thumb {\n cursor: pointer;\n }\n @media (prefers-contrast: more) or (forced-colors: active) {\n .kol-input-range__input--range::-webkit-slider-thumb {\n outline: 1px solid currentColor;\n }\n }\n .kol-input-range__input--range::-moz-range-thumb {\n box-sizing: border-box;\n background-color: #000;\n height: calc(20rem / var(--kolibri-root-font-size, 16));\n width: calc(20rem / var(--kolibri-root-font-size, 16));\n border-radius: 20px;\n -moz-appearance: none;\n }\n .kol-input-range__input:not(:disabled).kol-input-range__input--range::-moz-range-thumb {\n cursor: pointer;\n }\n}";
|
|
18998
20925
|
var KolInputRangeDefaultStyle0 = defaultStyleCss$o;
|
|
18999
20926
|
|
|
19000
20927
|
class KolInputRange {
|
|
@@ -19057,7 +20984,7 @@ class KolInputRange {
|
|
|
19057
20984
|
const inputsWrapperStyle = {
|
|
19058
20985
|
'--kolibri-input-range--input-number--width': `calc(${String((_a = this.state._max) !== null && _a !== void 0 ? _a : 1000).length}ch + 1.5em)`,
|
|
19059
20986
|
};
|
|
19060
|
-
return (hAsync(KolFormFieldStateWrapperFc, Object.assign({ key: '
|
|
20987
|
+
return (hAsync(KolFormFieldStateWrapperFc, Object.assign({ key: 'c48df03fc1461212e64e534a4f39a5bb5ce77e9a' }, this.getFormFieldProps()), hAsync(KolInputContainerStateWrapperFc, { key: 'd0f5788051599b6da486f4e521da9dd2b811050f', state: this.state }, hAsync("div", { key: '4e3a9f84dd3fddd74389176fe9a0b4ab34a0c4aa', class: "kol-input-range__inputs-wrapper", style: inputsWrapperStyle }, hAsync(KolInputStateWrapperFc, Object.assign({ key: 'ce249e5fe71a3ffd0d22a3b6e60826d828dcf7ae', class: "kol-input-range__input kol-input-range__input--range" }, this.getInputRangeProps())), hAsync(KolInputStateWrapperFc, Object.assign({ key: 'c26d486bac69e075737b7cf273dddbbd5dda16f3', class: "kol-input-range__input kol-input-range__input--number" }, this.getInputNumberProps()))), this.hasSuggestions && hAsync(KolSuggestionsFc, { key: '16ca2b65091b9336db06c7465bc9fd592450d1f8', id: this.state._id, suggestions: this.state._suggestions }))));
|
|
19061
20988
|
}
|
|
19062
20989
|
constructor(hostRef) {
|
|
19063
20990
|
registerInstance(this, hostRef);
|
|
@@ -19250,7 +21177,7 @@ class KolInputRange {
|
|
|
19250
21177
|
}; }
|
|
19251
21178
|
}
|
|
19252
21179
|
|
|
19253
|
-
const defaultStyleCss$n = "/*\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: calc(44rem / var(--kolibri-root-font-size, 16));\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 rem(44).\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 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: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\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%;\n /* 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 .badge-text-hint {\n background-color: lightgray;\n color: black;\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 .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\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,\n [disabled]:focus .kol-span {\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 .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-
|
|
21180
|
+
const defaultStyleCss$n = "/*\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: calc(44rem / var(--kolibri-root-font-size, 16));\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 rem(44).\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 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: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\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%;\n /* 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 .badge-text-hint {\n background-color: lightgray;\n color: black;\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 .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\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,\n [disabled]:focus .kol-span {\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 .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-alert__closer {\n /* Visible with forced colors */\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\n }\n}\n@layer kol-component {\n .kol-form-field {\n display: grid;\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label {\n cursor: pointer;\n }\n .kol-form-field--disabled .kol-form-field__label {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__label-text::after {\n content: \"*\";\n }\n .kol-form-field--disabled .kol-form-field__hint {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__tooltip .span-label::after {\n content: \"*\";\n }\n}\n@layer kol-component {\n .kol-input-container {\n align-items: center;\n background-color: white;\n display: grid;\n grid-template-columns: 1fr;\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n width: 100%;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start) {\n grid-template-columns: auto 1fr;\n }\n .kol-input-container:has(> .kol-input-container__adornment--end) {\n grid-template-columns: 1fr auto;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start):has(> .kol-input-container__adornment--end) {\n grid-template-columns: auto 1fr auto;\n }\n .kol-input-container__container {\n position: relative;\n }\n .kol-input-container__adornment {\n display: flex;\n align-items: center;\n }\n .kol-input-container__adornment .kol-icon {\n display: grid;\n height: var(--a11y-min-size);\n place-items: center;\n }\n}\n@layer kol-component {\n .kol-input {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n min-width: var(--a11y-min-size);\n width: 100%;\n }\n .kol-input:focus {\n outline: none;\n }\n}";
|
|
19254
21181
|
var KolInputTextDefaultStyle0 = defaultStyleCss$n;
|
|
19255
21182
|
|
|
19256
21183
|
class KolInputText {
|
|
@@ -19277,7 +21204,7 @@ class KolInputText {
|
|
|
19277
21204
|
return Object.assign(Object.assign({ ref: this.catchRef, state: this.state }, this.controller.onFacade), { onBlur: this.onBlur, onChange: this.onChange, onFocus: this.onFocus, onInput: this.onInput, onKeyDown: this.onKeyDown });
|
|
19278
21205
|
}
|
|
19279
21206
|
render() {
|
|
19280
|
-
return (hAsync(KolFormFieldStateWrapperFc, Object.assign({ key: '
|
|
21207
|
+
return (hAsync(KolFormFieldStateWrapperFc, Object.assign({ key: '03b91cd888725258ffc7d51f35cedd847147babf' }, this.getFormFieldProps()), hAsync(KolInputContainerStateWrapperFc, { key: '8a9378fb5d82ab7427c4869899da6326e0b6030d', state: this.state }, hAsync(KolInputStateWrapperFc, Object.assign({ key: 'd78f3ae5645e24c5967922faa3c2b7b0908481e8' }, this.getInputProps())))));
|
|
19281
21208
|
}
|
|
19282
21209
|
constructor(hostRef) {
|
|
19283
21210
|
registerInstance(this, hostRef);
|
|
@@ -20061,7 +21988,7 @@ class KolModal {
|
|
|
20061
21988
|
}; }
|
|
20062
21989
|
}
|
|
20063
21990
|
|
|
20064
|
-
const defaultStyleCss$i = "/*\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: calc(44rem / var(--kolibri-root-font-size, 16));\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 rem(44).\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 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: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\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%;\n /* 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 .badge-text-hint {\n background-color: lightgray;\n color: black;\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 .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\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,\n [disabled]:focus .kol-span {\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-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-nav {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n display: grid;\n place-items: center;\n }\n .kol-nav--horizontal {\n width: 100%;\n }\n .kol-nav:not(.kol-nav--is-compact) .kol-nav__navigation {\n width: 100%;\n }\n .kol-nav__list {\n display: flex;\n list-style: none;\n margin: 0;\n padding: 0;\n }\n .kol-nav__list--vertical {\n flex-direction: column;\n }\n .kol-nav__list--horizontal {\n flex-wrap: wrap;\n }\n .kol-nav__entry-wrapper {\n display: flex;\n }\n .kol-nav__entry {\n flex-grow: 1;\n }\n}";
|
|
21991
|
+
const defaultStyleCss$i = "/*\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: calc(44rem / var(--kolibri-root-font-size, 16));\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 rem(44).\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 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: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\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%;\n /* 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 .badge-text-hint {\n background-color: lightgray;\n color: black;\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 .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\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,\n [disabled]:focus .kol-span {\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-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-nav {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n display: grid;\n place-items: center;\n }\n .kol-nav--horizontal {\n width: 100%;\n }\n .kol-nav:not(.kol-nav--is-compact) .kol-nav__navigation {\n width: 100%;\n }\n .kol-nav__list {\n display: flex;\n list-style: none;\n margin: 0;\n padding: 0;\n }\n .kol-nav__list--vertical {\n flex-direction: column;\n }\n .kol-nav__list--horizontal {\n flex-wrap: wrap;\n }\n .kol-nav__entry-wrapper {\n display: flex;\n }\n .kol-nav__entry {\n flex-grow: 1;\n }\n .kol-button {\n text-align: left;\n }\n}";
|
|
20065
21992
|
var KolNavDefaultStyle0 = defaultStyleCss$i;
|
|
20066
21993
|
|
|
20067
21994
|
const entryIsLink = (entryProps) => {
|
|
@@ -22838,7 +24765,6 @@ class KolPopoverButton$1 {
|
|
|
22838
24765
|
this._accessKey = undefined;
|
|
22839
24766
|
this._ariaControls = undefined;
|
|
22840
24767
|
this._ariaDescription = undefined;
|
|
22841
|
-
this._ariaExpanded = undefined;
|
|
22842
24768
|
this._ariaSelected = undefined;
|
|
22843
24769
|
this._customClass = undefined;
|
|
22844
24770
|
this._disabled = false;
|
|
@@ -22863,7 +24789,7 @@ class KolPopoverButton$1 {
|
|
|
22863
24789
|
void ((_a = this.ref) === null || _a === void 0 ? void 0 : _a.hidePopover());
|
|
22864
24790
|
}
|
|
22865
24791
|
render() {
|
|
22866
|
-
return (hAsync(KolPopoverButtonWcTag, { key: '
|
|
24792
|
+
return (hAsync(KolPopoverButtonWcTag, { key: 'ac50da23376edfdc25049941e056ef97c70aba58', ref: (element) => (this.ref = element), _accessKey: this._accessKey, _ariaControls: this._ariaControls, _ariaDescription: this._ariaDescription, _ariaSelected: this._ariaSelected, _customClass: this._customClass, _disabled: this._disabled, _hideLabel: this._hideLabel, _icons: this._icons, _id: this._id, _label: this._label, _name: this._name, _on: this._on, _popoverAlign: this._popoverAlign, _role: this._role, _shortKey: this._shortKey, _syncValueBySelector: this._syncValueBySelector, _tabIndex: this._tabIndex, _tooltipAlign: this._tooltipAlign, _type: this._type, _value: this._value, _variant: this._variant }, hAsync("slot", { key: '896b5ac5822256a2119f89ea8f5dd588449945c1', name: "expert", slot: "expert" }), hAsync("slot", { key: '3811e387221b70284f7db983a8ae96eaac90de70' })));
|
|
22867
24793
|
}
|
|
22868
24794
|
static get style() { return {
|
|
22869
24795
|
default: KolPopoverButtonDefaultStyle0
|
|
@@ -22875,7 +24801,6 @@ class KolPopoverButton$1 {
|
|
|
22875
24801
|
"_accessKey": [1, "_access-key"],
|
|
22876
24802
|
"_ariaControls": [1, "_aria-controls"],
|
|
22877
24803
|
"_ariaDescription": [1, "_aria-description"],
|
|
22878
|
-
"_ariaExpanded": [4, "_aria-expanded"],
|
|
22879
24804
|
"_ariaSelected": [4, "_aria-selected"],
|
|
22880
24805
|
"_customClass": [1, "_custom-class"],
|
|
22881
24806
|
"_disabled": [4],
|
|
@@ -22910,10 +24835,10 @@ class KolPopoverButton {
|
|
|
22910
24835
|
_popoverAlign: 'bottom',
|
|
22911
24836
|
};
|
|
22912
24837
|
this.justClosed = false;
|
|
24838
|
+
this.popoverOpen = false;
|
|
22913
24839
|
this._accessKey = undefined;
|
|
22914
24840
|
this._ariaControls = undefined;
|
|
22915
24841
|
this._ariaDescription = undefined;
|
|
22916
|
-
this._ariaExpanded = undefined;
|
|
22917
24842
|
this._ariaSelected = undefined;
|
|
22918
24843
|
this._customClass = undefined;
|
|
22919
24844
|
this._disabled = false;
|
|
@@ -22949,7 +24874,8 @@ class KolPopoverButton {
|
|
|
22949
24874
|
}
|
|
22950
24875
|
}
|
|
22951
24876
|
handleToggle(event) {
|
|
22952
|
-
|
|
24877
|
+
this.popoverOpen = event.newState === 'open';
|
|
24878
|
+
if (this.popoverOpen && this.refPopover && this.refButton) {
|
|
22953
24879
|
void alignFloatingElements({
|
|
22954
24880
|
align: this.state._popoverAlign,
|
|
22955
24881
|
floatingElement: this.refPopover,
|
|
@@ -22974,7 +24900,7 @@ class KolPopoverButton {
|
|
|
22974
24900
|
(_b = this.refPopover) === null || _b === void 0 ? void 0 : _b.removeEventListener('beforetoggle', this.handleBeforeToggle.bind(this));
|
|
22975
24901
|
}
|
|
22976
24902
|
render() {
|
|
22977
|
-
return (hAsync("div", { key: '
|
|
24903
|
+
return (hAsync("div", { key: 'e310202a31741732615e5a8453e33526b1b8f7d8', class: "kol-popover-button" }, hAsync(KolButtonWcTag, { key: 'dada592a9de4648a23e50ebb255bb4e89e86aae7', _accessKey: this._accessKey, "_aria-controls": "popover", _ariaControls: this._ariaControls, _ariaDescription: this._ariaDescription, _ariaExpanded: this.popoverOpen, _ariaHasPopup: 'dialog', _ariaSelected: this._ariaSelected, _customClass: this._customClass, _disabled: this._disabled, _hideLabel: this._hideLabel, _icons: this._icons, _id: this._id, _label: this._label, _name: this._name, _on: this._on, _role: this._role, _shortKey: this._shortKey, _syncValueBySelector: this._syncValueBySelector, _tabIndex: this._tabIndex, _tooltipAlign: this._tooltipAlign, _type: this._type, _value: this._value, _variant: this._variant, "data-testid": "popover-button", class: "kol-popover-button__button", ref: (element) => (this.refButton = element), onClick: this.handleButtonClick.bind(this) }, hAsync("slot", { key: '97406159faccf301e7ae4962a19f21b61ff30fb0', name: "expert", slot: "expert" })), hAsync("div", { key: '6d2cf6834ef7911ed7d9d3ca50957e6bf0888d0a', ref: (element) => (this.refPopover = element), "data-testid": "popover-content", popover: "auto", id: "popover", class: "kol-popover-button__popover" }, hAsync("slot", { key: 'ebf56d984939bc0e125c5c90b56252d55863060e' }))));
|
|
22978
24904
|
}
|
|
22979
24905
|
validatePopoverAlign(value) {
|
|
22980
24906
|
validatePopoverAlign(this, value);
|
|
@@ -22992,7 +24918,6 @@ class KolPopoverButton {
|
|
|
22992
24918
|
"_accessKey": [1, "_access-key"],
|
|
22993
24919
|
"_ariaControls": [1, "_aria-controls"],
|
|
22994
24920
|
"_ariaDescription": [1, "_aria-description"],
|
|
22995
|
-
"_ariaExpanded": [4, "_aria-expanded"],
|
|
22996
24921
|
"_ariaSelected": [4, "_aria-selected"],
|
|
22997
24922
|
"_customClass": [1, "_custom-class"],
|
|
22998
24923
|
"_disabled": [4],
|
|
@@ -23013,6 +24938,7 @@ class KolPopoverButton {
|
|
|
23013
24938
|
"_variant": [1],
|
|
23014
24939
|
"state": [32],
|
|
23015
24940
|
"justClosed": [32],
|
|
24941
|
+
"popoverOpen": [32],
|
|
23016
24942
|
"hidePopover": [64]
|
|
23017
24943
|
},
|
|
23018
24944
|
"$listeners$": undefined,
|
|
@@ -23361,7 +25287,7 @@ const SelectStateWrapper = (_a) => {
|
|
|
23361
25287
|
};
|
|
23362
25288
|
var KolSelectStateWrapperFc = SelectStateWrapper;
|
|
23363
25289
|
|
|
23364
|
-
const defaultStyleCss$d = "@charset \"UTF-8\";\n/*\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: calc(44rem / var(--kolibri-root-font-size, 16));\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 rem(44).\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 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: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\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%;\n /* 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 .badge-text-hint {\n background-color: lightgray;\n color: black;\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 .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\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,\n [disabled]:focus .kol-span {\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 .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-
|
|
25290
|
+
const defaultStyleCss$d = "@charset \"UTF-8\";\n/*\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: calc(44rem / var(--kolibri-root-font-size, 16));\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 rem(44).\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 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: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\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%;\n /* 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 .badge-text-hint {\n background-color: lightgray;\n color: black;\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 .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\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,\n [disabled]:focus .kol-span {\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 .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-alert__closer {\n /* Visible with forced colors */\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\n }\n}\n@layer kol-component {\n .kol-form-field {\n display: grid;\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label {\n cursor: pointer;\n }\n .kol-form-field--disabled .kol-form-field__label {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__label-text::after {\n content: \"*\";\n }\n .kol-form-field--disabled .kol-form-field__hint {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__tooltip .span-label::after {\n content: \"*\";\n }\n}\n@layer kol-component {\n .kol-input-container {\n align-items: center;\n background-color: white;\n display: grid;\n grid-template-columns: 1fr;\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n width: 100%;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start) {\n grid-template-columns: auto 1fr;\n }\n .kol-input-container:has(> .kol-input-container__adornment--end) {\n grid-template-columns: 1fr auto;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start):has(> .kol-input-container__adornment--end) {\n grid-template-columns: auto 1fr auto;\n }\n .kol-input-container__container {\n position: relative;\n }\n .kol-input-container__adornment {\n display: flex;\n align-items: center;\n }\n .kol-input-container__adornment .kol-icon {\n display: grid;\n height: var(--a11y-min-size);\n place-items: center;\n }\n}\n@layer kol-component {\n .kol-select {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n width: 100%;\n /* needed hack for vertical alignment */\n }\n .kol-select:not(:disabled) {\n cursor: pointer;\n }\n .kol-select:not([multiple], [size]) {\n height: 2.75em;\n }\n .kol-select:focus {\n outline: none;\n }\n .kol-select__option:checked::before {\n content: \"✓ \";\n }\n .kol-select[multiple] option {\n padding: calc((var(--a11y-min-size) - (16rem / var(--kolibri-root-font-size, 16))) / 2) 0.5em;\n }\n}";
|
|
23365
25291
|
var KolSelectDefaultStyle0 = defaultStyleCss$d;
|
|
23366
25292
|
|
|
23367
25293
|
class KolSelect {
|
|
@@ -23393,13 +25319,13 @@ class KolSelect {
|
|
|
23393
25319
|
} });
|
|
23394
25320
|
}
|
|
23395
25321
|
render() {
|
|
23396
|
-
return (hAsync(KolFormFieldStateWrapperFc, Object.assign({ key: '
|
|
25322
|
+
return (hAsync(KolFormFieldStateWrapperFc, Object.assign({ key: 'a1537f9de293d843ccb5acff86672249b01b1851' }, this.getFormFieldProps()), hAsync(KolInputContainerStateWrapperFc, { key: 'd4b3fe42d34e746b10224b9c46c608fd743c5396', state: this.state }, hAsync("form", { key: '75f01c896e92aec8d4012aaa663da4a594a223cf', onSubmit: (event) => {
|
|
23397
25323
|
event.preventDefault();
|
|
23398
25324
|
propagateSubmitEventToForm({
|
|
23399
25325
|
form: this.host,
|
|
23400
25326
|
ref: this.selectRef,
|
|
23401
25327
|
});
|
|
23402
|
-
} }, hAsync("input", { key: '
|
|
25328
|
+
} }, hAsync("input", { key: '9d403926ab9195003a40ab139f243cd7945b0326', type: "submit", hidden: true }), hAsync(KolSelectStateWrapperFc, Object.assign({ key: '2c36031dd1c781ec1bec3aaf080a55166286e32e' }, this.getSelectProps()))))));
|
|
23403
25329
|
}
|
|
23404
25330
|
constructor(hostRef) {
|
|
23405
25331
|
registerInstance(this, hostRef);
|
|
@@ -23618,6 +25544,9 @@ class SingleSelectController extends InputIconController {
|
|
|
23618
25544
|
validateHideClearButton(value) {
|
|
23619
25545
|
watchBoolean(this.component, '_hideClearButton', value);
|
|
23620
25546
|
}
|
|
25547
|
+
validateRows(value) {
|
|
25548
|
+
watchNumber(this.component, '_rows', value);
|
|
25549
|
+
}
|
|
23621
25550
|
componentWillLoad() {
|
|
23622
25551
|
super.componentWillLoad();
|
|
23623
25552
|
this.validateOptions(this.component._options);
|
|
@@ -23625,10 +25554,11 @@ class SingleSelectController extends InputIconController {
|
|
|
23625
25554
|
this.validateValue(this.component._value);
|
|
23626
25555
|
this.validatePlaceholder(this.component._placeholder);
|
|
23627
25556
|
this.validateHideClearButton(this.component._hideClearButton);
|
|
25557
|
+
this.validateRows(this.component._rows);
|
|
23628
25558
|
}
|
|
23629
25559
|
}
|
|
23630
25560
|
|
|
23631
|
-
const defaultStyleCss$c = "/*\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: calc(44rem / var(--kolibri-root-font-size, 16));\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 rem(44).\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 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: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\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%;\n /* 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 .badge-text-hint {\n background-color: lightgray;\n color: black;\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 .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\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,\n [disabled]:focus .kol-span {\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 .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-
|
|
25561
|
+
const defaultStyleCss$c = "/*\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: calc(44rem / var(--kolibri-root-font-size, 16));\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 rem(44).\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 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: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\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%;\n /* 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 .badge-text-hint {\n background-color: lightgray;\n color: black;\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 .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\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,\n [disabled]:focus .kol-span {\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 .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-alert__closer {\n /* Visible with forced colors */\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\n }\n}\n@layer kol-component {\n .kol-custom-suggestions-option {\n cursor: pointer;\n white-space: normal;\n overflow-wrap: break-word;\n word-wrap: break-word;\n line-height: 1.5;\n box-sizing: border-box;\n }\n .kol-custom-suggestions-options-group--cursor-hidden .kol-custom-suggestions-option {\n cursor: none !important;\n }\n}\n@layer kol-component {\n .kol-custom-suggestions-options-group {\n display: block;\n position: absolute;\n list-style-type: none;\n margin: 0;\n padding: 0;\n overflow-y: auto;\n overflow-x: hidden;\n z-index: 2;\n background-color: white;\n max-height: calc(250rem / var(--kolibri-root-font-size, 16));\n }\n}\n@layer kol-component {\n .kol-custom-suggestions-toggle {\n align-items: center;\n display: flex;\n height: var(--a11y-min-size);\n width: var(--a11y-min-size);\n }\n .kol-custom-suggestions-toggle:not(:disabled) {\n cursor: pointer;\n }\n}\n@layer kol-component {\n .kol-form-field {\n display: grid;\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label {\n cursor: pointer;\n }\n .kol-form-field--disabled .kol-form-field__label {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__label-text::after {\n content: \"*\";\n }\n .kol-form-field--disabled .kol-form-field__hint {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__tooltip .span-label::after {\n content: \"*\";\n }\n}\n@layer kol-component {\n .kol-input-container {\n align-items: center;\n background-color: white;\n display: grid;\n grid-template-columns: 1fr;\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n width: 100%;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start) {\n grid-template-columns: auto 1fr;\n }\n .kol-input-container:has(> .kol-input-container__adornment--end) {\n grid-template-columns: 1fr auto;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start):has(> .kol-input-container__adornment--end) {\n grid-template-columns: auto 1fr auto;\n }\n .kol-input-container__container {\n position: relative;\n }\n .kol-input-container__adornment {\n display: flex;\n align-items: center;\n }\n .kol-input-container__adornment .kol-icon {\n display: grid;\n height: var(--a11y-min-size);\n place-items: center;\n }\n}\n@layer kol-component {\n .kol-input {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n min-width: var(--a11y-min-size);\n width: 100%;\n }\n .kol-input:focus {\n outline: none;\n }\n}\n@layer kol-component {\n .kol-single-select__delete {\n cursor: pointer;\n }\n .kol-single-select__delete--disabled {\n cursor: not-allowed;\n }\n .kol-single-select__no-results-message {\n cursor: default;\n display: flex;\n align-items: center;\n justify-content: center;\n min-height: calc(50rem / var(--kolibri-root-font-size, 16));\n }\n .kol-single-select .kol-custom-suggestions-options-group {\n max-height: calc((40rem / var(--kolibri-root-font-size, 16)) * var(--visible-options, 5) + (2rem / var(--kolibri-root-font-size, 16))) !important;\n }\n}";
|
|
23632
25562
|
var KolSingleSelectDefaultStyle0 = defaultStyleCss$c;
|
|
23633
25563
|
|
|
23634
25564
|
class KolSingleSelect {
|
|
@@ -23743,13 +25673,14 @@ class KolSingleSelect {
|
|
|
23743
25673
|
} });
|
|
23744
25674
|
}
|
|
23745
25675
|
render() {
|
|
23746
|
-
|
|
25676
|
+
var _a;
|
|
25677
|
+
return (hAsync(KolFormFieldStateWrapperFc, Object.assign({ key: 'cdb72de6f61b1615cd32870580153774691c6b43' }, this.getFormFieldProps()), hAsync(KolInputContainerStateWrapperFc, { key: '2cefeed94b8376156b6ad75e777319ca2db9c656', state: this.state }, hAsync("div", { key: 'b4ef7f976dc946bc1f38bc41d5a942b2ea4ced93', class: "kol-single-select__group" }, hAsync(KolInputStateWrapperFc, Object.assign({ key: '492a3beb4fca89b1d1303caf71df136515c5fba0' }, this.getInputProps())), this._inputValue && !this.state._hideClearButton && (hAsync(KolIconTag, { key: 'e6af67ff63addc06e3a2b83d5b477f333b5a68f2', _icons: "codicon codicon-close", "data-testid": "single-select-delete", _label: translate('kol-delete-selection'), onClick: () => {
|
|
23747
25678
|
var _a;
|
|
23748
25679
|
this.clearSelection();
|
|
23749
25680
|
(_a = this.refInput) === null || _a === void 0 ? void 0 : _a.focus();
|
|
23750
25681
|
}, class: clsx('kol-single-select__delete', {
|
|
23751
25682
|
'kol-single-select__delete--disabled': this.state._disabled,
|
|
23752
|
-
}) })), hAsync(CustomSuggestionsToggleFc$1, { key: '
|
|
25683
|
+
}) })), hAsync(CustomSuggestionsToggleFc$1, { key: 'd6cb818ee47ff1b65c3ca2b88a941d27a89cdf2e', onClick: this.toggleListbox.bind(this), disabled: this.state._disabled })), this._isOpen && !(this.state._disabled === true) && (hAsync(CustomSuggestionsOptionsGroupFc$1, { key: '06327f8bcc101cc0a836d293300a506bd99ecd1b', blockSuggestionMouseOver: this.blockSuggestionMouseOver, onKeyDown: this.handleKeyDownDropdown.bind(this), style: { '--visible-options': `${(_a = this._rows) !== null && _a !== void 0 ? _a : 5}` } }, Array.isArray(this._filteredOptions) && this._filteredOptions.length > 0 ? (this._filteredOptions.map((option, index) => (hAsync(CustomSuggestionsOptionFc$1, { index: index, option: option.label, ref: (el) => {
|
|
23753
25684
|
if (el)
|
|
23754
25685
|
this.refOptions[index] = el;
|
|
23755
25686
|
}, selected: this._value === option.value, onClick: (event) => {
|
|
@@ -23757,6 +25688,8 @@ class KolSingleSelect {
|
|
|
23757
25688
|
this.selectOption(option);
|
|
23758
25689
|
(_a = this.refInput) === null || _a === void 0 ? void 0 : _a.focus();
|
|
23759
25690
|
this.toggleListbox(event);
|
|
25691
|
+
this._isOpen = false;
|
|
25692
|
+
this._hasOpened = false;
|
|
23760
25693
|
}, onMouseOver: () => {
|
|
23761
25694
|
if (!this.blockSuggestionMouseOver) {
|
|
23762
25695
|
this._focusedOptionIndex = index;
|
|
@@ -23841,6 +25774,8 @@ class KolSingleSelect {
|
|
|
23841
25774
|
case 'NumpadEnter':
|
|
23842
25775
|
case 'Enter': {
|
|
23843
25776
|
this.toggleListbox(event);
|
|
25777
|
+
this._hasOpened = false;
|
|
25778
|
+
this._isOpen = false;
|
|
23844
25779
|
break;
|
|
23845
25780
|
}
|
|
23846
25781
|
case 'Home': {
|
|
@@ -23924,6 +25859,7 @@ class KolSingleSelect {
|
|
|
23924
25859
|
this._touched = false;
|
|
23925
25860
|
this._value = undefined;
|
|
23926
25861
|
this._hideClearButton = false;
|
|
25862
|
+
this._rows = undefined;
|
|
23927
25863
|
this.state = {
|
|
23928
25864
|
_hideMsg: false,
|
|
23929
25865
|
_id: `id-${nonce()}`,
|
|
@@ -23998,6 +25934,9 @@ class KolSingleSelect {
|
|
|
23998
25934
|
validateHideClearButton(value) {
|
|
23999
25935
|
this.controller.validateHideClearButton(value);
|
|
24000
25936
|
}
|
|
25937
|
+
validateRows(value) {
|
|
25938
|
+
this.controller.validateRows(value);
|
|
25939
|
+
}
|
|
24001
25940
|
handleMouseEvent() {
|
|
24002
25941
|
this.blockSuggestionMouseOver = false;
|
|
24003
25942
|
}
|
|
@@ -24049,7 +25988,8 @@ class KolSingleSelect {
|
|
|
24049
25988
|
"_syncValueBySelector": ["validateSyncValueBySelector"],
|
|
24050
25989
|
"_touched": ["validateTouched"],
|
|
24051
25990
|
"_value": ["validateValue"],
|
|
24052
|
-
"_hideClearButton ": ["validateHideClearButton"]
|
|
25991
|
+
"_hideClearButton ": ["validateHideClearButton"],
|
|
25992
|
+
"_rows": ["validateRows"]
|
|
24053
25993
|
}; }
|
|
24054
25994
|
static get style() { return {
|
|
24055
25995
|
default: KolSingleSelectDefaultStyle0
|
|
@@ -24078,6 +26018,7 @@ class KolSingleSelect {
|
|
|
24078
26018
|
"_touched": [1540],
|
|
24079
26019
|
"_value": [1544],
|
|
24080
26020
|
"_hideClearButton": [4, "_hide-clear-button"],
|
|
26021
|
+
"_rows": [2],
|
|
24081
26022
|
"_isOpen": [32],
|
|
24082
26023
|
"_filteredOptions": [32],
|
|
24083
26024
|
"_inputValue": [32],
|
|
@@ -24424,7 +26365,7 @@ const validateTableSettings = (component, value) => {
|
|
|
24424
26365
|
watchValidator(component, `_tableSettings`, (value) => typeof value === 'object' && value !== null, new Set(['TableSettings']), value);
|
|
24425
26366
|
};
|
|
24426
26367
|
|
|
24427
|
-
const defaultStyleCss$8 = "@charset \"UTF-8\";\n/*\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: calc(44rem / var(--kolibri-root-font-size, 16));\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 rem(44).\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 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: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\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%;\n /* 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 .badge-text-hint {\n background-color: lightgray;\n color: black;\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 .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\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,\n [disabled]:focus .kol-span {\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 .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-alert__close-button {\n /* Visible with forced colors */\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\n }\n}\n@layer kol-component {\n :host {\n display: inline-block;\n }\n .kol-button {\n font-style: calc(16rem / var(--kolibri-root-font-size, 16));\n display: inline-flex;\n place-items: center;\n text-align: center;\n text-decoration-line: none;\n }\n .kol-button::before {\n /* Render zero-width character as first element to set the baseline correctly. */\n content: \"\";\n }\n .kol-button__text {\n margin: auto;\n width: 100%;\n }\n}\n@layer kol-component {\n .kol-popover-button__button {\n display: inline-block;\n }\n .kol-popover-button__popover {\n border: 1px solid #000;\n margin: 0;\n padding: 0;\n }\n}\n@layer kol-component {\n .kol-table-settings {\n background: #fff;\n position: absolute;\n right: 0;\n top: 0;\n z-index: 1;\n }\n .kol-table-settings__columns-container {\n margin-top: calc(16rem / var(--kolibri-root-font-size, 16));\n max-height: calc(200rem / var(--kolibri-root-font-size, 16));\n overflow: auto;\n }\n .kol-table-settings__columns {\n align-items: center;\n display: grid;\n gap: calc(8rem / var(--kolibri-root-font-size, 16));\n grid-auto-rows: min-content;\n grid-template-columns: min-content 1fr calc(100rem / var(--kolibri-root-font-size, 16)) auto auto;\n overflow: hidden;\n }\n .kol-table-settings__column {\n display: contents;\n }\n}\n@layer kol-component {\n .kol-table {\n display: block;\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n max-width: 100%;\n position: relative;\n }\n .kol-table__scroll-container {\n overflow-x: auto;\n overflow-y: hidden;\n }\n .kol-table__table {\n width: 100%;\n }\n .kol-table__caption {\n text-align: start;\n min-height: var(--a11y-min-size);\n padding-right: var(--a11y-min-size);\n }\n .kol-table__focus-element {\n font-size: 0;\n }\n .kol-table__focus-element:focus {\n outline: 0 !important;\n /* @see https://remysharp.com/til/css/focus-ring-default-styles */\n outline: 5px auto Highlight;\n outline: 5px auto -webkit-focus-ring-color;\n outline-offset: 2px;\n }\n .kol-table__sort-button .kol-button {\n color: inherit;\n }\n .kol-table__body {\n text-align: left;\n }\n .kol-table__body .kol-button__text {\n justify-items: start;\n }\n .kol-table__cell--align-left {\n text-align: left;\n }\n .kol-table__cell--align-left .kol-button__text {\n justify-items: start;\n }\n .kol-table__cell--align-center {\n text-align: center;\n }\n .kol-table__cell--align-center .kol-button__text {\n justify-items: center;\n }\n .kol-table__cell--align-right {\n text-align: right;\n }\n .kol-table__cell--align-right .kol-button__text {\n justify-items: end;\n }\n .kol-table__cell--selection {\n width: var(--a11y-min-size);\n height: var(--a11y-min-size);\n white-space: nowrap;\n }\n .kol-table__spacer {\n display: none;\n }\n .kol-table__selection-label {\n align-items: center;\n cursor: pointer;\n display: flex;\n height: var(--a11y-min-size);\n justify-content: center;\n position: relative;\n width: var(--a11y-min-size);\n }\n .kol-table__selection-label--disabled {\n cursor: not-allowed;\n }\n .kol-table__selection-icon {\n display: block;\n inset: auto;\n position: absolute;\n z-index: 1;\n }\n .kol-table__selection-input {\n appearance: none;\n border-style: solid;\n cursor: pointer;\n margin: 0;\n }\n .kol-table__selection-input:disabled {\n cursor: not-allowed;\n }\n .kol-table__selection-input:before {\n content: \"\";\n }\n .kol-table__selection-input--checkbox {\n position: relative;\n display: flex;\n height: calc(var(--a11y-min-size) / 2);\n width: calc(var(--a11y-min-size) / 2);\n align-items: center;\n justify-content: center;\n background-color: rgb(255, 255, 255);\n border-width: 2px;\n line-height: 1.5;\n transition: all 0.5s ease 0s;\n }\n .kol-table__selection-input--radio {\n display: flex;\n border-width: 2px;\n border-radius: 100%;\n height: 1.5em;\n min-height: 1.5em;\n min-width: 1.5em;\n padding: 0;\n width: 1.5em;\n }\n .kol-table__selection-input--radio:before {\n border-radius: 100%;\n margin: auto;\n height: 0.75em;\n width: 0.75em;\n }\n .kol-table__selection-input--radio:checked:before {\n background-color: #000;\n }\n @media (forced-colors: active) {\n .kol-table__selection-input--radio:checked:before {\n /* Give it a visible background in forced colors mode */\n background-color: selectedItem !important;\n }\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-table-stateful__pagination, .kol-table-stateful__pagination-wrapper {\n display: grid;\n place-items: center;\n }\n @media (min-width: 1024px) {\n .kol-table-stateful__pagination, .kol-table-stateful__pagination-wrapper {\n grid-auto-flow: column;\n }\n }\n .kol-pagination {\n display: flex;\n flex-wrap: wrap;\n }\n @media (min-width: 1024px) {\n .kol-pagination {\n display: flex;\n }\n }\n @media (max-width: 1024px) {\n .kol-pagination {\n flex-direction: column;\n }\n }\n}";
|
|
26368
|
+
const defaultStyleCss$8 = "@charset \"UTF-8\";\n/*\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: calc(44rem / var(--kolibri-root-font-size, 16));\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 rem(44).\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 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: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\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%;\n /* 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 .badge-text-hint {\n background-color: lightgray;\n color: black;\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 .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\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,\n [disabled]:focus .kol-span {\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 .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-alert__closer {\n /* Visible with forced colors */\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\n }\n}\n@layer kol-component {\n :host {\n display: inline-block;\n }\n .kol-button {\n font-style: calc(16rem / var(--kolibri-root-font-size, 16));\n display: inline-flex;\n place-items: center;\n text-align: center;\n text-decoration-line: none;\n }\n .kol-button::before {\n /* Render zero-width character as first element to set the baseline correctly. */\n content: \"\";\n }\n .kol-button__text {\n margin: auto;\n width: 100%;\n }\n}\n@layer kol-component {\n .kol-popover-button__button {\n display: inline-block;\n }\n .kol-popover-button__popover {\n border: 1px solid #000;\n margin: 0;\n padding: 0;\n }\n}\n@layer kol-component {\n .kol-table-settings {\n background: #fff;\n position: absolute;\n right: 0;\n top: 0;\n z-index: 1;\n }\n .kol-table-settings__columns-container {\n margin-top: calc(16rem / var(--kolibri-root-font-size, 16));\n max-height: calc(200rem / var(--kolibri-root-font-size, 16));\n overflow: auto;\n }\n .kol-table-settings__columns {\n align-items: center;\n display: grid;\n gap: calc(8rem / var(--kolibri-root-font-size, 16));\n grid-auto-rows: min-content;\n grid-template-columns: min-content 1fr calc(100rem / var(--kolibri-root-font-size, 16)) auto auto;\n overflow: hidden;\n }\n .kol-table-settings__column {\n display: contents;\n }\n}\n@layer kol-component {\n .kol-table {\n display: block;\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n max-width: 100%;\n position: relative;\n }\n .kol-table__scroll-container {\n overflow-x: auto;\n overflow-y: hidden;\n }\n .kol-table__table {\n width: 100%;\n }\n .kol-table__caption {\n text-align: start;\n min-height: var(--a11y-min-size);\n padding-right: var(--a11y-min-size);\n }\n .kol-table__focus-element {\n font-size: 0;\n }\n .kol-table__focus-element:focus {\n outline: 0 !important;\n /* @see https://remysharp.com/til/css/focus-ring-default-styles */\n outline: 5px auto Highlight;\n outline: 5px auto -webkit-focus-ring-color;\n outline-offset: 2px;\n }\n .kol-table__sort-button .kol-button {\n color: inherit;\n }\n .kol-table__body {\n text-align: left;\n }\n .kol-table__body .kol-button__text {\n justify-items: start;\n }\n .kol-table__cell--align-left {\n text-align: left;\n }\n .kol-table__cell--align-left .kol-button__text {\n justify-items: start;\n }\n .kol-table__cell--align-center {\n text-align: center;\n }\n .kol-table__cell--align-center .kol-button__text {\n justify-items: center;\n }\n .kol-table__cell--align-right {\n text-align: right;\n }\n .kol-table__cell--align-right .kol-button__text {\n justify-items: end;\n }\n .kol-table__cell--selection {\n width: var(--a11y-min-size);\n height: var(--a11y-min-size);\n white-space: nowrap;\n }\n .kol-table__spacer {\n display: none;\n }\n .kol-table__selection-label {\n align-items: center;\n cursor: pointer;\n display: flex;\n height: var(--a11y-min-size);\n justify-content: center;\n position: relative;\n width: var(--a11y-min-size);\n }\n .kol-table__selection-label--disabled {\n cursor: not-allowed;\n }\n .kol-table__selection-icon {\n display: block;\n inset: auto;\n position: absolute;\n z-index: 1;\n }\n .kol-table__selection-input {\n appearance: none;\n border-style: solid;\n cursor: pointer;\n margin: 0;\n }\n .kol-table__selection-input:disabled {\n cursor: not-allowed;\n }\n .kol-table__selection-input:before {\n content: \"\";\n }\n .kol-table__selection-input--checkbox {\n position: relative;\n display: flex;\n height: calc(var(--a11y-min-size) / 2);\n width: calc(var(--a11y-min-size) / 2);\n align-items: center;\n justify-content: center;\n background-color: rgb(255, 255, 255);\n border-width: 2px;\n line-height: 1.5;\n transition: all 0.5s ease 0s;\n }\n .kol-table__selection-input--radio {\n display: flex;\n border-width: 2px;\n border-radius: 100%;\n height: 1.5em;\n min-height: 1.5em;\n min-width: 1.5em;\n padding: 0;\n width: 1.5em;\n }\n .kol-table__selection-input--radio:before {\n border-radius: 100%;\n margin: auto;\n height: 0.75em;\n width: 0.75em;\n }\n .kol-table__selection-input--radio:checked:before {\n background-color: #000;\n }\n @media (forced-colors: active) {\n .kol-table__selection-input--radio:checked:before {\n /* Give it a visible background in forced colors mode */\n background-color: selectedItem !important;\n }\n }\n}\n@layer kol-component {\n :host {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-table-stateful__pagination, .kol-table-stateful__pagination-wrapper {\n display: grid;\n place-items: center;\n }\n @media (min-width: 1024px) {\n .kol-table-stateful__pagination, .kol-table-stateful__pagination-wrapper {\n grid-auto-flow: column;\n }\n }\n .kol-pagination {\n display: flex;\n flex-wrap: wrap;\n }\n @media (min-width: 1024px) {\n .kol-pagination {\n display: flex;\n }\n }\n @media (max-width: 1024px) {\n .kol-pagination {\n flex-direction: column;\n }\n }\n}";
|
|
24428
26369
|
var KolTableStatefulDefaultStyle0 = defaultStyleCss$8;
|
|
24429
26370
|
|
|
24430
26371
|
const PAGINATION_OPTIONS = [10, 20, 50, 100];
|
|
@@ -24472,9 +26413,9 @@ class KolTableStateful {
|
|
|
24472
26413
|
setState(this, '_sortedData', this.state._data);
|
|
24473
26414
|
return;
|
|
24474
26415
|
}
|
|
24475
|
-
|
|
26416
|
+
const sortedData = [...this.state._data];
|
|
24476
26417
|
if (this.sortData.length > 0) {
|
|
24477
|
-
sortedData
|
|
26418
|
+
sortedData.sort((a, b) => {
|
|
24478
26419
|
for (let index = 0; index < this.sortData.length; index++) {
|
|
24479
26420
|
const data = this.sortData[index];
|
|
24480
26421
|
const result = data.compareFn(a, b);
|
|
@@ -24752,13 +26693,13 @@ class KolTableStateful {
|
|
|
24752
26693
|
return this.getSelectedData(selectedKeys);
|
|
24753
26694
|
}
|
|
24754
26695
|
render() {
|
|
24755
|
-
var _a, _b, _c, _d;
|
|
26696
|
+
var _a, _b, _c, _d, _e, _f;
|
|
24756
26697
|
const displayedData = this.selectDisplayedData(this.state._sortedData, this.showPagination ? ((_b = (_a = this.state._pagination) === null || _a === void 0 ? void 0 : _a._pageSize) !== null && _b !== void 0 ? _b : 10) : this.state._sortedData.length, this.state._pagination._page || 1);
|
|
24757
26698
|
const paginationTop = this._paginationPosition === 'top' || this._paginationPosition === 'both' ? this.renderPagination('top') : null;
|
|
24758
26699
|
const paginationBottom = this._paginationPosition === 'bottom' || this._paginationPosition === 'both' ? this.renderPagination('bottom') : null;
|
|
24759
26700
|
const headerCells = {
|
|
24760
|
-
horizontal: (_c = this.state._headers.horizontal) === null || _c === void 0 ? void 0 : _c.map((row) => row.map((cell) => (Object.assign(Object.assign({}, cell), { sortDirection: this.getHeaderCellSortState(cell) })))),
|
|
24761
|
-
vertical: (
|
|
26701
|
+
horizontal: (_d = (_c = this.state._headers.horizontal) === null || _c === void 0 ? void 0 : _c.map((row) => row.map((cell) => (Object.assign(Object.assign({}, cell), { sortDirection: this.getHeaderCellSortState(cell) }))))) !== null && _d !== void 0 ? _d : [],
|
|
26702
|
+
vertical: (_f = (_e = this.state._headers.vertical) === null || _e === void 0 ? void 0 : _e.map((column) => column.map((cell) => (Object.assign(Object.assign({}, cell), { sortDirection: this.getHeaderCellSortState(cell) }))))) !== null && _f !== void 0 ? _f : [],
|
|
24762
26703
|
};
|
|
24763
26704
|
return (hAsync(Host, { key: '28ef6723c730e6f9a52694c65b984b27b97bbe43', class: "kol-table-stateful" }, this.pageEndSlice > 0 && this.showPagination && paginationTop, hAsync(KolTableStatelessWcTag, { key: '78fcf96661bd3e57bc41fbc3523096e7de513eeb', ref: this.catchRef, _data: displayedData, _headerCells: headerCells, _label: this.state._label, _dataFoot: this.state._dataFoot, _minWidth: this.state._minWidth, _on: {
|
|
24764
26705
|
onSort: (_, payload) => {
|
|
@@ -24810,7 +26751,7 @@ class KolTableStateful {
|
|
|
24810
26751
|
}; }
|
|
24811
26752
|
}
|
|
24812
26753
|
|
|
24813
|
-
const defaultStyleCss$7 = "@charset \"UTF-8\";\n/*\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: calc(44rem / var(--kolibri-root-font-size, 16));\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 rem(44).\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 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: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\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%;\n /* 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 .badge-text-hint {\n background-color: lightgray;\n color: black;\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 .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\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,\n [disabled]:focus .kol-span {\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 .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-alert__close-button {\n /* Visible with forced colors */\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\n }\n}\n@layer kol-component {\n :host {\n display: inline-block;\n }\n .kol-button {\n font-style: calc(16rem / var(--kolibri-root-font-size, 16));\n display: inline-flex;\n place-items: center;\n text-align: center;\n text-decoration-line: none;\n }\n .kol-button::before {\n /* Render zero-width character as first element to set the baseline correctly. */\n content: \"\";\n }\n .kol-button__text {\n margin: auto;\n width: 100%;\n }\n}\n@layer kol-component {\n .kol-popover-button__button {\n display: inline-block;\n }\n .kol-popover-button__popover {\n border: 1px solid #000;\n margin: 0;\n padding: 0;\n }\n}\n@layer kol-component {\n .kol-table-settings {\n background: #fff;\n position: absolute;\n right: 0;\n top: 0;\n z-index: 1;\n }\n .kol-table-settings__columns-container {\n margin-top: calc(16rem / var(--kolibri-root-font-size, 16));\n max-height: calc(200rem / var(--kolibri-root-font-size, 16));\n overflow: auto;\n }\n .kol-table-settings__columns {\n align-items: center;\n display: grid;\n gap: calc(8rem / var(--kolibri-root-font-size, 16));\n grid-auto-rows: min-content;\n grid-template-columns: min-content 1fr calc(100rem / var(--kolibri-root-font-size, 16)) auto auto;\n overflow: hidden;\n }\n .kol-table-settings__column {\n display: contents;\n }\n}\n@layer kol-component {\n .kol-table {\n display: block;\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n max-width: 100%;\n position: relative;\n }\n .kol-table__scroll-container {\n overflow-x: auto;\n overflow-y: hidden;\n }\n .kol-table__table {\n width: 100%;\n }\n .kol-table__caption {\n text-align: start;\n min-height: var(--a11y-min-size);\n padding-right: var(--a11y-min-size);\n }\n .kol-table__focus-element {\n font-size: 0;\n }\n .kol-table__focus-element:focus {\n outline: 0 !important;\n /* @see https://remysharp.com/til/css/focus-ring-default-styles */\n outline: 5px auto Highlight;\n outline: 5px auto -webkit-focus-ring-color;\n outline-offset: 2px;\n }\n .kol-table__sort-button .kol-button {\n color: inherit;\n }\n .kol-table__body {\n text-align: left;\n }\n .kol-table__body .kol-button__text {\n justify-items: start;\n }\n .kol-table__cell--align-left {\n text-align: left;\n }\n .kol-table__cell--align-left .kol-button__text {\n justify-items: start;\n }\n .kol-table__cell--align-center {\n text-align: center;\n }\n .kol-table__cell--align-center .kol-button__text {\n justify-items: center;\n }\n .kol-table__cell--align-right {\n text-align: right;\n }\n .kol-table__cell--align-right .kol-button__text {\n justify-items: end;\n }\n .kol-table__cell--selection {\n width: var(--a11y-min-size);\n height: var(--a11y-min-size);\n white-space: nowrap;\n }\n .kol-table__spacer {\n display: none;\n }\n .kol-table__selection-label {\n align-items: center;\n cursor: pointer;\n display: flex;\n height: var(--a11y-min-size);\n justify-content: center;\n position: relative;\n width: var(--a11y-min-size);\n }\n .kol-table__selection-label--disabled {\n cursor: not-allowed;\n }\n .kol-table__selection-icon {\n display: block;\n inset: auto;\n position: absolute;\n z-index: 1;\n }\n .kol-table__selection-input {\n appearance: none;\n border-style: solid;\n cursor: pointer;\n margin: 0;\n }\n .kol-table__selection-input:disabled {\n cursor: not-allowed;\n }\n .kol-table__selection-input:before {\n content: \"\";\n }\n .kol-table__selection-input--checkbox {\n position: relative;\n display: flex;\n height: calc(var(--a11y-min-size) / 2);\n width: calc(var(--a11y-min-size) / 2);\n align-items: center;\n justify-content: center;\n background-color: rgb(255, 255, 255);\n border-width: 2px;\n line-height: 1.5;\n transition: all 0.5s ease 0s;\n }\n .kol-table__selection-input--radio {\n display: flex;\n border-width: 2px;\n border-radius: 100%;\n height: 1.5em;\n min-height: 1.5em;\n min-width: 1.5em;\n padding: 0;\n width: 1.5em;\n }\n .kol-table__selection-input--radio:before {\n border-radius: 100%;\n margin: auto;\n height: 0.75em;\n width: 0.75em;\n }\n .kol-table__selection-input--radio:checked:before {\n background-color: #000;\n }\n @media (forced-colors: active) {\n .kol-table__selection-input--radio:checked:before {\n /* Give it a visible background in forced colors mode */\n background-color: selectedItem !important;\n }\n }\n}";
|
|
26754
|
+
const defaultStyleCss$7 = "@charset \"UTF-8\";\n/*\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: calc(44rem / var(--kolibri-root-font-size, 16));\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 rem(44).\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 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: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\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%;\n /* 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 .badge-text-hint {\n background-color: lightgray;\n color: black;\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 .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\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,\n [disabled]:focus .kol-span {\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 .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-alert__closer {\n /* Visible with forced colors */\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\n }\n}\n@layer kol-component {\n :host {\n display: inline-block;\n }\n .kol-button {\n font-style: calc(16rem / var(--kolibri-root-font-size, 16));\n display: inline-flex;\n place-items: center;\n text-align: center;\n text-decoration-line: none;\n }\n .kol-button::before {\n /* Render zero-width character as first element to set the baseline correctly. */\n content: \"\";\n }\n .kol-button__text {\n margin: auto;\n width: 100%;\n }\n}\n@layer kol-component {\n .kol-popover-button__button {\n display: inline-block;\n }\n .kol-popover-button__popover {\n border: 1px solid #000;\n margin: 0;\n padding: 0;\n }\n}\n@layer kol-component {\n .kol-table-settings {\n background: #fff;\n position: absolute;\n right: 0;\n top: 0;\n z-index: 1;\n }\n .kol-table-settings__columns-container {\n margin-top: calc(16rem / var(--kolibri-root-font-size, 16));\n max-height: calc(200rem / var(--kolibri-root-font-size, 16));\n overflow: auto;\n }\n .kol-table-settings__columns {\n align-items: center;\n display: grid;\n gap: calc(8rem / var(--kolibri-root-font-size, 16));\n grid-auto-rows: min-content;\n grid-template-columns: min-content 1fr calc(100rem / var(--kolibri-root-font-size, 16)) auto auto;\n overflow: hidden;\n }\n .kol-table-settings__column {\n display: contents;\n }\n}\n@layer kol-component {\n .kol-table {\n display: block;\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n max-width: 100%;\n position: relative;\n }\n .kol-table__scroll-container {\n overflow-x: auto;\n overflow-y: hidden;\n }\n .kol-table__table {\n width: 100%;\n }\n .kol-table__caption {\n text-align: start;\n min-height: var(--a11y-min-size);\n padding-right: var(--a11y-min-size);\n }\n .kol-table__focus-element {\n font-size: 0;\n }\n .kol-table__focus-element:focus {\n outline: 0 !important;\n /* @see https://remysharp.com/til/css/focus-ring-default-styles */\n outline: 5px auto Highlight;\n outline: 5px auto -webkit-focus-ring-color;\n outline-offset: 2px;\n }\n .kol-table__sort-button .kol-button {\n color: inherit;\n }\n .kol-table__body {\n text-align: left;\n }\n .kol-table__body .kol-button__text {\n justify-items: start;\n }\n .kol-table__cell--align-left {\n text-align: left;\n }\n .kol-table__cell--align-left .kol-button__text {\n justify-items: start;\n }\n .kol-table__cell--align-center {\n text-align: center;\n }\n .kol-table__cell--align-center .kol-button__text {\n justify-items: center;\n }\n .kol-table__cell--align-right {\n text-align: right;\n }\n .kol-table__cell--align-right .kol-button__text {\n justify-items: end;\n }\n .kol-table__cell--selection {\n width: var(--a11y-min-size);\n height: var(--a11y-min-size);\n white-space: nowrap;\n }\n .kol-table__spacer {\n display: none;\n }\n .kol-table__selection-label {\n align-items: center;\n cursor: pointer;\n display: flex;\n height: var(--a11y-min-size);\n justify-content: center;\n position: relative;\n width: var(--a11y-min-size);\n }\n .kol-table__selection-label--disabled {\n cursor: not-allowed;\n }\n .kol-table__selection-icon {\n display: block;\n inset: auto;\n position: absolute;\n z-index: 1;\n }\n .kol-table__selection-input {\n appearance: none;\n border-style: solid;\n cursor: pointer;\n margin: 0;\n }\n .kol-table__selection-input:disabled {\n cursor: not-allowed;\n }\n .kol-table__selection-input:before {\n content: \"\";\n }\n .kol-table__selection-input--checkbox {\n position: relative;\n display: flex;\n height: calc(var(--a11y-min-size) / 2);\n width: calc(var(--a11y-min-size) / 2);\n align-items: center;\n justify-content: center;\n background-color: rgb(255, 255, 255);\n border-width: 2px;\n line-height: 1.5;\n transition: all 0.5s ease 0s;\n }\n .kol-table__selection-input--radio {\n display: flex;\n border-width: 2px;\n border-radius: 100%;\n height: 1.5em;\n min-height: 1.5em;\n min-width: 1.5em;\n padding: 0;\n width: 1.5em;\n }\n .kol-table__selection-input--radio:before {\n border-radius: 100%;\n margin: auto;\n height: 0.75em;\n width: 0.75em;\n }\n .kol-table__selection-input--radio:checked:before {\n background-color: #000;\n }\n @media (forced-colors: active) {\n .kol-table__selection-input--radio:checked:before {\n /* Give it a visible background in forced colors mode */\n background-color: selectedItem !important;\n }\n }\n}";
|
|
24814
26755
|
var KolTableStatelessDefaultStyle0 = defaultStyleCss$7;
|
|
24815
26756
|
|
|
24816
26757
|
class KolTableStateless$1 {
|
|
@@ -24909,6 +26850,7 @@ class KolTableStateless {
|
|
|
24909
26850
|
_minWidth: 'auto',
|
|
24910
26851
|
};
|
|
24911
26852
|
this.tableDivElementHasScrollbar = false;
|
|
26853
|
+
this.previousHeaderCells = undefined;
|
|
24912
26854
|
this._data = undefined;
|
|
24913
26855
|
this._dataFoot = undefined;
|
|
24914
26856
|
this._headerCells = undefined;
|
|
@@ -24930,7 +26872,10 @@ class KolTableStateless {
|
|
|
24930
26872
|
}
|
|
24931
26873
|
validateHeaderCells(value) {
|
|
24932
26874
|
validateTableHeaderCells(this, value);
|
|
24933
|
-
this.
|
|
26875
|
+
if (!isEqual(this.previousHeaderCells, this.state._headerCells)) {
|
|
26876
|
+
this.initializeTableSettings();
|
|
26877
|
+
}
|
|
26878
|
+
this.previousHeaderCells = this.state._headerCells;
|
|
24934
26879
|
}
|
|
24935
26880
|
validateLabel(value) {
|
|
24936
26881
|
validateLabel(this, value, {
|
|
@@ -25386,12 +27331,12 @@ class KolTableStateless {
|
|
|
25386
27331
|
const dataField = this.createDataField(this.state._data, this.state._headerCells);
|
|
25387
27332
|
this.checkboxRefs = [];
|
|
25388
27333
|
const sortedHorizontalHeaders = (_a = this.state._headerCells.horizontal) === null || _a === void 0 ? void 0 : _a.map((row) => this.sortByColumnPosition(row));
|
|
25389
|
-
return (hAsync("div", { key: '
|
|
27334
|
+
return (hAsync("div", { key: '41ef1f9232f94305a6492420a311cf543b582a22', class: "kol-table" }, hAsync(KolTableSettingsWcTag, { key: '3e0def33d6cf806d72c305d0e350b7ee4b2d3899', _tableSettings: this.state._tableSettings }), hAsync("div", { key: 'cc55a031f7bae8733cc5877763b68f9b1717b3e2', ref: (element) => (this.tableDivElement = element), class: "kol-table__scroll-container", tabindex: this.tableDivElementHasScrollbar ? '-1' : undefined }, hAsync("table", { key: 'c96b4770ff54fb28a6d6eea1a9f021132e04652c', class: "kol-table__table", style: {
|
|
25390
27335
|
minWidth: this.getTableMinWidth(),
|
|
25391
|
-
} }, hAsync("div", { key: '
|
|
27336
|
+
} }, hAsync("div", { key: '96095fade8aa2347d2db8e4a42a735e07a683f05', class: "kol-table__focus-element", tabindex: this.tableDivElementHasScrollbar ? '0' : undefined, "aria-describedby": "caption" }, "\u00A0"), hAsync("caption", { key: 'fbf77baecd9f1f569c97df6596e598926f4fc420', class: "kol-table__caption", id: "caption" }, this.state._label), Array.isArray(sortedHorizontalHeaders) && (hAsync("thead", { key: 'aeab10b5b582c3134e5e0e7a483fbd441e00edc1', class: "kol-table__head" }, [
|
|
25392
27337
|
sortedHorizontalHeaders.map((cols, rowIndex) => (hAsync("tr", { class: "kol-table__head-row", key: `thead-${rowIndex}` }, this.state._selection && this.renderHeadingSelectionCell(), rowIndex === 0 && this.renderHeaderTdCell(), Array.isArray(cols) && cols.map((cell, colIndex) => this.renderHeadingCell(cell, rowIndex, colIndex, false))))),
|
|
25393
27338
|
this.renderSpacer('head', sortedHorizontalHeaders),
|
|
25394
|
-
])), hAsync("tbody", { key: '
|
|
27339
|
+
])), hAsync("tbody", { key: '536ad9c3574792ce18cf2694a4251cd781587aea', class: "kol-table__body" }, dataField.map((row, rowIndex) => this.renderTableRow(row, rowIndex, true))), this.renderFoot()))));
|
|
25395
27340
|
}
|
|
25396
27341
|
get host() { return getElement(this); }
|
|
25397
27342
|
static get watchers() { return {
|
|
@@ -25417,7 +27362,8 @@ class KolTableStateless {
|
|
|
25417
27362
|
"_selection": [1],
|
|
25418
27363
|
"_tableSettings": [16],
|
|
25419
27364
|
"state": [32],
|
|
25420
|
-
"tableDivElementHasScrollbar": [32]
|
|
27365
|
+
"tableDivElementHasScrollbar": [32],
|
|
27366
|
+
"previousHeaderCells": [32]
|
|
25421
27367
|
},
|
|
25422
27368
|
"$listeners$": [[0, "keydown", "handleKeyDown"], [0, "settingsChange", "handleSettingsChange"]],
|
|
25423
27369
|
"$lazyBundleId$": "-",
|
|
@@ -25849,7 +27795,7 @@ class TextareaController extends InputIconController {
|
|
|
25849
27795
|
}
|
|
25850
27796
|
}
|
|
25851
27797
|
|
|
25852
|
-
const defaultStyleCss$5 = "/*\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: calc(44rem / var(--kolibri-root-font-size, 16));\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 rem(44).\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 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: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\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%;\n /* 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 .badge-text-hint {\n background-color: lightgray;\n color: black;\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 .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\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,\n [disabled]:focus .kol-span {\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 .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-
|
|
27798
|
+
const defaultStyleCss$5 = "/*\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: calc(44rem / var(--kolibri-root-font-size, 16));\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 rem(44).\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 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: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\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%;\n /* 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 .badge-text-hint {\n background-color: lightgray;\n color: black;\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 .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\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,\n [disabled]:focus .kol-span {\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 .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-alert__closer {\n /* Visible with forced colors */\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\n }\n}\n@layer kol-component {\n .kol-form-field {\n display: grid;\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n }\n .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label {\n cursor: pointer;\n }\n .kol-form-field--disabled .kol-form-field__label {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__label-text::after {\n content: \"*\";\n }\n .kol-form-field--disabled .kol-form-field__hint {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__tooltip .span-label::after {\n content: \"*\";\n }\n}\n@layer kol-component {\n .kol-input-container {\n align-items: center;\n background-color: white;\n display: grid;\n grid-template-columns: 1fr;\n min-height: var(--a11y-min-size);\n min-width: var(--a11y-min-size);\n width: 100%;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start) {\n grid-template-columns: auto 1fr;\n }\n .kol-input-container:has(> .kol-input-container__adornment--end) {\n grid-template-columns: 1fr auto;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start):has(> .kol-input-container__adornment--end) {\n grid-template-columns: auto 1fr auto;\n }\n .kol-input-container__container {\n position: relative;\n }\n .kol-input-container__adornment {\n display: flex;\n align-items: center;\n }\n .kol-input-container__adornment .kol-icon {\n display: grid;\n height: var(--a11y-min-size);\n place-items: center;\n }\n}\n@layer kol-component {\n .kol-textarea {\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n width: 100%;\n }\n .kol-textarea:focus {\n outline: none;\n }\n}";
|
|
25853
27799
|
var KolTextareaDefaultStyle0 = defaultStyleCss$5;
|
|
25854
27800
|
|
|
25855
27801
|
const increaseTextareaHeight = (el) => {
|
|
@@ -25894,7 +27840,7 @@ class KolTextarea {
|
|
|
25894
27840
|
} });
|
|
25895
27841
|
}
|
|
25896
27842
|
render() {
|
|
25897
|
-
return (hAsync(KolFormFieldStateWrapperFc, Object.assign({ key: '
|
|
27843
|
+
return (hAsync(KolFormFieldStateWrapperFc, Object.assign({ key: '754dea74a89ae00f840540e45092d145055a30cd' }, this.getFormFieldProps()), hAsync(KolInputContainerStateWrapperFc, { key: 'c6823b12d2ee282a62dabd16e2c42509abe62862', state: this.state }, hAsync(KolTextAreaStateWrapperFc, Object.assign({ key: 'aa8ab23c18521e393e14a9ad716de8928d40a2ae' }, this.getTextAreaProps())))));
|
|
25898
27844
|
}
|
|
25899
27845
|
constructor(hostRef) {
|
|
25900
27846
|
registerInstance(this, hostRef);
|
|
@@ -26084,7 +28030,7 @@ class KolTextarea {
|
|
|
26084
28030
|
"_hideMsg": [1540, "_hide-msg"],
|
|
26085
28031
|
"_hideLabel": [4, "_hide-label"],
|
|
26086
28032
|
"_hint": [1],
|
|
26087
|
-
"_icons": [
|
|
28033
|
+
"_icons": [1],
|
|
26088
28034
|
"_id": [1],
|
|
26089
28035
|
"_label": [1],
|
|
26090
28036
|
"_maxLength": [2, "_max-length"],
|
|
@@ -26113,7 +28059,7 @@ class KolTextarea {
|
|
|
26113
28059
|
}; }
|
|
26114
28060
|
}
|
|
26115
28061
|
|
|
26116
|
-
const defaultStyleCss$4 = "/*\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: calc(44rem / var(--kolibri-root-font-size, 16));\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 rem(44).\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 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: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\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%;\n /* 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 .badge-text-hint {\n background-color: lightgray;\n color: black;\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 .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\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,\n [disabled]:focus .kol-span {\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 .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-
|
|
28062
|
+
const defaultStyleCss$4 = "/*\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: calc(44rem / var(--kolibri-root-font-size, 16));\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 rem(44).\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 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: calc(1rem / var(--kolibri-root-font-size, 16));\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: calc(1rem / var(--kolibri-root-font-size, 16));\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%;\n /* 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 .badge-text-hint {\n background-color: lightgray;\n color: black;\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 .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: grid;\n place-items: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n place-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\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,\n [disabled]:focus .kol-span {\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 .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n animation-duration: 0.25s;\n animation-iteration-count: 1;\n animation-name: fadeInOpacity;\n animation-timing-function: ease-in;\n box-sizing: border-box;\n display: none;\n position: fixed;\n visibility: hidden;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n max-width: 90vw;\n max-height: 90vh;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width);\n }\n .kol-tooltip__arrow {\n background-color: #fff;\n color: #000;\n height: calc(10rem / var(--kolibri-root-font-size, 16));\n position: absolute;\n transform: rotate(45deg);\n width: calc(10rem / var(--kolibri-root-font-size, 16));\n z-index: 999;\n }\n .kol-tooltip__content {\n background-color: #fff;\n color: #000;\n position: relative;\n z-index: 1000;\n }\n @keyframes fadeInOpacity {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n place-items: center;\n display: flex;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-alert__closer {\n /* Visible with forced colors */\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\n }\n}\n@layer kol-component {\n :host {\n display: flex;\n flex-direction: column;\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\n position: fixed;\n z-index: 200;\n }\n .kol-toast-container__close-all {\n align-self: flex-end;\n }\n}";
|
|
26117
28063
|
var KolToastContainerDefaultStyle0 = defaultStyleCss$4;
|
|
26118
28064
|
|
|
26119
28065
|
const TRANSITION_TIMEOUT = 300;
|